summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README6
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex2
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin942053 -> 950543 bytes
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map2
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx128
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.ins4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def6
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty22
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty69
69 files changed, 295 insertions, 176 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index c9ffbb124e0..a28460a2c3c 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/README
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -1,6 +1,6 @@
____________________
The XePersian package
-v20.0
+v20.2
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -20,12 +20,12 @@ In doing so, please always explain your issue well enough, always include
a minimal working example 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: 2017/12/28
+Current version release date: 2018/01/02
______________
Vafa Khalighi
persian-tex@tug.org
-Copyright (c) 2008--2017
+Copyright (c) 2008--2018
Distributed under the LaTeX Project Public License
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
index 1129b81e349..4d71ab5a5af 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
@@ -5,7 +5,7 @@
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
\setlatintextfont[Scale=1]{Junicode}
-\setdigitfont{XB Zar}
+\setmathdigitfont{XB Zar}
\pagestyle{fancy}
\title{مجلهٔ زی‌پرشین}
\author{وفا خلیقی}
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
index 496d068eac5..cb4ead74d50 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
@@ -2,7 +2,7 @@
\usepackage[correction]{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
index b1dd77fbcf6..e2e6a6bbad6 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
@@ -2,7 +2,7 @@
\usepackage{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
index de231e13306..fd3c05ccfb8 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
@@ -2,7 +2,7 @@
\usepackage{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex b/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
index 3475dc93152..1f403806eb5 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
+++ b/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
@@ -2,7 +2,7 @@
\usepackage{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
index e3f0bc9d6fb..d21a5fd9639 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
index 46a07c51f6e..57f921fdc34 100644
--- a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
@@ -7,7 +7,7 @@
;; xepersian.dtx (with options: `parsidigits.map')
;;
;; __________________________________________________
-;; Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+;; Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
;;
;; It may be distributed and/or modified under the LaTeX Project Public License,
;; version 1.3c or higher (your choice). The latest version of
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index a55998d739c..b8f157802c0 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
-v20.0
+v20.2
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -28,12 +28,12 @@ a minimal working example 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: 2017/12/28
+Current version release date: 2018/01/02
______________
Vafa Khalighi
persian-tex@tug.org
-Copyright (c) 2008--2017
+Copyright (c) 2008--2018
Distributed under the LaTeX Project Public License
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -53,7 +53,7 @@ by Vafa Khalighi.
\preamble
__________________________________________________
- Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+ Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -273,7 +273,7 @@ by Vafa Khalighi.
%\changes{v13.1}{2013/09/23}{Added implementation of the package.}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
%\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
-%\large Documentation for \textcolor{blue!65!black}{version 20.0}}
+%\large Documentation for \textcolor{blue!65!black}{version 20.2}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -284,7 +284,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
-%Documentation for \textcolor{blue!65!black}{version 20.0}}
+%Documentation for \textcolor{blue!65!black}{version 20.2}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -308,7 +308,7 @@ by Vafa Khalighi.
%
%\vskip 0pt plus 3fill
%
-%Copyright (c) 2008--2017 Vafa Khalighi
+%Copyright (c) 2008--2018 Vafa Khalighi
%
%\medskip
%Permission is granted to distribute and/or modify \emph{both the documentation and the code} under the conditions of the \LaTeX{} Project Public License, either version 1.3c of this license or (at your option) any later version.
@@ -337,9 +337,9 @@ by Vafa Khalighi.
%* typesetting, using fonts provided in the
%* distribution.
%*
-%* Copyright (c) 2008--2017 Vafa Khalighi
+%* Copyright (c) 2008--2018 Vafa Khalighi
%*
-%* v20.0, 2017/12/28
+%* v20.2, 2018/01/02
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -1463,7 +1463,7 @@ by Vafa Khalighi.
%\bicsintabular{علامت‌بین}{SepMark}
%\bicsintabular{بگذارمرجوعات‌عادی}{setdefaultbibitems}
%\bicsintabular{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
-%\bicsintabular{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+%\bicsintabular{گزینش‌قلم‌اعدادفرمولها}{setmathdigitfont}
%\bicsintabular{بگذارزیرنویس‌چپ}{setfootnoteLR}
%\bicsintabular{بگذارزیرنویس‌راست}{setfootnoteRL}
%\bicsintabular{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
@@ -1749,7 +1749,7 @@ by Vafa Khalighi.
%\begin{BDef}
%\Lcs{settextfont}\OptArgs\Largb{\Larga{font name}}\\
%\Lcs{setlatintextfont}\OptArgs\Largb{\Larga{font name}}\\
-%\Lcs{setdigitfont}\OptArgs\Largb{\Larga{font name}}\\
+%\Lcs{setmathdigitfont}\OptArgs\Largb{\Larga{font name}}\\
%\Lcs{setmathsfdigitfont}\OptArgs\Largb{\Larga{font name}}\\
%\Lcs{setmathttdigitfont}\OptArgs\Largb{\Larga{font name}}
%\end{BDef}
@@ -1757,7 +1757,7 @@ by Vafa Khalighi.
%\item Options in any font command in this documentation are anything that \textsf{fontspec} package provides as the option of loading fonts, except \texttt{Script} and \texttt{Mapping}.
%\item \Lcs{settextfont} will choose the default font for Persian texts of your document.
%\item \Lcs{setlatintextfont} will choose the font for Latin texts of your document. If you do not use this command at all, the default \TeX\ font (fonts used in this documentation) will be used for Latin texts of your document.
-%\item \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form.
+%\item \Lcs{setmathdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form.
%\item \Lcs{setmathsfdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathsf}. By using this command, digits in math mode inside \Lcs{mathsf} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathsf} and digits appear in their original form (Western).
%\item \Lcs{setmathttdigitfont} will choose the Persian font for digits in math mode inside \Lcs{mathtt}. By using this command, digits in math mode inside \Lcs{mathtt} will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode inside \Lcs{mathtt} and digits appear in their original form (Western).
%\end{itemize}
@@ -1891,15 +1891,15 @@ by Vafa Khalighi.
%\item For \texttt{adadi} and \texttt{tartibi} counters, if you give an integer less than 0 (a negative integer), then \texttt{adadi} and \texttt{tartibi} counters return \textbf{adadi} and \textbf{tartibi} form of the integer 0, respectively.
%\item \Lcs{harfinumeral} returns the \textbf{harfi} form of \Larga{integer}, where $1\leq integer\leq32$ and \Lcs{adadinumeral}, and \Lcs{tartibinumeral} return \textbf{adadi}, and \textbf{tartibi} form of \Larga{integer} respectively, where $0\leq integer\leq 999,999,999$.
%\end{itemize}
-%\subsection{Things To Know About \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}}
+%\subsection{Things To Know About \Lcs{setmathdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}}
%\begin{BDef}
%\Lcs{DefaultMathsDigits}\quad\Lcs{PersianMathsDigits}\quad\Lcs{AutoMathsDigits}
%\end{BDef}
%\begin{itemize}
-% \item As we discussed before, \Lcs{setdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form.
+% \item As we discussed before, \Lcs{setmathdigitfont} will choose the Persian font for digits in math mode. By default, digits in math mode will appear in Persian form.
%\item As we discussed before, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont} will choose the Persian sans serif and typewriter fonts for digits in math mode. By using this command, digits in math mode will appear in Persian form and if you do not use this command at all, you will get default \TeX\ font for digits in math mode and digits appear in their original form (Western).
%
-%If you use \Lcs{setdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}, then you should know that:
+%If you use \Lcs{setmathdigitfont}, \Lcs{setmathsfdigitfont}, and \Lcs{setmathttdigitfont}, then you should know that:
%\begin{itemize}
%\item By default, \Lcs{AutoMathsDigits} is active, which means that in Persian mode, you get Persian digits in math mode and in Latin mode, you get \TeX's default font and digits in math mode.
%\item If you use \Lcs{PersianMathsDigits} anywhere, you will overwrite \XePersian's default behaviour and you will always get Persian digits in math mode.
@@ -2361,7 +2361,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
@@ -3684,7 +3684,7 @@ by Vafa Khalighi.
\eqcommand{علامت‌بین}{SepMark}
\eqcommand{بگذارمرجوعات‌عادی}{setdefaultbibitems}
\eqcommand{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
-\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setmathdigitfont}
\eqcommand{بگذارزیرنویس‌چپ}{setfootnoteLR}
\eqcommand{بگذارزیرنویس‌راست}{setfootnoteRL}
\eqcommand{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
@@ -5289,8 +5289,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v20.0}
-\def\xepersiandate{2017/12/28}
+\def\xepersianversion{v20.2}
+\def\xepersiandate{2018/01/02}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -5305,7 +5305,7 @@ Persian typesetting in XeLaTeX]
* typesetting, using fonts provided in the^^J%
* distribution.^^J%
* ^^J%
-* Copyright (c) 2008--2017 Vafa Khalighi^^J%
+* Copyright (c) 2008--2018 Vafa Khalighi^^J%
* ^^J%
* \xepersianversion, \xepersiandate^^J%
* ^^J%
@@ -5392,6 +5392,49 @@ Persian typesetting in XeLaTeX]
\normalfont
\ignorespaces
}
+
+\DeclareDocumentCommand \settextdigitfont { O{} m O{} }
+ {
+ \__xepersian_main_settextdigitfont:nnn {#1} {#2} {#3}
+ }
+\cs_set:Nn \__xepersian_main_settextdigitfont:nnn
+ {
+ \fontspec_set_family:Nnn \g__xepersian_textdigitfont_family {Mapping=parsidigits,#1,#3} {#2}
+ \use:x
+ {
+ \exp_not:n { \DeclareRobustCommand \xepersian@textdigitfont }
+ {
+ \exp_not:N \fontfamily { \g__xepersian_textdigitfont_family }
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \selectfont
+ }
+ }
+ \XeTeXinterchartoks \e@alloc@intercharclass@top \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \e@alloc@intercharclass@top = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \z@ \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \z@ = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \bidi@sepmark@charclass = {\DigitsDotDashInterCharToks\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@sepmark@charclass \bidi@digits@charclass = {\DigitsDotDashInterCharToks\xepersian@@start@switch@textdigitfont}
+ \if@bidi@csundef{xepersian@D}{}{%
+ \XeTeXinterchartoks \xepersian@D \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@D = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \xepersian@L \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@L = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \xepersian@A \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@A = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \xepersian@R \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@R = {\xepersian@@stop@switch@textdigitfont}
+ }
+ \newcommand*{\xepersian@@start@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\bgroup\xepersian@textdigitfont\else\fi\fi\fi}
+ \newcommand*{\xepersian@@stop@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\egroup\else\fi\fi\fi}
+ }
+
+\DeclareDocumentCommand \setdigitfont { O{} m O{} }
+ {
+ \__xepersian_main_settextdigitfont:nnn {#1} {#2} {#3}
+ \__xepersian_main_setmathdigitfont:nnn {#1} {#2} {#3}
+ }
+
\DeclareDocumentCommand \setlatintextfont { O{} m O{} }
{
@@ -5724,6 +5767,13 @@ Persian typesetting in XeLaTeX]
% \fi
}
+\newif\if@@textdigitfont@on
+
+\newcommand{\TextDigitFontOn}{\@@textdigitfont@ontrue}
+\newcommand{\TextDigitFontOff}{\@@textdigitfont@onfalse}
+
+\TextDigitFontOn
+
\newcommand*\xepersian@setlength[4]{%
\ifdim #2<\ifdim #2=\z@ \z@ \else \p@\fi
\ifdim #3<\ifdim #3=\z@ \z@ \else \p@\fi
@@ -6554,6 +6604,16 @@ number is 999,999,999.}%
\fi}
+\define@choicekey{xepersian.sty}{debugtextdigitfont}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{%
+ \ifcase\xepersian@tempb\relax
+ \bidi@AtEndPreamble{%
+ \bidi@patchcmd{\xepersian@@start@switch@textdigitfont}%
+ {\xepersian@textdigitfont}{\addfontfeature{Color=C71585}}{}{}%
+ }
+ \or
+ \relax
+ \fi}
+
\ExecuteOptionsX{%
documentdirection=righttoleft,
tabledirection=righttoleft,
@@ -7516,7 +7576,7 @@ indexblock environment may only appear inside frontpage environment.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2017/09/02 v1.1.4 Unicode Persian maths digits in XeLaTeX]
+ [2018/01/01 v1.1.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{%
@@ -7643,19 +7703,19 @@ indexblock environment may only appear inside frontpage environment.
}
}
-\DeclareDocumentCommand \setdigitfont { O{} m O{} }
+\DeclareDocumentCommand \setmathdigitfont { O{} m O{} }
{
- \__xepersian_main_setdigitfont:nnn {#1} {#2} {#3}
+ \__xepersian_main_setmathdigitfont:nnn {#1} {#2} {#3}
}
-\cs_set:Nn \__xepersian_main_setdigitfont:nnn
+\cs_set:Nn \__xepersian_main_setmathdigitfont:nnn
{
\let\glb@currsize\relax
- \fontspec_set_family:Nnn \g__xepersian_digitsfamily_tl {Mapping=parsidigits,#1,#3} {#2}
+ \fontspec_set_family:Nnn \g__xepersian_mathdigitsfamily_tl {Mapping=parsidigits,#1,#3} {#2}
\xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'}
- \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl} {m}{n}
- \DeclareSymbolFont{new@mathbf@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{bx}{n}
- \DeclareSymbolFont{new@mathit@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{m}{it}
- \DeclareSymbolFont{new@mathrm@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{m}{n}
+ \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl} {m}{n}
+ \DeclareSymbolFont{new@mathbf@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{bx}{n}
+ \DeclareSymbolFont{new@mathit@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{it}
+ \DeclareSymbolFont{new@mathrm@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{n}
\def\persianmathsdigits{%
\SetMathCode{`0}{\mathalpha}{OPERATORS}{`0}
\SetMathCode{`1}{\mathalpha}{OPERATORS}{`1}
@@ -8114,7 +8174,7 @@ indexblock environment may only appear inside frontpage environment.
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
\setlatintextfont[Scale=1]{Junicode}
-\setdigitfont{XB Zar}
+\setmathdigitfont{XB Zar}
\pagestyle{fancy}
\title{مجلهٔ زی‌پرشین}
\author{وفا خلیقی}
@@ -8285,7 +8345,7 @@ http://google.com}\\
\usepackage[correction]{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
@@ -8325,7 +8385,7 @@ http://google.com}\\
\usepackage{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
@@ -8369,7 +8429,7 @@ http://google.com}\\
\usepackage{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
@@ -8409,7 +8469,7 @@ http://google.com}\\
\usepackage{xepersian-multiplechoice}
\usepackage{xepersian}
\settextfont[Scale=1]{XB Zar}
-\setdigitfont[Scale=1]{XB Zar}
+\setmathdigitfont[Scale=1]{XB Zar}
\begin{document}
\begin{question}{اگر ‎$A=\{ 1,2\} $‎ و ‎$B=\{ 2,3\} $‎ آنگاه حاصل $B^2-A\times B$ کدام است.}
\false $\{(3,2),(3,3)\} $
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
index dfb5fa9e34e..47069182bb6 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `batchfile')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -23,7 +23,7 @@
\preamble
__________________________________________________
- Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+ Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
index 76241ff0475..2ecd56b7908 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,algorithm-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
index 6e8fb0c10e9..0330e86df96 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,algorithmic-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
index f5aae9be97f..cedae45d86f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,amsart-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
index 9438fa528b2..5f16dde9206 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,amsbook-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
index e4fe8a8eb0d..deeeb6eb31e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,appendix-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
index 3194bbfa731..8a57a1a9590 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,article-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
index fdf2a080553..7144b03485a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,artikel1-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
index 4dae653fa6b..59fc7bb1962 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,artikel2-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
index 4e9035e7bbe..3d93c8bc886 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,artikel3-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
index 99ffb5b2547..ced72bc67f3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,backref-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
index 02e8fc51292..3030e78dda3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,bidimoderncv-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
index 69313d834c8..d89c882b453 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,bidituftesidenote-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
index 7bd9e0d47e4..f9d6d4a142a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,boek-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
index e049b0525fd..5bf48c1e0fd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,boek3-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
index 2e64793372e..9bd4f9ff2a3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,book-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
index 2c7a7cf91ce..7dde4d7c1ce 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,bookest-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
index 6849a5b8889..39bae3445cb 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,breqn-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
index 9a7c6718321..bd11083a050 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,color-localise-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
index 5ef6e95e017..069d6400ae6 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,enumerate-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def
index 51b11c63db8..b136b2ff1d3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,enumitem-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
index 68f463b83ae..fc4c2d543fb 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extarticle-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
index 6de9e0ca660..8dc5acded38 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extbook-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
index 61ff39becce..08f5be625b3 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extrafootnotefeatures-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
index ef0c89f9cec..4524b8f7b90 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extreport-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
index f6a2a279be7..340d7e51e0f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,flowfram-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
index 2682c4b9de7..859b2020fbb 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,footnote-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
index 9bb4d182750..1d19bc15c8a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,framed-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
index 69da93e85e2..56aea3c9152 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,glossaries-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
index befec4230b8..4fd5afe9532 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,hyperref-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
index 92ac14626fd..1426c709577 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,imsproc-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
index 559044d6233..6c239d4e777 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,kashida-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
index 8bbd7acfa89..a55a9982d24 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-commands-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
index ac1cd2c0881..0130f104b91 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-environments-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
index 5d1d986bc81..260afb67a69 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-messages-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
index 74043128d5c..da4c7190fa0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-misc-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
index 767d2a280d6..40da9aa01dd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,listings-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
index b56c7e32d6c..65e9a749b2c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,loadingorder-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index 74dbf1eb85a..a062481051d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,localise-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
index 6d61ac7d73e..11635098871 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,memoir-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
index a2599921c6a..f1c09d9da01 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,minitoc-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
index 6acb869051d..6849b5b91dd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,natbib-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
index 84365bc7bc7..e6386b8aba2 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,packages-localise-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
index 8c8107c54de..51826fe2891 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,rapport1-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
index 495a4f48a1c..889370d8406 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,rapport3-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
index 2c51ca4f448..c6443b6b63a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,refrep-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
index 65083b7fed2..94e63a868a6 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,report-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
index d475c4b3e1e..b4fafb01f27 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,scrartcl-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
index beeaa5165c6..636168dda6b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,scrbook-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
index 39e09fc368f..f3472093982 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,scrreprt-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
index 308d3e85269..2878f0c85cd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,soul-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
index 6e4dc31d273..3c7d180e0cd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,tkz-linknodes-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
index e9b458cd463..1f1a1289ff0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,tocloft-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
index 66492fa8ec2..0e3335b78e1 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-localise-commands-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
@@ -71,7 +71,7 @@
\eqcommand{علامت‌بین}{SepMark}
\eqcommand{بگذارمرجوعات‌عادی}{setdefaultbibitems}
\eqcommand{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
-\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setmathdigitfont}
\eqcommand{بگذارزیرنویس‌چپ}{setfootnoteLR}
\eqcommand{بگذارزیرنویس‌راست}{setfootnoteRL}
\eqcommand{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
index 5382dfd67d5..9cc5f5275c8 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-localise-environments-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
index b8ca1f70a39..aa1fe7699c0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-magazine.cls')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
index 39829e288c4..f0ba4aaec9c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-mathsdigitspec.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
@@ -36,7 +36,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{xepersian-mathsdigitspec}
- [2017/09/02 v1.1.4 Unicode Persian maths digits in XeLaTeX]
+ [2018/01/01 v1.1.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{%
@@ -163,19 +163,19 @@
}
}
-\DeclareDocumentCommand \setdigitfont { O{} m O{} }
+\DeclareDocumentCommand \setmathdigitfont { O{} m O{} }
{
- \__xepersian_main_setdigitfont:nnn {#1} {#2} {#3}
+ \__xepersian_main_setmathdigitfont:nnn {#1} {#2} {#3}
}
-\cs_set:Nn \__xepersian_main_setdigitfont:nnn
+\cs_set:Nn \__xepersian_main_setmathdigitfont:nnn
{
\let\glb@currsize\relax
- \fontspec_set_family:Nnn \g__xepersian_digitsfamily_tl {Mapping=parsidigits,#1,#3} {#2}
+ \fontspec_set_family:Nnn \g__xepersian_mathdigitsfamily_tl {Mapping=parsidigits,#1,#3} {#2}
\xepersian@PackageInfo{Defining the default Persian maths digits font as '#2'}
- \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl} {m}{n}
- \DeclareSymbolFont{new@mathbf@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{bx}{n}
- \DeclareSymbolFont{new@mathit@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{m}{it}
- \DeclareSymbolFont{new@mathrm@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{m}{n}
+ \DeclareSymbolFont{OPERATORS} {\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl} {m}{n}
+ \DeclareSymbolFont{new@mathbf@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{bx}{n}
+ \DeclareSymbolFont{new@mathit@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{it}
+ \DeclareSymbolFont{new@mathrm@font@digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{n}
\def\persianmathsdigits{%
\SetMathCode{`0}{\mathalpha}{OPERATORS}{`0}
\SetMathCode{`1}{\mathalpha}{OPERATORS}{`1}
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
index b049bec8dd9..08dcc476cbf 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-multiplechoice.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
index bfc564b09cf..fc9a6f9eebd 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-persiancal.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index c964a16a928..50b90fe18eb 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2018 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10317}
+%% \CheckSum{10449}
%% \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
@@ -35,8 +35,8 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v20.0}
-\def\xepersiandate{2017/12/28}
+\def\xepersianversion{v20.2}
+\def\xepersiandate{2018/01/02}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -51,7 +51,7 @@ Persian typesetting in XeLaTeX]
* typesetting, using fonts provided in the^^J%
* distribution.^^J%
* ^^J%
-* Copyright (c) 2008--2017 Vafa Khalighi^^J%
+* Copyright (c) 2008--2018 Vafa Khalighi^^J%
* ^^J%
* \xepersianversion, \xepersiandate^^J%
* ^^J%
@@ -139,6 +139,48 @@ Persian typesetting in XeLaTeX]
\ignorespaces
}
+\DeclareDocumentCommand \settextdigitfont { O{} m O{} }
+ {
+ \__xepersian_main_settextdigitfont:nnn {#1} {#2} {#3}
+ }
+\cs_set:Nn \__xepersian_main_settextdigitfont:nnn
+ {
+ \fontspec_set_family:Nnn \g__xepersian_textdigitfont_family {Mapping=parsidigits,#1,#3} {#2}
+ \use:x
+ {
+ \exp_not:n { \DeclareRobustCommand \xepersian@textdigitfont }
+ {
+ \exp_not:N \fontfamily { \g__xepersian_textdigitfont_family }
+ \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+ \exp_not:N \selectfont
+ }
+ }
+ \XeTeXinterchartoks \e@alloc@intercharclass@top \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \e@alloc@intercharclass@top = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \z@ \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \z@ = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \bidi@sepmark@charclass = {\DigitsDotDashInterCharToks\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@sepmark@charclass \bidi@digits@charclass = {\DigitsDotDashInterCharToks\xepersian@@start@switch@textdigitfont}
+ \if@bidi@csundef{xepersian@D}{}{%
+ \XeTeXinterchartoks \xepersian@D \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@D = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \xepersian@L \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@L = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \xepersian@A \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@A = {\xepersian@@stop@switch@textdigitfont}
+ \XeTeXinterchartoks \xepersian@R \bidi@digits@charclass = {\xepersian@@start@switch@textdigitfont}
+ \XeTeXinterchartoks \bidi@digits@charclass \xepersian@R = {\xepersian@@stop@switch@textdigitfont}
+ }
+ \newcommand*{\xepersian@@start@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\bgroup\xepersian@textdigitfont\else\fi\fi\fi}
+ \newcommand*{\xepersian@@stop@switch@textdigitfont}{\ifx\f@family\ttdefault\else\if@nonlatin\if@@textdigitfont@on\egroup\else\fi\fi\fi}
+ }
+
+\DeclareDocumentCommand \setdigitfont { O{} m O{} }
+ {
+ \__xepersian_main_settextdigitfont:nnn {#1} {#2} {#3}
+ \__xepersian_main_setmathdigitfont:nnn {#1} {#2} {#3}
+ }
+
\DeclareDocumentCommand \setlatintextfont { O{} m O{} }
{
\__xepersian_main_setlatintextfont:nnn {#1} {#2} {#3}
@@ -463,6 +505,13 @@ Persian typesetting in XeLaTeX]
\advance\xepersian@strutilg\xepersian@ilg
}
+\newif\if@@textdigitfont@on
+
+\newcommand{\TextDigitFontOn}{\@@textdigitfont@ontrue}
+\newcommand{\TextDigitFontOff}{\@@textdigitfont@onfalse}
+
+\TextDigitFontOn
+
\newcommand*\xepersian@setlength[4]{%
\ifdim #2<\ifdim #2=\z@ \z@ \else \p@\fi
\ifdim #3<\ifdim #3=\z@ \z@ \else \p@\fi
@@ -1287,6 +1336,16 @@ number is 999,999,999.}%
\let\bidi@lastcolumn@status@write\relax
\fi}
+\define@choicekey{xepersian.sty}{debugtextdigitfont}[\xepersian@tempa\xepersian@tempb]{on,off}[on]{%
+ \ifcase\xepersian@tempb\relax
+ \bidi@AtEndPreamble{%
+ \bidi@patchcmd{\xepersian@@start@switch@textdigitfont}%
+ {\xepersian@textdigitfont}{\addfontfeature{Color=C71585}}{}{}%
+ }
+ \or
+ \relax
+ \fi}
+
\ExecuteOptionsX{%
documentdirection=righttoleft,
tabledirection=righttoleft,