summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-14 21:25:56 +0000
committerKarl Berry <karl@freefriends.org>2015-05-14 21:25:56 +0000
commitc8bf4d6e3b7f242e8fe1b35af105823861abf303 (patch)
tree2907ed4eb9b20dec1135a9f54ca18ce0f626c2a4 /Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
parent0ea286e3463916fed5d16178d39905cde8456969 (diff)
polyglossia (14may15)
git-svn-id: svn://tug.org/texlive/trunk@37397 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.ldf22
1 files changed, 5 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
index 3ca18cf0c96..e5702096b73 100644
--- a/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
+++ b/Master/texmf-dist/tex/latex/polyglossia/gloss-tibetan.ldf
@@ -141,43 +141,31 @@
}
\def\tibetan@globalnumbers{%
- \let\orig@arabic\@arabic%
+ \let\xpg@orig@arabic\@arabic%
\let\@arabic\tibetannumber%
\renewcommand{\thefootnote}{\protect\tibetannumber{\c@footnote}}%
}
\def\notibetan@globalnumbers{%
- \let\@arabic\orig@arabic%
+ \let\@arabic\xpg@orig@arabic%
\renewcommand\thefootnote{\protect\number{\c@footnote}}%
}
\def\noextras@tibetan{%
\notibetan@eol%
- \let\baselinestrech\orig@baselinestretch%
- }
-
-\def\blockextras@tibetan{%
- % copied from Thai, not tested
- \let\orig@baselinestrech\baselinestretch%
- \renewcommand{\baselinestretch}{1.2}%
- \tibetan@eol%
+ \ifcsname xpg@orig@baselinestretch\endcsname\renewcommand{\baselinestretch}{\xpg@orig@baselinestretch}\fi %
}
\def\inlineextras@tibetan{%
- \let\orig@baselinestrech\baselinestretch%
+ \xdef\xpg@orig@baselinestretch{\ifcsname baselinestretch\endcsname \baselinestretch \else 1\fi}%
\renewcommand{\baselinestretch}{1.2}%
\tibetan@eol%
}
\def\blockextras@tibetan{%
- \let\orig@baselinestrech\baselinestretch%
+ \xdef\xpg@orig@baselinestretch{\ifcsname baselinestretch\endcsname \baselinestretch \else 1\fi}%
\renewcommand{\baselinestretch}{1.2}%
\tibetan@eol%
}
-\def\noblockextras@tibetan{%
- \notibetan@eol%
- \let\baselinestrech\orig@baselinestretch%
-}
-
\endinput