From 6d7deb3bd11f2cdab482a01844b7a5076d47bcac Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 23 Oct 2013 00:14:29 +0000 Subject: xepersian (21oct13) git-svn-id: svn://tug.org/texlive/trunk@31968 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/xepersian/README | 4 +-- .../texmf-dist/doc/xelatex/xepersian/xepersian.pdf | Bin 895723 -> 896294 bytes .../source/xelatex/xepersian/xepersian.dtx | 33 +++++++++++---------- .../xelatex/xepersian/xepersian-mathsdigitspec.sty | 18 +++++------ .../texmf-dist/tex/xelatex/xepersian/xepersian.sty | 4 +-- 5 files changed, 31 insertions(+), 28 deletions(-) diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README index a8e66f257f7..07fde2ac024 100644 --- a/Master/texmf-dist/doc/xelatex/xepersian/README +++ b/Master/texmf-dist/doc/xelatex/xepersian/README @@ -1,6 +1,6 @@ ____________________ The XePersian package -v13.4 +v13.5 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -20,7 +20,7 @@ In doing so, please always explain your issue well enough, always include a minimal working examples showing the issue, and always choose the appropriate label for your query (i.e. if you are reporting any bugs, choose `Bug' label). -Current version release date: 2013/10/14 +Current version release date: 2013/10/21 ______________ Vafa Khalighi persian-tex@tug.org diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf index 8c929c37891..bd63f000873 100644 Binary files a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf and b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf differ diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx index 420d736a0b1..114f788dce3 100644 --- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx +++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx @@ -5,7 +5,7 @@ %<*readme> ____________________ The XePersian package -v13.4 +v13.5 XePersian is a package written for XeLaTeX that allows users to typeset Persian easily. @@ -27,7 +27,7 @@ In doing so, please always explain your issue well enough, always include a minimal working examples showing the issue, and always choose the appropriate label for your query (i.e. if you are reporting any bugs, choose `Bug' label). -Current version release date: 2013/10/14 +Current version release date: 2013/10/21 ______________ Vafa Khalighi persian-tex@tug.org @@ -214,7 +214,7 @@ by Vafa Khalighi. % Persian for \LaTeXe{} over \XeTeX} % \author{Vafa Khalighi\\ % \url{persian-tex@tug.org}} -% \date{\today\qquad Version 13.4} +% \date{\today\qquad Version 13.5} %\maketitle %\vskip 0pt plus 3fill %\fbox{% @@ -257,7 +257,7 @@ by Vafa Khalighi. %* %* Copyright © 2008–2013 Vafa Khalighi %* -%* v13.4, 2013/10/14 +%* v13.5, 2013/10/21 %* %* License: LaTeX Project Public License, version %* 1.3c or higher (your choice) @@ -5609,8 +5609,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET % \subsection{\textsf{xepersian.sty}} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v13.4} -\def\xepersiandate{2013/10/14} +\def\xepersianversion{v13.5} +\def\xepersiandate{2013/10/21} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} @@ -7125,7 +7125,7 @@ indexblock environment may only appear inside frontpage environment. % \begin{macrocode} \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{% @@ -7270,7 +7270,10 @@ indexblock environment may only appear inside frontpage environment. \SetMathCode{`8}{\mathalpha}{OPERATORS}{`8} \SetMathCode{`9}{\mathalpha}{OPERATORS}{`9} \SetMathCharDef{\%}{\mathbin}{OPERATORS}{`٪} - \SetMathCharDef{\decimalseparator}{\mathpunct}{OPERATORS}{"066B} +% \end{macrocode} +%\changes{v13.5}{2013/10/21}{Fixed the extra space after Persian decimal separator.} +% \begin{macrocode} + \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} @@ -7316,16 +7319,16 @@ indexblock environment may only appear inside frontpage environment. \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}} 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}} diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty index 7df4b88763c..ee5188c480a 100644 --- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty +++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty @@ -35,8 +35,8 @@ %% Right brace \} Tilde \~} %% \NeedsTeXFormat{LaTeX2e} -\def\xepersianversion{v13.4} -\def\xepersiandate{2013/10/14} +\def\xepersianversion{v13.5} +\def\xepersiandate{2013/10/21} \ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space Persian typesetting in XeLaTeX] \RequirePackage{fontspec} -- cgit v1.2.3