diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-28 20:58:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-28 20:58:49 +0000 |
commit | ffd652038baef26fb84de26fce9991a02e875485 (patch) | |
tree | c02e3f8fde2e20bb8ba3cc9ab3216e609648e350 /Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf | |
parent | cffa8e2910c5d2a7b6b26032eef37d9e18b8b72d (diff) |
polyglossia (28oct19)
git-svn-id: svn://tug.org/texlive/trunk@52555 c570f23f-e606-0410-a88d-b1316a301751
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{% |