summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty12
2 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def
index c556ccd3347..86503d0d7ea 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidibeamer-xepersian.def
@@ -13,9 +13,9 @@
%%
%%
\def\familydefault{\rmdefault}
-\def\latin{\bgroup\LatinAlphs\par\raggedright\@RTLfalse\@RTL@footnotefalse\latinfont}
+\def\latin{\bgroup\LatinAlphs\par\raggedright\@RTLfalse\@RTL@footnotefalse\let\normalfont\latinfont\latinfont}
\def\endlatin{\par\egroup}
-\def\persian{\bgroup\PersianAlphs\par\raggedleft\@RTLtrue\@RTL@footnotetrue\persianfont}
+\def\persian{\bgroup\PersianAlphs\par\raggedleft\@RTLtrue\@RTL@footnotetrue\let\normalfont\persianfont\persianfont}
\def\endpersian{\par\egroup}
\def\biditheoremname{قضیه}
\def\bidicorollaryname{نتیجه}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index e20fb9e707d..9182644c32c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -13,8 +13,8 @@
%%
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v1.0.1}
-\def\xepersianrevision{revision 88}
+\def\xepersianversion{v1.0.2}
+\def\xepersianrevision{revision 90}
\def\xepersiandate{2009/07/15}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space <\xepersianrevision>
Persian typesetting in XeLaTeX]
@@ -141,12 +141,12 @@ Persian typesetting in XeLaTeX]
\normalfont}
\def\lr#1{\begingroup\beginL\latinfont#1\endL\endgroup}
\def\rl#1{\begingroup\beginR\persianfont#1\endR\endgroup}
-\def\latin{\bgroup\LatinAlphs\par\@RTLfalse\@RTL@footnotefalse\latinfont}
+\def\latin{\bgroup\LatinAlphs\par\@RTLfalse\@RTL@footnotefalse\let\normalfont\latinfont\latinfont}
\def\endlatin{\par\egroup}
-\def\persian{\bgroup\PersianAlphs\par\@RTLtrue\@RTL@footnotetrue\persianfont}
+\def\persian{\bgroup\PersianAlphs\par\@RTLtrue\@RTL@footnotetrue\let\normalfont\persianfont\persianfont}
\def\endpersian{\par\egroup}
-\def\Latin{\if@RTL\par\LatinAlphs\@RTLfalse\@RTL@footnotefalse\latinfont\fi}
-\def\Persian{\if@RTL\relax\else\par\PersianAlphs\@RTLtrue\@RTL@footnotetrue\persianfont\fi}
+\def\Latin{\if@RTL\par\LatinAlphs\@RTLfalse\@RTL@footnotefalse\let\normalfont\latinfont\latinfont\fi}
+\def\Persian{\if@RTL\relax\else\par\PersianAlphs\@RTLtrue\@RTL@footnotetrue\let\normalfont\persianfont\persianfont\fi}
\let\originaltoday=\today
\def\today{\lr{\originaltoday}}
\let\latintoday\today