diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty index f7ec9e21fc0..8e4221127cb 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty @@ -36,7 +36,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{xepersian-mathsdigitspec} - [2013/04/08 v1.0.4 Unicode Persian maths digits in XeLaTeX] + [2013/10/21 v1.0.5 Unicode Persian maths digits in XeLaTeX] \def\new@mathgroup{\alloc@8\mathgroup\chardef\@cclvi} \let\newfam\new@mathgroup \def\select@group#1#2#3#4{% @@ -181,7 +181,7 @@ \SetMathCode{`8}{\mathalpha}{OPERATORS}{`8} \SetMathCode{`9}{\mathalpha}{OPERATORS}{`9} \SetMathCharDef{\%}{\mathbin}{OPERATORS}{`٪} - \SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B} + \SetMathCharDef{\decimalseparator}{\mathord}{OPERATORS}{"066B} \cs_set_eq:NN \mathbf \new@mathbf \cs_set_eq:NN \mathit \new@mathit \cs_set_eq:NN \mathrm \new@mathrm} @@ -227,16 +227,16 @@ \fi \fi} \mathcode`.="8000\relax -\def\ZifferLeer{\ifx\decimalseparator\undefied .\else \decimalseparator\fi} +\def\ZifferLeer{\ifx\decimalseparator\undefined .\else \decimalseparator\fi} \def\DefaultMathsDigits{\def\SetMathsDigits{}} \def\PersianMathsDigits{\def\SetMathsDigits{% -\ifx\persianmathsdigits\undefied\else\persianmathsdigits\fi% -\ifx\persianmathsfdigits\undefied\else\persianmathsfdigits\fi% -\ifx\persianmathttdigits\undefied\else\persianmathttdigits\fi}} +\ifx\persianmathsdigits\undefined\else\persianmathsdigits\fi% +\ifx\persianmathsfdigits\undefined\else\persianmathsfdigits\fi% +\ifx\persianmathttdigits\undefined\else\persianmathttdigits\fi}} \def\AutoMathsDigits{\def\SetMathsDigits{% -\ifx\persianmathsdigits\undefied\else\if@Latin\else\persianmathsdigits\fi\fi% -\ifx\persianmathsfdigits\undefied\else\if@Latin\else\persianmathsfdigits\fi\fi% -\ifx\persianmathttdigits\undefied\else\if@Latin\else\persianmathttdigits\fi\fi}} +\ifx\persianmathsdigits\undefined\else\if@Latin\else\persianmathsdigits\fi\fi% +\ifx\persianmathsfdigits\undefined\else\if@Latin\else\persianmathsfdigits\fi\fi% +\ifx\persianmathttdigits\undefined\else\if@Latin\else\persianmathttdigits\fi\fi}} \AutoMathsDigits \everymath\expandafter{\the\everymath\SetMathsDigits} \g@addto@macro\document{\everydisplay\expandafter{\the\everydisplay\SetMathsDigits}} |