summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf35
1 files changed, 7 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf
index 64e80a042e3..66f543482f8 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-asturian.ldf
@@ -3,18 +3,13 @@
%
\ProvidesFile{gloss-asturian.ldf}[polyglossia: module for asturian]
\makeatletter
-\def\asturian@font{\selectfontfamilylatin}
-
-\ifx\l@asturian\@undefined
- \ifx\l@catalan\@undefined%
- \xpg@nopatterns{asturian}
- \adddialect\l@asturian\l@nohyphenation
- \else
- \xpg@warning{No hyphenation patterns were loaded for `asturian'\MessageBreak
- I will use \string\language=\string\l@catalan\space instead}
- \adddialect\l@asturian\l@catalan
- \fi
-\fi
+\PolyglossiaSetup{asturian}{
+ hyphennames={asturian,catalan},
+ hyphenmins={2,2},
+ frenchspacing=true,
+ indentfirst=true,
+ fontsetup=true,
+}
\def\captionsasturian{%
\def\prefacename{Entamu}%
@@ -46,20 +41,4 @@
d'avientu\fi\space de~\number\year}%
}
-\def\asturian@language{\language=\l@asturian}
-
-\setlocalhyphenmins{asturian}{2}{2}%
-
-\def\noextras@asturian{%
- \nonfrenchspacing%
-}
-
-\def\blockextras@asturian{%
- \frenchspacing%
-}
-
-\def\inlineextras@asturian{%
- \frenchspacing%
-}
-
\endinput