summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf25
1 files changed, 5 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf
index b7f6e37650b..64a29f2b0a8 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-dutch.ldf
@@ -1,18 +1,10 @@
\ProvidesFile{gloss-dutch.ldf}[polyglossia: module for dutch]
\makeatletter
-\def\dutch@font{\selectfontfamilylatin}
-
-\ifx\l@dutch\@undefined
- \xpg@nopatterns{Dutch}
- \adddialect\l@dutch\l@nohyphenation
-\fi
-
-\def\dutch@punctuation{%
- \frenchspacing%
-}
-
-\def\nodutch@punctuation{%
- \nonfrenchspacing%
+\PolyglossiaSetup{dutch}{
+ hyphennames={dutch},
+ hyphenmins={2,2},
+ frenchspacing=true,
+ fontsetup=true,
}
\define@boolkey{dutch}[dutch@]{babelshorthands}[true]{}
@@ -74,22 +66,15 @@
december\fi
\space \number\year}}
-\def\dutch@language{\language=\l@dutch}
-
-\setlocalhyphenmins{dutch}{2}{2}%
-
\def\noextras@dutch{%
- \nodutch@punctuation%
\nodutch@shorthands%
}
\def\blockextras@dutch{%
- \dutch@punctuation%
\ifdutch@babelshorthands\dutch@shorthands\fi%
}
\def\inlineextras@dutch{%
- \dutch@punctuation%
\ifdutch@babelshorthands\dutch@shorthands\fi%
}