diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf index c9a7ef45924..29f8948c4ad 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-scottish.ldf @@ -1,11 +1,11 @@ \ProvidesFile{gloss-scottish.ldf}[polyglossia: module for scottish] \makeatletter -\def\scottish@font{\selectfontfamilylatin} -\ifx\l@scottish\@undefined% - \xpg@nopatterns{Scottish}% - \adddialect\l@scottish\l@nohyphenation% -\fi +\PolyglossiaSetup{scottish}{ + hyphennames={scottish}, + hyphenmins={2,2}, + fontsetup=true, +} \def\captionsscottish{% \def\refname{Iomraidh}% @@ -31,6 +31,7 @@ \def\proofname{Proof}% <-- needs translation \def\glossaryname{Glossary}% <-- needs translation } + \def\datescottish{% \def\today{% \number\day\space \ifcase\month\or @@ -41,8 +42,4 @@ \space \number\year}% } -\def\scottish@language{\language=\l@scottish} - -\setlocalhyphenmins{scottish}{2}{2}% - \endinput |