summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf29
1 files changed, 6 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf
index 9808698580d..e730b4e1566 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-danish.ldf
@@ -1,11 +1,11 @@
\ProvidesFile{gloss-danish.ldf}[polyglossia: module for danish]
\makeatletter
-\def\danish@font{\selectfontfamilylatin}
-
-\ifx\l@danish\@undefined
- \xpg@nopatterns{Danish}
- \adddialect\l@danish\l@nohyphenation
-\fi
+\PolyglossiaSetup{danish}{
+ hyphennames={danish},
+ hyphenmins={2,3},
+ frenchspacing=true,
+ fontsetup=true,
+}
\def\captionsdanish{%
\def\prefacename{Forord}%
@@ -34,21 +34,4 @@
juli\or august\or september\or oktober\or november\or december\fi
\space\number\year}
-\def\danish@language{%
- \language=\l@danish}
-
-\setlocalhyphenmins{danish}{2}{3}%
-
-\def\noextras@danish{%
- \nonfrenchspacing%
- }
-
-\def\blockextras@danish{%
- \frenchspacing%
- }
-
-\def\inlineextras@danish{%
- \frenchspacing%
- }
-
\endinput