summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/xelatex/xepersian
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-23 00:14:29 +0000
committerKarl Berry <karl@freefriends.org>2013-10-23 00:14:29 +0000
commit6d7deb3bd11f2cdab482a01844b7a5076d47bcac (patch)
tree0e70d5eca48e8c8c609d69adc8a270011385c4d8 /Master/texmf-dist/source/xelatex/xepersian
parent0c0b57a76b4561bfcff9ec1e1eef04913d4f11a6 (diff)
xepersian (21oct13)
git-svn-id: svn://tug.org/texlive/trunk@31968 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/xelatex/xepersian')
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx33
1 files changed, 18 insertions, 15 deletions
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}}