diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf')
-rw-r--r-- | Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf index e5702096b73..19d2bf486a1 100644 --- a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf +++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf @@ -8,10 +8,11 @@ \PolyglossiaSetup{tibetan}{ script=Tibetan, scripttag=tibt, + langtag=TIB, hyphennames={nohyphenation}, - fontsetup=true + fontsetup=true, + localnumeral=tibetannumerals %TODO localalph={xxx@alph,xxx@Alph} - %TODO localdigits=tibetannumber } \newif\if@tibetan@numerals @@ -126,29 +127,28 @@ \ifcase#1\or ཀ\or ཁ\or ག\or ང\or ཅ\or ཆ\or ཇ\or ཉ\or ཏ\or ཐ\or ད\or ན\or པ\or ཕ\or བ\or མ\or ཙ\or ཚ\or ཛ\or ཝ\or ཞ\or ཟ\or འ\or ཡ\or ར\or ལ\or ཤ\or ས\or ཧ\or ཨ \else\xpg@ill@value{#1}{@tibetanalph}\fi} - + +\newcommand{\tibetanumerals}[2]{\tibetannumber{#2}} + \def\tibetan@numbers{% - \let\@latinalph\@alph% - \let\@latinAlph\@Alph% \if@tibetan@numerals \let\@alph\@tibetanalph% \let\@Alph\@tibetanAlph% \fi } \def\notibetan@numbers{% - \let\@alph\@latinalph% - \let\@Alph\@latinAlph% + \let\@alph\latin@alph% + \let\@Alph\latin@Alph% } \def\tibetan@globalnumbers{% \let\xpg@orig@arabic\@arabic% \let\@arabic\tibetannumber% - \renewcommand{\thefootnote}{\protect\tibetannumber{\c@footnote}}% + \renewcommand{\thefootnote}{\localnumeral*{footnote}}% } \def\notibetan@globalnumbers{% \let\@arabic\xpg@orig@arabic% - \renewcommand\thefootnote{\protect\number{\c@footnote}}% } \def\noextras@tibetan{% |