texlive[42967] Master/texmf-dist: bidi (16jan17)

commits+karl at tug.org commits+karl at tug.org
Tue Jan 17 00:10:04 CET 2017


Revision: 42967
          http://tug.org/svn/texlive?view=revision&revision=42967
Author:   karl
Date:     2017-01-17 00:10:04 +0100 (Tue, 17 Jan 2017)
Log Message:
-----------
bidi (16jan17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/bidi/README
    trunk/Master/texmf-dist/doc/xelatex/bidi/bidi.pdf
    trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
    trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins
    trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/animate-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls
    trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty
    trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def
    trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def

Modified: trunk/Master/texmf-dist/doc/xelatex/bidi/README
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/bidi/README	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/doc/xelatex/bidi/README	2017-01-16 23:10:04 UTC (rev 42967)
@@ -1,6 +1,6 @@
 ___________________
 The bidi package
-v20.6
+v20.7
 
 This package provides a convenient interface for typesetting
 bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -17,13 +17,13 @@
 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 at tug.org
 
-Copyright (c) 2007--2016
+Copyright (c) 2007--2017
 It may be distributed and/or modified under the LaTeX Project Public License,
 version 1.3c or higher (your choice). The latest version of
 this license is at: http://www.latex-project.org/lppl.txt

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

Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi.dtx	2017-01-16 23:10:04 UTC (rev 42967)
@@ -5,7 +5,7 @@
 %<*readme>
 ___________________
 The bidi package
-v20.6
+v20.7
 
 This package provides a convenient interface for typesetting
 bidirectional texts in Plain TeX and LaTeX, using XeTeX engine.
@@ -25,13 +25,13 @@
 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 at tug.org
 
-Copyright (c) 2007--2016
+Copyright (c) 2007--2017
 It may be distributed and/or modified under the LaTeX Project Public License,
 version 1.3c or higher (your choice). The latest version of
 this license is at: http://www.latex-project.org/lppl.txt
@@ -49,7 +49,7 @@
 \preamble
 
   __________________________________________________
-  Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+  Copyright (c) 2009--2017  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
@@ -321,7 +321,7 @@
 %\changes{v13.9}{2013/09/23}{Added implementaion of the package.}
 % \title{\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}\\
 %\LARGE Bidirectional typesetting in plain \TeX{} and \LaTeX, using \XeTeX{} engine\\[5pt]
-%\large Documentation for \textcolor{blue!65!black}{version 20.6}}
+%\large Documentation for \textcolor{blue!65!black}{version 20.7}}
 % \author{Vafa Khalighi\\
 %  \url{persian-tex at tug.org}}
 %\setcounter{page}{0}
@@ -332,7 +332,7 @@
 %\textcolor{blue!65!black}{\Huge The \textsf{bidi} \textit{Package}}
 %
 %\Large
-%Documentation for \textcolor{blue!65!black}{version 20.6}}
+%Documentation for \textcolor{blue!65!black}{version 20.7}}
 %
 %\vskip 0pt plus 3fill
 %\textit{\large to my Master, \textbf{Ferdowsi The Great}}
@@ -356,7 +356,7 @@
 %
 %\vskip 0pt plus 3fill
 %
-%Copyright (c) 2007--2016 Vafa Khalighi
+%Copyright (c) 2007--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.
@@ -381,9 +381,9 @@
 %* and LaTeX. The package includes adaptations
 %* for use with many other commonly-used packages.
 %* 
-%* Copyright (c) 2009--2016 Vafa Khalighi
+%* Copyright (c) 2009--2017 Vafa Khalighi
 %* 
-%* 2016/11/30, v20.6
+%* 2017/01/16, v20.7
 %* 
 %* License: LaTeX Project Public License, version
 %* 1.3c or higher (your choice)
@@ -855,7 +855,6 @@
 %\begin{BDef}
 %\Lcs{LTRsidenote}\quad\Lcs{RTLsidenote}\quad\Lcs{LTRmarginnote}\quad\Lcs{RTLmarginnote}
 %\end{BDef}
-%\item  \textsf{biditufte-book} and \textsf{biditufte-handout} classes provide two extra options; \textsf{RTLgeometry} (active when loading either of classes) and \textsf{LTRgeometry}.
 %\item \textsf{biditufte} bundle unlike \textsf{tufts-latex} package, only provides justified lines.
 %\item Some features of \textsf{tufte-latex} that does not make any sense in RTL, do not exist in \textsf{biditufte} bundle (no need for \textsf{soul}, \textsf{letterspace} and \textsf{macrotype} packages).
 %\item If you want to configure \textsf{biditufte-book} class for your own needs, then you can create a file with the name \texttt{biditufte-book.cfg} and put your \LaTeX{} macros in that file; similarly, if you want to configure \textsf{biditufte-handout} class for your own needs, then you can create a file with the name \texttt{biditufte-handout.cfg} and put your \LaTeX{} macros in that file.
@@ -1138,7 +1137,7 @@
 %\iffalse
 %<*table>
 %\fi
-%% \CheckSum{47593}
+%% \CheckSum{47651}
 %% \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
@@ -2981,8 +2980,8 @@
 % \subsection{\textsf{bidi.sty}}
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2016/11/30}
-\def\bidiversion{v20.6}
+\def\bididate{2017/01/16}
+\def\bidiversion{v20.7}
 \ProvidesPackage{bidi}[\bididate\space \bidiversion\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi at info{****************************************************^^J%
@@ -2995,7 +2994,7 @@
 * and LaTeX.  The package includes adaptations^^J%
 * for use with many other commonly-used packages.^^J%
 * ^^J%
-* Copyright (c) 2009--2016 Vafa Khalighi^^J%
+* Copyright (c) 2009--2017 Vafa Khalighi^^J%
 * ^^J%
 * \bididate, \bidiversion^^J%
 * ^^J%
@@ -3011,6 +3010,25 @@
 \typeout{\@bidi at info}
 \edef\bidi at everyjob{\the\everyjob}
 \everyjob{\bidi at everyjob\typeout{\@bidi at info}}
+\edef\@bidi at strip@v at bidiversion{\expandafter\@gobble\bidiversion}
+\newcommand*{\IfbidiPackageVersionLater}[1]{%
+  \ifdim\@bidi at strip@v at bidiversion pt > #1 pt %
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
+\newcommand*{\IfbidiPackageVersionBefore}[1]{%
+  \ifdim\@bidi at strip@v at bidiversion pt < #1 pt %
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
+\newcommand*{\IfbidiPackageVersion}[1]{%
+  \ifdim\@bidi at strip@v at bidiversion pt = #1 pt %
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
 \RequirePackage{iftex}
 \RequireXeTeX
 \RequirePackage{biditools}
@@ -3977,6 +3995,14 @@
     {\@ifundefined{#1\@tempa}%
       {\PackageError{biditools}{Boolean #1 undefined}\@ehc}%
       {\csname#1\@tempa\endcsname}}}
+\newcommand*{\GlobalSetBoolean}[2]{%
+  \lowercase{\def\@tempa{#2}}%
+  \@ifundefined{@tempswa\@tempa}%
+    {\PackageError{biditools}%
+       {You can only set a boolean to `true' or `false'}\@ehc}%
+    {\@ifundefined{#1\@tempa}%
+      {\PackageError{biditools}{Boolean #1 undefined}\@ehc}%
+      {\global\csname#1\@tempa\endcsname}}}
 \newcommand*{\SetatBoolean}[2]{%
   \lowercase{\def\@tempa{#2}}%
   \@ifundefined{@tempswa\@tempa}%
@@ -3983,8 +4009,16 @@
     {\PackageError{biditools}%
        {You can only set a boolean to `true' or `false'}\@ehc}%
     {\@ifundefined{@#1\@tempa}%
-      {\PackageError{ifthen}{Boolean @#1 undefined}\@ehc}%
+      {\PackageError{biditools}{Boolean @#1 undefined}\@ehc}%
       {\csname @#1\@tempa\endcsname}}}
+\newcommand*{\GlobalSetatBoolean}[2]{%
+  \lowercase{\def\@tempa{#2}}%
+  \@ifundefined{@tempswa\@tempa}%
+    {\PackageError{biditools}%
+       {You can only set a boolean to `true' or `false'}\@ehc}%
+    {\@ifundefined{@#1\@tempa}%
+      {\PackageError{biditools}{Boolean @#1 undefined}\@ehc}%
+      {\global\csname @#1\@tempa\endcsname}}}
 \def\@bidi at removefromreset#1#2{{%
   \expandafter\let\csname c@#1\endcsname\@bidi at removefromreset
   \def\@elt##1{%
@@ -4042,6 +4076,7 @@
   \else
     \expandafter\@secondoftwo
   \fi}
+  
 \newcommand*{\if at bidi@csdef}[1]{%
   \ifcsname#1\endcsname
     \expandafter\@firstoftwo
@@ -5091,10 +5126,6 @@
 \newcommand{\bidituftefloatError}[2]{\PackageError{\@bidituftefloat at pkgname}{#1}{#2}}
 \newcommand{\bidituftefloatDebugInfoNL}[1]{\ifthenelse{\boolean{@bidituftefloat at debug}}{\bidituftefloatInfoNL{#1}}{}}
 \newcommand{\bidituftefloatInfoNL}[1]{\PackageInfo{\@bidituftefloat at pkgname}{#1\@gobble}}
-\newboolean{@bidituftefloat at RTLgeometry}
-\setboolean{@bidituftefloat at RTLgeometry}{true}
-\DeclareOption{RTLgeometry}{\setboolean{@bidituftefloat at RTLgeometry}{true}}
-\DeclareOption{LTRgeometry}{\setboolean{@bidituftefloat at RTLgeometry}{false}}
 \newboolean{@bidituftefloat at afourpaper}
 \DeclareOption{a4paper}{\setboolean{@bidituftefloat at afourpaper}{true}}
 \newboolean{@bidituftefloat at bfivepaper}
@@ -5120,16 +5151,7 @@
   \setlength{#1}{#2}%
   \global#1=#1\relax%
 }
-%% Globally sets a boolean
-\newcommand*{\gsetboolean}[2]{% based on code from ifthen pkg
-  \lowercase{\def\@tempa{#2}}%
-  \@ifundefined{@tempswa\@tempa}%
-    {\PackageError{ifthen}{You can only set a boolean to `true' or `false'}\@ehc}%
-    {\@ifundefined{#1\@tempa}%
-      {\PackageError{ifthen}{Boolean #1 undefined}\@ehc}%
-      {\global\csname#1\@tempa\endcsname}%
-    }%
-}
+
 %% Set the font sizes and baselines to match bidituftefloat's books
 \renewcommand\normalsize{%
    \@setfontsize\normalsize\@xpt{14}%
@@ -5159,14 +5181,6 @@
   \setlength{\parskip}{0pt}%
 }
 \RequirePackage{ragged2e}
-\ifthenelse{\boolean{@bidituftefloat at RTLgeometry}}{%
-\RequirePackage[letterpaper,right=1in,top=1in,headsep=2\baselineskip,textwidth=26pc,marginparsep=2pc,marginparwidth=12pc,textheight=44\baselineskip,headheight=\baselineskip]{geometry}
-\ifthenelse{\boolean{@bidituftefloat at afourpaper}}
-  {\geometry{a4paper,right=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}}
-  {}
-\ifthenelse{\boolean{@bidituftefloat at bfivepaper}}
-  {\geometry{paperwidth=176mm,paperheight=250mm,right=14.66mm,top=13.88mm,textwidth=102.66mm,marginparsep=7.33mm,marginparwidth=36.66mm,textheight=38\baselineskip,includehead}}
-  {}}{%
 \RequirePackage[letterpaper,left=1in,top=1in,headsep=2\baselineskip,textwidth=26pc,marginparsep=2pc,marginparwidth=12pc,textheight=44\baselineskip,headheight=\baselineskip]{geometry}
 \ifthenelse{\boolean{@bidituftefloat at afourpaper}}
   {\geometry{a4paper,left=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}}
@@ -5173,7 +5187,7 @@
   {}
 \ifthenelse{\boolean{@bidituftefloat at bfivepaper}}
   {\geometry{paperwidth=176mm,paperheight=250mm,left=14.66mm,top=13.88mm,textwidth=102.66mm,marginparsep=7.33mm,marginparwidth=36.66mm,textheight=38\baselineskip,includehead}}
-  {}}
+  {}
 \ifthenelse{\boolean{@bidituftefloat at symmetric}}
   {}
   {\geometry{asymmetric}}% forces internal LaTeX `twoside'
@@ -5263,8 +5277,8 @@
 \newcommand{\floatalignment}{x}% holds the current float alignment (t, b, h, p)
 \newcommand{\setfloatalignment}[1]{\global\def\floatalignment{#1}\@bidituftefloat at float@debug{Forcing position: [#1]}}% manually sets the float alignment
 \newboolean{@bidituftefloat at float@recto}
-\newcommand{\forcerectofloat}{\gsetboolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Forcing page: [recto]}}
-\newcommand{\forceversofloat}{\gsetboolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Forcing page: [verso]}}
+\newcommand{\forcerectofloat}{\GlobalSetBoolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Forcing page: [recto]}}
+\newcommand{\forceversofloat}{\GlobalSetBoolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Forcing page: [verso]}}
 \newsavebox{\@bidituftefloat at figure@box}
 \newsavebox{\@bidituftefloat at caption@box}
 \let\@bidituftefloat at orig@float\@float
@@ -5291,13 +5305,13 @@
   {% begin @bidituftefloat at float
     % Should this float be full-width or just text-width?
     \ifthenelse{\equal{#3}{star}}%
-      {\gsetboolean{@bidituftefloat at float@star}{true}}%
-      {\gsetboolean{@bidituftefloat at float@star}{false}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@star}{true}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@star}{false}}%
     % Check page side (recto/verso) and store detected value -- can be overriden in environment contents
     \@bidituftefloat at checkoddpage%
     \ifthenelse{\boolean{@bidituftefloat at odd@page}}%
-      {\gsetboolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Detected page: [recto/odd]}}%
-      {\gsetboolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Detected page: [verso/even]}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Detected page: [recto/odd]}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Detected page: [verso/even]}}%
     % If the float placement specifier is 'b' and only 'b', then bottom-align the mini-pages, otherwise top-align them.
     \renewcommand{\@bidituftefloat at fps}{#1}%
     \@bidituftefloat at float@debug{Allowed positions: [#1]}%
@@ -5584,8 +5598,8 @@
 \setboolean{@bidituftefloat at packages@subfigure}{false}
 \AtBeginDocument{%
   \@ifpackageloaded{subfigure}
-    {\gsetboolean{@bidituftefloat at packages@subfigure}{true}}
-    {\gsetboolean{@bidituftefloat at packages@subfigure}{false}}%
+    {\GlobalSetBoolean{@bidituftefloat at packages@subfigure}{true}}
+    {\GlobalSetBoolean{@bidituftefloat at packages@subfigure}{false}}%
 }
 \AtBeginDocument{%
   \@ifpackageloaded{float}{%
@@ -5826,20 +5840,8 @@
   \global#1=#1\relax%
 }%
 }{}
+
 %%
-% Globally sets a boolean
-\@ifundefined{gsetboolean}{%
-\newcommand*{\gsetboolean}[2]{% based on code from ifthen pkg
-  \lowercase{\def\@tempa{#2}}%
-  \@ifundefined{@tempswa\@tempa}%
-    {\PackageError{ifthen}{You can only set a boolean to `true' or `false'}\@ehc}%
-    {\@ifundefined{#1\@tempa}%
-      {\PackageError{ifthen}{Boolean #1 undefined}\@ehc}%
-      {\global\csname#1\@tempa\endcsname}%
-    }%
-}%
-}{}
-%%
 % A function that removes leading and trailling spaces from the supplied macro.
 % Based on code written by Michael Downes (See ``Around the Bend'', #15.)
 % Executing \@bidituftesidenote at trim@spaces\xyzzy will result in the contents of \xyzzy
@@ -12755,7 +12757,7 @@
 %\fi
 % \subsection{\textsf{geometry-xetex-bidi.def}}
 %    \begin{macrocode}
-\ProvidesFile{geometry-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for geometry package for XeTeX engine]
+\ProvidesFile{geometry-xetex-bidi.def}[2017/01/14 v0.2 bidi adaptations for geometry package for XeTeX engine]
 \renewcommand*{\Gm at vrules@mpi}{%
 \if at RTLmain%
         \hb at xt@\@tempdima{\hskip-\marginparwidth\hskip-\marginparsep
@@ -12776,7 +12778,27 @@
   \llap{\Gm at vrule}\ignorespaces
   \hskip \marginparwidth\rlap{\Gm at vrule}\hskip \marginparsep
   \llap{\Gm at vrule}\hskip\textwidth\rlap{\Gm at vrule}\hss}\fi}%
-
+\bidi at patchcmd{\Gm at pageframes}{%
+     \ifodd\count\z@
+       \let\@themargin\oddsidemargin
+     \else
+       \let\@themargin\evensidemargin
+     \fi
+}{%
+     \ifodd\count\z@
+       \if at RTLmain
+         \let\@themargin\evensidemargin
+       \else
+         \let\@themargin\oddsidemargin
+       \fi
+     \else
+       \if at RTLmain
+         \let\@themargin\oddsidemargin
+       \else
+         \let\@themargin\evensidemargin
+       \fi
+     \fi
+}{}{}
 %    \end{macrocode}
 % \iffalse
 %</geometry-xetex-bidi.def>
@@ -13835,7 +13857,7 @@
 %\fi
 % \subsection{\textsf{listings-xetex-bidi.def}}
 %    \begin{macrocode}
-\ProvidesFile{listings-xetex-bidi.def}[2016/11/08 v1.3 bidi adaptations for listings package for XeTeX engine]
+\ProvidesFile{listings-xetex-bidi.def}[2017/01/14 v1.4 bidi adaptations for listings package for XeTeX engine]
 \lst at Key{captiondirection}{textdirection}{%
     \lstKV at SwitchCases{#1}%
     {textdirection&\\%
@@ -13843,9 +13865,9 @@
      LTR&\chardef\bidi at lst@caption at direction\z@%
     }{\PackageError{Listings}{direction #1 unknown}\@ehc}}
     
-\lst at Key{captionscript}{latin}{%
+\lst at Key{captionscript}{textscript}{%
     \lstKV at SwitchCases{#1}%
-    {%
+    {textscript&\\%
      latin&\chardef\bidi at lst@caption at script\@ne\\%
      nonlatin&\chardef\bidi at lst@caption at script\z@%
     }{\PackageError{Listings}{direction #1 unknown}\@ehc}}
@@ -13860,14 +13882,20 @@
          \fi%
      \fi%
 }}
-\long\def\@bidi at lst@makecaption#1#2{%
+
+\newcommand*{\bidi at lst@ensure at caption@script}[2]{%
+   \@ifundefined{bidi at lst@caption at script}{}{%
     \ifnum\bidi at lst@caption at script=\z@%
-        \@nonlatintrue%
+        #1%
     \else%
          \ifnum\bidi at lst@caption at script=\@ne%
-             \@nonlatinfalse%
+             #2%
          \fi%
      \fi%
+}}
+
+\long\def\@bidi at lst@makecaption#1#2{%
+   \bidi at lst@ensure at caption@script{\@nonlatintrue}{\@nonlatinfalse}%
    \vskip\abovecaptionskip
    \bidi at lst@ensure at caption@direction{\@RTLfalse}{\@RTLtrue}%
    \sbox\@tempboxa{%
@@ -13911,13 +13939,7 @@
 }
 \@ifpackageloaded{caption}{%
   \AtBeginCaption{%
-      \ifnum\bidi at lst@caption at script=\z@%
-        \@nonlatintrue%
-    \else%
-         \ifnum\bidi at lst@caption at script=\@ne%
-             \@nonlatinfalse%
-         \fi%
-     \fi%
+  \bidi at lst@ensure at caption@script{\@nonlatintrue}{\@nonlatinfalse}%
   \bidi at lst@ensure at caption@direction{\@RTLfalse}{\@RTLtrue}%
 }
   \let\@bidi at lst@makecaption\caption at makecaption%
@@ -21975,9 +21997,17 @@
   \fi
   \if at twoside
     \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
+       \if at RTLmain
+          \let\@themargin\evensidemargin
+        \else
+          \let\@themargin\oddsidemargin
+        \fi
+    \else \let\@thehead\@evenhead \let\@thefoot\@evenfoot 
+       \if at 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

Modified: trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins
===================================================================
--- trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/source/xelatex/bidi/bidi.ins	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `batchfile')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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
@@ -22,7 +22,7 @@
 \preamble
 
   __________________________________________________
-  Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+  Copyright (c) 2009--2017  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/bidi/adjmulticol-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/adjmulticol-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,adjmulticol-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/algorithm2e-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/algorithm2e-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,algorithm2e-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/amsart-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,amsart-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/amsbook-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,amsbook-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/amsmath-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,amsmath-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/amstext-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,amstext-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/amsthm-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,amsthm-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/animate-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/animate-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/animate-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,animate-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/array-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,array-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/article-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,article-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/artikel1-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,artikel1-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/artikel2-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,artikel2-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/artikel3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,artikel3-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/arydshln-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,arydshln-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidi-media9.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi-media9.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidi-media9.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidi.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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\bididate{2016/11/30}
-\def\bidiversion{v20.6}
+\def\bididate{2017/01/16}
+\def\bidiversion{v20.7}
 \ProvidesPackage{bidi}[\bididate\space \bidiversion\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi at info{****************************************************^^J%
@@ -49,7 +49,7 @@
 * and LaTeX.  The package includes adaptations^^J%
 * for use with many other commonly-used packages.^^J%
 * ^^J%
-* Copyright (c) 2009--2016 Vafa Khalighi^^J%
+* Copyright (c) 2009--2017 Vafa Khalighi^^J%
 * ^^J%
 * \bididate, \bidiversion^^J%
 * ^^J%
@@ -65,6 +65,25 @@
 \typeout{\@bidi at info}
 \edef\bidi at everyjob{\the\everyjob}
 \everyjob{\bidi at everyjob\typeout{\@bidi at info}}
+\edef\@bidi at strip@v at bidiversion{\expandafter\@gobble\bidiversion}
+\newcommand*{\IfbidiPackageVersionLater}[1]{%
+  \ifdim\@bidi at strip@v at bidiversion pt > #1 pt %
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
+\newcommand*{\IfbidiPackageVersionBefore}[1]{%
+  \ifdim\@bidi at strip@v at bidiversion pt < #1 pt %
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
+\newcommand*{\IfbidiPackageVersion}[1]{%
+  \ifdim\@bidi at strip@v at bidiversion pt = #1 pt %
+    \expandafter\@firstoftwo
+  \else
+    \expandafter\@secondoftwo
+  \fi}
 \RequirePackage{iftex}
 \RequireXeTeX
 \RequirePackage{biditools}

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi.tex	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidi.tex')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidi2in1.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidi2in1.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidicode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidicode.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidiftnxtra.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidiftnxtra.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidimoderncv.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidimoderncv.cls')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidipoem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidipoem.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/biditools.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditools.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,biditools.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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
@@ -151,6 +151,14 @@
     {\@ifundefined{#1\@tempa}%
       {\PackageError{biditools}{Boolean #1 undefined}\@ehc}%
       {\csname#1\@tempa\endcsname}}}
+\newcommand*{\GlobalSetBoolean}[2]{%
+  \lowercase{\def\@tempa{#2}}%
+  \@ifundefined{@tempswa\@tempa}%
+    {\PackageError{biditools}%
+       {You can only set a boolean to `true' or `false'}\@ehc}%
+    {\@ifundefined{#1\@tempa}%
+      {\PackageError{biditools}{Boolean #1 undefined}\@ehc}%
+      {\global\csname#1\@tempa\endcsname}}}
 \newcommand*{\SetatBoolean}[2]{%
   \lowercase{\def\@tempa{#2}}%
   \@ifundefined{@tempswa\@tempa}%
@@ -157,8 +165,16 @@
     {\PackageError{biditools}%
        {You can only set a boolean to `true' or `false'}\@ehc}%
     {\@ifundefined{@#1\@tempa}%
-      {\PackageError{ifthen}{Boolean @#1 undefined}\@ehc}%
+      {\PackageError{biditools}{Boolean @#1 undefined}\@ehc}%
       {\csname @#1\@tempa\endcsname}}}
+\newcommand*{\GlobalSetatBoolean}[2]{%
+  \lowercase{\def\@tempa{#2}}%
+  \@ifundefined{@tempswa\@tempa}%
+    {\PackageError{biditools}%
+       {You can only set a boolean to `true' or `false'}\@ehc}%
+    {\@ifundefined{@#1\@tempa}%
+      {\PackageError{biditools}{Boolean @#1 undefined}\@ehc}%
+      {\global\csname @#1\@tempa\endcsname}}}
 \def\@bidi at removefromreset#1#2{{%
   \expandafter\let\csname c@#1\endcsname\@bidi at removefromreset
   \def\@elt##1{%
@@ -216,6 +232,7 @@
   \else
     \expandafter\@secondoftwo
   \fi}
+
 \newcommand*{\if at bidi@csdef}[1]{%
   \ifcsname#1\endcsname
     \expandafter\@firstoftwo

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,biditufte-book.cls')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/biditufte-handout.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,biditufte-handout.cls')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidituftefloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidituftefloat.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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
@@ -42,10 +42,6 @@
 \newcommand{\bidituftefloatError}[2]{\PackageError{\@bidituftefloat at pkgname}{#1}{#2}}
 \newcommand{\bidituftefloatDebugInfoNL}[1]{\ifthenelse{\boolean{@bidituftefloat at debug}}{\bidituftefloatInfoNL{#1}}{}}
 \newcommand{\bidituftefloatInfoNL}[1]{\PackageInfo{\@bidituftefloat at pkgname}{#1\@gobble}}
-\newboolean{@bidituftefloat at RTLgeometry}
-\setboolean{@bidituftefloat at RTLgeometry}{true}
-\DeclareOption{RTLgeometry}{\setboolean{@bidituftefloat at RTLgeometry}{true}}
-\DeclareOption{LTRgeometry}{\setboolean{@bidituftefloat at RTLgeometry}{false}}
 \newboolean{@bidituftefloat at afourpaper}
 \DeclareOption{a4paper}{\setboolean{@bidituftefloat at afourpaper}{true}}
 \newboolean{@bidituftefloat at bfivepaper}
@@ -71,16 +67,7 @@
   \setlength{#1}{#2}%
   \global#1=#1\relax%
 }
-%% Globally sets a boolean
-\newcommand*{\gsetboolean}[2]{% based on code from ifthen pkg
-  \lowercase{\def\@tempa{#2}}%
-  \@ifundefined{@tempswa\@tempa}%
-    {\PackageError{ifthen}{You can only set a boolean to `true' or `false'}\@ehc}%
-    {\@ifundefined{#1\@tempa}%
-      {\PackageError{ifthen}{Boolean #1 undefined}\@ehc}%
-      {\global\csname#1\@tempa\endcsname}%
-    }%
-}
+
 %% Set the font sizes and baselines to match bidituftefloat's books
 \renewcommand\normalsize{%
    \@setfontsize\normalsize\@xpt{14}%
@@ -110,14 +97,6 @@
   \setlength{\parskip}{0pt}%
 }
 \RequirePackage{ragged2e}
-\ifthenelse{\boolean{@bidituftefloat at RTLgeometry}}{%
-\RequirePackage[letterpaper,right=1in,top=1in,headsep=2\baselineskip,textwidth=26pc,marginparsep=2pc,marginparwidth=12pc,textheight=44\baselineskip,headheight=\baselineskip]{geometry}
-\ifthenelse{\boolean{@bidituftefloat at afourpaper}}
-  {\geometry{a4paper,right=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}}
-  {}
-\ifthenelse{\boolean{@bidituftefloat at bfivepaper}}
-  {\geometry{paperwidth=176mm,paperheight=250mm,right=14.66mm,top=13.88mm,textwidth=102.66mm,marginparsep=7.33mm,marginparwidth=36.66mm,textheight=38\baselineskip,includehead}}
-  {}}{%
 \RequirePackage[letterpaper,left=1in,top=1in,headsep=2\baselineskip,textwidth=26pc,marginparsep=2pc,marginparwidth=12pc,textheight=44\baselineskip,headheight=\baselineskip]{geometry}
 \ifthenelse{\boolean{@bidituftefloat at afourpaper}}
   {\geometry{a4paper,left=24.8mm,top=27.4mm,headsep=2\baselineskip,textwidth=107mm,marginparsep=8.2mm,marginparwidth=49.4mm,textheight=49\baselineskip,headheight=\baselineskip}}
@@ -124,7 +103,7 @@
   {}
 \ifthenelse{\boolean{@bidituftefloat at bfivepaper}}
   {\geometry{paperwidth=176mm,paperheight=250mm,left=14.66mm,top=13.88mm,textwidth=102.66mm,marginparsep=7.33mm,marginparwidth=36.66mm,textheight=38\baselineskip,includehead}}
-  {}}
+  {}
 \ifthenelse{\boolean{@bidituftefloat at symmetric}}
   {}
   {\geometry{asymmetric}}% forces internal LaTeX `twoside'
@@ -214,8 +193,8 @@
 \newcommand{\floatalignment}{x}% holds the current float alignment (t, b, h, p)
 \newcommand{\setfloatalignment}[1]{\global\def\floatalignment{#1}\@bidituftefloat at float@debug{Forcing position: [#1]}}% manually sets the float alignment
 \newboolean{@bidituftefloat at float@recto}
-\newcommand{\forcerectofloat}{\gsetboolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Forcing page: [recto]}}
-\newcommand{\forceversofloat}{\gsetboolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Forcing page: [verso]}}
+\newcommand{\forcerectofloat}{\GlobalSetBoolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Forcing page: [recto]}}
+\newcommand{\forceversofloat}{\GlobalSetBoolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Forcing page: [verso]}}
 \newsavebox{\@bidituftefloat at figure@box}
 \newsavebox{\@bidituftefloat at caption@box}
 \let\@bidituftefloat at orig@float\@float
@@ -242,13 +221,13 @@
   {% begin @bidituftefloat at float
     % Should this float be full-width or just text-width?
     \ifthenelse{\equal{#3}{star}}%
-      {\gsetboolean{@bidituftefloat at float@star}{true}}%
-      {\gsetboolean{@bidituftefloat at float@star}{false}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@star}{true}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@star}{false}}%
     % Check page side (recto/verso) and store detected value -- can be overriden in environment contents
     \@bidituftefloat at checkoddpage%
     \ifthenelse{\boolean{@bidituftefloat at odd@page}}%
-      {\gsetboolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Detected page: [recto/odd]}}%
-      {\gsetboolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Detected page: [verso/even]}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@recto}{true}\@bidituftefloat at float@debug{Detected page: [recto/odd]}}%
+      {\GlobalSetBoolean{@bidituftefloat at float@recto}{false}\@bidituftefloat at float@debug{Detected page: [verso/even]}}%
     % If the float placement specifier is 'b' and only 'b', then bottom-align the mini-pages, otherwise top-align them.
     \renewcommand{\@bidituftefloat at fps}{#1}%
     \@bidituftefloat at float@debug{Allowed positions: [#1]}%
@@ -527,8 +506,8 @@
 \setboolean{@bidituftefloat at packages@subfigure}{false}
 \AtBeginDocument{%
   \@ifpackageloaded{subfigure}
-    {\gsetboolean{@bidituftefloat at packages@subfigure}{true}}
-    {\gsetboolean{@bidituftefloat at packages@subfigure}{false}}%
+    {\GlobalSetBoolean{@bidituftefloat at packages@subfigure}{true}}
+    {\GlobalSetBoolean{@bidituftefloat at packages@subfigure}{false}}%
 }
 \AtBeginDocument{%
   \@ifpackageloaded{float}{%

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidituftegeneralstructure.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidituftehyperref.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidituftehyperref.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidituftesidenote.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidituftesidenote.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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
@@ -199,19 +199,8 @@
   \global#1=#1\relax%
 }%
 }{}
+
 %%
-\@ifundefined{gsetboolean}{%
-\newcommand*{\gsetboolean}[2]{% based on code from ifthen pkg
-  \lowercase{\def\@tempa{#2}}%
-  \@ifundefined{@tempswa\@tempa}%
-    {\PackageError{ifthen}{You can only set a boolean to `true' or `false'}\@ehc}%
-    {\@ifundefined{#1\@tempa}%
-      {\PackageError{ifthen}{Boolean #1 undefined}\@ehc}%
-      {\global\csname#1\@tempa\endcsname}%
-    }%
-}%
-}{}
-%%
 \catcode`\Q=3
 \def\@bidituftesidenote at trim@spaces#1{%
   % Use grouping to emulate a multi-token afterassignment queue

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidituftetitle.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bidituftetoc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bidituftetoc.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/boek-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,boek-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/boek3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,boek3-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/book-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,book-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/bookest-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,bookest-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/breqn-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,breqn-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/cals-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,cals-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/caption-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,caption-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/caption3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,caption3-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/color-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,color-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/colortbl-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,colortbl-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/combine-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,combine-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/crop-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,crop-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/cuted-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,cuted-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/cutwin-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,cutwin-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/cvthemebidicasual.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,cvthemebidicasual.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/cvthemebidiclassic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,cvthemebidiclassic.sty')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/dblfnote-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,dblfnote-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/draftwatermark-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,draftwatermark-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/empheq-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,empheq-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/eso-pic-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,eso-pic-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/extarticle-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,extarticle-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/extbook-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,extbook-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/extletter-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,extletter-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/extrafootnotefeatures-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,extrafootnotefeatures-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/extreport-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,extreport-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/fancybox-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,fancybox-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/fancyhdr-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,fancyhdr-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/fix2col-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,fix2col-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/fleqn-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,fleqn-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/float-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,float-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/floatrow-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,floatrow-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/flowfram-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,flowfram-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/footnote-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,footnote-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/framed-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,framed-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/ftnright-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,ftnright-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/geometry-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,geometry-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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
@@ -34,7 +34,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 %%
-\ProvidesFile{geometry-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for geometry package for XeTeX engine]
+\ProvidesFile{geometry-xetex-bidi.def}[2017/01/14 v0.2 bidi adaptations for geometry package for XeTeX engine]
 \renewcommand*{\Gm at vrules@mpi}{%
 \if at RTLmain%
         \hb at xt@\@tempdima{\hskip-\marginparwidth\hskip-\marginparsep
@@ -55,7 +55,27 @@
   \llap{\Gm at vrule}\ignorespaces
   \hskip \marginparwidth\rlap{\Gm at vrule}\hskip \marginparsep
   \llap{\Gm at vrule}\hskip\textwidth\rlap{\Gm at vrule}\hss}\fi}%
-
+\bidi at patchcmd{\Gm at pageframes}{%
+     \ifodd\count\z@
+       \let\@themargin\oddsidemargin
+     \else
+       \let\@themargin\evensidemargin
+     \fi
+}{%
+     \ifodd\count\z@
+       \if at RTLmain
+         \let\@themargin\evensidemargin
+       \else
+         \let\@themargin\oddsidemargin
+       \fi
+     \else
+       \if at RTLmain
+         \let\@themargin\oddsidemargin
+       \else
+         \let\@themargin\evensidemargin
+       \fi
+     \fi
+}{}{}
 \endinput
 %%
 %% End of file `geometry-xetex-bidi.def'.

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,graphicx-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/hvfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,hvfloat-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/hyperref-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,hyperref-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/latex-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,latex-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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
@@ -623,9 +623,17 @@
   \fi
   \if at twoside
     \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
+       \if at RTLmain
+          \let\@themargin\evensidemargin
+        \else
+          \let\@themargin\oddsidemargin
+        \fi
+    \else \let\@thehead\@evenhead \let\@thefoot\@evenfoot
+       \if at 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

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,leqno-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/letter-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,letter-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/lettrine-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,lettrine-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/listings-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,listings-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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
@@ -34,7 +34,7 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 %%
-\ProvidesFile{listings-xetex-bidi.def}[2016/11/08 v1.3 bidi adaptations for listings package for XeTeX engine]
+\ProvidesFile{listings-xetex-bidi.def}[2017/01/14 v1.4 bidi adaptations for listings package for XeTeX engine]
 \lst at Key{captiondirection}{textdirection}{%
     \lstKV at SwitchCases{#1}%
     {textdirection&\\%
@@ -42,9 +42,9 @@
      LTR&\chardef\bidi at lst@caption at direction\z@%
     }{\PackageError{Listings}{direction #1 unknown}\@ehc}}
 
-\lst at Key{captionscript}{latin}{%
+\lst at Key{captionscript}{textscript}{%
     \lstKV at SwitchCases{#1}%
-    {%
+    {textscript&\\%
      latin&\chardef\bidi at lst@caption at script\@ne\\%
      nonlatin&\chardef\bidi at lst@caption at script\z@%
     }{\PackageError{Listings}{direction #1 unknown}\@ehc}}
@@ -59,14 +59,20 @@
          \fi%
      \fi%
 }}
-\long\def\@bidi at lst@makecaption#1#2{%
+
+\newcommand*{\bidi at lst@ensure at caption@script}[2]{%
+   \@ifundefined{bidi at lst@caption at script}{}{%
     \ifnum\bidi at lst@caption at script=\z@%
-        \@nonlatintrue%
+        #1%
     \else%
          \ifnum\bidi at lst@caption at script=\@ne%
-             \@nonlatinfalse%
+             #2%
          \fi%
      \fi%
+}}
+
+\long\def\@bidi at lst@makecaption#1#2{%
+   \bidi at lst@ensure at caption@script{\@nonlatintrue}{\@nonlatinfalse}%
    \vskip\abovecaptionskip
    \bidi at lst@ensure at caption@direction{\@RTLfalse}{\@RTLtrue}%
    \sbox\@tempboxa{%
@@ -110,13 +116,7 @@
 }
 \@ifpackageloaded{caption}{%
   \AtBeginCaption{%
-      \ifnum\bidi at lst@caption at script=\z@%
-        \@nonlatintrue%
-    \else%
-         \ifnum\bidi at lst@caption at script=\@ne%
-             \@nonlatinfalse%
-         \fi%
-     \fi%
+  \bidi at lst@ensure at caption@script{\@nonlatintrue}{\@nonlatinfalse}%
   \bidi at lst@ensure at caption@direction{\@RTLfalse}{\@RTLtrue}%
 }
   \let\@bidi at lst@makecaption\caption at makecaption%

Modified: trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,loadingorder-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/longtable-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,longtable-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/mdframed-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,mdframed-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/memoir-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,memoir-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/midfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,midfloat-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/minitoc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,minitoc-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/multicol-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,multicol-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/multienum-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,multienum-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/natbib-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,natbib-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/newfloat-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,newfloat-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/ntheorem-hyper-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,ntheorem-hyper-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/ntheorem-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,ntheorem-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/overpic-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/overpic-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,overpic-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/pdfpages-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,pdfpages-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/pgfcorescopes.code-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pgfcorescopes.code-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,pgfcorescopes.code-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/picinpar-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,picinpar-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/plain-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,plain-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/pstricks-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,pstricks-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/quotchap-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,quotchap-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/ragged2e-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,ragged2e-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/rapport1-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,rapport1-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/rapport3-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,rapport3-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/refrep-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,refrep-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/report-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,report-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/rotating-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,rotating-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/scrartcl-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,scrartcl-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/scrbook-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,scrbook-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/scrlettr-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,scrlettr-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/scrreprt-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,scrreprt-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/sidecap-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,sidecap-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/soul-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/soul-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,soul-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/stabular-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,stabular-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/subfigure-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,subfigure-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tabls-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tabls-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tabularx-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabularx-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tabularx-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tabulary-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tabulary-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tc-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tc-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/titlesec-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,titlesec-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/titletoc-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,titletoc-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tocbasic-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocbasic-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tocbasic-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tocbibind-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tocbibind-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tocloft-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tocloft-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/tocstyle-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,tocstyle-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/todonotes-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/todonotes-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,todonotes-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/wrapfig-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,wrapfig-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/xcolor-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,xcolor-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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/bidi/xltxtra-xetex-bidi.def
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def	2017-01-16 23:09:41 UTC (rev 42966)
+++ trunk/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def	2017-01-16 23:10:04 UTC (rev 42967)
@@ -7,7 +7,7 @@
 %% bidi.dtx  (with options: `table,xltxtra-xetex-bidi.def')
 %% 
 %%   __________________________________________________
-%%   Copyright (c) 2009--2016  Vafa Khalighi <persian-tex at tug.org>
+%%   Copyright (c) 2009--2017  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{47593}
+%% \CheckSum{47651}
 %% \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



More information about the tex-live-commits mailing list