summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf22
1 files changed, 5 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf
index 8b530ae855c..b0796a26020 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-lsorbian.ldf
@@ -1,18 +1,10 @@
\ProvidesFile{gloss-lsorbian.ldf}[polyglossia: module for lower sorbian]
\makeatletter
-\def\lsorbian@font{\selectfontfamilylatin}
-
-\ifx\l@lowersorbian\@undefined
- \ifx\l@lsorbian\@undefined
- \xpg@nopatterns{Lsorbian}
- \adddialect\l@lsorbian\z@
- \let\l@lowersorbian\l@lsorbian
- \else
- \let\l@lowersorbian\l@lsorbian
- \fi
-\else
- \let\l@lsorbian\l@lowersorbian
-\fi
+\PolyglossiaSetup{lsorbian}{
+ hyphennames={lsorbian,lowersorbian,Lsorbian},
+ hyphenmins={2,2},
+ fontsetup=true,
+}
\def\captionslsorbian{%
\def\refname{Referency}%
@@ -51,8 +43,4 @@
godownika\fi\space \number\year}}%
}
-\def\lsorbian@language{\language=\l@lsorbian}
-
-\setlocalhyphenmins{lsorbian}{2}{2}%
-
\endinput