summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def12
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
index 69a56adbc3c..3b34ef6b0d4 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10112}
+%% \CheckSum{10160}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -48,11 +48,12 @@
}%
\color@begingroup
\@makefntext{%
- \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\@nonlatinfalse\latinfont#1\fi\@finalstrut\strutbox}%
\color@endgroup}}%
\long\def\@RTLfootnotetext#1{\insert\footins{%
\@RTLtrue%
+ \@nonlatintrue%
\reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
@@ -68,6 +69,7 @@
\long\def\@LTRfootnotetext#1{\insert\footins{%
\@RTLfalse%
+ \@nonlatinfalse%
\reset@font\footnotesize
\interlinepenalty\interfootnotelinepenalty
\splittopskip\footnotesep
@@ -96,12 +98,12 @@
{\csname p@mpfootnote\endcsname\@thefnmark}%
\color@begingroup
\@makefntext{%
- \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\latinfont#1\fi\@finalstrut\strutbox}%
+ \rule\z@\footnotesep\ignorespaces\if@RTL@footnote#1\else\@nonlatinfalse\latinfont#1\fi\@finalstrut\strutbox}%
\color@endgroup}}
\long\def\@mpRTLfootnotetext#1{%
\ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\right@footnoterule\fi\fi%
- \global\setbox\@mpfootins\vbox{\@RTLtrue%
+ \global\setbox\@mpfootins\vbox{\@RTLtrue\@nonlatintrue%
\unvbox\@mpfootins
\reset@font\footnotesize
\hsize\columnwidth
@@ -115,7 +117,7 @@
\long\def\@mpLTRfootnotetext#1{%
\ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi%
- \global\setbox\@mpfootins\vbox{\@RTLfalse%
+ \global\setbox\@mpfootins\vbox{\@RTLfalse\@nonlatinfalse%
\unvbox\@mpfootins
\reset@font\footnotesize
\hsize\columnwidth