summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-16 23:10:19 +0000
committerKarl Berry <karl@freefriends.org>2017-01-16 23:10:19 +0000
commitc3967481d7fdf4163ba0f40114f15dd12cfb555f (patch)
treef20f529e3f9d867edbf25c86f1ec833d1478a95c /Master
parentbbdcfbc2b8f537da6c148a5e3cfc669664657baa (diff)
xepersian (16jan17)
git-svn-id: svn://tug.org/texlive/trunk@42968 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/README6
-rw-r--r--Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdfbin937061 -> 947194 bytes
-rw-r--r--Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map2
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx57
-rw-r--r--Master/texmf-dist/source/xelatex/xepersian/xepersian.ins4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty4
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty41
63 files changed, 196 insertions, 142 deletions
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/README b/Master/texmf-dist/doc/xelatex/xepersian/README
index 913ac28d241..ed4c94a6833 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/README
+++ b/Master/texmf-dist/doc/xelatex/xepersian/README
@@ -1,6 +1,6 @@
____________________
The XePersian package
-v17.1
+v17.2
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -20,12 +20,12 @@ In doing so, please always explain your issue well enough, always include
a minimal working example showing the issue, and always choose the appropriate
label for your query (i.e. if you are reporting any bugs, choose `Bug' label).
-Current version release date: 2016/11/30
+Current version release date: 2017/01/16
______________
Vafa Khalighi
persian-tex@tug.org
-Copyright (c) 2008--2016
+Copyright (c) 2008--2017
Distributed under the LaTeX Project Public License
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
diff --git a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
index d14d717e87f..f246257bc73 100644
--- a/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
+++ b/Master/texmf-dist/doc/xelatex/xepersian/xepersian.pdf
Binary files differ
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
index 4c0493c3dc9..46a07c51f6e 100644
--- a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
+++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xepersian/parsidigits.map
@@ -7,7 +7,7 @@
;; xepersian.dtx (with options: `parsidigits.map')
;;
;; __________________________________________________
-;; Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+;; Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
;;
;; It may be distributed and/or modified under the LaTeX Project Public License,
;; version 1.3c or higher (your choice). The latest version of
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
index 6930dd0574c..a0ad1d4627b 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.dtx
@@ -5,7 +5,7 @@
%<*readme>
____________________
The XePersian package
-v17.1
+v17.2
XePersian is a package written for XeLaTeX that allows users to typeset
Persian easily.
@@ -28,12 +28,12 @@ a minimal working example showing the issue, and always choose the appropriate
label for your query (i.e. if you are reporting any bugs, choose `Bug' label).
-Current version release date: 2016/11/30
+Current version release date: 2017/01/16
______________
Vafa Khalighi
persian-tex@tug.org
-Copyright (c) 2008--2016
+Copyright (c) 2008--2017
Distributed under the LaTeX Project Public License
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -53,7 +53,7 @@ by Vafa Khalighi.
\preamble
__________________________________________________
- Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+ Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
@@ -272,7 +272,7 @@ by Vafa Khalighi.
%\changes{v13.1}{2013/09/23}{Added implementation of the package.}
% \title{\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}\\
%\LARGE Persian for \LaTeXe, using {\XeTeX} engine\\[5pt]
-%\large Documentation for \textcolor{blue!65!black}{version 17.1}}
+%\large Documentation for \textcolor{blue!65!black}{version 17.2}}
% \author{Vafa Khalighi\\
% \url{persian-tex@tug.org}}
%\setcounter{page}{0}
@@ -283,7 +283,7 @@ by Vafa Khalighi.
%\textcolor{blue!65!black}{\Huge The \textsf{\XePersian} \textit{Package}}
%
%\Large
-%Documentation for \textcolor{blue!65!black}{version 17.1}}
+%Documentation for \textcolor{blue!65!black}{version 17.2}}
%
%\vskip 0pt plus 3fill
%\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -307,7 +307,7 @@ by Vafa Khalighi.
%
%\vskip 0pt plus 3fill
%
-%Copyright (c) 2008--2016 Vafa Khalighi
+%Copyright (c) 2008--2017 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.
@@ -336,9 +336,9 @@ by Vafa Khalighi.
%* typesetting, using fonts provided in the
%* distribution.
%*
-%* Copyright (c) 2008--2016 Vafa Khalighi
+%* Copyright (c) 2008--2017 Vafa Khalighi
%*
-%* v17.1, 2016/11/30
+%* v17.2, 2017/01/16
%*
%* License: LaTeX Project Public License, version
%* 1.3c or higher (your choice)
@@ -2359,7 +2359,7 @@ by Vafa Khalighi.
%\iffalse
%<*table>
%\fi
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \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
@@ -5676,8 +5676,8 @@ U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET
% \subsection{\textsf{xepersian.sty}}
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\def\xepersianversion{v17.1}
-\def\xepersiandate{2016/11/30}
+\def\xepersianversion{v17.2}
+\def\xepersiandate{2017/01/16}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -5692,7 +5692,7 @@ Persian typesetting in XeLaTeX]
* typesetting, using fonts provided in the^^J%
* distribution.^^J%
* ^^J%
-* Copyright (c) 2008--2016 Vafa Khalighi^^J%
+* Copyright (c) 2008--2017 Vafa Khalighi^^J%
* ^^J%
* \xepersianversion, \xepersiandate^^J%
* ^^J%
@@ -5708,6 +5708,25 @@ Persian typesetting in XeLaTeX]
\typeout{\@xepersian@info}
\edef\xepersian@everyjob{\the\everyjob}
\everyjob{\xepersian@everyjob\typeout{\@xepersian@info}}
+\edef\@bidi@strip@v@xepersianversion{\expandafter\@gobble\xepersianversion}
+\newcommand*{\IfxepersianPackageVersionLater}[1]{%
+ \ifdim\@bidi@strip@v@xepersianversion pt > #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\newcommand*{\IfxepersianPackageVersionBefore}[1]{%
+ \ifdim\@bidi@strip@v@xepersianversion pt < #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\newcommand*{\IfxepersianPackageVersion}[1]{%
+ \ifdim\@bidi@strip@v@xepersianversion pt = #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
\def\prq{«}
\def\plq{»}
\def\xepersian@cmds@temp#1{%
@@ -5949,9 +5968,17 @@ Persian typesetting in XeLaTeX]
\fi
\if@twoside
\ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
+ \if@RTLmain
+ \let\@themargin\evensidemargin
+ \else
+ \let\@themargin\oddsidemargin
+ \fi
+ \else \let\@thehead\@evenhead \let\@thefoot\@evenfoot
+ \if@RTLmain
\let\@themargin\oddsidemargin
- \else \let\@thehead\@evenhead
- \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
+ \else
+ \let\@themargin\evensidemargin
+ \fi
\fi
\ifx\@thehead\@empty \let\@thehead\hfil \fi
\ifx\@thefoot\@empty \let\@thefoot\hfil \fi
diff --git a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
index 7a4d3289503..f09a18250b9 100644
--- a/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
+++ b/Master/texmf-dist/source/xelatex/xepersian/xepersian.ins
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `batchfile')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -23,7 +23,7 @@
\preamble
__________________________________________________
- Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+ Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
It may be distributed and/or modified under the LaTeX Project Public License,
version 1.3c or higher (your choice). The latest version of
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
index 4c9af1f3705..02aedf6e8af 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithm-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,algorithm-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
index 98eddbbff1f..1d4a62e8808 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/algorithmic-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,algorithmic-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
index ea2f6d8be68..694cd9f4f55 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsart-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,amsart-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
index 2484b0c5915..d7fce277958 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/amsbook-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,amsbook-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
index 4086272369e..c946780da44 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/appendix-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,appendix-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
index f5ddae560ff..b34ae27b95d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/article-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,article-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
index 2b6e0a478be..13d9886e6af 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel1-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,artikel1-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
index ab25f537842..69c30d24d82 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel2-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,artikel2-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
index 4ad3756c898..afe8f23f9e0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/artikel3-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,artikel3-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
index 642d9bf47a0..fb626e5550a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/backref-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,backref-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
index d7c3029c3db..3ee69ca121d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidimoderncv-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,bidimoderncv-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
index cdef7795a10..9bbeef485ba 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bidituftesidenote-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,bidituftesidenote-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
index b41fcbd009b..cc26a847192 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,boek-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
index c5444cdacc5..13d5b8a6de7 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/boek3-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,boek3-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
index ff3bb1b6476..6878882723f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/book-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,book-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
index 9900579df2a..24ff8278e26 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/bookest-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,bookest-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
index e775957d230..aedc9b9104b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/breqn-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,breqn-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
index 4a686191d61..546d298b2ef 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/color-localise-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,color-localise-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
index 47c5597f665..96ba6c5c999 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/enumerate-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,enumerate-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
index 73a31efcadb..fe30fb7571d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extarticle-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extarticle-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
index b0c2e279734..220f36bba02 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extbook-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extbook-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
index 645cece5e74..9e899212a6e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extrafootnotefeatures-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extrafootnotefeatures-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
index b3c115ef8c6..7b3c8798932 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/extreport-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,extreport-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
index 86bbf2b4019..01aeb54fb18 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/flowfram-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,flowfram-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
index 3b34ef6b0d4..9c82bc3d822 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,footnote-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
index 0e570dad6be..afff539ec7e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/framed-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,framed-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
index ba1494f0c71..f3c61636994 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/glossaries-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,glossaries-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
index 78d4ebdfa4b..cf30737b6bf 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/hyperref-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,hyperref-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
index edc8130a45b..3d0a600ad04 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/imsproc-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,imsproc-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
index f54014304dc..c8c89db9bf8 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/kashida-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,kashida-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
index fdcf4a45813..5d4c8b43987 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-commands-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-commands-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
index 938b79353fd..af504fc08f1 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-environments-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-environments-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
index 0e3d2b2e8c2..90d6a66a119 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-messages-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-messages-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
index b876c4bd672..11d4b2fcfd0 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/latex-localise-misc-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,latex-localise-misc-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
index 93143f15bf0..5494f9cbbdb 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,listings-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
index a0e67e7411b..f05e7bfc982 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,loadingorder-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index d2b31eed51f..5157b53f809 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,localise-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
index 024e1b8bf55..8561ae8244a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/memoir-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,memoir-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
index 95d02f37e0e..02d546f371e 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/minitoc-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,minitoc-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
index 8da6a71e4d1..bb9984232f6 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/natbib-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,natbib-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
index 60c3cb6cf19..d3ad467c885 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,packages-localise-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
index 5902a4fe3bb..e8c9748ad2d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport1-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,rapport1-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
index 99c3833fb01..2422454cf39 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/rapport3-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,rapport3-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
index 073d8a32689..b9d1d6bb5ee 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/refrep-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,refrep-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
index 597d8c87db8..54d7bccccda 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/report-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,report-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
index c949177ca13..42be4e16e2f 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrartcl-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,scrartcl-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
index fc979f3fda6..be67939363d 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrbook-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,scrbook-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
index 8281fa22a0e..c59aa81ae7c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/scrreprt-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,scrreprt-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
index beabe61ed3b..26f57039fea 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/soul-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,soul-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
index 79f47e696f3..54290b50f1c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tkz-linknodes-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,tkz-linknodes-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
index 4a363174021..c7f7c3c8b4c 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/tocloft-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,tocloft-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
index bd4fae21541..0a8a1265e41 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-commands-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-localise-commands-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
index d8389d49e3f..209428d816b 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-localise-environments-xepersian.def
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-localise-environments-xepersian.def')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
index efcc55565a5..7cd761cf11a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-magazine.cls
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-magazine.cls')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
index 9dc3b31cade..51ca9af6dd5 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-mathsdigitspec.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
index c96928403b8..356b355a67a 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-multiplechoice.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-multiplechoice.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
index 733cd8b7dbe..42196389bd7 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian-persiancal.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
index bfaa076e8c6..9b147193c61 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
+++ b/Master/texmf-dist/tex/xelatex/xepersian/xepersian.sty
@@ -7,7 +7,7 @@
%% xepersian.dtx (with options: `table,xepersian.sty')
%%
%% __________________________________________________
-%% Copyright (c) 2008--2016 Vafa Khalighi <persian-tex@tug.org>
+%% Copyright (c) 2008--2017 Vafa Khalighi <persian-tex@tug.org>
%%
%% It may be distributed and/or modified under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{10160}
+%% \CheckSum{10207}
%% \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{v17.1}
-\def\xepersiandate{2016/11/30}
+\def\xepersianversion{v17.2}
+\def\xepersiandate{2017/01/16}
\ProvidesPackage{xepersian}[\xepersiandate\space \xepersianversion\space
Persian typesetting in XeLaTeX]
\RequirePackage{fontspec}
@@ -51,7 +51,7 @@ Persian typesetting in XeLaTeX]
* typesetting, using fonts provided in the^^J%
* distribution.^^J%
* ^^J%
-* Copyright (c) 2008--2016 Vafa Khalighi^^J%
+* Copyright (c) 2008--2017 Vafa Khalighi^^J%
* ^^J%
* \xepersianversion, \xepersiandate^^J%
* ^^J%
@@ -67,6 +67,25 @@ Persian typesetting in XeLaTeX]
\typeout{\@xepersian@info}
\edef\xepersian@everyjob{\the\everyjob}
\everyjob{\xepersian@everyjob\typeout{\@xepersian@info}}
+\edef\@bidi@strip@v@xepersianversion{\expandafter\@gobble\xepersianversion}
+\newcommand*{\IfxepersianPackageVersionLater}[1]{%
+ \ifdim\@bidi@strip@v@xepersianversion pt > #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\newcommand*{\IfxepersianPackageVersionBefore}[1]{%
+ \ifdim\@bidi@strip@v@xepersianversion pt < #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
+\newcommand*{\IfxepersianPackageVersion}[1]{%
+ \ifdim\@bidi@strip@v@xepersianversion pt = #1 pt %
+ \expandafter\@firstoftwo
+ \else
+ \expandafter\@secondoftwo
+ \fi}
\def\prq{«}
\def\plq{»}
\def\xepersian@cmds@temp#1{%
@@ -308,9 +327,17 @@ Persian typesetting in XeLaTeX]
\fi
\if@twoside
\ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
+ \if@RTLmain
+ \let\@themargin\evensidemargin
+ \else
+ \let\@themargin\oddsidemargin
+ \fi
+ \else \let\@thehead\@evenhead \let\@thefoot\@evenfoot
+ \if@RTLmain
\let\@themargin\oddsidemargin
- \else \let\@thehead\@evenhead
- \let\@thefoot\@evenfoot \let\@themargin\evensidemargin
+ \else
+ \let\@themargin\evensidemargin
+ \fi
\fi
\ifx\@thehead\@empty \let\@thehead\hfil \fi
\ifx\@thefoot\@empty \let\@thefoot\hfil \fi