summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf7
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
index 9f8cc83df3e..96b5c436cf7 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-lao.ldf
@@ -8,9 +8,11 @@ and may look very wrong.}
\PolyglossiaSetup{lao}{
script=Lao,
scripttag=lao,
+ langtag=LAO,
hyphennames={lao},
hyphenmins={1,1},
fontsetup=true,
+ localnumeral=laonumerals
%TODO localalph={xxx@alph,xxx@Alph}
%TODO localdigits=laonumber
}
@@ -76,6 +78,8 @@ and may look very wrong.}
\fi
}
+\newcommand{\laonumerals}[2]{\laonumber{#2}}
+
\def\laonumber#1{%
\if@lao@numerals
\laodigits{\number#1}%
@@ -86,11 +90,10 @@ and may look very wrong.}
\def\lao@globalnumbers{%
\let\orig@arabic\@arabic%
\let\@arabic\laonumber%
- \renewcommand{\thefootnote}{\protect\laonumber{\c@footnote}}%
+ \renewcommand{\thefootnote}{\localnumeral*{footnote}}%
}
\def\nolao@globalnumbers{%
\let\@arabic\orig@arabic%
- \renewcommand\thefootnote{\protect\number{\c@footnote}}%
}
\endinput