texlive[46188] Master/texmf-dist: xepersian (1jan18)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 1 23:07:01 CET 2018


Revision: 46188
          http://tug.org/svn/texlive?view=revision&revision=46188
Author:   karl
Date:     2018-01-01 23:07:01 +0100 (Mon, 01 Jan 2018)
Log Message:
-----------
xepersian (1jan18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/xepersian/README
    trunk/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
    trunk/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
    trunk/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
    trunk/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
    trunk/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
    trunk/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
    trunk/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
    trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
    trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
    trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
    trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/README
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/xepersian/README	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/doc/xelatex/xepersian/README	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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 @@
 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 at 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

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/doc/xelatex/xepersian/magazine-sample.tex	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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{وفا خلیقی}

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/doc/xelatex/xepersian/test-correction.tex	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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)\} $

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/doc/xelatex/xepersian/test-empty-form.tex	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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)\} $

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/doc/xelatex/xepersian/test-question-only.tex	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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)\} $

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/doc/xelatex/xepersian/test-solution-form.tex	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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)\} $

Modified: trunk/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
===================================================================
--- trunk/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 ;; xepersian.dtx  (with options: `parsidigits.map')
 ;; 
 ;;   __________________________________________________
-;;   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+;;   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx	2018-01-01 22:07:01 UTC (rev 46188)
@@ -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 @@
 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 at 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 @@
 \preamble
 
   __________________________________________________
-  Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+  Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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 @@
 %\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 at tug.org}}
 %\setcounter{page}{0}
@@ -284,7 +284,7 @@
 %\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 @@
 %
 %\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 @@
 %* 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 @@
 %\bicsintabular{علامت‌بین}{SepMark}
 %\bicsintabular{بگذارمرجوعات‌عادی}{setdefaultbibitems}
 %\bicsintabular{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
-%\bicsintabular{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+%\bicsintabular{گزینش‌قلم‌اعدادفرمولها}{setmathdigitfont}
 %\bicsintabular{بگذارزیرنویس‌چپ}{setfootnoteLR}
 %\bicsintabular{بگذارزیرنویس‌راست}{setfootnoteRL}
 %\bicsintabular{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
@@ -1749,7 +1749,7 @@
 %\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 @@
 %\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 @@
 %\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 @@
 %\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 @@
 \eqcommand{علامت‌بین}{SepMark}
 \eqcommand{بگذارمرجوعات‌عادی}{setdefaultbibitems}
 \eqcommand{بگذاردرحاشیه‌عادی}{setdefaultmarginpar}
-\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setdigitfont}
+\eqcommand{گزینش‌قلم‌اعدادفرمولها}{setmathdigitfont}
 \eqcommand{بگذارزیرنویس‌چپ}{setfootnoteLR}
 \eqcommand{بگذارزیرنویس‌راست}{setfootnoteRL}
 \eqcommand{گزینش‌قلم‌لاتین‌متن}{setlatintextfont}
@@ -5289,8 +5289,8 @@
 % \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 @@
 * 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,7 +5392,50 @@
   \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 at textdigitfont }
+     {
+      \exp_not:N \fontfamily { \g__xepersian_textdigitfont_family }
+      \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+      \exp_not:N \selectfont
+     }
+   }
+   \XeTeXinterchartoks \e at alloc@intercharclass at top \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at digits@charclass \e at alloc@intercharclass at top = {\xepersian@@stop at switch@textdigitfont}
+   \XeTeXinterchartoks \z@ \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at digits@charclass \z@ = {\xepersian@@stop at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at digits@charclass  \bidi at sepmark@charclass = {\DigitsDotDashInterCharToks\xepersian@@stop at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at sepmark@charclass  \bidi at digits@charclass = {\DigitsDotDashInterCharToks\xepersian@@start at switch@textdigitfont}
+   \if at bidi@csundef{xepersian at D}{}{%
+     \XeTeXinterchartoks \xepersian at D  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at D = {\xepersian@@stop at switch@textdigitfont}
+     \XeTeXinterchartoks \xepersian at L  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at L = {\xepersian@@stop at switch@textdigitfont}
+     \XeTeXinterchartoks \xepersian at A  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at A = {\xepersian@@stop at switch@textdigitfont}
+     \XeTeXinterchartoks \xepersian at R  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at R = {\xepersian@@stop at switch@textdigitfont}
+   }
+   \newcommand*{\xepersian@@start at switch@textdigitfont}{\ifx\f at family\ttdefault\else\if at nonlatin\if@@textdigitfont at on\bgroup\xepersian at textdigitfont\else\fi\fi\fi}
+   \newcommand*{\xepersian@@stop at switch@textdigitfont}{\ifx\f at family\ttdefault\else\if at nonlatin\if@@textdigitfont at 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}
@@ -5724,6 +5767,13 @@
 % \fi
 }
 
+\newif\if@@textdigitfont at on
+
+\newcommand{\TextDigitFontOn}{\@@textdigitfont at ontrue}
+\newcommand{\TextDigitFontOff}{\@@textdigitfont at onfalse}
+
+\TextDigitFontOn
+
 \newcommand*\xepersian at setlength[4]{%
     \ifdim #2<\ifdim #2=\z@ \z@ \else \p@\fi
       \ifdim #3<\ifdim #3=\z@ \z@ \else \p@\fi
@@ -6554,6 +6604,16 @@
   \fi}
 
 
+\define at choicekey{xepersian.sty}{debugtextdigitfont}[\xepersian at tempa\xepersian at tempb]{on,off}[on]{%
+  \ifcase\xepersian at tempb\relax
+    \bidi at AtEndPreamble{%
+      \bidi at patchcmd{\xepersian@@start at switch@textdigitfont}%
+      {\xepersian at textdigitfont}{\addfontfeature{Color=C71585}}{}{}%
+    }
+  \or
+    \relax
+  \fi}  
+
 \ExecuteOptionsX{%
     documentdirection=righttoleft,
     tabledirection=righttoleft,
@@ -7516,7 +7576,7 @@
 %    \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 at mathgroup{\alloc at 8\mathgroup\chardef\@cclvi}
 \let\newfam\new at mathgroup
 \def\select at group#1#2#3#4{%
@@ -7643,19 +7703,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 at 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 at PackageInfo{Defining the default Persian maths digits font as '#2'}
-  \DeclareSymbolFont{OPERATORS}   {\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl} {m}{n}
-  \DeclareSymbolFont{new at mathbf@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{bx}{n}
-  \DeclareSymbolFont{new at mathit@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{m}{it}
-  \DeclareSymbolFont{new at mathrm@font at 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 at mathbf@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{bx}{n}
+  \DeclareSymbolFont{new at mathit@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{it}
+  \DeclareSymbolFont{new at mathrm@font at 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 @@
 \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 @@
 \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 @@
 \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 @@
 \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 @@
 \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)\} $

Modified: trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `batchfile')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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 at tug.org>
+  Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,algorithm-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,algorithmic-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,amsart-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,amsbook-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,appendix-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,article-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,artikel1-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,artikel2-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,artikel3-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,backref-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,bidimoderncv-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,bidituftesidenote-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,boek-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,boek3-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,book-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,bookest-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,breqn-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,color-localise-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,enumerate-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/enumitem-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,enumitem-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,extarticle-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,extbook-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,extrafootnotefeatures-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,extreport-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,flowfram-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,footnote-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,framed-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,glossaries-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,hyperref-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,imsproc-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,kashida-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,latex-localise-commands-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,latex-localise-environments-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,latex-localise-messages-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,latex-localise-misc-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,listings-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,loadingorder-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,localise-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,memoir-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,minitoc-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,natbib-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,packages-localise-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,rapport1-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,rapport3-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,refrep-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,report-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,scrartcl-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,scrbook-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,scrreprt-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,soul-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,tkz-linknodes-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,tocloft-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian-localise-commands-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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}

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian-localise-environments-xepersian.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian-magazine.cls')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian-mathsdigitspec.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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 at mathgroup{\alloc at 8\mathgroup\chardef\@cclvi}
 \let\newfam\new at mathgroup
 \def\select at 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 at 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 at PackageInfo{Defining the default Persian maths digits font as '#2'}
-  \DeclareSymbolFont{OPERATORS}   {\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl} {m}{n}
-  \DeclareSymbolFont{new at mathbf@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{bx}{n}
-  \DeclareSymbolFont{new at mathit@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_digitsfamily_tl}{m}{it}
-  \DeclareSymbolFont{new at mathrm@font at 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 at mathbf@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{bx}{n}
+  \DeclareSymbolFont{new at mathit@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{it}
+  \DeclareSymbolFont{new at mathrm@font at digits}{\g_fontspec_encoding_tl}{\g__xepersian_mathdigitsfamily_tl}{m}{n}
   \def\persianmathsdigits{%
   \SetMathCode{`0}{\mathalpha}{OPERATORS}{`0}
   \SetMathCode{`1}{\mathalpha}{OPERATORS}{`1}

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian-multiplechoice.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian-persiancal.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty	2018-01-01 22:06:35 UTC (rev 46187)
+++ trunk/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty	2018-01-01 22:07:01 UTC (rev 46188)
@@ -7,7 +7,7 @@
 %% xepersian.dtx  (with options: `table,xepersian.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2008--2017  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2008--2018  Vafa Khalighi <persian-tex at 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 @@
 * 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 @@
   \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 at textdigitfont }
+     {
+      \exp_not:N \fontfamily { \g__xepersian_textdigitfont_family }
+      \exp_not:N \fontencoding { \l__fontspec_nfss_enc_tl }
+      \exp_not:N \selectfont
+     }
+   }
+   \XeTeXinterchartoks \e at alloc@intercharclass at top \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at digits@charclass \e at alloc@intercharclass at top = {\xepersian@@stop at switch@textdigitfont}
+   \XeTeXinterchartoks \z@ \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at digits@charclass \z@ = {\xepersian@@stop at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at digits@charclass  \bidi at sepmark@charclass = {\DigitsDotDashInterCharToks\xepersian@@stop at switch@textdigitfont}
+   \XeTeXinterchartoks \bidi at sepmark@charclass  \bidi at digits@charclass = {\DigitsDotDashInterCharToks\xepersian@@start at switch@textdigitfont}
+   \if at bidi@csundef{xepersian at D}{}{%
+     \XeTeXinterchartoks \xepersian at D  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at D = {\xepersian@@stop at switch@textdigitfont}
+     \XeTeXinterchartoks \xepersian at L  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at L = {\xepersian@@stop at switch@textdigitfont}
+     \XeTeXinterchartoks \xepersian at A  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at A = {\xepersian@@stop at switch@textdigitfont}
+     \XeTeXinterchartoks \xepersian at R  \bidi at digits@charclass = {\xepersian@@start at switch@textdigitfont}
+     \XeTeXinterchartoks \bidi at digits@charclass  \xepersian at R = {\xepersian@@stop at switch@textdigitfont}
+   }
+   \newcommand*{\xepersian@@start at switch@textdigitfont}{\ifx\f at family\ttdefault\else\if at nonlatin\if@@textdigitfont at on\bgroup\xepersian at textdigitfont\else\fi\fi\fi}
+   \newcommand*{\xepersian@@stop at switch@textdigitfont}{\ifx\f at family\ttdefault\else\if at nonlatin\if@@textdigitfont at 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 @@
  \advance\xepersian at strutilg\xepersian at ilg
 }
 
+\newif\if@@textdigitfont at on
+
+\newcommand{\TextDigitFontOn}{\@@textdigitfont at ontrue}
+\newcommand{\TextDigitFontOff}{\@@textdigitfont at onfalse}
+
+\TextDigitFontOn
+
 \newcommand*\xepersian at setlength[4]{%
     \ifdim #2<\ifdim #2=\z@ \z@ \else \p@\fi
       \ifdim #3<\ifdim #3=\z@ \z@ \else \p@\fi
@@ -1287,6 +1336,16 @@
     \let\bidi at lastcolumn@status at write\relax
   \fi}
 
+\define at choicekey{xepersian.sty}{debugtextdigitfont}[\xepersian at tempa\xepersian at tempb]{on,off}[on]{%
+  \ifcase\xepersian at tempb\relax
+    \bidi at AtEndPreamble{%
+      \bidi at patchcmd{\xepersian@@start at switch@textdigitfont}%
+      {\xepersian at textdigitfont}{\addfontfeature{Color=C71585}}{}{}%
+    }
+  \or
+    \relax
+  \fi}
+
 \ExecuteOptionsX{%
     documentdirection=righttoleft,
     tabledirection=righttoleft,



More information about the tex-live-commits mailing list