From 91196b7f1f05127d784069b65ec8c445fa6364ba Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 21 Sep 2013 21:33:02 +0000 Subject: bidi (21sep13) git-svn-id: svn://tug.org/texlive/trunk@31712 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/xelatex/bidi/amsart-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/amsbook-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/amsmath-xetex-bidi.def | 13 +- .../tex/xelatex/bidi/amstext-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/amsthm-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/array-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/article-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/artikel1-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/artikel2-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/artikel3-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/arydshln-xetex-bidi.def | 9 +- Master/texmf-dist/tex/xelatex/bidi/bibitem.pdf | Bin 0 -> 2936 bytes .../texmf-dist/tex/xelatex/bidi/bidi-longtable.sty | 9 +- Master/texmf-dist/tex/xelatex/bidi/bidi.sty | 32 +- Master/texmf-dist/tex/xelatex/bidi/bidi.tex | 15 +- Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty | 9 +- Master/texmf-dist/tex/xelatex/bidi/bidicode.sty | 11 +- Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty | 9 +- .../texmf-dist/tex/xelatex/bidi/bidimoderncv.cls | 9 +- Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty | 9 +- .../tex/xelatex/bidi/bidipresentation.cls | 9 +- Master/texmf-dist/tex/xelatex/bidi/biditools.sty | 9 +- .../texmf-dist/tex/xelatex/bidi/biditufte-book.cls | 9 +- .../tex/xelatex/bidi/biditufte-handout.cls | 9 +- .../texmf-dist/tex/xelatex/bidi/bidituftefloat.sty | 9 +- .../tex/xelatex/bidi/bidituftegeneralstructure.sty | 9 +- .../tex/xelatex/bidi/bidituftehyperref.sty | 9 +- .../tex/xelatex/bidi/bidituftesidenote.sty | 9 +- .../texmf-dist/tex/xelatex/bidi/bidituftetitle.sty | 9 +- .../texmf-dist/tex/xelatex/bidi/bidituftetoc.sty | 9 +- .../tex/xelatex/bidi/boek-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/boek3-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/book-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/bookest-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/breqn-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/cals-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/caption-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/caption3-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/color-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/colortbl-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/combine-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/crop-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/cuted-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/cutwin-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/cvthemebidicasual.sty | 9 +- .../tex/xelatex/bidi/cvthemebidiclassic.sty | 9 +- .../tex/xelatex/bidi/dblfnote-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/draftwatermark-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/empheq-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/eso-pic-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/extarticle-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/extbook-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/extletter-xetex-bidi.def | 9 +- .../bidi/extrafootnotefeatures-xetex-bidi.def | 1828 ++++++++++++++++++++ .../tex/xelatex/bidi/extrafootnotefeatures.def | 1823 ------------------- .../tex/xelatex/bidi/extreport-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/fancybox-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/fancyhdr-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/fix2col-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/fleqn-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/float-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/floatrow-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/flowfram-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/footnote-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/framed-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/ftnright-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/geometry-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/graphicx-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/hvfloat-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/hyperref-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/latex-xetex-bidi.def | 785 +++++++++ .../tex/xelatex/bidi/leqno-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/letter-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/lettrine-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/listings-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/loadingorder-bidi.def | 289 ---- .../tex/xelatex/bidi/loadingorder-xetex-bidi.def | 294 ++++ .../tex/xelatex/bidi/longtable-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/mdframed-xetex-bidi.def | 11 +- .../tex/xelatex/bidi/memoir-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/midfloat-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/minitoc-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/multicol-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/multienum-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/natbib-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/newfloat-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/ntheorem-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/pdfpages-xetex-bidi.def | 9 +- .../texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/picinpar-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/plain-xetex-bidi.def | 21 +- .../tex/xelatex/bidi/pstricks-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/quotchap-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/ragged2e-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/rapport1-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/rapport3-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/refrep-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/report-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/rotating-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/scrartcl-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/scrbook-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/scrlettr-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/scrreprt-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/sidecap-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/stabular-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/subfigure-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/tabls-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/tabulary-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/titlesec-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/titletoc-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/tocbibind-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/tocloft-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/tocstyle-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/wrapfig-xetex-bidi.def | 9 +- .../tex/xelatex/bidi/xcolor-xetex-bidi.def | 9 +- Master/texmf-dist/tex/xelatex/bidi/xetex-bidi.def | 777 --------- .../tex/xelatex/bidi/xltxtra-xetex-bidi.def | 9 +- 118 files changed, 3712 insertions(+), 3132 deletions(-) create mode 100755 Master/texmf-dist/tex/xelatex/bidi/bibitem.pdf create mode 100644 Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def delete mode 100644 Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures.def create mode 100644 Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def delete mode 100644 Master/texmf-dist/tex/xelatex/bidi/loadingorder-bidi.def create mode 100644 Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def delete mode 100644 Master/texmf-dist/tex/xelatex/bidi/xetex-bidi.def (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def index 31801b52f96..36db5916c92 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/amsart-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `amsart-xetex-bidi.def'. +%% This is file `amsart-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `amsart-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -130,7 +135,7 @@ \@cleartopmattertags } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def index a436ca30276..6c00d0a14c4 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/amsbook-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `amsbook-xetex-bidi.def'. +%% This is file `amsbook-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `amsbook-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -131,7 +136,7 @@ \do\keywords \do\@keywords \do\subjclass \do\@subjclass } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def index 04a1122c78a..16d4c7c30e9 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/amsmath-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `amsmath-xetex-bidi.def'. +%% This is file `amsmath-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `amsmath-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -7,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{amsmath-xetex-bidi.def}[2013/05/01 v0.6 bidi adaptations for amsmath package for XeTeX engine] +\ProvidesFile{amsmath-xetex-bidi.def}[2013/09/22 v0.7 bidi adaptations for amsmath package for XeTeX engine] \let\veqno=\eqno \iftagsleft@ \let\veqno=\leqno \fi \renewcommand{\numberwithin}[3][\arabic]{% @@ -18,10 +23,8 @@ \@xp\@nx\csname the#3\endcsname \@nx\@SepMark\@nx#1{#2}}}}% } \def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}} -\DeclareRobustCommand{\[}{\begin{equation*}} -\DeclareRobustCommand{\]}{\end{equation*}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def index f90673cc896..6b1ffd879bd 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/amstext-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `amstext-xetex-bidi.def'. +%% This is file `amstext-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `amstext-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -13,7 +18,7 @@ \let\f@size#2\selectfont \if@Latin\else\beginR\fi#3\if@Latin\else\endR\fi}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def index ab01441adb1..adcb6c49d75 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/amsthm-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `amsthm-xetex-bidi.def'. +%% This is file `amsthm-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `amsthm-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -10,7 +15,7 @@ \ProvidesFile{amsthm-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for amsthm package for XeTeX engine] \def\@thmcountersep{\@SepMark} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def index c30c36ec868..b16305e4f2f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/array-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `array-xetex-bidi.def'. +%% This is file `array-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `array-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -67,7 +72,7 @@ \def\d@llarbegin{$}\let\d@llarend\d@llarbegin\gdef\@halignto{}% \@RTLtabfalse\@tabarray} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def index 2ef1bda2615..b9bbd82df16 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `article-xetex-bidi.def'. +%% This is file `article-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `article-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -204,7 +209,7 @@ \let\item\@idxitem} {\if@restonecol\onecolumn\else\clearpage\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def index bad78d5f284..604ab026103 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/artikel1-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `artikel1-xetex-bidi.def'. +%% This is file `artikel1-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `artikel1-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -259,7 +264,7 @@ \vskip 1.5em} \fi %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def index 5b899ed6824..436ded09fd3 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/artikel2-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `artikel2-xetex-bidi.def'. +%% This is file `artikel2-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `artikel2-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -262,7 +267,7 @@ \vskip 1.5em} \fi %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def index 11664171603..30e37c8e13b 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/artikel3-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `artikel3-xetex-bidi.def'. +%% This is file `artikel3-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `artikel3-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -270,7 +275,7 @@ \vskip 1.5em} \fi %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def index 0217dcc7d78..41a0336a492 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/arydshln-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `arydshln-xetex-bidi.def'. +%% This is file `arydshln-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `arydshln-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -143,7 +148,7 @@ \let\adl@org@classz\@classz }{} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bibitem.pdf b/Master/texmf-dist/tex/xelatex/bidi/bibitem.pdf new file mode 100755 index 00000000000..49191743021 Binary files /dev/null and b/Master/texmf-dist/tex/xelatex/bidi/bibitem.pdf differ diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi-longtable.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi-longtable.sty index ab2c055bb40..92fb1481380 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidi-longtable.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidi-longtable.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidi-longtable.sty'. +%% This is file `bidi-longtable.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidi-longtable.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -77,7 +82,7 @@ \copy\LT@head\nobreak \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty index 8ed103aea06..6c7a501de39 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidi.sty'. +%% This is file `bidi.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidi.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -8,28 +13,28 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\def\bididate{2013/09/17} -\def\bidiversion{v13.7} +\def\bididate{2013/09/22} +\def\bidiversion{v13.8} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% -bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J +bidi package (Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine)^^J Description: A convenient interface for typesetting bidirectional^^J texts in plain TeX and LaTeX. The package includes adaptations for use^^J with many other commonly-used packages.^^J Copyright © 2009–2013 Vafa Khalighi^^J \bidiversion, \bididate^^J License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J -Location on CTAN: /macros/latex/contrib/bidi} +Location on CTAN: /macros/xetex/latex/bidi} \typeout{\bidiinfo} \edef\bidi@everyjob{\the\everyjob} \everyjob{\bidi@everyjob\typeout{\bidiinfo}} \RequirePackage{iftex} +\RequireXeTeX \RequirePackage{biditools} \RequirePackage{zref-abspage} \RequirePackage{auxhook} \RequirePackage{ltxcmds} -\RequireXeTeX \eqnewif{\if@RTLmain}{\if@rlmain} \eqnewif{\if@RTL}{\if@rl} \newif\if@RTLmaths @@ -39,7 +44,7 @@ Location on CTAN: /macros/latex/contrib/bidi} \newif\if@LTRmarginpar \newif\if@LTRbibitems \newif\if@RTLbibitems -\newif\if@sentdir +\newif\if@extrafootnotefeatures \newif\if@parafootRTL \newif\if@RTLcolumnfootnotes \eqnewif{\if@RTL@footnote}{\if@rl@footnote} @@ -60,11 +65,18 @@ Location on CTAN: /macros/latex/contrib/bidi} \def\pRLE{\protect\afterassignment\moreRLE \let\n@xt= } \def\bracetext{\ifcat\n@xt{\else\ifcat\n@xt}\fi \errmessage{Missing left brace has been substituted}\fi \bgroup} -\input{xetex-bidi.def} -\input{loadingorder-bidi.def} +\input{latex-xetex-bidi.def} +\input{loadingorder-xetex-bidi.def} +\DeclareOption{RTLdocument}{\@RTLtrue\@RTL@footnotetrue\autofootnoterule} +\DeclareOption{rldocument}{\@RTLtrue\@RTL@footnotetrue\autofootnoterule} +\DeclareOption{extrafootnotefeatures}{\@extrafootnotefeaturestrue} \ProcessOptions + +\if@extrafootnotefeatures + \input{extrafootnotefeatures-xetex-bidi.def} +\fi %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.tex b/Master/texmf-dist/tex/xelatex/bidi/bidi.tex index 5f932818a2d..8e426b493db 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidi.tex +++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.tex @@ -1,5 +1,10 @@ %% -%% This is file `bidi.tex'. +%% This is file `bidi.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidi.tex') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -7,20 +12,20 @@ %% License information appended. %% %% -\def\bididate{2013/09/06} +\def\bididate{2013/09/22} \def\bidiversion{v0.2} \catcode`@=11 \let \protect \relax \newlinechar`\^^J \edef\bidiinfo{% -bidi package (Support for bidirectional typesetting in plain TeX and LaTeX)^^J +bidi package (Bidirectional typesetting in plain TeX and LaTeX, using XeTeX engine)^^J Description: A convenient interface for typesetting bidirectional^^J texts in plain TeX and LaTeX. The package includes adaptations for use^^J with many other commonly-used packages.^^J Copyright © 2009–2013 Vafa Khalighi^^J \bidiversion, \bididate^^J License: LaTeX Project Public License, version 1.3c or higher (your choice)^^J -Location on CTAN: /macros/latex/contrib/bidi} +Location on CTAN: /macros/xetex/latex/bidi} \message{\bidiinfo} \edef\bidi@everyjob{\the\everyjob} \everyjob{\bidi@everyjob\message{\bidiinfo}} @@ -48,7 +53,7 @@ Location on CTAN: /macros/latex/contrib/bidi} \input plain-xetex-bidi.def \catcode`@=12 %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty index cb3b6ce56e1..f535d716531 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidi2in1.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidi2in1.sty'. +%% This is file `bidi2in1.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidi2in1.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -64,7 +69,7 @@ \global\let\and\relax } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty b/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty index bee0de74fb3..9b848963204 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidicode.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidicode.sty'. +%% This is file `bidicode.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidicode.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -26,7 +31,7 @@ commentstyle=\color{colComments}, columns=flexible, tabsize=4, -% gobble =1, + gobble =1, extendedchars=true, showspaces=false, showstringspaces=false, @@ -141,7 +146,7 @@ \def\OptArg@i*#1{\colorbox{black!20}{\texttt{#1}}\kern1pt} \def\OptArg@ii*#1{\colorbox{black!20}{\texttt{[#1]}}\kern1pt} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty b/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty index 33ebba42f9b..c1f765696db 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidiftnxtra.sty'. +%% This is file `bidiftnxtra.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidiftnxtra.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -197,7 +202,7 @@ \color@endbox } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls b/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls index c2a7aedf0e0..c42895f4c4b 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls +++ b/Master/texmf-dist/tex/xelatex/bidi/bidimoderncv.cls @@ -1,5 +1,10 @@ %% -%% This is file `bidimoderncv.cls'. +%% This is file `bidimoderncv.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidimoderncv.cls') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -256,7 +261,7 @@ \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em} \let\@openbib@code\@empty %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty b/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty index d03ebe1a36b..df733639c96 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidipoem.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidipoem.sty'. +%% This is file `bidipoem.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidipoem.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -278,7 +283,7 @@ \let\@xRTLfootnote\bidipoem@p@xRTLfootnote% \color@begingroup\unhbox\@curfield} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidipresentation.cls b/Master/texmf-dist/tex/xelatex/bidi/bidipresentation.cls index 3c9eb8ccb8b..767844e0552 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidipresentation.cls +++ b/Master/texmf-dist/tex/xelatex/bidi/bidipresentation.cls @@ -1,5 +1,10 @@ %% -%% This is file `bidipresentation.cls'. +%% This is file `bidipresentation.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidipresentation.cls') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -80,7 +85,7 @@ \setlength{\parsep}{0ex}} {\endlist} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/biditools.sty b/Master/texmf-dist/tex/xelatex/bidi/biditools.sty index dbf8e2e74ec..f3a142ae125 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/biditools.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/biditools.sty @@ -1,5 +1,10 @@ %% -%% This is file `biditools.sty'. +%% This is file `biditools.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `biditools.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -529,7 +534,7 @@ Patching '\string\end' failed!\MessageBreak '\string\bidi@AfterEndEnvironment' will not work\@gobble}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls b/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls index 41fe0fbf1bb..b76e6805c3c 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls +++ b/Master/texmf-dist/tex/xelatex/bidi/biditufte-book.cls @@ -1,5 +1,10 @@ %% -%% This is file `biditufte-book.cls'. +%% This is file `biditufte-book.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `biditufte-book.cls') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -63,7 +68,7 @@ {}% } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls b/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls index 779631bed76..4dfdc02eb2f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls +++ b/Master/texmf-dist/tex/xelatex/bidi/biditufte-handout.cls @@ -1,5 +1,10 @@ %% -%% This is file `biditufte-handout.cls'. +%% This is file `biditufte-handout.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `biditufte-handout.cls') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -32,7 +37,7 @@ {}% } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty index 51d2004fd78..28457bca044 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftefloat.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidituftefloat.sty'. +%% This is file `bidituftefloat.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidituftefloat.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -570,7 +575,7 @@ bidi implementation of tufte float] } \PassOptionsToPackage{caption=false}{subfig} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty index a05072b45ce..5f2e9c053cc 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftegeneralstructure.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidituftegeneralstructure.sty'. +%% This is file `bidituftegeneralstructure.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidituftegeneralstructure.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -116,7 +121,7 @@ bidi implementation of tufte general structure] \renewcommand\indexspace{\par\addvspace{1.0\baselineskip plus 0.5ex minus 0.2ex}\relax}% \newcommand{\lettergroup}[1]{}% swallow the letter heading in the index %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty index 79866105f87..fe6cce24bbc 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftehyperref.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidituftehyperref.sty'. +%% This is file `bidituftehyperref.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidituftehyperref.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -33,7 +38,7 @@ bidi implementation of tufte hyperref] \PassOptionsToPackage{hyperfootnotes=false}{hyperref} } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty index 1359bd63e3f..2946e07ebb6 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftesidenote.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidituftesidenote.sty'. +%% This is file `bidituftesidenote.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidituftesidenote.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -465,7 +470,7 @@ bidi implementation of tufte sidenote] \let\cite\@bidituftesidenote@normal@cite% go back to using normal in-text \cite command } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty index 3c04f6138af..8a09d75a4df 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftetitle.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidituftetitle.sty'. +%% This is file `bidituftetitle.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidituftetitle.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -146,7 +151,7 @@ bidi implementation of tufte title] \newpage \if@twocolumn\hbox{}\newpage\fi\fi\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty b/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty index b9f3b588551..17869323c1d 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/bidituftetoc.sty @@ -1,5 +1,10 @@ %% -%% This is file `bidituftetoc.sty'. +%% This is file `bidituftetoc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bidituftetoc.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -143,7 +148,7 @@ bidi implementation of tufte toc] \renewcommand*\l@figure{\@bidituftetoc@lof@line} \let\l@table\l@figure %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def index b7d485a2e05..169893df2ef 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/boek-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `boek-xetex-bidi.def'. +%% This is file `boek-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `boek-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -187,7 +192,7 @@ \global\let\and\relax } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def index f340b56892b..51612d7c622 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/boek3-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `boek3-xetex-bidi.def'. +%% This is file `boek3-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `boek3-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -187,7 +192,7 @@ \global\let\and\relax } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def index 0abd2a133c8..07ff2250748 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/book-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `book-xetex-bidi.def'. +%% This is file `book-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `book-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -222,7 +227,7 @@ {\@latex@warning{Empty `thebibliography' environment}}% \endlist} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def index ec8b1db47bb..ff5f87fb9c5 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/bookest-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `bookest-xetex-bidi.def'. +%% This is file `bookest-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `bookest-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -41,7 +46,7 @@ \vskip 30\p@ }} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def index eeb76073da7..3777434a67d 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/breqn-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `breqn-xetex-bidi.def'. +%% This is file `breqn-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `breqn-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -63,7 +68,7 @@ }% } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def index 1366bd7f44e..23d286e101c 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/cals-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `cals-xetex-bidi.def'. +%% This is file `cals-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `cals-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -42,7 +47,7 @@ \dimen0=\cals@paddingL \if@RTLtab\cals@paddingL=\dimen0\else\cals@paddingL=\dimen0 plus 1fill\fi\relax \dimen0=\cals@paddingR \cals@paddingR=\dimen0 \relax} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def index 93a2915bc50..83549908570 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/caption-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `caption-xetex-bidi.def'. +%% This is file `caption-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `caption-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -10,7 +15,7 @@ \ProvidesFile{caption-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for caption package for XeTeX engine] \let\@makecaption\caption@makecaption %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def index 67d2fec3c0a..a1a9de814c3 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/caption3-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `caption3-xetex-bidi.def'. +%% This is file `caption3-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `caption3-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -11,7 +16,7 @@ \renewcommand*\caption@@par{% \parindent\caption@parindent\hangindent\if@RTL-\fi\caption@hangindent}% %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def index 9cc351265ea..db999c52d74 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/color-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `color-xetex-bidi.def'. +%% This is file `color-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `color-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -51,7 +56,7 @@ \color@b@x{\fboxsep\z@\bidicolor#1{#2}\fbox}{\bidicolor#1{#3}}} \def\color@setgroup{\begingroup\ifhmode\if@RTL\beginL\aftergroup\endR\fi\fi\set@color\ifhmode\if@RTL\beginR\aftergroup\endL\fi\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def index 88535e2d30a..ee42ce8da1f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/colortbl-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `colortbl-xetex-bidi.def'. +%% This is file `colortbl-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `colortbl-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -46,7 +51,7 @@ \unhbox\z@\if@RTLtab\endL\fi}% \prepnext@tok} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def index e946e5fc6c2..b3ca007ce6e 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/combine-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `combine-xetex-bidi.def'. +%% This is file `combine-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `combine-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -23,7 +28,7 @@ \renewenvironment{tocindent}[1]{% \hangindent \if@RTL-\fi#1 \hangafter -100\relax}{} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def index a0b1d61298b..02a07211608 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/crop-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `crop-xetex-bidi.def'. +%% This is file `crop-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `crop-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -104,7 +109,7 @@ \CROP@execopt{cam}% }{} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def index 58006bf61ae..42fc1df78fc 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `cuted-xetex-bidi.def'. +%% This is file `cuted-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `cuted-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -378,7 +383,7 @@ \fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def index 225bc3d3a6e..a430cdde055 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/cutwin-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `cutwin-xetex-bidi.def'. +%% This is file `cutwin-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `cutwin-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -46,7 +51,7 @@ \def\c@twrounds{1} \fi}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty b/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty index d20182172b7..3fec1bdfbbf 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/cvthemebidicasual.sty @@ -1,5 +1,10 @@ %% -%% This is file `cvthemebidicasual.sty'. +%% This is file `cvthemebidicasual.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `cvthemebidicasual.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -106,7 +111,7 @@ \pagestyle{plain}} \AtBeginDocument{\makefooter} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty b/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty index 0718d6918b3..977a87247df 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty +++ b/Master/texmf-dist/tex/xelatex/bidi/cvthemebidiclassic.sty @@ -1,5 +1,10 @@ %% -%% This is file `cvthemebidiclassic.sty'. +%% This is file `cvthemebidiclassic.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `cvthemebidiclassic.sty') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -113,7 +118,7 @@ {\centering{\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}}\\[2.5em]}% } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def index ca5c3208e57..465bc6d3790 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/dblfnote-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `dblfnote-xetex-bidi.def'. +%% This is file `dblfnote-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `dblfnote-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -173,7 +178,7 @@ \newcommand{\LTRdfnmakecol}{\renewcommand{\dfn@makecol}{\dfn@LTRmakecol}} \DFNalwaysdouble %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def index f7231408125..61d31af98b4 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/draftwatermark-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `draftwatermark-xetex-bidi.def'. +%% This is file `draftwatermark-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `draftwatermark-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -11,7 +16,7 @@ \renewcommand\SetWatermarkText[1]{% \def\sc@wm@text{\if@RTLmain\beginR\fi#1\if@RTLmain\endR\fi}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def index fa1ea5d521d..57c6fb01fc5 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/empheq-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `empheq-xetex-bidi.def'. +%% This is file `empheq-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `empheq-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -170,7 +175,7 @@ } \MHInternalSyntaxOff %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def index 1098e5d68b2..8aa0ed504fe 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/eso-pic-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `eso-pic-xetex-bidi.def'. +%% This is file `eso-pic-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `eso-pic-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -47,7 +52,7 @@ } } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def index 19994942720..7d008e85c94 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/extarticle-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `extarticle-xetex-bidi.def'. +%% This is file `extarticle-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `extarticle-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -182,7 +187,7 @@ \renewcommand\theparagraph {\thesubsubsection\@SepMark\@arabic\c@paragraph} \renewcommand\thesubparagraph {\theparagraph\@SepMark\@arabic\c@subparagraph}%% %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def index d084dcc4edf..2a9475e06da 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/extbook-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `extbook-xetex-bidi.def'. +%% This is file `extbook-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `extbook-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -181,7 +186,7 @@ {\@latex@warning{Empty `thebibliography' environment}}% \endlist} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def index 03982ebcc6c..6df9e40aaf5 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/extletter-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `extletter-xetex-bidi.def'. +%% This is file `extletter-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `extletter-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -43,7 +48,7 @@ \hrule \@width .4\columnwidth \kern .6\p@}\hfil\endR}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def new file mode 100644 index 00000000000..b998a024100 --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures-xetex-bidi.def @@ -0,0 +1,1828 @@ +%% +%% This is file `extrafootnotefeatures-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `extrafootnotefeatures-xetex-bidi.def') +%% +%% ______________________________________ +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{extrafootnotefeatures-xetex-bidi.def}[2012/12/12 v0.4 bidi extra footnote features for XeTeX engine] +\let\autofootnoterule\relax +\let\rightfootnoterule\relax +\let\leftfootnoterule\relax +\let\textwidthfootnoterule\relax +\let\LRfootnoterule\relax +\def\footnoterule{\kern-3\p@ + \hrule \@width \columnwidth \kern 2.6\p@} +\bidi@ensure@newcommand{\setRTLparagraphfootnotes}{\@parafootRTLtrue} +\bidi@ensure@newcommand{\setLTRparagraphfootnotes}{\@parafootRTLfalse} +\renewcommand{\@footnotetext}[1]{% + \insert\footins{% + \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font + \foottextfont + \@preamfntext + \hsize\columnwidth + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\foottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}% + \m@mmf@prepare} +\renewcommand{\@RTLfootnotetext}[1]{% + \insert\footins{% + \@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font + \RTLfoottextfont + \@preamfntext + \hsize\columnwidth + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}% + \m@mmf@prepare} +\renewcommand{\@LTRfootnotetext}[1]{% + \insert\footins{% + \@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font + \LTRfoottextfont + \@preamfntext + \hsize\columnwidth + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}% + \m@mmf@prepare} +\renewcommand{\@mpfootnotetext}[1]{% + \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootins + \def\baselinestretch{\m@m@footnote@spacing}% + \foottextfont \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \reset@font% + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\foottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}} +\renewcommand{\@mpLTRfootnotetext}[1]{% + \global\setbox\@mpfootins\vbox{\@RTLfalse% + \unvbox\@mpfootins + \def\baselinestretch{\m@m@footnote@spacing}% + \LTRfoottextfont \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \reset@font% + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}} +\renewcommand{\@mpRTLfootnotetext}[1]{% + \global\setbox\@mpfootins\vbox{\@RTLtrue% + \unvbox\@mpfootins + \def\baselinestretch{\m@m@footnote@spacing}% + \RTLfoottextfont \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \reset@font% + \@makefntext{% + \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}% + \@finalstrut\strutbox}% + \color@endgroup}} +\let\m@mold@footnotetext\@footnotetext +\let\m@mold@LTRfootnotetext\@LTRfootnotetext +\let\m@mold@RTLfootnotetext\@RTLfootnotetext +\let\m@mold@mpfootnotetext\@mpfootnotetext +\let\m@mold@mpLTRfootnotetext\@mpLTRfootnotetext +\let\m@mold@mpRTLfootnotetext\@mpRTLfootnotetext +\bidi@ensure@newcommand{\normalfootnotes}{% + \let\@footnotetext\m@mold@footnotetext + \let\@LTRfootnotetext\m@mold@LTRfootnotetext + \let\@RTLfootnotetext\m@mold@RTLfootnotetext + \let\@mpfootnotetext\m@mold@mpfootnotetext + \let\@mpLTRfootnotetext\m@mold@mpLTRfootnotetext + \let\@mpRTLfootnotetext\m@mold@mpRTLfootnotetext} +\@ifclassloaded{memoir}{\let\plainfootnotes\normalfootnotes}{} +\bidi@ensure@newcommand*{\RTLcolumnfootnotes}{\@RTLcolumnfootnotestrue} +\bidi@ensure@newcommand*{\LTRcolumnfootnotes}{\@RTLcolumnfootnotesfalse} +\bidi@ensure@newcommand*{\setSingleSpace}[1]{% + \def\m@m@singlespace{#1}% + \def\m@m@footnote@spacing{#1}% + \def\m@m@float@spacing{#1} % +} +\setSingleSpace{1} +\newinsert\sideins +\bidi@ensure@newcommand*{\multiplefootnotemarker}{3sp} +\bidi@ensure@newcommand*{\m@mmf@prepare}{% + \kern-\multiplefootnotemarker + \kern\multiplefootnotemarker\relax} +\bidi@ensure@newlength{\footmarkwidth} +\bidi@ensure@newlength{\footmarksep} +\bidi@ensure@newlength{\footparindent} +\bidi@ensure@newcommand*{\footmarkstyle}[1]{\def\footscript##1{#1}} +\bidi@ensure@newcommand{\footfootmark}{% + \ifdim\footmarkwidth < \z@ + \llap{\hb@xt@ -\footmarkwidth{% + \hss\normalfont\footscript{\@thefnmark}}% + \hspace*{-\footmarkwidth}}% + \else + \ifdim\footmarkwidth = \z@ + {\normalfont\footscript{\@thefnmark}}% + \else + \hb@xt@\footmarkwidth{\hss\normalfont\footscript{\@thefnmark}}% + \fi + \fi} +\footmarkstyle{\textsuperscript{#1}} +\setlength{\footmarkwidth}{1.8em} +\setlength{\footparindent}{1em} +\bidi@ensure@newcommand{\m@mdoextrafeet}{\extrafeetins} +\bidi@ensure@newcommand*{\extrafeetins}{% + \setbox\@outputbox \vbox{% + \boxmaxdepth \@maxdepth + \unvbox\@outputbox + \ifvoid\footinsv@r\else\@footstartv@r\@footgroupv@r\fi + \extrafeetinshook}} +\bidi@ensure@newcommand{\extrafeetinshook}{} +\bidi@ensure@newcommand{\foottextfont}{\footnotesize} +\bidi@ensure@newcommand{\LTRfoottextfont}{\footnotesize} +\bidi@ensure@newcommand{\RTLfoottextfont}{\footnotesize} +\bidi@ensure@newlength{\footinsdim} + \setlength{\footinsdim}{8in} % standard for \dimen\footins +\bidi@ensure@newcommand{\@preamfntext}{% + \interlinepenalty\interfootnotelinepenalty + \floatingpenalty \@MM + \splittopskip=\footnotesep + \splitmaxdepth=\dp\strutbox + \@parboxrestore} +\bidi@ensure@newcommand{\m@mdoextrafeetmini}{% + \extrafeetminihook} +\bidi@ensure@newcommand{\extrafeetendmini}{% + \ifvoid\@mpfootinsv@r\else + \vskip\skip\@mpfootins + \normalcolor\footnoterule\mp@footgroupv@r + \fi + \extrafeetendminihook} +\bidi@ensure@newcommand{\extrafeetendminihook}{} +\bidi@ensure@newcommand{\m@mdoextrafeetendmini}{\extrafeetendmini} +\def\endminipage{% + \par + \unskip + \ifvoid\@mpfootins\else + \vskip\skip\@mpfootins + \normalcolor + \footnoterule + \unvbox\@mpfootins + \fi + \m@mdoextrafeetendmini + \@minipagefalse + \color@endgroup + \egroup + \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}} +\bidi@ensure@newcommand{\m@make@footstart}[1]{% + \@namedef{@footstart#1}{% + \vskip\bigskipamount + \leftskip=\z@ + \rightskip=\z@ + \footnoterule}} +\newinsert\footinsv@r + \skip\footinsv@r\bigskipamount + \count\footinsv@r=1000 % no magnifcation + \dimen\footinsv@r=\footinsdim +\m@make@footstart{v@r} +\bidi@ensure@newcommand{\@footgroupv@r}{} +\newinsert\@mpfootinsv@r +\bidi@ensure@newcommand{\mp@footgroupv@r}{} +\newcount\m@m@k \newdimen\m@m@h +\@ifpackageloaded{multicol}{% +\bidi@ensure@newcommand*{\m@mrigidbalance}[3]{\setbox0=\box#1 \m@m@k=#2 \m@m@h=#3 + \hsize\textwidth + \@@line{\if@RTLcolumnfootnotes\beginR\fi\splittopskip=\m@m@h \vbadness=\@M \hfilneg + \valign{##\vfill\cr\m@mdosplits}\if@RTLcolumnfootnotes\endR\fi}} +}{% +\bidi@ensure@newcommand*{\m@mrigidbalance}[3]{\setbox0=\box#1 \m@m@k=#2 \m@m@h=#3 + \@@line{\if@RTLcolumnfootnotes\beginR\fi\splittopskip=\m@m@h \vbadness=\@M \hfilneg + \valign{##\vfill\cr\m@mdosplits}\if@RTLcolumnfootnotes\endR\fi}}} +\bidi@ensure@newcommand*{\m@mdosplits}{\ifnum\m@m@k>0 \noalign{\hfil}\m@msplitoff + \global\advance\m@m@k-1\cr\m@mdosplits\fi} +\bidi@ensure@newcommand*{\m@msplitoff}{\dimen0=\ht0 + \divide\dimen0 by\m@m@k \advance\dimen0 by\m@m@h + \setbox2 \vsplit0 to \dimen0 + \unvbox2 } +\bidi@ensure@newcommand{\twocolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@twocolfootnotetext + \let\@LTRfootnotetext\@twocolLTRfootnotetext + \let\@RTLfootnotetext\@twocolRTLfootnotetext + \dimen\footinsv@r=2\footinsdim + \count\footinsv@r=500\relax + \m@make@twocol@footgroup{v@r}% + \let\@footgroupv@r\@twocol@footgroupv@r + \let\@mpfootnotetext\@mptwocolfootnotetext + \let\@mpLTRfootnotetext\@mptwocolLTRfootnotetext + \let\@mpRTLfootnotetext\@mptwocolRTLfootnotetext + \m@make@mptwocol@footgroup{v@r}% + \let\mp@footgroupv@r\@mptwocol@footgroupv@r} +\bidi@ensure@newcommand{\@twocolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@twocolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@twocolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@twocolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@twocolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@twocolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamtwofmt}{% + \hsize .45\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@twocolfootfmt}[1]{% + \@preamtwofmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@twocolLTRfootfmt}[1]{% + \@preamtwofmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@twocolRTLfootfmt}[1]{% + \@preamtwofmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mptwocolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@twocolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mptwocolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@twocolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mptwocolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@twocolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\twocolumnfootstyle}[1]{% + \m@make@twocolfootnotetext{#1}% + \m@make@mptwocolfootnotetext{#1}% + \m@make@twocolfootfmt{#1}% + \m@make@twocol@footgroup{#1}% + \m@make@mptwocol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@twocolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mptwocolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@twocol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mptwocol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@twocolfootnotetext}[1]{% + \bidi@namelongdef{@twocolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@twocolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mptwocolfootnotetext}[1]{% +\bidi@namelongdef{@mptwocolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@twocolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@twocolfootfmt}[1]{% + \@namedef{@twocolfootfmt#1}##1{% + \@preamtwofmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@twocol@footgroup}[1]{% + \@namedef{@twocol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{\tw@}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mptwocol@footgroup}[1]{% +\@namedef{@mptwocol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{\tw@}{\splittopskip}}}} +\bidi@ensure@newcommand{\threecolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@threecolfootnotetext + \let\@LTRfootnotetext\@threecolLTRfootnotetext + \let\@RTLfootnotetext\@threecolRTLfootnotetext + \dimen\footinsv@r=3\footinsdim + \count\footinsv@r=333\relax + \m@make@threecol@footgroup{v@r}% + \let\@footgroupv@r\@threecol@footgroupv@r + \let\@mpfootnotetext\@mpthreecolfootnotetext + \let\@mpLTRfootnotetext\@mpthreecolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpthreecolRTLfootnotetext + \m@make@mpthreecol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpthreecol@footgroupv@r} +\bidi@ensure@newcommand{\@threecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@threecolfootfmt{#1}% + \color@endgroup}\m@mmf@prepare} +\bidi@ensure@newcommand{\@threecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@threecolLTRfootfmt{#1}% + \color@endgroup}\m@mmf@prepare} +\bidi@ensure@newcommand{\@threecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@threecolRTLfootfmt{#1}% + \color@endgroup}\m@mmf@prepare} +\bidi@ensure@newcommand{\@preamthreefmt}{% + \hsize .3\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@threecolfootfmt}[1]{% + \@preamthreefmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@threecolLTRfootfmt}[1]{% + \@preamthreefmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@threecolRTLfootfmt}[1]{% + \@preamthreefmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpthreecolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@threecolfootfmt{#1}% + \color@endgroup}\m@mmf@prepare} +\bidi@ensure@newcommand{\@mpthreecolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@threecolLTRfootfmt{#1}% + \color@endgroup}\m@mmf@prepare} +\bidi@ensure@newcommand{\@mpthreecolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@threecolRTLfootfmt{#1}% + \color@endgroup}\m@mmf@prepare} +\bidi@ensure@newcommand{\threecolumnfootstyle}[1]{% + \m@make@threecolfootnotetext{#1}% + \m@make@mpthreecolfootnotetext{#1}% + \m@make@threecolfootfmt{#1}% + \m@make@threecol@footgroup{#1}% + \m@make@mpthreecol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@threecolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpthreecolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@threecol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpthreecol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=3\footinsdim + \expandafter\count\csname footins#1\endcsname=333\relax} +\bidi@ensure@newcommand{\m@make@threecolfootnotetext}[1]{% +\bidi@namelongdef{@threecolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@threecolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpthreecolfootnotetext}[1]{% +\bidi@namelongdef{@mpthreecolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@threecolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@threecolfootfmt}[1]{% +\bidi@namelongdef{@threecolfootfmt#1}##1{% + \@preamthreefmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@threecol@footgroup}[1]{% +\@namedef{@threecol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{\thr@@}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpthreecol@footgroup}[1]{% +\@namedef{@mpthreecol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{\thr@@}{\splittopskip}}}} +\bidi@ensure@newcommand{\fourcolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@fourcolfootnotetext + \let\@LTRfootnotetext\@fourcolLTRfootnotetext + \let\@RTLfootnotetext\@fourcolRTLfootnotetext + \dimen\footinsv@r=4\footinsdim + \count\footinsv@r=250\relax + \m@make@fourcol@footgroup{v@r}% + \let\@footgroupv@r\@fourcol@footgroupv@r + \let\@mpfootnotetext\@mpfourcolfootnotetext + \let\@mpLTRfootnotetext\@mpfourcolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpfourcolRTLfootnotetext + \m@make@mpfourcol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpfourcol@footgroupv@r} +\bidi@ensure@newcommand{\@fourcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@fourcolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@fourcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@fourcolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@fourcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@fourcolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamfourfmt}{% + \hsize .25\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@fourcolfootfmt}[1]{% + \@preamfourfmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@fourcolLTRfootfmt}[1]{% + \@preamfourfmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@fourcolRTLfootfmt}[1]{% + \@preamfourfmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpfourcolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@fourcolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpfourcolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@fourcolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpfourcolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@fourcolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\fourcolumnfootstyle}[1]{% + \m@make@fourcolfootnotetext{#1}% + \m@make@mpfourcolfootnotetext{#1}% + \m@make@fourcolfootfmt{#1}% + \m@make@fourcol@footgroup{#1}% + \m@make@mpfourcol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@fourcolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpfourcolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@fourcol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpfourcol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@fourcolfootnotetext}[1]{% + \bidi@namelongdef{@fourcolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@fourcolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpfourcolfootnotetext}[1]{% +\bidi@namelongdef{@mpfourcolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@fourcolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@fourcolfootfmt}[1]{% + \@namedef{@fourcolfootfmt#1}##1{% + \@preamfourfmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@fourcol@footgroup}[1]{% + \@namedef{@fourcol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{4}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpfourcol@footgroup}[1]{% +\@namedef{@mpfourcol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{4}{\splittopskip}}}} +\bidi@ensure@newcommand{\fivecolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@fivecolfootnotetext + \let\@LTRfootnotetext\@fivecolLTRfootnotetext + \let\@RTLfootnotetext\@fivecolRTLfootnotetext + \dimen\footinsv@r=5\footinsdim + \count\footinsv@r=200\relax + \m@make@fivecol@footgroup{v@r}% + \let\@footgroupv@r\@fivecol@footgroupv@r + \let\@mpfootnotetext\@mpfivecolfootnotetext + \let\@mpLTRfootnotetext\@mpfivecolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpfivecolRTLfootnotetext + \m@make@mpfivecol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpfivecol@footgroupv@r} +\bidi@ensure@newcommand{\@fivecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@fivecolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@fivecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@fivecolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@fivecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@fivecolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamfivefmt}{% + \hsize .2\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@fivecolfootfmt}[1]{% + \@preamfivefmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@fivecolLTRfootfmt}[1]{% + \@preamfivefmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@fivecolRTLfootfmt}[1]{% + \@preamfivefmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpfivecolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@fivecolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpfivecolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@fivecolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpfivecolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@fivecolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\fivecolumnfootstyle}[1]{% + \m@make@fivecolfootnotetext{#1}% + \m@make@mpfivecolfootnotetext{#1}% + \m@make@fivecolfootfmt{#1}% + \m@make@fivecol@footgroup{#1}% + \m@make@mpfivecol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@fivecolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpfivecolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@fivecol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpfivecol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@fivecolfootnotetext}[1]{% + \bidi@namelongdef{@fivecolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@fivecolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpfivecolfootnotetext}[1]{% +\bidi@namelongdef{@mpfivecolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@fivecolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@fivecolfootfmt}[1]{% + \@namedef{@fivecolfootfmt#1}##1{% + \@preamfivefmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@fivecol@footgroup}[1]{% + \@namedef{@fivecol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{5}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpfivecol@footgroup}[1]{% +\@namedef{@mpfivecol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{5}{\splittopskip}}}} +\bidi@ensure@newcommand{\sixcolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@sixcolfootnotetext + \let\@LTRfootnotetext\@sixcolLTRfootnotetext + \let\@RTLfootnotetext\@sixcolRTLfootnotetext + \dimen\footinsv@r=6\footinsdim + \count\footinsv@r=166\relax + \m@make@sixcol@footgroup{v@r}% + \let\@footgroupv@r\@sixcol@footgroupv@r + \let\@mpfootnotetext\@mpsixcolfootnotetext + \let\@mpLTRfootnotetext\@mpsixcolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpsixcolRTLfootnotetext + \m@make@mpsixcol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpsixcol@footgroupv@r} +\bidi@ensure@newcommand{\@sixcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@sixcolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@sixcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@sixcolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@sixcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@sixcolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamsixfmt}{% + \hsize .16\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@sixcolfootfmt}[1]{% + \@preamsixfmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@sixcolLTRfootfmt}[1]{% + \@preamsixfmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@sixcolRTLfootfmt}[1]{% + \@preamsixfmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpsixcolfootnotetext}[1]{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \global\setbox\@mpfootinsv@r\vbox{% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@sixcolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpsixcolLTRfootnotetext}[1]{\@RTLfalse% + \global\setbox\@mpfootinsv@r\vbox{% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@sixcolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpsixcolRTLfootnotetext}[1]{\@RTLtrue% + \global\setbox\@mpfootinsv@r\vbox{% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@sixcolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\sixcolumnfootstyle}[1]{% + \m@make@sixcolfootnotetext{#1}% + \m@make@mpsixcolfootnotetext{#1}% + \m@make@sixcolfootfmt{#1}% + \m@make@sixcol@footgroup{#1}% + \m@make@mpsixcol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@sixcolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpsixcolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@sixcol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpsixcol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@sixcolfootnotetext}[1]{% + \bidi@namelongdef{@sixcolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@sixcolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpsixcolfootnotetext}[1]{% +\bidi@namelongdef{@mpsixcolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@sixcolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@sixcolfootfmt}[1]{% + \@namedef{@sixcolfootfmt#1}##1{% + \@preamsixfmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@sixcol@footgroup}[1]{% + \@namedef{@sixcol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{6}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpsixcol@footgroup}[1]{% +\@namedef{@mpsixcol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{6}{\splittopskip}}}} +\bidi@ensure@newcommand{\sevencolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@sevencolfootnotetext + \let\@LTRfootnotetext\@sevencolLTRfootnotetext + \let\@RTLfootnotetext\@sevencolRTLfootnotetext + \dimen\footinsv@r=7\footinsdim + \count\footinsv@r=142\relax + \m@make@sevencol@footgroup{v@r}% + \let\@footgroupv@r\@sevencol@footgroupv@r + \let\@mpfootnotetext\@mpsevencolfootnotetext + \let\@mpLTRfootnotetext\@mpsevencolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpsevencolRTLfootnotetext + \m@make@mpsevencol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpsevencol@footgroupv@r} +\bidi@ensure@newcommand{\@sevencolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@sevencolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@sevencolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@sevencolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@sevencolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@sevencolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamsevenfmt}{% + \hsize .142\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@sevencolfootfmt}[1]{% + \@preamsevenfmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@sevencolLTRfootfmt}[1]{% + \@preamsevenfmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@sevencolRTLfootfmt}[1]{% + \@preamsevenfmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpsevencolfootnotetext}[1]{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \global\setbox\@mpfootinsv@r\vbox{% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@sevencolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpsevencolLTRfootnotetext}[1]{\@RTLfalse% + \global\setbox\@mpfootinsv@r\vbox{% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@sevencolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpsevencolRTLfootnotetext}[1]{\@RTLtrue% + \global\setbox\@mpfootinsv@r\vbox{% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@sevencolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\sevencolumnfootstyle}[1]{% + \m@make@sevencolfootnotetext{#1}% + \m@make@mpsevencolfootnotetext{#1}% + \m@make@sevencolfootfmt{#1}% + \m@make@sevencol@footgroup{#1}% + \m@make@mpsevencol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@sevencolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpsevencolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@sevencol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpsevencol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@sevencolfootnotetext}[1]{% + \bidi@namelongdef{@sevencolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@sevencolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpsevencolfootnotetext}[1]{% +\bidi@namelongdef{@mpsevencolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@sevencolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@sevencolfootfmt}[1]{% + \@namedef{@sevencolfootfmt#1}##1{% + \@preamsevenfmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@sevencol@footgroup}[1]{% + \@namedef{@sevencol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{7}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpsevencol@footgroup}[1]{% +\@namedef{@mpsevencol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{7}{\splittopskip}}}} +\bidi@ensure@newcommand{\eightcolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@eightcolfootnotetext + \let\@LTRfootnotetext\@eightcolLTRfootnotetext + \let\@RTLfootnotetext\@eightcolRTLfootnotetext + \dimen\footinsv@r=8\footinsdim + \count\footinsv@r=125\relax + \m@make@eightcol@footgroup{v@r}% + \let\@footgroupv@r\@eightcol@footgroupv@r + \let\@mpfootnotetext\@mpeightcolfootnotetext + \let\@mpLTRfootnotetext\@mpeightcolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpeightcolRTLfootnotetext + \m@make@mpeightcol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpeightcol@footgroupv@r} +\bidi@ensure@newcommand{\@eightcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@eightcolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@eightcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@eightcolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@eightcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@eightcolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preameightfmt}{% + \hsize .125\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@eightcolfootfmt}[1]{% + \@preameightfmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@eightcolLTRfootfmt}[1]{% + \@preameightfmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@eightcolRTLfootfmt}[1]{% + \@preameightfmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpeightcolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@eightcolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpeightcolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@eightcolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpeightcolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@eightcolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\eightcolumnfootstyle}[1]{% + \m@make@eightcolfootnotetext{#1}% + \m@make@mpeightcolfootnotetext{#1}% + \m@make@eightcolfootfmt{#1}% + \m@make@eightcol@footgroup{#1}% + \m@make@mpeightcol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@eightcolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpeightcolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@eightcol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpeightcol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@eightcolfootnotetext}[1]{% + \bidi@namelongdef{@eightcolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@eightcolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpeightcolfootnotetext}[1]{% +\bidi@namelongdef{@mpeightcolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@eightcolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@eightcolfootfmt}[1]{% + \@namedef{@eightcolfootfmt#1}##1{% + \@preameightfmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@eightcol@footgroup}[1]{% + \@namedef{@eightcol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{8}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpeightcol@footgroup}[1]{% +\@namedef{@mpeightcol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{8}{\splittopskip}}}} +\bidi@ensure@newcommand{\ninecolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@ninecolfootnotetext + \let\@LTRfootnotetext\@ninecolLTRfootnotetext + \let\@RTLfootnotetext\@ninecolRTLfootnotetext + \dimen\footinsv@r=9\footinsdim + \count\footinsv@r=111\relax + \m@make@ninecol@footgroup{v@r}% + \let\@footgroupv@r\@ninecol@footgroupv@r + \let\@mpfootnotetext\@mpninecolfootnotetext + \let\@mpLTRfootnotetext\@mpninecolLTRfootnotetext + \let\@mpRTLfootnotetext\@mpninecolRTLfootnotetext + \m@make@mpninecol@footgroup{v@r}% + \let\mp@footgroupv@r\@mpninecol@footgroupv@r} +\bidi@ensure@newcommand{\@ninecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@ninecolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@ninecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@ninecolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@ninecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@ninecolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamninefmt}{% + \hsize .1\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@ninecolfootfmt}[1]{% + \@preamninefmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@ninecolLTRfootfmt}[1]{% + \@preamninefmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@ninecolRTLfootfmt}[1]{% + \@preamninefmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mpninecolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@ninecolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpninecolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@ninecolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mpninecolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@ninecolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\ninecolumnfootstyle}[1]{% + \m@make@ninecolfootnotetext{#1}% + \m@make@mpninecolfootnotetext{#1}% + \m@make@ninecolfootfmt{#1}% + \m@make@ninecol@footgroup{#1}% + \m@make@mpninecol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@ninecolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpninecolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@ninecol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mpninecol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@ninecolfootnotetext}[1]{% + \bidi@namelongdef{@ninecolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@ninecolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpninecolfootnotetext}[1]{% +\bidi@namelongdef{@mpninecolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@ninecolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@ninecolfootfmt}[1]{% + \@namedef{@ninecolfootfmt#1}##1{% + \@preamninefmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@ninecol@footgroup}[1]{% + \@namedef{@ninecol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{9}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mpninecol@footgroup}[1]{% +\@namedef{@mpninecol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{9}{\splittopskip}}}} +\bidi@ensure@newcommand{\tencolumnfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@tencolfootnotetext + \let\@LTRfootnotetext\@tencolLTRfootnotetext + \let\@RTLfootnotetext\@tencolRTLfootnotetext + \dimen\footinsv@r=10\footinsdim + \count\footinsv@r=100\relax + \m@make@tencol@footgroup{v@r}% + \let\@footgroupv@r\@tencol@footgroupv@r + \let\@mpfootnotetext\@mptencolfootnotetext + \let\@mpLTRfootnotetext\@mptencolLTRfootnotetext + \let\@mpRTLfootnotetext\@mptencolRTLfootnotetext + \m@make@mptencol@footgroup{v@r}% + \let\mp@footgroupv@r\@mptencol@footgroupv@r} +\bidi@ensure@newcommand{\@tencolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@tencolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@tencolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@tencolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@tencolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \color@begingroup + \@tencolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@preamtenfmt}{% + \hsize .1\hsize + \parindent=\z@ + \tolerance=5000\relax + \leavevmode} +\bidi@ensure@newcommand{\@tencolfootfmt}[1]{% + \@preamtenfmt + {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@tencolLTRfootfmt}[1]{% + \@preamtenfmt + {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@tencolRTLfootfmt}[1]{% + \@preamtenfmt + {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} +\bidi@ensure@newcommand{\@mptencolfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@tencolfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mptencolLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \if@RTLcolumnfootnotes\beginL\fi + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@tencolLTRfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\@mptencolRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \color@begingroup + \@tencolRTLfootfmt{#1}% + \color@endgroup}% + \m@mmf@prepare} +\bidi@ensure@newcommand{\tencolumnfootstyle}[1]{% + \m@make@tencolfootnotetext{#1}% + \m@make@mptencolfootnotetext{#1}% + \m@make@tencolfootfmt{#1}% + \m@make@tencol@footgroup{#1}% + \m@make@mptencol@footgroup{#1}% + \m@make@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@tencolfootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mptencolfootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@tencol@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mptencol@footgroup#1}}% + \expandafter\dimen\csname footins#1\endcsname=2\footinsdim + \expandafter\count\csname footins#1\endcsname=500\relax} +\bidi@ensure@newcommand{\m@make@tencolfootnotetext}[1]{% + \bidi@namelongdef{@tencolfootnotetext#1}##1{% + \insert\@nameuse{footins#1}{% + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@tencolfootfmt#1}{##1}% + \color@endgroup}% + \m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mptencolfootnotetext}[1]{% +\bidi@namelongdef{@mptencolfootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \color@begingroup + \@nameuse{@tencolfootfmt#1}{##1}% + \color@endgroup}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@tencolfootfmt}[1]{% + \@namedef{@tencolfootfmt#1}##1{% + \@preamtenfmt + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} +\bidi@ensure@newcommand{\m@make@tencol@footgroup}[1]{% + \@namedef{@tencol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{footins#1}}{10}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@make@mptencol@footgroup}[1]{% +\@namedef{@mptencol@footgroup#1}{{% + \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox + \m@mrigidbalance{\@nameuse{@mpfootins#1}}{10}{\splittopskip}}}} +\bidi@ensure@newcommand{\m@munvxh}[1]{% + \setbox0=\vbox{\unvbox#1% + \global\setbox1=\lastbox}% + \unhbox1 + \unskip + \unskip + \unpenalty + \hskip\m@mipn@skip} +\bidi@ensure@newcommand{\m@mungebox}{% + \setbox0=\hbox{\m@munvxh0}% + \dp0=\z@ + \ht0=\footfudgefactor\wd0 + \box0 + \penalty0} +\newskip\m@mipn@skip +\bidi@ensure@newcommand*{\m@minterparanoteglue}[1]{% + {\foottextfont\global\m@mipn@skip=#1\relax}} +\m@minterparanoteglue{1em plus.4em minus.4em} +\@ifpackageloaded{multicol}{% +\bidi@ensure@newcommand*{\m@mmakehboxofhboxes}{% + \if@parafootRTL\@RTLtrue\else\@RTLfalse\fi% + \hsize\textwidth% + \setbox0=\hbox{}% + \loop + \unpenalty + \setbox2=\lastbox + \ifhbox2 + \setbox0=\hbox{\box2\unhbox0} + \repeat} +}{% +\bidi@ensure@newcommand*{\m@mmakehboxofhboxes}{% + \if@parafootRTL\@RTLtrue\else\@RTLfalse\fi% + \setbox0=\hbox{}% + \loop + \unpenalty + \setbox2=\lastbox + \ifhbox2 + \setbox0=\hbox{\box2\unhbox0} + \repeat}} +\bidi@ensure@newcommand*{\m@mremovehboxes}{\setbox0=\lastbox + \ifhbox0{\m@mremovehboxes}\unhbox0 \fi} +\bidi@ensure@newcommand*{\footfudgefiddle}{64} +\bidi@ensure@newcommand{\paragraphfootnotes}{% + \@namedef{foottextfontv@r}{\foottextfont}% % [RS] + \let\@footnotetext\@parafootnotetext + \let\@LTRfootnotetext\@paraLTRfootnotetext + \let\@RTLfootnotetext\@paraRTLfootnotetext + \dimen\footinsv@r=\footinsdim + \count\footinsv@r=1000\relax + \m@make@para@footgroup{v@r}% + \let\@footgroupv@r\@para@footgroupv@r + \let\@mpfootnotetext\@mpparafootnotetext + \let\@mpLTRfootnotetext\@mpparaLTRfootnotetext + \let\@mpRTLfootnotetext\@mpparaRTLfootnotetext + \m@make@mppara@footgroup{v@r}% + \let\mp@footgroupv@r\@mppara@footgroupv@r + {\foottextfont + \dimen0=\baselineskip + \multiply\dimen0 by 1024 + \divide\dimen0 by \hsize \multiply\dimen0 by \footfudgefiddle + \xdef\footfudgefactor{\expandafter\strip@pt\dimen0 }}} +\bidi@ensure@newcommand{\@parafootnotetext}[1]{\insert\footinsv@r{\@RTLfalse + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@parafootfmt{\if@RTL@footnote\beginR\else\beginL\fi#1\if@RTL@footnote\endR\else\endL\fi}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare} +\bidi@ensure@newcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv@r{\@RTLfalse + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@paraLTRfootfmt{\beginL#1\endL}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare} +\bidi@ensure@newcommand{\@paraRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLfalse + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@paraRTLfootfmt{\beginR#1\endR}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare} +\bidi@ensure@newcommand{\@parafootfmt}[1]{% + \parindent=\z@ + \parfillskip=0pt \@plus 1fil + {\footfootmark\strut {\foottextfont #1}\penalty-10}} +\bidi@ensure@newcommand{\@paraLTRfootfmt}[1]{% + \parindent=\z@ + \parfillskip=0pt \@plus 1fil + {\footfootmark\strut {\LTRfoottextfont #1}\penalty-10}} +\bidi@ensure@newcommand{\@paraRTLfootfmt}[1]{% + \parindent=\z@ + \parfillskip=0pt \@plus 1fil + {\footfootmark\strut {\RTLfoottextfont #1}\penalty-10}} +\bidi@ensure@newcommand{\@mpparafootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\foottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@parafootfmt{\if@RTL@footnote\beginR\else\beginL\fi#1\if@RTL@footnote\endR\else\endL\fi}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare} +\bidi@ensure@newcommand{\@mpparaLTRfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\LTRfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@paraLTRfootfmt{\beginL#1\endL}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare} +\bidi@ensure@newcommand{\@mpparaRTLfootnotetext}[1]{% + \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% + \unvbox\@mpfootinsv@r + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\RTLfoottextfont + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote\endcsname\@thefnmark}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@paraRTLfootfmt{\beginR#1\endR}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare} +\bidi@ensure@newcommand{\paragraphfootstyle}[1]{% + \m@make@parafootnotetext{#1}% + \m@make@mpparafootnotetext{#1}% + \m@make@parafootfmt{#1}% + \m@make@para@footgroup{#1}% + \m@make@mppara@footgroup{#1}% + \m@make@para@footstart{#1}% + \bidi@namelongdef{@footnotetext#1}##1{% + \@nameuse{@parafootnotetext#1}{##1}}% + \bidi@namelongdef{@mpfootnotetext#1}##1{% + \@nameuse{@mpparafootnotetext#1}{##1}}% + \@namedef{@footgroup#1}{\@nameuse{@para@footgroup#1}}% + \@namedef{mp@footgroup#1}{\@nameuse{@mppara@footgroup#1}}% + \@namedef{@footstart#1}{\@nameuse{@para@footstart#1}}% + \expandafter\dimen\csname footins#1\endcsname=\footinsdim + \expandafter\count\csname footins#1\endcsname=1000\relax + {\@nameuse{foottextfont#1}% + \dimen0=\baselineskip + \multiply\dimen0 by 1024 + \divide\dimen0 by \hsize \multiply\dimen0 by 64 + \xdef\footfudgefactor{\expandafter\strip@pt\dimen0 }}} +\bidi@ensure@newcommand{\m@make@parafootnotetext}[1]{% +\bidi@namelongdef{@parafootnotetext#1}##1{% + \insert\@nameuse{footins#1}{ + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \@preamfntext + \protected@edef\@currentlabel{% + \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@nameuse{@parafootfmt#1}{##1}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@mpparafootnotetext}[1]{% +\bidi@namelongdef{@mpparafootnotetext#1}##1{% + \global\setbox\@nameuse{@mpfootins#1}\vbox{% + \unvbox\@nameuse{@mpfootins#1} + \def\baselinestretch{\m@m@footnote@spacing}% + \reset@font\@nameuse{foottextfont#1}% + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% + \setbox0=\vbox{\hsize=\maxdimen + \color@begingroup + \noindent \@nameuse{@parafootfmt#1}{##1}% + \color@endgroup}% + \m@mungebox}\m@mmf@prepare}} +\bidi@ensure@newcommand{\m@make@parafootfmt}[1]{% +\bidi@namelongdef{@parafootfmt#1}##1{% + \parindent=\z@ + \parfillskip=0pt \@plus 1fil + {\@nameuse{footfootmark#1}\strut + {\@nameuse{foottextfont#1}##1}\penalty-10}}} +\bidi@ensure@newcommand{\m@make@para@footgroup}[1]{% +\@namedef{@para@footgroup#1}{% + \unvbox\@nameuse{footins#1} + \m@mmakehboxofhboxes + \setbox0=\hbox{\unhbox0 \m@mremovehboxes}% + \@nameuse{foottextfont#1}% + \noindent\unhbox0\par}} +\bidi@ensure@newcommand{\m@make@mppara@footgroup}[1]{% +\@namedef{@mppara@footgroup#1}{% + \unvbox\@nameuse{@mpfootins#1} + \m@mmakehboxofhboxes + \setbox0=\hbox{\unhbox0 \m@mremovehboxes}% + \@nameuse{foottextfont#1}% + \noindent\unhbox0\par}} +\bidi@ensure@newcommand{\m@make@para@footstart}[1]{% +\@namedef{@para@footstart#1}{% + \vskip\bigskipamount + \leftskip=\z@ + \rightskip=\z@ + \parindent=\z@ + \vskip\skip\@nameuse{footins#1}% + \footnoterule}} +\bidi@ensure@newcommand*{\m@m@makecolfloats}{% + \xdef\@freelist{\@freelist\@midlist}% + \global\let\@midlist\@empty + \@combinefloats} +\bidi@ensure@newcommand*{\m@m@makecoltext}{% + \ifvbox\@kludgeins + \@makespecialcolbox + \else + \setbox\@outputbox \vbox to\@colht{% + \@texttop + \dimen@ \dp\@outputbox + \unvbox \@outputbox + \vskip -\dimen@ + \@textbottom}% + \fi} +\bidi@ensure@newcommand*{\m@m@makecolintro}{} +\bidi@ensure@newcommand*{\m@mopfootnote}{\setbox\@outputbox \vbox{% + \boxmaxdepth\@maxdepth + \@tempdima\dp\@cclv + \unvbox\@cclv + \vskip-\@tempdima + \vskip \skip\footins + \color@begingroup + \normalcolor + \footnoterule + \unvbox \footins + \color@endgroup}} +\bidi@ensure@newcommand*{\m@mopsidebar}{% + \ifvoid\sideins\else + \setbox\@outputbox \vbox{% + \sidecontents + \unvbox\@outputbox} + \fi} +\gdef\mem@makecol{% + \m@m@makecolintro + \ifvoid\footins + \setbox\@outputbox \box\@cclv + \else + \m@mopfootnote + \fi + \m@mdoextrafeet + \m@m@makecolfloats + \m@mopsidebar + \m@m@makecoltext + \global \maxdepth \@maxdepth} +\bidi@ensure@newcommand{\feetabovefloat}{\gdef\@makecol{\mem@makecol}} +\feetabovefloat% +%% +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% 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 +%% +%% This work is “maintained” (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% End of file `extrafootnotefeatures-xetex-bidi.def'. diff --git a/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures.def b/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures.def deleted file mode 100644 index c3d69e31ff4..00000000000 --- a/Master/texmf-dist/tex/xelatex/bidi/extrafootnotefeatures.def +++ /dev/null @@ -1,1823 +0,0 @@ -%% -%% This is file `extrafootnotefeatures.def'. -%% -%% ______________________________________ -%% Copyright © 2009–2013 Vafa Khalighi -%% -%% License information appended. -%% -%% -\ProvidesFile{extrafootnotefeatures}[2012/12/12 v0.4 bidi extra footnote features for XeTeX engine] -\let\autofootnoterule\relax -\let\rightfootnoterule\relax -\let\leftfootnoterule\relax -\let\textwidthfootnoterule\relax -\let\LRfootnoterule\relax -\def\footnoterule{\kern-3\p@ - \hrule \@width \columnwidth \kern 2.6\p@} -\bidi@ensure@newcommand{\setRTLparagraphfootnotes}{\@parafootRTLtrue} -\bidi@ensure@newcommand{\setLTRparagraphfootnotes}{\@parafootRTLfalse} -\renewcommand{\@footnotetext}[1]{% - \insert\footins{% - \if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font - \foottextfont - \@preamfntext - \hsize\columnwidth - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\foottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}% - \m@mmf@prepare} -\renewcommand{\@RTLfootnotetext}[1]{% - \insert\footins{% - \@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font - \RTLfoottextfont - \@preamfntext - \hsize\columnwidth - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}% - \m@mmf@prepare} -\renewcommand{\@LTRfootnotetext}[1]{% - \insert\footins{% - \@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font - \LTRfoottextfont - \@preamfntext - \hsize\columnwidth - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}% - \m@mmf@prepare} -\renewcommand{\@mpfootnotetext}[1]{% - \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootins - \def\baselinestretch{\m@m@footnote@spacing}% - \foottextfont \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \reset@font% - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\foottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}} -\renewcommand{\@mpLTRfootnotetext}[1]{% - \global\setbox\@mpfootins\vbox{\@RTLfalse% - \unvbox\@mpfootins - \def\baselinestretch{\m@m@footnote@spacing}% - \LTRfoottextfont \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \reset@font% - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\LTRfoottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}} -\renewcommand{\@mpRTLfootnotetext}[1]{% - \global\setbox\@mpfootins\vbox{\@RTLtrue% - \unvbox\@mpfootins - \def\baselinestretch{\m@m@footnote@spacing}% - \RTLfoottextfont \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \reset@font% - \@makefntext{% - \rule\z@\footnotesep\ignorespaces{\RTLfoottextfont #1}% - \@finalstrut\strutbox}% - \color@endgroup}} -\let\m@mold@footnotetext\@footnotetext -\let\m@mold@LTRfootnotetext\@LTRfootnotetext -\let\m@mold@RTLfootnotetext\@RTLfootnotetext -\let\m@mold@mpfootnotetext\@mpfootnotetext -\let\m@mold@mpLTRfootnotetext\@mpLTRfootnotetext -\let\m@mold@mpRTLfootnotetext\@mpRTLfootnotetext -\bidi@ensure@newcommand{\normalfootnotes}{% - \let\@footnotetext\m@mold@footnotetext - \let\@LTRfootnotetext\m@mold@LTRfootnotetext - \let\@RTLfootnotetext\m@mold@RTLfootnotetext - \let\@mpfootnotetext\m@mold@mpfootnotetext - \let\@mpLTRfootnotetext\m@mold@mpLTRfootnotetext - \let\@mpRTLfootnotetext\m@mold@mpRTLfootnotetext} -\@ifclassloaded{memoir}{\let\plainfootnotes\normalfootnotes}{} -\bidi@ensure@newcommand*{\RTLcolumnfootnotes}{\@RTLcolumnfootnotestrue} -\bidi@ensure@newcommand*{\LTRcolumnfootnotes}{\@RTLcolumnfootnotesfalse} -\bidi@ensure@newcommand*{\setSingleSpace}[1]{% - \def\m@m@singlespace{#1}% - \def\m@m@footnote@spacing{#1}% - \def\m@m@float@spacing{#1} % -} -\setSingleSpace{1} -\newinsert\sideins -\bidi@ensure@newcommand*{\multiplefootnotemarker}{3sp} -\bidi@ensure@newcommand*{\m@mmf@prepare}{% - \kern-\multiplefootnotemarker - \kern\multiplefootnotemarker\relax} -\bidi@ensure@newlength{\footmarkwidth} -\bidi@ensure@newlength{\footmarksep} -\bidi@ensure@newlength{\footparindent} -\bidi@ensure@newcommand*{\footmarkstyle}[1]{\def\footscript##1{#1}} -\bidi@ensure@newcommand{\footfootmark}{% - \ifdim\footmarkwidth < \z@ - \llap{\hb@xt@ -\footmarkwidth{% - \hss\normalfont\footscript{\@thefnmark}}% - \hspace*{-\footmarkwidth}}% - \else - \ifdim\footmarkwidth = \z@ - {\normalfont\footscript{\@thefnmark}}% - \else - \hb@xt@\footmarkwidth{\hss\normalfont\footscript{\@thefnmark}}% - \fi - \fi} -\footmarkstyle{\textsuperscript{#1}} -\setlength{\footmarkwidth}{1.8em} -\setlength{\footparindent}{1em} -\bidi@ensure@newcommand{\m@mdoextrafeet}{\extrafeetins} -\bidi@ensure@newcommand*{\extrafeetins}{% - \setbox\@outputbox \vbox{% - \boxmaxdepth \@maxdepth - \unvbox\@outputbox - \ifvoid\footinsv@r\else\@footstartv@r\@footgroupv@r\fi - \extrafeetinshook}} -\bidi@ensure@newcommand{\extrafeetinshook}{} -\bidi@ensure@newcommand{\foottextfont}{\footnotesize} -\bidi@ensure@newcommand{\LTRfoottextfont}{\footnotesize} -\bidi@ensure@newcommand{\RTLfoottextfont}{\footnotesize} -\bidi@ensure@newlength{\footinsdim} - \setlength{\footinsdim}{8in} % standard for \dimen\footins -\bidi@ensure@newcommand{\@preamfntext}{% - \interlinepenalty\interfootnotelinepenalty - \floatingpenalty \@MM - \splittopskip=\footnotesep - \splitmaxdepth=\dp\strutbox - \@parboxrestore} -\bidi@ensure@newcommand{\m@mdoextrafeetmini}{% - \extrafeetminihook} -\bidi@ensure@newcommand{\extrafeetendmini}{% - \ifvoid\@mpfootinsv@r\else - \vskip\skip\@mpfootins - \normalcolor\footnoterule\mp@footgroupv@r - \fi - \extrafeetendminihook} -\bidi@ensure@newcommand{\extrafeetendminihook}{} -\bidi@ensure@newcommand{\m@mdoextrafeetendmini}{\extrafeetendmini} -\def\endminipage{% - \par - \unskip - \ifvoid\@mpfootins\else - \vskip\skip\@mpfootins - \normalcolor - \footnoterule - \unvbox\@mpfootins - \fi - \m@mdoextrafeetendmini - \@minipagefalse - \color@endgroup - \egroup - \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}} -\bidi@ensure@newcommand{\m@make@footstart}[1]{% - \@namedef{@footstart#1}{% - \vskip\bigskipamount - \leftskip=\z@ - \rightskip=\z@ - \footnoterule}} -\newinsert\footinsv@r - \skip\footinsv@r\bigskipamount - \count\footinsv@r=1000 % no magnifcation - \dimen\footinsv@r=\footinsdim -\m@make@footstart{v@r} -\bidi@ensure@newcommand{\@footgroupv@r}{} -\newinsert\@mpfootinsv@r -\bidi@ensure@newcommand{\mp@footgroupv@r}{} -\newcount\m@m@k \newdimen\m@m@h -\@ifpackageloaded{multicol}{% -\bidi@ensure@newcommand*{\m@mrigidbalance}[3]{\setbox0=\box#1 \m@m@k=#2 \m@m@h=#3 - \hsize\textwidth - \@@line{\if@RTLcolumnfootnotes\beginR\fi\splittopskip=\m@m@h \vbadness=\@M \hfilneg - \valign{##\vfill\cr\m@mdosplits}\if@RTLcolumnfootnotes\endR\fi}} -}{% -\bidi@ensure@newcommand*{\m@mrigidbalance}[3]{\setbox0=\box#1 \m@m@k=#2 \m@m@h=#3 - \@@line{\if@RTLcolumnfootnotes\beginR\fi\splittopskip=\m@m@h \vbadness=\@M \hfilneg - \valign{##\vfill\cr\m@mdosplits}\if@RTLcolumnfootnotes\endR\fi}}} -\bidi@ensure@newcommand*{\m@mdosplits}{\ifnum\m@m@k>0 \noalign{\hfil}\m@msplitoff - \global\advance\m@m@k-1\cr\m@mdosplits\fi} -\bidi@ensure@newcommand*{\m@msplitoff}{\dimen0=\ht0 - \divide\dimen0 by\m@m@k \advance\dimen0 by\m@m@h - \setbox2 \vsplit0 to \dimen0 - \unvbox2 } -\bidi@ensure@newcommand{\twocolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@twocolfootnotetext - \let\@LTRfootnotetext\@twocolLTRfootnotetext - \let\@RTLfootnotetext\@twocolRTLfootnotetext - \dimen\footinsv@r=2\footinsdim - \count\footinsv@r=500\relax - \m@make@twocol@footgroup{v@r}% - \let\@footgroupv@r\@twocol@footgroupv@r - \let\@mpfootnotetext\@mptwocolfootnotetext - \let\@mpLTRfootnotetext\@mptwocolLTRfootnotetext - \let\@mpRTLfootnotetext\@mptwocolRTLfootnotetext - \m@make@mptwocol@footgroup{v@r}% - \let\mp@footgroupv@r\@mptwocol@footgroupv@r} -\bidi@ensure@newcommand{\@twocolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@twocolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@twocolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@twocolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@twocolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@twocolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamtwofmt}{% - \hsize .45\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@twocolfootfmt}[1]{% - \@preamtwofmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@twocolLTRfootfmt}[1]{% - \@preamtwofmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@twocolRTLfootfmt}[1]{% - \@preamtwofmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mptwocolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@twocolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mptwocolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@twocolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mptwocolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@twocolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\twocolumnfootstyle}[1]{% - \m@make@twocolfootnotetext{#1}% - \m@make@mptwocolfootnotetext{#1}% - \m@make@twocolfootfmt{#1}% - \m@make@twocol@footgroup{#1}% - \m@make@mptwocol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@twocolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mptwocolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@twocol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mptwocol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@twocolfootnotetext}[1]{% - \bidi@namelongdef{@twocolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@twocolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mptwocolfootnotetext}[1]{% -\bidi@namelongdef{@mptwocolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@twocolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@twocolfootfmt}[1]{% - \@namedef{@twocolfootfmt#1}##1{% - \@preamtwofmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@twocol@footgroup}[1]{% - \@namedef{@twocol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{\tw@}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mptwocol@footgroup}[1]{% -\@namedef{@mptwocol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{\tw@}{\splittopskip}}}} -\bidi@ensure@newcommand{\threecolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@threecolfootnotetext - \let\@LTRfootnotetext\@threecolLTRfootnotetext - \let\@RTLfootnotetext\@threecolRTLfootnotetext - \dimen\footinsv@r=3\footinsdim - \count\footinsv@r=333\relax - \m@make@threecol@footgroup{v@r}% - \let\@footgroupv@r\@threecol@footgroupv@r - \let\@mpfootnotetext\@mpthreecolfootnotetext - \let\@mpLTRfootnotetext\@mpthreecolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpthreecolRTLfootnotetext - \m@make@mpthreecol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpthreecol@footgroupv@r} -\bidi@ensure@newcommand{\@threecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@threecolfootfmt{#1}% - \color@endgroup}\m@mmf@prepare} -\bidi@ensure@newcommand{\@threecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@threecolLTRfootfmt{#1}% - \color@endgroup}\m@mmf@prepare} -\bidi@ensure@newcommand{\@threecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@threecolRTLfootfmt{#1}% - \color@endgroup}\m@mmf@prepare} -\bidi@ensure@newcommand{\@preamthreefmt}{% - \hsize .3\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@threecolfootfmt}[1]{% - \@preamthreefmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@threecolLTRfootfmt}[1]{% - \@preamthreefmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@threecolRTLfootfmt}[1]{% - \@preamthreefmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpthreecolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@threecolfootfmt{#1}% - \color@endgroup}\m@mmf@prepare} -\bidi@ensure@newcommand{\@mpthreecolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@threecolLTRfootfmt{#1}% - \color@endgroup}\m@mmf@prepare} -\bidi@ensure@newcommand{\@mpthreecolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@threecolRTLfootfmt{#1}% - \color@endgroup}\m@mmf@prepare} -\bidi@ensure@newcommand{\threecolumnfootstyle}[1]{% - \m@make@threecolfootnotetext{#1}% - \m@make@mpthreecolfootnotetext{#1}% - \m@make@threecolfootfmt{#1}% - \m@make@threecol@footgroup{#1}% - \m@make@mpthreecol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@threecolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpthreecolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@threecol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpthreecol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=3\footinsdim - \expandafter\count\csname footins#1\endcsname=333\relax} -\bidi@ensure@newcommand{\m@make@threecolfootnotetext}[1]{% -\bidi@namelongdef{@threecolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@threecolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpthreecolfootnotetext}[1]{% -\bidi@namelongdef{@mpthreecolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@threecolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@threecolfootfmt}[1]{% -\bidi@namelongdef{@threecolfootfmt#1}##1{% - \@preamthreefmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@threecol@footgroup}[1]{% -\@namedef{@threecol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{\thr@@}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpthreecol@footgroup}[1]{% -\@namedef{@mpthreecol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{\thr@@}{\splittopskip}}}} -\bidi@ensure@newcommand{\fourcolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@fourcolfootnotetext - \let\@LTRfootnotetext\@fourcolLTRfootnotetext - \let\@RTLfootnotetext\@fourcolRTLfootnotetext - \dimen\footinsv@r=4\footinsdim - \count\footinsv@r=250\relax - \m@make@fourcol@footgroup{v@r}% - \let\@footgroupv@r\@fourcol@footgroupv@r - \let\@mpfootnotetext\@mpfourcolfootnotetext - \let\@mpLTRfootnotetext\@mpfourcolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpfourcolRTLfootnotetext - \m@make@mpfourcol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpfourcol@footgroupv@r} -\bidi@ensure@newcommand{\@fourcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@fourcolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@fourcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@fourcolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@fourcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@fourcolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamfourfmt}{% - \hsize .25\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@fourcolfootfmt}[1]{% - \@preamfourfmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@fourcolLTRfootfmt}[1]{% - \@preamfourfmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@fourcolRTLfootfmt}[1]{% - \@preamfourfmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpfourcolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@fourcolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpfourcolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@fourcolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpfourcolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@fourcolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\fourcolumnfootstyle}[1]{% - \m@make@fourcolfootnotetext{#1}% - \m@make@mpfourcolfootnotetext{#1}% - \m@make@fourcolfootfmt{#1}% - \m@make@fourcol@footgroup{#1}% - \m@make@mpfourcol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@fourcolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpfourcolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@fourcol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpfourcol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@fourcolfootnotetext}[1]{% - \bidi@namelongdef{@fourcolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@fourcolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpfourcolfootnotetext}[1]{% -\bidi@namelongdef{@mpfourcolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@fourcolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@fourcolfootfmt}[1]{% - \@namedef{@fourcolfootfmt#1}##1{% - \@preamfourfmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@fourcol@footgroup}[1]{% - \@namedef{@fourcol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{4}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpfourcol@footgroup}[1]{% -\@namedef{@mpfourcol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{4}{\splittopskip}}}} -\bidi@ensure@newcommand{\fivecolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@fivecolfootnotetext - \let\@LTRfootnotetext\@fivecolLTRfootnotetext - \let\@RTLfootnotetext\@fivecolRTLfootnotetext - \dimen\footinsv@r=5\footinsdim - \count\footinsv@r=200\relax - \m@make@fivecol@footgroup{v@r}% - \let\@footgroupv@r\@fivecol@footgroupv@r - \let\@mpfootnotetext\@mpfivecolfootnotetext - \let\@mpLTRfootnotetext\@mpfivecolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpfivecolRTLfootnotetext - \m@make@mpfivecol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpfivecol@footgroupv@r} -\bidi@ensure@newcommand{\@fivecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@fivecolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@fivecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@fivecolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@fivecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@fivecolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamfivefmt}{% - \hsize .2\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@fivecolfootfmt}[1]{% - \@preamfivefmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@fivecolLTRfootfmt}[1]{% - \@preamfivefmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@fivecolRTLfootfmt}[1]{% - \@preamfivefmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpfivecolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@fivecolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpfivecolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@fivecolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpfivecolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@fivecolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\fivecolumnfootstyle}[1]{% - \m@make@fivecolfootnotetext{#1}% - \m@make@mpfivecolfootnotetext{#1}% - \m@make@fivecolfootfmt{#1}% - \m@make@fivecol@footgroup{#1}% - \m@make@mpfivecol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@fivecolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpfivecolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@fivecol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpfivecol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@fivecolfootnotetext}[1]{% - \bidi@namelongdef{@fivecolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@fivecolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpfivecolfootnotetext}[1]{% -\bidi@namelongdef{@mpfivecolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@fivecolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@fivecolfootfmt}[1]{% - \@namedef{@fivecolfootfmt#1}##1{% - \@preamfivefmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@fivecol@footgroup}[1]{% - \@namedef{@fivecol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{5}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpfivecol@footgroup}[1]{% -\@namedef{@mpfivecol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{5}{\splittopskip}}}} -\bidi@ensure@newcommand{\sixcolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@sixcolfootnotetext - \let\@LTRfootnotetext\@sixcolLTRfootnotetext - \let\@RTLfootnotetext\@sixcolRTLfootnotetext - \dimen\footinsv@r=6\footinsdim - \count\footinsv@r=166\relax - \m@make@sixcol@footgroup{v@r}% - \let\@footgroupv@r\@sixcol@footgroupv@r - \let\@mpfootnotetext\@mpsixcolfootnotetext - \let\@mpLTRfootnotetext\@mpsixcolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpsixcolRTLfootnotetext - \m@make@mpsixcol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpsixcol@footgroupv@r} -\bidi@ensure@newcommand{\@sixcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@sixcolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@sixcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@sixcolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@sixcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@sixcolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamsixfmt}{% - \hsize .16\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@sixcolfootfmt}[1]{% - \@preamsixfmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@sixcolLTRfootfmt}[1]{% - \@preamsixfmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@sixcolRTLfootfmt}[1]{% - \@preamsixfmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpsixcolfootnotetext}[1]{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \global\setbox\@mpfootinsv@r\vbox{% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@sixcolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpsixcolLTRfootnotetext}[1]{\@RTLfalse% - \global\setbox\@mpfootinsv@r\vbox{% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@sixcolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpsixcolRTLfootnotetext}[1]{\@RTLtrue% - \global\setbox\@mpfootinsv@r\vbox{% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@sixcolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\sixcolumnfootstyle}[1]{% - \m@make@sixcolfootnotetext{#1}% - \m@make@mpsixcolfootnotetext{#1}% - \m@make@sixcolfootfmt{#1}% - \m@make@sixcol@footgroup{#1}% - \m@make@mpsixcol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@sixcolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpsixcolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@sixcol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpsixcol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@sixcolfootnotetext}[1]{% - \bidi@namelongdef{@sixcolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@sixcolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpsixcolfootnotetext}[1]{% -\bidi@namelongdef{@mpsixcolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@sixcolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@sixcolfootfmt}[1]{% - \@namedef{@sixcolfootfmt#1}##1{% - \@preamsixfmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@sixcol@footgroup}[1]{% - \@namedef{@sixcol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{6}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpsixcol@footgroup}[1]{% -\@namedef{@mpsixcol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{6}{\splittopskip}}}} -\bidi@ensure@newcommand{\sevencolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@sevencolfootnotetext - \let\@LTRfootnotetext\@sevencolLTRfootnotetext - \let\@RTLfootnotetext\@sevencolRTLfootnotetext - \dimen\footinsv@r=7\footinsdim - \count\footinsv@r=142\relax - \m@make@sevencol@footgroup{v@r}% - \let\@footgroupv@r\@sevencol@footgroupv@r - \let\@mpfootnotetext\@mpsevencolfootnotetext - \let\@mpLTRfootnotetext\@mpsevencolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpsevencolRTLfootnotetext - \m@make@mpsevencol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpsevencol@footgroupv@r} -\bidi@ensure@newcommand{\@sevencolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@sevencolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@sevencolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@sevencolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@sevencolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@sevencolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamsevenfmt}{% - \hsize .142\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@sevencolfootfmt}[1]{% - \@preamsevenfmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@sevencolLTRfootfmt}[1]{% - \@preamsevenfmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@sevencolRTLfootfmt}[1]{% - \@preamsevenfmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpsevencolfootnotetext}[1]{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \global\setbox\@mpfootinsv@r\vbox{% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@sevencolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpsevencolLTRfootnotetext}[1]{\@RTLfalse% - \global\setbox\@mpfootinsv@r\vbox{% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@sevencolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpsevencolRTLfootnotetext}[1]{\@RTLtrue% - \global\setbox\@mpfootinsv@r\vbox{% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@sevencolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\sevencolumnfootstyle}[1]{% - \m@make@sevencolfootnotetext{#1}% - \m@make@mpsevencolfootnotetext{#1}% - \m@make@sevencolfootfmt{#1}% - \m@make@sevencol@footgroup{#1}% - \m@make@mpsevencol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@sevencolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpsevencolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@sevencol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpsevencol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@sevencolfootnotetext}[1]{% - \bidi@namelongdef{@sevencolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@sevencolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpsevencolfootnotetext}[1]{% -\bidi@namelongdef{@mpsevencolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@sevencolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@sevencolfootfmt}[1]{% - \@namedef{@sevencolfootfmt#1}##1{% - \@preamsevenfmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@sevencol@footgroup}[1]{% - \@namedef{@sevencol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{7}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpsevencol@footgroup}[1]{% -\@namedef{@mpsevencol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{7}{\splittopskip}}}} -\bidi@ensure@newcommand{\eightcolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@eightcolfootnotetext - \let\@LTRfootnotetext\@eightcolLTRfootnotetext - \let\@RTLfootnotetext\@eightcolRTLfootnotetext - \dimen\footinsv@r=8\footinsdim - \count\footinsv@r=125\relax - \m@make@eightcol@footgroup{v@r}% - \let\@footgroupv@r\@eightcol@footgroupv@r - \let\@mpfootnotetext\@mpeightcolfootnotetext - \let\@mpLTRfootnotetext\@mpeightcolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpeightcolRTLfootnotetext - \m@make@mpeightcol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpeightcol@footgroupv@r} -\bidi@ensure@newcommand{\@eightcolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@eightcolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@eightcolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@eightcolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@eightcolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@eightcolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preameightfmt}{% - \hsize .125\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@eightcolfootfmt}[1]{% - \@preameightfmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@eightcolLTRfootfmt}[1]{% - \@preameightfmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@eightcolRTLfootfmt}[1]{% - \@preameightfmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpeightcolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@eightcolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpeightcolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@eightcolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpeightcolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@eightcolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\eightcolumnfootstyle}[1]{% - \m@make@eightcolfootnotetext{#1}% - \m@make@mpeightcolfootnotetext{#1}% - \m@make@eightcolfootfmt{#1}% - \m@make@eightcol@footgroup{#1}% - \m@make@mpeightcol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@eightcolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpeightcolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@eightcol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpeightcol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@eightcolfootnotetext}[1]{% - \bidi@namelongdef{@eightcolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@eightcolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpeightcolfootnotetext}[1]{% -\bidi@namelongdef{@mpeightcolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@eightcolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@eightcolfootfmt}[1]{% - \@namedef{@eightcolfootfmt#1}##1{% - \@preameightfmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@eightcol@footgroup}[1]{% - \@namedef{@eightcol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{8}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpeightcol@footgroup}[1]{% -\@namedef{@mpeightcol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{8}{\splittopskip}}}} -\bidi@ensure@newcommand{\ninecolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@ninecolfootnotetext - \let\@LTRfootnotetext\@ninecolLTRfootnotetext - \let\@RTLfootnotetext\@ninecolRTLfootnotetext - \dimen\footinsv@r=9\footinsdim - \count\footinsv@r=111\relax - \m@make@ninecol@footgroup{v@r}% - \let\@footgroupv@r\@ninecol@footgroupv@r - \let\@mpfootnotetext\@mpninecolfootnotetext - \let\@mpLTRfootnotetext\@mpninecolLTRfootnotetext - \let\@mpRTLfootnotetext\@mpninecolRTLfootnotetext - \m@make@mpninecol@footgroup{v@r}% - \let\mp@footgroupv@r\@mpninecol@footgroupv@r} -\bidi@ensure@newcommand{\@ninecolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@ninecolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@ninecolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@ninecolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@ninecolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@ninecolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamninefmt}{% - \hsize .1\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@ninecolfootfmt}[1]{% - \@preamninefmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@ninecolLTRfootfmt}[1]{% - \@preamninefmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@ninecolRTLfootfmt}[1]{% - \@preamninefmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mpninecolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@ninecolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpninecolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@ninecolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mpninecolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@ninecolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\ninecolumnfootstyle}[1]{% - \m@make@ninecolfootnotetext{#1}% - \m@make@mpninecolfootnotetext{#1}% - \m@make@ninecolfootfmt{#1}% - \m@make@ninecol@footgroup{#1}% - \m@make@mpninecol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@ninecolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpninecolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@ninecol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mpninecol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@ninecolfootnotetext}[1]{% - \bidi@namelongdef{@ninecolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@ninecolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpninecolfootnotetext}[1]{% -\bidi@namelongdef{@mpninecolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@ninecolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@ninecolfootfmt}[1]{% - \@namedef{@ninecolfootfmt#1}##1{% - \@preamninefmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@ninecol@footgroup}[1]{% - \@namedef{@ninecol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{9}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mpninecol@footgroup}[1]{% -\@namedef{@mpninecol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{9}{\splittopskip}}}} -\bidi@ensure@newcommand{\tencolumnfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@tencolfootnotetext - \let\@LTRfootnotetext\@tencolLTRfootnotetext - \let\@RTLfootnotetext\@tencolRTLfootnotetext - \dimen\footinsv@r=10\footinsdim - \count\footinsv@r=100\relax - \m@make@tencol@footgroup{v@r}% - \let\@footgroupv@r\@tencol@footgroupv@r - \let\@mpfootnotetext\@mptencolfootnotetext - \let\@mpLTRfootnotetext\@mptencolLTRfootnotetext - \let\@mpRTLfootnotetext\@mptencolRTLfootnotetext - \m@make@mptencol@footgroup{v@r}% - \let\mp@footgroupv@r\@mptencol@footgroupv@r} -\bidi@ensure@newcommand{\@tencolfootnotetext}[1]{\insert\footinsv@r{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@tencolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@tencolLTRfootnotetext}[1]{\insert\footinsv@r{\if@RTLcolumnfootnotes\beginL\fi\@RTLfalse% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@tencolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@tencolRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLtrue% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \color@begingroup - \@tencolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@preamtenfmt}{% - \hsize .1\hsize - \parindent=\z@ - \tolerance=5000\relax - \leavevmode} -\bidi@ensure@newcommand{\@tencolfootfmt}[1]{% - \@preamtenfmt - {\footfootmark\strut {\foottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@tencolLTRfootfmt}[1]{% - \@preamtenfmt - {\footfootmark\strut {\LTRfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@tencolRTLfootfmt}[1]{% - \@preamtenfmt - {\footfootmark\strut {\RTLfoottextfont #1}\strut\par}\allowbreak} -\bidi@ensure@newcommand{\@mptencolfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@tencolfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mptencolLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \if@RTLcolumnfootnotes\beginL\fi - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@tencolLTRfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\@mptencolRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLtrue% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \color@begingroup - \@tencolRTLfootfmt{#1}% - \color@endgroup}% - \m@mmf@prepare} -\bidi@ensure@newcommand{\tencolumnfootstyle}[1]{% - \m@make@tencolfootnotetext{#1}% - \m@make@mptencolfootnotetext{#1}% - \m@make@tencolfootfmt{#1}% - \m@make@tencol@footgroup{#1}% - \m@make@mptencol@footgroup{#1}% - \m@make@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@tencolfootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mptencolfootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@tencol@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mptencol@footgroup#1}}% - \expandafter\dimen\csname footins#1\endcsname=2\footinsdim - \expandafter\count\csname footins#1\endcsname=500\relax} -\bidi@ensure@newcommand{\m@make@tencolfootnotetext}[1]{% - \bidi@namelongdef{@tencolfootnotetext#1}##1{% - \insert\@nameuse{footins#1}{% - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@tencolfootfmt#1}{##1}% - \color@endgroup}% - \m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mptencolfootnotetext}[1]{% -\bidi@namelongdef{@mptencolfootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \color@begingroup - \@nameuse{@tencolfootfmt#1}{##1}% - \color@endgroup}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@tencolfootfmt}[1]{% - \@namedef{@tencolfootfmt#1}##1{% - \@preamtenfmt - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\strut\par}\allowbreak}} -\bidi@ensure@newcommand{\m@make@tencol@footgroup}[1]{% - \@namedef{@tencol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{footins#1}}{10}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@make@mptencol@footgroup}[1]{% -\@namedef{@mptencol@footgroup#1}{{% - \@nameuse{foottextfont#1} \splittopskip=\ht\strutbox - \m@mrigidbalance{\@nameuse{@mpfootins#1}}{10}{\splittopskip}}}} -\bidi@ensure@newcommand{\m@munvxh}[1]{% - \setbox0=\vbox{\unvbox#1% - \global\setbox1=\lastbox}% - \unhbox1 - \unskip - \unskip - \unpenalty - \hskip\m@mipn@skip} -\bidi@ensure@newcommand{\m@mungebox}{% - \setbox0=\hbox{\m@munvxh0}% - \dp0=\z@ - \ht0=\footfudgefactor\wd0 - \box0 - \penalty0} -\newskip\m@mipn@skip -\bidi@ensure@newcommand*{\m@minterparanoteglue}[1]{% - {\foottextfont\global\m@mipn@skip=#1\relax}} -\m@minterparanoteglue{1em plus.4em minus.4em} -\@ifpackageloaded{multicol}{% -\bidi@ensure@newcommand*{\m@mmakehboxofhboxes}{% - \if@parafootRTL\@RTLtrue\else\@RTLfalse\fi% - \hsize\textwidth% - \setbox0=\hbox{}% - \loop - \unpenalty - \setbox2=\lastbox - \ifhbox2 - \setbox0=\hbox{\box2\unhbox0} - \repeat} -}{% -\bidi@ensure@newcommand*{\m@mmakehboxofhboxes}{% - \if@parafootRTL\@RTLtrue\else\@RTLfalse\fi% - \setbox0=\hbox{}% - \loop - \unpenalty - \setbox2=\lastbox - \ifhbox2 - \setbox0=\hbox{\box2\unhbox0} - \repeat}} -\bidi@ensure@newcommand*{\m@mremovehboxes}{\setbox0=\lastbox - \ifhbox0{\m@mremovehboxes}\unhbox0 \fi} -\bidi@ensure@newcommand*{\footfudgefiddle}{64} -\bidi@ensure@newcommand{\paragraphfootnotes}{% - \@namedef{foottextfontv@r}{\foottextfont}% % [RS] - \let\@footnotetext\@parafootnotetext - \let\@LTRfootnotetext\@paraLTRfootnotetext - \let\@RTLfootnotetext\@paraRTLfootnotetext - \dimen\footinsv@r=\footinsdim - \count\footinsv@r=1000\relax - \m@make@para@footgroup{v@r}% - \let\@footgroupv@r\@para@footgroupv@r - \let\@mpfootnotetext\@mpparafootnotetext - \let\@mpLTRfootnotetext\@mpparaLTRfootnotetext - \let\@mpRTLfootnotetext\@mpparaRTLfootnotetext - \m@make@mppara@footgroup{v@r}% - \let\mp@footgroupv@r\@mppara@footgroupv@r - {\foottextfont - \dimen0=\baselineskip - \multiply\dimen0 by 1024 - \divide\dimen0 by \hsize \multiply\dimen0 by \footfudgefiddle - \xdef\footfudgefactor{\expandafter\strip@pt\dimen0 }}} -\bidi@ensure@newcommand{\@parafootnotetext}[1]{\insert\footinsv@r{\@RTLfalse - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@parafootfmt{\if@RTL@footnote\beginR\else\beginL\fi#1\if@RTL@footnote\endR\else\endL\fi}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare} -\bidi@ensure@newcommand{\@paraLTRfootnotetext}[1]{\insert\footinsv@r{\@RTLfalse - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@paraLTRfootfmt{\beginL#1\endL}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare} -\bidi@ensure@newcommand{\@paraRTLfootnotetext}[1]{\insert\footinsv@r{\@RTLfalse - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote\endcsname\@thefnmark}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@paraRTLfootfmt{\beginR#1\endR}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare} -\bidi@ensure@newcommand{\@parafootfmt}[1]{% - \parindent=\z@ - \parfillskip=0pt \@plus 1fil - {\footfootmark\strut {\foottextfont #1}\penalty-10}} -\bidi@ensure@newcommand{\@paraLTRfootfmt}[1]{% - \parindent=\z@ - \parfillskip=0pt \@plus 1fil - {\footfootmark\strut {\LTRfoottextfont #1}\penalty-10}} -\bidi@ensure@newcommand{\@paraRTLfootfmt}[1]{% - \parindent=\z@ - \parfillskip=0pt \@plus 1fil - {\footfootmark\strut {\RTLfoottextfont #1}\penalty-10}} -\bidi@ensure@newcommand{\@mpparafootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\foottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@parafootfmt{\if@RTL@footnote\beginR\else\beginL\fi#1\if@RTL@footnote\endR\else\endL\fi}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare} -\bidi@ensure@newcommand{\@mpparaLTRfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\LTRfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@paraLTRfootfmt{\beginL#1\endL}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare} -\bidi@ensure@newcommand{\@mpparaRTLfootnotetext}[1]{% - \global\setbox\@mpfootinsv@r\vbox{\@RTLfalse% - \unvbox\@mpfootinsv@r - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\RTLfoottextfont - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote\endcsname\@thefnmark}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@paraRTLfootfmt{\beginR#1\endR}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare} -\bidi@ensure@newcommand{\paragraphfootstyle}[1]{% - \m@make@parafootnotetext{#1}% - \m@make@mpparafootnotetext{#1}% - \m@make@parafootfmt{#1}% - \m@make@para@footgroup{#1}% - \m@make@mppara@footgroup{#1}% - \m@make@para@footstart{#1}% - \bidi@namelongdef{@footnotetext#1}##1{% - \@nameuse{@parafootnotetext#1}{##1}}% - \bidi@namelongdef{@mpfootnotetext#1}##1{% - \@nameuse{@mpparafootnotetext#1}{##1}}% - \@namedef{@footgroup#1}{\@nameuse{@para@footgroup#1}}% - \@namedef{mp@footgroup#1}{\@nameuse{@mppara@footgroup#1}}% - \@namedef{@footstart#1}{\@nameuse{@para@footstart#1}}% - \expandafter\dimen\csname footins#1\endcsname=\footinsdim - \expandafter\count\csname footins#1\endcsname=1000\relax - {\@nameuse{foottextfont#1}% - \dimen0=\baselineskip - \multiply\dimen0 by 1024 - \divide\dimen0 by \hsize \multiply\dimen0 by 64 - \xdef\footfudgefactor{\expandafter\strip@pt\dimen0 }}} -\bidi@ensure@newcommand{\m@make@parafootnotetext}[1]{% -\bidi@namelongdef{@parafootnotetext#1}##1{% - \insert\@nameuse{footins#1}{ - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \@preamfntext - \protected@edef\@currentlabel{% - \csname p@footnote#1\endcsname \@nameuse{@thefnmark#1}}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@nameuse{@parafootfmt#1}{##1}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@mpparafootnotetext}[1]{% -\bidi@namelongdef{@mpparafootnotetext#1}##1{% - \global\setbox\@nameuse{@mpfootins#1}\vbox{% - \unvbox\@nameuse{@mpfootins#1} - \def\baselinestretch{\m@m@footnote@spacing}% - \reset@font\@nameuse{foottextfont#1}% - \hsize\columnwidth \@parboxrestore - \protected@edef\@currentlabel{% - \csname p@mpfootnote#1\endcsname\@nameuse{@thefnmark#1}}% - \setbox0=\vbox{\hsize=\maxdimen - \color@begingroup - \noindent \@nameuse{@parafootfmt#1}{##1}% - \color@endgroup}% - \m@mungebox}\m@mmf@prepare}} -\bidi@ensure@newcommand{\m@make@parafootfmt}[1]{% -\bidi@namelongdef{@parafootfmt#1}##1{% - \parindent=\z@ - \parfillskip=0pt \@plus 1fil - {\@nameuse{footfootmark#1}\strut - {\@nameuse{foottextfont#1}##1}\penalty-10}}} -\bidi@ensure@newcommand{\m@make@para@footgroup}[1]{% -\@namedef{@para@footgroup#1}{% - \unvbox\@nameuse{footins#1} - \m@mmakehboxofhboxes - \setbox0=\hbox{\unhbox0 \m@mremovehboxes}% - \@nameuse{foottextfont#1}% - \noindent\unhbox0\par}} -\bidi@ensure@newcommand{\m@make@mppara@footgroup}[1]{% -\@namedef{@mppara@footgroup#1}{% - \unvbox\@nameuse{@mpfootins#1} - \m@mmakehboxofhboxes - \setbox0=\hbox{\unhbox0 \m@mremovehboxes}% - \@nameuse{foottextfont#1}% - \noindent\unhbox0\par}} -\bidi@ensure@newcommand{\m@make@para@footstart}[1]{% -\@namedef{@para@footstart#1}{% - \vskip\bigskipamount - \leftskip=\z@ - \rightskip=\z@ - \parindent=\z@ - \vskip\skip\@nameuse{footins#1}% - \footnoterule}} -\bidi@ensure@newcommand*{\m@m@makecolfloats}{% - \xdef\@freelist{\@freelist\@midlist}% - \global\let\@midlist\@empty - \@combinefloats} -\bidi@ensure@newcommand*{\m@m@makecoltext}{% - \ifvbox\@kludgeins - \@makespecialcolbox - \else - \setbox\@outputbox \vbox to\@colht{% - \@texttop - \dimen@ \dp\@outputbox - \unvbox \@outputbox - \vskip -\dimen@ - \@textbottom}% - \fi} -\bidi@ensure@newcommand*{\m@m@makecolintro}{} -\bidi@ensure@newcommand*{\m@mopfootnote}{\setbox\@outputbox \vbox{% - \boxmaxdepth\@maxdepth - \@tempdima\dp\@cclv - \unvbox\@cclv - \vskip-\@tempdima - \vskip \skip\footins - \color@begingroup - \normalcolor - \footnoterule - \unvbox \footins - \color@endgroup}} -\bidi@ensure@newcommand*{\m@mopsidebar}{% - \ifvoid\sideins\else - \setbox\@outputbox \vbox{% - \sidecontents - \unvbox\@outputbox} - \fi} -\gdef\mem@makecol{% - \m@m@makecolintro - \ifvoid\footins - \setbox\@outputbox \box\@cclv - \else - \m@mopfootnote - \fi - \m@mdoextrafeet - \m@m@makecolfloats - \m@mopsidebar - \m@m@makecoltext - \global \maxdepth \@maxdepth} -\bidi@ensure@newcommand{\feetabovefloat}{\gdef\@makecol{\mem@makecol}} -\feetabovefloat% -%% -%% Copyright © 2009–2013 Vafa Khalighi -%% -%% 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 -%% -%% This work is “maintained” (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% End of file `extrafootnotefeatures.def'. diff --git a/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def index 123b27206a9..6f1b7b5639b 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/extreport-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `extreport-xetex-bidi.def'. +%% This is file `extreport-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `extreport-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -185,7 +190,7 @@ \renewcommand\thetable{% \ifnum \c@chapter>\z@\thechapter\@SepMark\fi\@arabic\c@table} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def index 532c07fe27a..7a887f8811b 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/fancybox-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `fancybox-xetex-bidi.def'. +%% This is file `fancybox-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `fancybox-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -37,7 +42,7 @@ \wd\@tempboxa=\@ovxx \dp\@tempboxa=\z@} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def index 3b1912c62eb..af64c38eb79 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/fancyhdr-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `fancyhdr-xetex-bidi.def'. +%% This is file `fancyhdr-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `fancyhdr-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -20,7 +25,7 @@ \parbox[t]{\headwidth}{\centering\if@RTLmain\beginR\else\beginL\fi#3\if@RTLmain\endR\else\endL\fi}\hfill \llap{\parbox[t]{\headwidth}{\bidi@raggedleft\if@RTLmain\beginR\else\beginL\fi#4\if@RTLmain\endR\else\endL\fi}}}}\endL}\if@RTLmain\beginR\else\beginL\fi#5\if@RTLmain\endR\else\endL\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def index 268b633aac5..fb93be69882 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `fix2col-xetex-bidi.def'. +%% This is file `fix2col-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `fix2col-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -77,7 +82,7 @@ \endgroup \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def index 508d0f47c56..50d57cd5947 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/fleqn-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `fleqn-xetex-bidi.def'. +%% This is file `fleqn-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `fleqn-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -38,7 +43,7 @@ \endL\egroup \endtrivlist} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def index 04fb0b87bde..074cb61d555 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/float-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `float-xetex-bidi.def'. +%% This is file `float-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `float-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -17,7 +22,7 @@ the#2\endcsname\@SepMark\noexpand\arabic{#1}}}% {\PackageWarning{float}{Can't redefine counter variable for #1.}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def index 6cb62044c08..7d4d1bd3860 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/floatrow-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `floatrow-xetex-bidi.def'. +%% This is file `floatrow-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `floatrow-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -13,7 +18,7 @@ \expandafter\noexpand\csname the#1\endcsname\@SepMark\noexpand\arabic{\FB@captype}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def index da78ec1aebe..0b57d5dc67f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/flowfram-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `flowfram-xetex-bidi.def'. +%% This is file `flowfram-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `flowfram-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -141,7 +146,7 @@ #2\relax \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def index 5d9d9c186e0..86732862d98 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `footnote-xetex-bidi.def'. +%% This is file `footnote-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `footnote-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -329,7 +334,7 @@ \@RTLfootnotetext} \leftfootnoterule %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def index 4464fd126aa..6b415aa4410 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/framed-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `framed-xetex-bidi.def'. +%% This is file `framed-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `framed-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -183,7 +188,7 @@ \sloppy } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def index f389340dbc1..1eb5a58a4ba 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `ftnright-xetex-bidi.def'. +%% This is file `ftnright-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `ftnright-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -61,7 +66,7 @@ \noindent\hbox to 2em{}% \llap{\@thefnmark\hbox{.}\,\,}#1} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def index 2569895cdde..2c1e92dc3d9 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/geometry-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `geometry-xetex-bidi.def'. +%% This is file `geometry-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `geometry-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -30,7 +35,7 @@ \llap{\Gm@vrule}\hskip\textwidth\rlap{\Gm@vrule}\hss}\fi}% %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def index e58ce34b19b..9a793959206 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/graphicx-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `graphicx-xetex-bidi.def'. +%% This is file `graphicx-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `graphicx-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -126,7 +131,7 @@ \Gscale@box\@tempa[\@tempb]{\box\@tempboxa}% \@end@tempboxa} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def index 062d4cd3ec2..61dddc4d294 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/hvfloat-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `hvfloat-xetex-bidi.def'. +%% This is file `hvfloat-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `hvfloat-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -282,7 +287,7 @@ \fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def index 66d5d81abf9..2e89aebce3f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/hyperref-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `hyperref-xetex-bidi.def'. +%% This is file `hyperref-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `hyperref-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -249,7 +254,7 @@ \def\XeLaTeX{Xe\LaTeX} } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def new file mode 100644 index 00000000000..368704ccbba --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def @@ -0,0 +1,785 @@ +%% +%% This is file `latex-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `latex-xetex-bidi.def') +%% +%% ______________________________________ +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{latex-xetex-bidi.def}[2013/09/22 v1.1.4 bidi adaptations for `latex.ltx' for XeTeX engine] +\newcommand{\TeXXeTOn}{\TeXXeTstate=1 } +\newcommand{\TeXXeTOff}{\TeXXeTstate=0 } +\TeXXeTOn +\def\bidi@RTL@everypar{\if@RTL{\setbox\z@\lastbox\beginR\ifvoid\z@\else\usebox\z@\fi}\fi} + \let\bidi@o@everypar=\everypar + \newtoks\bidi@n@everypar + \bidi@n@everypar\expandafter{\the\bidi@o@everypar} + \bidi@o@everypar{\bidi@RTL@everypar\the\bidi@n@everypar} + \let\everypar=\bidi@n@everypar +\def\moreLRE{\bracetext \aftergroup\endL \beginL\@RTLfalse} +\def\moreRLE{\bracetext \aftergroup\endR \beginR\@RTLtrue} +\protected\def\hboxR{\hbox\bgroup + \everyhbox{% + \aftergroup\egroup + \everyhbox{}% + \beginR + \bgroup + \aftergroup\endR + \aftergroup\egroup + }\hbox} +\protected\def\hboxL{\hbox\bgroup + \everyhbox{% + \aftergroup\egroup + \everyhbox{}% + \beginL + \bgroup + \aftergroup\endL + \aftergroup\egroup + }\hbox} +\protected\def\vboxR{\vbox\bgroup + \everyvbox{% + \aftergroup\egroup + \everyvbox{}% + \@RTLtrue + \bgroup + \aftergroup\egroup + }\vbox} +\protected\def\vboxL{\vbox\bgroup + \everyvbox{% + \aftergroup\egroup + \everyvbox{}% + \@RTLfalse + \bgroup + \aftergroup\egroup + }\vbox} +\def\LTR{\par\@RTLfalse\@RTL@footnotefalse\if@bidi@list@minipage@parbox\beginL\else\if@RTLtab\beginL\fi\fi\hsize\linewidth\parshape\z@} +\def\endLTR{\par} +\def\RTL{\par\@RTLtrue\@RTL@footnotetrue\hsize\linewidth\parshape\z@} +\def\endRTL{\par} +\def\setRTL{\@RTLtrue\@RTL@footnotetrue} +\def\setLTR{\@RTLfalse\@RTL@footnotefalse\if@bidi@list@minipage@parbox\beginL\else\if@RTLtab\beginL\fi\fi} +\let\unsetRTL=\setLTR +\let\unsetLTR=\setRTL +\let\LR=\LRE +\let\RL=\RLE +\def\@ensure@RTL#1{\if@RTL#1\else\RLE{#1}\fi} +\def\@ensure@LTR#1{\if@RTL\LRE{#1}\else#1\fi} +\let\@ensure@RL=\@ensure@RTL +\let\@ensure@LR=\@ensure@LTR +\def\@ensure@dir#1{\if@RTL\RLE{#1}\else{#1}\fi} +\let\@ensure@maindir=\@ensure@dir +\def\@@RTL{RTL} +\def\@@LTR{LTR} +\def\save@dir{\if@RTL\gdef\saved@@dir{RTL}\else\gdef\saved@@dir{LTR}\fi} +\def\reset@dir{\ifx\saved@@dir\@@RTL\setRTL\else\ifx\saved@@dir\@@LTR\setLTR\else\relax\fi\fi} +\let\@@TeX\TeX +\def\TeX{\@ensure@LTR{\@@TeX}} +\let\@@LaTeX\LaTeX +\def\LaTeX{\@ensure@LTR{\@@LaTeX}} +\let\@@LaTeXe\LaTeXe +\def\LaTeXe{\@ensure@LTR{\@@LaTeXe}} +\long\def\bidi@reflect@box#1{% + \leavevmode + \setbox\z@\hbox{{#1}}% + \setbox\tw@\hbox{\special{x:gsave}\special{x:scale -1 1}\rlap{\copy\z@}\special{x:grestore}}% + \hb@xt@\wd\z@{\kern\wd\z@\box\tw@\hss}% +} +\def\XeTeX{\LR{\leavevmode$\smash{\hbox{X\lower.5ex + \hbox{\kern-.125em\bidi@reflect@box{E}}\kern-.1667em \TeX}}$}} +\def\XeLaTeX{\LR{\leavevmode$\smash{\hbox{X\lower.5ex + \hbox{\kern-.125em\bidi@reflect@box{E}}\kern-.1667em \LaTeX}}$}} +\let\setRL=\setRTL +\let\setLR=\setLTR +\let\unsetRL=\setLTR +\def\RTLcases#1{\left.\vcenter{\normalbaselines\m@th + \ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\,\right\}} +\def\SepMark#1{\gdef\@SepMark{\if@RTL‏\fi#1\if@RTL‏\fi}} +\SepMark{.} +\def\@thmcountersep{\@SepMark} +\def\setRTLbibitems{\@RTLbibitemstrue\@LTRbibitemsfalse} +\def\setLTRbibitems{\@LTRbibitemstrue\@RTLbibitemsfalse} +\def\setdefaultbibitems{\@RTLbibitemsfalse\@LTRbibitemsfalse} +\def\list#1#2{% + \ifnum \@listdepth >5\relax + \@toodeep + \else + \global\advance\@listdepth\@ne + \fi + \rightmargin\z@ + \listparindent\z@ + \itemindent\z@ + \csname @list\romannumeral\the\@listdepth\endcsname + \def\@itemlabel{#1}% + \let\makelabel\@mklab + \@nmbrlistfalse + #2\relax + \@trivlist + \parskip\parsep + \parindent\listparindent + \advance\linewidth -\rightmargin + \advance\linewidth -\leftmargin + \if@bidi@list@minipage@parbox + \if@RTL + \advance\@totalleftmargin \leftmargin + \else + \advance\@totalleftmargin \rightmargin + \fi + \else + \if@RTLtab + \if@bidi@list@minipage@parbox@not@nob + \if@RTL + \advance\@totalleftmargin \rightmargin + \else + \advance\@totalleftmargin \leftmargin + \fi + \else + \if@RTL + \advance\@totalleftmargin \leftmargin + \else + \advance\@totalleftmargin \rightmargin + \fi\fi + \else + \if@RTL + \advance\@totalleftmargin \rightmargin + \else + \advance\@totalleftmargin \leftmargin + \fi\fi\fi + \parshape \@ne \@totalleftmargin \linewidth + \ignorespaces} +\def\@item[#1]{% + \if@noparitem + \@donoparitem + \else + \if@inlabel + \indent \par + \fi + \ifhmode + \unskip\unskip \par + \fi + \if@newlist + \if@nobreak + \@nbitem + \else + \addpenalty\@beginparpenalty + \addvspace\@topsep + \addvspace{-\parskip}% + \fi + \else + \addpenalty\@itempenalty + \addvspace\itemsep + \fi + \global\@inlabeltrue + \fi + \everypar{\if@bidi@list@minipage@parbox\if@RTL\else\beginL\fi\else\if@RTLtab\if@RTL\else\beginL\fi\fi\fi% + \@minipagefalse + \global\@newlistfalse + \if@inlabel + \global\@inlabelfalse + {\setbox\z@\lastbox + \ifvoid\z@ + \kern-\itemindent + \fi}% + \box\@labels + \penalty\z@ + \fi + \if@nobreak + \@nobreakfalse + \clubpenalty \@M + \else + \clubpenalty \@clubpenalty + \everypar{}% + \fi}% + \if@noitemarg + \@noitemargfalse + \if@nmbrlist + \refstepcounter\@listctr + \fi + \fi + \sbox\@tempboxa{\makelabel{#1}}% + \global\setbox\@labels\hbox{% + \unhbox\@labels + \hskip \itemindent + \hskip -\labelwidth + \hskip -\labelsep + \ifdim \wd\@tempboxa >\labelwidth + \box\@tempboxa + \else + \hbox to\labelwidth {\unhbox\@tempboxa}% + \fi + \hskip \labelsep}% + \ignorespaces} +\long\def\@iiiparbox#1#2[#3]#4#5{% + \leavevmode + \@pboxswfalse + \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi + \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\fi\fi\fi + \setlength\@tempdima{#4}% + \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}% + \ifx\relax#2\else + \setlength\@tempdimb{#2}% + \edef\@parboxto{to\the\@tempdimb}% + \fi + \if#1b\vbox + \else\if #1t\vtop + \else\ifmmode\vcenter + \else\@pboxswtrue $\vcenter + \fi\fi\fi + \@parboxto{\let\hss\vss\let\unhbox\unvbox + \csname bm@#3\endcsname}% + \if@pboxsw \m@th$\fi + \@end@tempboxa} +\newenvironment{LTRitems} + {\par\@RTLfalse + \if@bidi@list@minipage@parbox + \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth + \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob + \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\else + \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi + \else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi\fi + \ignorespaces}{\vskip\z@} +\newenvironment{RTLitems} + {\par\@RTLtrue + \if@bidi@list@minipage@parbox + \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth + \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob + \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\else + \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi + \else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi\fi + \ignorespaces}{\vskip\z@} +\newenvironment{LTRbibitems} + {\par\@RTLfalse + \if@bidi@list@minipage@parbox + \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth + \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob + \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\else + \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi + \else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi\fi + \ignorespaces}{\vskip\z@} +\newenvironment{RTLbibitems} + {\par\@RTLtrue + \if@bidi@list@minipage@parbox + \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth + \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob + \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\else + \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi + \else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi\fi + \ignorespaces}{\vskip\z@} +\def\raggedright{% + \let\\\@centercr + \rightskip\z@skip\rightskip\@flushglue + \parindent\z@\parfillskip\z@skip} +\let\bidi@orig@raggedleft\raggedleft +\let\bidi@orig@raggedright\raggedright +\renewcommand\raggedleft{\if@bidi@list@minipage@parbox\bidi@orig@raggedright\else\if@RTLtab\bidi@orig@raggedright\else\bidi@orig@raggedleft\fi\fi} +\renewcommand\raggedright{\if@bidi@list@minipage@parbox\bidi@orig@raggedleft\else\if@RTLtab\bidi@orig@raggedleft\else\bidi@orig@raggedright\fi\fi} +\newcommand{\bidi@raggedright}{\if@RTL\raggedleft\else\raggedright\fi} +\newcommand{\bidi@raggedleft}{\if@RTL\raggedright\else\raggedleft\fi} +\def\centerline#1{% +\if@RTL\@@line{\hss\beginR#1\endR\hss} +\else\@@line{\hss#1\hss}\fi} +\def\leftline#1{% +\if@RTL\@@line{\beginR#1\endR\hss} +\else\@@line{#1\hss}\fi} +\def\rightline#1{% +\if@RTL\@@line{\hss\beginR#1\endR} +\else\@@line{\hss#1}\fi} +\let\bidi@orig@leftline\leftline +\let\bidi@orig@rightline\rightline +\def\leftline#1{\ifhmode\if@RTL\bidi@orig@rightline{#1}\else\bidi@orig@leftline{#1}\fi\else\if@bidi@list@minipage@parbox\bidi@orig@rightline{#1}\else\if@RTLtab\bidi@orig@rightline{#1}\else\bidi@orig@leftline{#1}\fi\fi\fi} +\def\rightline#1{\ifhmode\if@RTL\bidi@orig@leftline{#1}\else\bidi@orig@rightline{#1}\fi\else\if@bidi@list@minipage@parbox\bidi@orig@leftline{#1}\else\if@RTLtab\bidi@orig@leftline{#1}\else\bidi@orig@rightline{#1}\fi\fi\fi} +\def\bidirlap#1{\hb@xt@\z@{\if@RTL\hss\fi#1\if@RTL\else\hss\fi}} +\def\bidillap#1{\hb@xt@\z@{\if@RTL\else\hss\fi#1\if@RTL\hss\fi}} +\def\@hangfrom#1{\setbox\@tempboxa\hbox{{#1}}% + \hangindent \if@RTL-\else\fi\wd\@tempboxa\noindent\box\@tempboxa} +\def\narrower{% + \advance\if@RTL\rightskip\else\leftskip\fi\parindent + \advance\if@RTL\leftskip\else\rightskip\fi\parindent} +\def\underline#1{% + \relax + \ifmmode\@@underline{#1}% + \else +\if@RTL $\@@underline{\hbox{\beginR#1\endR}}\m@th$\relax +\else +$\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} +\if@compatibility + \let\undertext=\underline +\fi +\global\@RTLtabfalse +\def\@tabular{\if@RTL\@RTLtabtrue\fi + \leavevmode \hbox \bgroup \if@RTLtab\beginR \fi + $\let\@acol\@tabacol + \let\@classz\@tabclassz + \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} +\def\endtabular{\crcr\egroup\if@RTLtab\egroup\endR\egroup\fi + \egroup $\if@RTLtab\endR\fi\egroup + \@RTLtabfalse} +\expandafter \let \csname endtabular*\endcsname = \endtabular +\def\@array[#1]#2{% + \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi + \bgroup + \setbox\@arstrutbox\hbox{% + \vrule \@height\arraystretch\ht\strutbox + \@depth\arraystretch \dp\strutbox + \@width\z@}% + \@mkpream{#2}% + \edef\@preamble{% + \ialign \noexpand\@halignto + \bgroup \@arstrut \@preamble \tabskip\z@skip \cr}% + \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox + \let\tabularnewline\\% + \let\par\@empty + \let\@sharp##% + \set@typeset@protect + \lineskip\z@skip\baselineskip\z@skip + \ifhmode \@preamerr\z@ \@@par\fi + \if@RTLtab\hbox\bgroup\beginR\vbox\bgroup\fi + \@preamble} +\def\array{\let\@acol\@arrayacol \let\@classz\@arrayclassz + \let\@classiv\@arrayclassiv + \let\\\@arraycr\let\@halignto\@empty\@RTLtabfalse\@tabarray} +\def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4 \else + \ifnum \@lastchclass=3 5 \else + \z@ \if #1c\@chnum \z@ \else + \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else + \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else + \@chclass \if #1|\@ne \else + \if #1@\tw@ \else + \if #1p3 \else \z@ \@preamerr 0\fi + \fi \fi \fi \fi \fi \fi +\fi} +\def\bm@l{\if@RTL\hss\unhbox\@tempboxa\else\unhbox\@tempboxa\hss\fi} +\def\bm@r{\if@RTL\unhbox\@tempboxa\hss\else\hss\unhbox\@tempboxa\fi} +\def\bm@t{\unhbox\@tempboxa\hss} +\def\bm@b{\hss\unhbox\@tempboxa} +\def\@dottedtocline#1#2#3#4#5{% + \ifnum #1>\c@tocdepth \else + \vskip \z@ \@plus.2\p@ + {\if@RTL\rightskip\else\leftskip\fi #2\relax \if@RTL\leftskip\else\rightskip\fi \@tocrmarg \parfillskip -\if@RTL\leftskip\else\rightskip\fi + \parindent #2\relax\@afterindenttrue + \interlinepenalty\@M + \leavevmode + \@tempdima #3\relax + \advance\if@RTL\rightskip\else\leftskip\fi \@tempdima \null\nobreak\hskip -\if@RTL\rightskip\else\leftskip\fi + {#4}\nobreak + \leaders\hbox{$\m@th + \mkern \@dotsep mu\hbox{.}\mkern \@dotsep + mu$}\hfill + \nobreak + \hb@xt@\@pnumwidth{{\hfil\normalfont \normalcolor #5}}% + \par}% + \fi} +\def\RTL@outputdblcol{% +\if@firstcolumn \global\@firstcolumnfalse +\global\setbox\@leftcolumn \box\@outputbox +\else \global\@firstcolumntrue +\setbox\@outputbox \vbox {\hbox to\textwidth {% +\hskip \columnwidth +\hfil \vrule width\columnseprule \hfil +\hbox to\columnwidth {\box\@leftcolumn \hss}% +\hskip -\textwidth +\hbox to\columnwidth{\box\@outputbox \hss}% +\hskip \columnsep +\hskip \columnwidth }}% +\@combinedblfloats \@outputpage +\begingroup \@dblfloatplacement \@startdblcolumn +\@whilesw\if@fcolmade \fi +{\@outputpage \@startdblcolumn }\endgroup +\fi} +\def\LTR@outputdblcol{% + \if@firstcolumn + \global \@firstcolumnfalse + \global \setbox\@leftcolumn \box\@outputbox + \else + \global \@firstcolumntrue + \setbox\@outputbox \vbox {% + \hb@xt@\textwidth {% + \hb@xt@\columnwidth {% + \box\@leftcolumn \hss}% + \hfil + {\normalcolor\vrule \@width\columnseprule}% + \hfil + \hb@xt@\columnwidth {% + \box\@outputbox \hss}% + }% + }% + \@combinedblfloats + \@outputpage + \begingroup + \@dblfloatplacement + \@startdblcolumn + \@whilesw\if@fcolmade \fi + {\@outputpage + \@startdblcolumn}% + \endgroup + \fi +} +\renewcommand{\@outputdblcol}{\if@RTLmain\RTL@outputdblcol\else\LTR@outputdblcol\fi} +\newcommand{\RTLdblcol}{\renewcommand{\@outputdblcol}{\RTL@outputdblcol}} +\newcommand{\LTRdblcol}{\renewcommand{\@outputdblcol}{\LTR@outputdblcol}} +\def\LTRmarginpar{% + \ifhmode + \@bsphack + \@floatpenalty -\@Mii + \else + \@floatpenalty-\@Miii + \fi + \ifinner + \@parmoderr + \@floatpenalty\z@ + \else + \@next\@currbox\@freelist{}{}% + \@next\@marbox\@freelist{\global\count\@marbox\m@ne}% + {\@floatpenalty\z@ + \@fltovf\def\@currbox{\@tempboxa}\def\@marbox{\@tempboxa}}% + \fi + \@ifnextchar [\@LTRxmpar\@LTRympar} +\long\def\@LTRxmpar[#1]#2{% + \@LTRsavemarbox\@marbox{#1}% + \@LTRsavemarbox\@currbox{#2}% + \@xympar} +\long\def\@LTRympar#1{% + \@LTRsavemarbox\@marbox{#1}% + \global\setbox\@currbox\copy\@marbox + \@xympar} +\long\def \@LTRsavemarbox #1#2{% + \global\setbox #1% + \color@vbox + \vtop{% + \hsize\marginparwidth + \@parboxrestore + \@LTRmarginparreset + #2% + \@minipagefalse + \outer@nobreak + }% + \color@endbox +} +\def \@LTRmarginparreset {% + \reset@font + \normalsize + \@minipagetrue + \everypar{\@minipagefalse\everypar{}\beginL}% +} +\def\RTLmarginpar{% + \ifhmode + \@bsphack + \@floatpenalty -\@Mii + \else + \@floatpenalty-\@Miii + \fi + \ifinner + \@parmoderr + \@floatpenalty\z@ + \else + \@next\@currbox\@freelist{}{}% + \@next\@marbox\@freelist{\global\count\@marbox\m@ne}% + {\@floatpenalty\z@ + \@fltovf\def\@currbox{\@tempboxa}\def\@marbox{\@tempboxa}}% + \fi + \@ifnextchar [\@RTLxmpar\@RTLympar} +\long\def\@RTLxmpar[#1]#2{% + \@RTLsavemarbox\@marbox{#1}% + \@RTLsavemarbox\@currbox{#2}% + \@xympar} +\long\def\@RTLympar#1{% + \@RTLsavemarbox\@marbox{#1}% + \global\setbox\@currbox\copy\@marbox + \@xympar} +\long\def \@RTLsavemarbox #1#2{% + \global\setbox #1% + \color@vbox + \vtop{% + \hsize\marginparwidth + \@parboxrestore + \@RTLmarginparreset + #2% + \@minipagefalse + \outer@nobreak + }% + \color@endbox +} +\def \@RTLmarginparreset {% + \reset@font + \normalsize + \@minipagetrue + \everypar{\@minipagefalse\everypar{}\beginR}% +} +\def\@addmarginpar{\@next\@marbox\@currlist{\@cons\@freelist\@marbox + \@cons\@freelist\@currbox}\@latexbug\@tempcnta\@ne + \if@twocolumn + \if@firstcolumn \@tempcnta\m@ne \fi + \else + \if@mparswitch + \ifodd\c@page \else\@tempcnta\m@ne \fi + \fi + \if@reversemargin \@tempcnta -\@tempcnta \fi + \fi + \ifnum\@tempcnta <\z@ \global\setbox\@marbox\box\@currbox \fi + \@tempdima\@mparbottom + \advance\@tempdima -\@pageht + \advance\@tempdima\ht\@marbox + \ifdim\@tempdima >\z@ + \@latex@warning@no@line {Marginpar on page \thepage\space moved}% + \else + \@tempdima\z@ + \fi + \global\@mparbottom\@pageht + \global\advance\@mparbottom\@tempdima + \global\advance\@mparbottom\dp\@marbox + \global\advance\@mparbottom\marginparpush + \advance\@tempdima -\ht\@marbox + \global\setbox \@marbox + \vbox {\vskip \@tempdima + \box \@marbox}% + \global \ht\@marbox \z@ + \global \dp\@marbox \z@ + \kern -\@pagedp + \nointerlineskip + \hb@xt@\columnwidth + {\if@RTL\if@LTRmarginpar\beginL\else\beginR\fi\else\if@RTLmarginpar\beginR\else\beginL\fi\fi\ifnum \@tempcnta >\z@ + \hskip\columnwidth \hskip\marginparsep + \else + \hskip -\marginparsep \hskip -\marginparwidth + \fi + \box\@marbox \hss\if@RTL\if@LTRmarginpar\endL\else\endR\fi\else\if@RTLmarginpar\endR\else\endL\fi\fi}% + \nointerlineskip + \hbox{\vrule \@height\z@ \@width\z@ \@depth\@pagedp}} +\long\def\@ympar#1{% + \@savemarbox\@marbox{\if@RTL\if@LTRmarginpar\@RTLfalse\else\@RTLtrue\fi\else\if@RTLmarginpar\@RTLtrue\else\@RTLfalse\fi\fi#1}% + \global\setbox\@currbox\copy\@marbox + \@xympar} +\def\setRTLmarginpar{\@RTLmarginpartrue\@LTRmarginparfalse} +\def\setLTRmarginpar{\@LTRmarginpartrue\@RTLmarginparfalse} +\def\setdefaultmarginpar{\@RTLmarginparfalse\@LTRmarginparfalse} +\def\@stopline{\unskip\@stopfield\if@rjfield \global\@rjfieldfalse + \@tempdima\@totalleftmargin \advance\@tempdima\linewidth +\hbox to\@tempdima{\if@RTL\beginR\fi\@itemfudge\hskip\dimen\@curtabmar + \box\@curline\hfil\box\@curfield\if@RTL\endR\fi}\else\@addfield + \hbox to\linewidth{\if@RTL\beginR\fi\@itemfudge + \hskip\dimen\@curtabmar\box\@curline\hfil\if@RTL\endR\fi}% +\fi} +\def\@outputpage{% +\begingroup % the \endgroup is put in by \aftergroup + \let \protect \noexpand + \@resetactivechars + \global\let\@@if@newlist\if@newlist + \global\@newlistfalse + \@parboxrestore + \shipout \vbox{% + \set@typeset@protect + \aftergroup \endgroup + \aftergroup \set@typeset@protect + % correct? or just restore by ending + % the group? + \if@specialpage + \global\@specialpagefalse\@nameuse{ps@\@specialstyle}% + \fi + \if@twoside + \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot + \let\@themargin\oddsidemargin + \else \let\@thehead\@evenhead + \let\@thefoot\@evenfoot \let\@themargin\evensidemargin + \fi + \ifx\@thehead\@empty \let\@thehead\hfil \fi + \ifx\@thefoot\@empty \let\@thefoot\hfil \fi + \else %% not @twoside + \ifx\@oddhead\@empty \let\@thehead\hfil \fi + \ifx\@oddfoot\@empty \let\@thefoot\hfil \fi + \fi + \reset@font + \normalsize + \normalsfcodes + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@ + \@begindvi + \vskip \topmargin + \moveright\@themargin \vbox {% + \setbox\@tempboxa \vbox to\headheight{% + \vfil + \color@hbox + \normalcolor + \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thehead\if@RTLmain\endR\else\endL\fi}% + \color@endbox + }% %% 22 Feb 87 + \dp\@tempboxa \z@ + \box\@tempboxa + \vskip \headsep + \box\@outputbox + \baselineskip \footskip + \color@hbox + \normalcolor + \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thefoot\if@RTLmain\endR\else\endL\fi}% + \color@endbox + }% + }% + \global\let\if@newlist\@@if@newlist + \global \@colht \textheight + \stepcounter{page}% + \let\firstmark\botmark +} +\long\def\@makecaption#1#2{% + \vskip\abovecaptionskip + \sbox\@tempboxa{#1: #2}% + \ifdim \wd\@tempboxa >\hsize + \if@RTL\beginR\fi#1: #2\if@RTL\endR\fi\par + \else + \global \@minipagefalse + \hb@xt@\hsize{\if@RTL\beginR\fi\hfil\box\@tempboxa\hfil\if@RTL\endR\fi}% + \fi + \vskip\belowcaptionskip} +\let\bidi@saved@eqno=\eqno +\let\bidi@saved@leqno=\leqno +\def\eqno{\ifnum\predisplaydirection<\z@ \bidi@saved@leqno \else \bidi@saved@eqno \fi} +\def\leqno{\ifnum\predisplaydirection<\z@ \bidi@saved@eqno \else \bidi@saved@leqno \fi} +\@ifpackageloaded{amsmath}{}{ +\def\@eqnnum{{\normalfont \normalcolor \if@RTL\beginR\fi(\theequation)\if@RTL\endR\fi}} +} +\input{footnote-xetex-bidi.def} +\if@twocolumn + \let\autofootnoterule\relax + \let\leftfootnoterule\relax + \let\rightfootnoterule\relax + \textwidthfootnoterule +\fi +\if@bidi@csundef{@idxitem}{}{% +\renewcommand\@idxitem{\par\hangindent \if@RTL-\fi40\p@}% +} +\@ifclassloaded{article}{\@ifclassloaded{svmult}{}{\input{article-xetex-bidi.def}}}{} +\@ifclassloaded{extarticle}{\input{extarticle-xetex-bidi.def}}{} +\@ifclassloaded{artikel1}{\input{artikel1-xetex-bidi.def}}{} +\@ifclassloaded{artikel2}{\input{artikel2-xetex-bidi.def}}{} +\@ifclassloaded{artikel3}{\input{artikel3-xetex-bidi.def}}{} +\@ifclassloaded{amsart}{\input{amsart-xetex-bidi.def}}{} +\@ifclassloaded{letter}{\input{letter-xetex-bidi.def}}{} +\@ifclassloaded{scrlettr}{\input{scrlettr-xetex-bidi.def}}{} +\@ifclassloaded{extletter}{\input{extletter-xetex-bidi.def}}{} +\@ifclassloaded{memoir}{\input{memoir-xetex-bidi.def}}{} +\@ifclassloaded{refrep}{\input{refrep-xetex-bidi.def}}{} +\@ifclassloaded{extreport}{\input{extreport-xetex-bidi.def}}{} +\@ifclassloaded{report}{\@ifpackageloaded{flowfram}{}{\input{report-xetex-bidi.def}}}{} +\@ifclassloaded{rapport1}{\input{rapport1-xetex-bidi.def}}{} +\@ifclassloaded{rapport3}{\input{rapport3-xetex-bidi.def}}{} +\@ifclassloaded{scrartcl}{\input{scrartcl-xetex-bidi.def}}{} +\@ifclassloaded{scrbook}{\input{scrbook-xetex-bidi.def}}{} +\@ifclassloaded{scrreprt}{\input{scrreprt-xetex-bidi.def}}{} +\@ifclassloaded{amsbook}{\input{amsbook-xetex-bidi.def}}{} +\@ifclassloaded{extbook}{\input{extbook-xetex-bidi.def}}{} +\@ifclassloaded{boek}{\input{boek-xetex-bidi.def}}{} +\@ifclassloaded{boek3}{\input{boek3-xetex-bidi.def}}{} +\@ifclassloaded{book}{\@ifpackageloaded{flowfram}{}{\input{book-xetex-bidi.def}}}{} +\@ifclassloaded{bookest}{\input{bookest-xetex-bidi.def}}{} +\@ifclassloaded{combine}{\input{combine-xetex-bidi.def}}{} +\@ifpackageloaded{amsmath}{}{% +\@iftagsloaded{leqno}{\input{leqno-xetex-bidi.def}}{} +\@iftagsloaded{fleqn}{\input{fleqn-xetex-bidi.def}}{} +} +\@ifpackageloaded{mathtools}{\RequirePackage{graphicx}}{} +\@ifpackageloaded{crop}{\RequirePackage{graphicx}}{} +\@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{} +\@ifpackageloaded{floatrow}{\RequirePackage{color}}{} +\@ifpackageloaded{amsmath}{\input{amsmath-xetex-bidi.def}}{} +\@ifpackageloaded{amstext}{\input{amstext-xetex-bidi.def}}{} +\@ifpackageloaded{amsthm}{\input{amsthm-xetex-bidi.def}}{} +\@ifpackageloaded{breqn}{\input{breqn-xetex-bidi.def}}{} +\@ifpackageloaded{cals}{\input{cals-xetex-bidi.def}}{} +\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{} +\@ifpackageloaded{caption3}{\input{caption3-xetex-bidi.def}}{} +\@ifpackageloaded{floatrow}{\input{floatrow-xetex-bidi.def}}{} +\@ifpackageloaded{crop}{\@ifclassloaded{memoir}{}{\input{crop-xetex-bidi.def}}}{} +\@ifpackageloaded{color}{\input{color-xetex-bidi.def}}{} +\@ifpackageloaded{cutwin}{\input{cutwin-xetex-bidi.def}}{} +\@ifpackageloaded{cuted}{\input{cuted-xetex-bidi.def}}{} +\@ifpackageloaded{xcolor}{\input{xcolor-xetex-bidi.def}}{} +\@ifpackageloaded{colortbl}{\input{colortbl-xetex-bidi.def}}{} +\@ifpackageloaded{float}{\@ifpackageloaded{floatrow}{}{\input{float-xetex-bidi.def}}}{} +\@ifpackageloaded{flowfram}{\input{flowfram-xetex-bidi.def}}{} +\@ifpackageloaded{xltxtra}{\input{xltxtra-xetex-bidi.def}}{} +\@ifpackageloaded{wrapfig}{\input{wrapfig-xetex-bidi.def}}{} +\@ifpackageloaded{graphicx}{\input{graphicx-xetex-bidi.def}}{} +\@ifpackageloaded{geometry}{\input{geometry-xetex-bidi.def}}{} +\@ifpackageloaded{hvfloat}{\input{hvfloat-xetex-bidi.def}}{} +\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{} +\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{} +\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{} +\@ifpackageloaded{fancybox}{\input{fancybox-xetex-bidi.def}}{} +\@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{} +\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{} +\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{} +\@ifpackageloaded{midfloat}{\input{midfloat-xetex-bidi.def}}{} +\@ifpackageloaded{draftwatermark}{\input{draftwatermark-xetex-bidi.def}}{} +\@ifpackageloaded{dblfnote}{\input{dblfnote-xetex-bidi.def}}{} +\@ifpackageloaded{eso-pic}{\input{eso-pic-xetex-bidi.def}}{} +\@ifpackageloaded{empheq}{\input{empheq-xetex-bidi.def}}{} +\@ifpackageloaded{framed}{\input{framed-xetex-bidi.def}}{} +\@ifpackageloaded{pdfpages}{\input{pdfpages-xetex-bidi.def}}{} +\@ifpackageloaded{lettrine}{\input{lettrine-xetex-bidi.def}}{} +\@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{} +\@ifpackageloaded{pstricks}{\input{pstricks-xetex-bidi.def}}{} +\@ifpackageloaded{pgf}{\input{pgf-xetex-bidi.def}}{} +\@ifpackageloaded{titlesec}{\input{titlesec-xetex-bidi.def}}{} +\@ifpackageloaded{titletoc}{\input{titletoc-xetex-bidi.def}}{} +\@ifpackageloaded{array}{\input{array-xetex-bidi.def}}{} +\@ifpackageloaded{sidecap}{\input{sidecap-xetex-bidi.def}}{} +\@ifpackagewith{sidecap}{innercaption}{% +\if@RTL \renewcommand*{\SC@FLOAT}[2]{% + \isSC@ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}} + \renewcommand*\SC@justify@caption{% + \isSC@ODD{\RaggedRight}{\RaggedLeft}}\else + \renewcommand*{\SC@FLOAT}[2]{% + \isSC@ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}} + \renewcommand*\SC@justify@caption{% + \isSC@ODD{\RaggedLeft}{\RaggedRight}}\fi +}{} +\@ifpackagewith{sidecap}{rightcaption}{% + \if@RTL\renewcommand*{\SC@FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}} + \def\SC@justify@caption{\RaggedLeft}\else% + \renewcommand*{\SC@FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}} + \def\SC@justify@caption{\RaggedRight}\fi% +}{} +\@ifpackagewith{sidecap}{leftcaption}{% +\if@RTL \renewcommand*{\SC@FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}} + \def\SC@justify@caption{\RaggedRight}\else% + \renewcommand*{\SC@FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}} + \def\SC@justify@caption{\RaggedLeft}\fi% +}{} +\@ifpackageloaded{stabular}{\input{stabular-xetex-bidi.def}}{} +\@ifpackageloaded{subfigure}{\input{subfigure-xetex-bidi.def}}{} +\@ifpackageloaded{longtable}{\input{longtable-xetex-bidi.def}}{} +\@ifpackageloaded{arydshln}{\input{arydshln-xetex-bidi.def}}{} +\@ifpackageloaded{mdframed}{\input{mdframed-xetex-bidi.def}}{} +\@ifpackageloaded{multicol}{\input{multicol-xetex-bidi.def}}{} +\@ifpackageloaded{multienum}{\input{multienum-xetex-bidi.def}}{} +\@ifpackageloaded{natbib}{\input{natbib-xetex-bidi.def}}{} +\@ifpackageloaded{newfloat}{\input{newfloat-xetex-bidi.def}}{} +\@ifpackageloaded{minitoc}{\input{minitoc-xetex-bidi.def}}{} +\@ifpackageloaded{picinpar}{\input{picinpar-xetex-bidi.def}}{} +\@ifpackageloaded{quotchap}{\input{quotchap-xetex-bidi.def}}{} +\@ifpackageloaded{ragged2e}{\input{ragged2e-xetex-bidi.def}}{} +\@ifpackageloaded{rotating}{\input{rotating-xetex-bidi.def}}{} +\@ifpackageloaded{tabls}{\input{tabls-xetex-bidi.def}}{} +\@ifpackageloaded{tabulary}{\input{tabulary-xetex-bidi.def}}{} +\@ifpackageloaded{tocstyle}{\input{tocstyle-xetex-bidi.def}}{} +\@ifpackageloaded{tocbibind}{\@ifclassloaded{memoir}{}{\input{tocbibind-xetex-bidi.def}}}{} +\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xetex-bidi.def}}}{} +%% +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% 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 +%% +%% This work is “maintained” (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% End of file `latex-xetex-bidi.def'. diff --git a/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def index b54ae154c76..79436632640 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/leqno-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `leqno-xetex-bidi.def'. +%% This is file `leqno-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `leqno-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -12,7 +17,7 @@ \rlap{ \hskip -\displaywidth{\normalfont\normalcolor\if@RTL\beginR\fi(\theequation)\if@RTL\endR\fi}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def index 1a0ac1afd47..fdaf4ebdb73 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/letter-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `letter-xetex-bidi.def'. +%% This is file `letter-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `letter-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -32,7 +37,7 @@ \hrule \@width .4\columnwidth \kern .6\p@}\hfil\endR}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def index ab4b6b60ef4..bc49aeca0ef 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/lettrine-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `lettrine-xetex-bidi.def'. +%% This is file `lettrine-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `lettrine-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -97,7 +102,7 @@ \hskip \the\L@Findent}}% \usebox{\L@tbox}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def index e3c7011f0d0..9f67ff14765 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `listings-xetex-bidi.def'. +%% This is file `listings-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `listings-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -17,7 +22,7 @@ \gdef\thelstlisting{\@arabic\c@lstlisting} \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/loadingorder-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/loadingorder-bidi.def deleted file mode 100644 index 48cc2acfb6a..00000000000 --- a/Master/texmf-dist/tex/xelatex/bidi/loadingorder-bidi.def +++ /dev/null @@ -1,289 +0,0 @@ -%% -%% This is file `loadingorder-bidi.def'. -%% -%% ______________________________________ -%% Copyright © 2009–2013 Vafa Khalighi -%% -%% License information appended. -%% -%% -\ProvidesFile{loadingorder-bidi.def}[2013/05/22 v0.95 making sure that bidi is the last package loaded] -\bidi@isloaded{amsmath} -\bidi@isloaded{amstext} -\bidi@isloaded{amsthm} -\bidi@isloaded{breqn} -\bidi@isloaded{cals} -\bidi@isloaded{caption} -\bidi@isloaded{crop} -\bidi@isloaded{cuted} -\bidi@isloaded{cutwin} -\bidi@isloaded{color} -\bidi@isloaded{dblfnote} -\bidi@isloaded{xcolor} -\bidi@isloaded{colortbl} -\bidi@isloaded{float} -\bidi@isloaded{floatrow} -\bidi@isloaded{flowfram} -\bidi@isloaded{framed} -\bidi@isloaded{ftnright} -\bidi@isloaded{xltxtra} -\bidi@isloaded{xunicode} -\bidi@isloaded{wrapfig} -\bidi@isloaded{graphicx} -\bidi@isloaded{geometry} -\bidi@isloaded{hvfloat} -\bidi@isloaded{mdframed} -\bidi@isloaded{midfloat} -\bidi@isloaded{ntheorem} -\bidi@isloaded{ntheorem-hyper} -\bidi@isloaded{hyperref} -\bidi@isloaded{fancybox} -\bidi@isloaded{fancyhdr} -\bidi@isloaded{fix2col} -\bidi@isloaded{draftwatermark} -\bidi@isloaded{empheq} -\bidi@isloaded{pdfpages} -\bidi@isloaded{listings} -\bidi@isloaded{lettrine} -\bidi@isloaded{pstricks} -\bidi@isloaded{pgf} -\bidi@isloaded{picinpar} -\bidi@isloaded{quotchap} -\bidi@isloaded{tikz} -\bidi@isloaded{titlesec} -\bidi@isloaded{titletoc} -\bidi@isloaded{array} -\bidi@isloaded{stabular} -\bidi@isloaded{subfig} -\bidi@isloaded{subfigure} -\bidi@isloaded{supertabular} -\bidi@isloaded{xtab} -\bidi@isloaded{longtable} -\bidi@isloaded{arydshln} -\bidi@isloaded{multicol} -\bidi@isloaded{multienum} -\bidi@isloaded{minitoc} -\bidi@isloaded{natbib} -\bidi@isloaded{newfloat} -\bidi@isloaded{ragged2e} -\bidi@isloaded{rotating} -\bidi@isloaded{tabls} -\bidi@isloaded{tabulary} -\bidi@isloaded{tocstyle} -\bidi@isloaded{tocbibind} -\bidi@isloaded{fontspec} -\bidi@isloaded{arabxetex} -\bidi@isloaded{polyglossia} -\bidi@isloaded{fancyvrb} -\AtBeginDocument{ - \if@bidi@amsmathloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amsmath after bidi package. Please load package amsmath before bidi package, and then try to run xelatex on your document again}{}]{amsmath} - \fi% - \if@bidi@amstextloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amstext after bidi package. Please load package amstext before bidi package, and then try to run xelatex on your document again}{}]{amstext} - \fi% - \if@bidi@amsthmloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amsthm after bidi package. Please load package amsthm before bidi package, and then try to run xelatex on your document again}{}]{amsthm} - \fi% - \if@bidi@breqnloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package breqn after bidi package. Please load package breqn before bidi package, and then try to run xelatex on your document again}{}]{breqn} - \fi% - \if@bidi@calsloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cals after bidi package. Please load package cals before bidi package, and then try to run xelatex on your document again}{}]{cals} - \fi% - \if@bidi@captionloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package caption after bidi package. Please load package caption before bidi package, and then try to run xelatex on your document again}{}]{caption} - \fi% - \if@bidi@croploaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package crop after bidi package. Please load package crop before bidi package, and then try to run xelatex on your document again}{}]{crop} - \fi% - \if@bidi@colorloaded@\else - \@ifpackageloaded{hyperref}{}{% - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package color after bidi package. Please load package color before bidi package, and then try to run xelatex on your document again}{}]{color}} - \fi% - \if@bidi@cutwinloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cutwin after bidi package. Please load package cutwin before bidi package, and then try to run xelatex on your document again}{}]{cutwin} - \fi% - \if@bidi@cutedloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cuted after bidi package. Please load package cuted before bidi package, and then try to run xelatex on your document again}{}]{cuted} - \fi% - \if@bidi@dblfnoteloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package dblfnote after bidi package. Please load package dblfnote before bidi package, and then try to run xelatex on your document again}{}]{dblfnote} - \fi% - \if@bidi@xcolorloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xcolor after bidi package. Please load package xcolor before bidi package, and then try to run xelatex on your document again}{}]{xcolor} - \fi% - \if@bidi@colortblloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package colortbl after bidi package. Please load package colortbl before bidi package, and then try to run xelatex on your document again}{}]{colortbl} - \fi% - \if@bidi@floatloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package float after bidi package. Please load package float before bidi package, and then try to run xelatex on your document again}{}]{float} - \fi% - \if@bidi@floatrowloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package floatrow after bidi package. Please load package floatrow before bidi package, and then try to run xelatex on your document again}{}]{floatrow} - \fi% - \if@bidi@flowframloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package flowfram after bidi package. Please load package flowfram before bidi package, and then try to run xelatex on your document again}{}]{flowfram} - \fi% - \if@bidi@framedloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package framed after bidi package. Please load package framed before bidi package, and then try to run xelatex on your document again}{}]{framed} - \fi% - \if@bidi@ftnrightloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ftnright after bidi package. Please load package ftnright before bidi package, and then try to run xelatex on your document again}{}]{ftnright} - \fi% - \if@bidi@xltxtraloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xltxtra after bidi package. Please load package xltxtra before bidi package, and then try to run xelatex on your document again}{}]{xltxtra} - \fi% - \if@bidi@xunicodeloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xunicode after bidi package. Please load package xunicode before bidi package, and then try to run xelatex on your document again}{}]{xunicode} - \fi% - \if@bidi@wrapfigloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package wrapfig after bidi package. Please load package wrapfig before bidi package, and then try to run xelatex on your document again}{}]{wrapfig} - \fi% - \if@bidi@graphicxloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package graphicx after bidi package. Please load package graphicx before bidi package, and then try to run xelatex on your document again}{}]{graphicx} - \fi% - \if@bidi@geometryloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package geometry after bidi package. Please load package geometry before bidi package, and then try to run xelatex on your document again}{}]{geometry} - \fi% - \if@bidi@hvfloatloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hvfloat after bidi package. Please load package hvfloat before bidi package, and then try to run xelatex on your document again}{}]{hvfloat} - \fi% - \if@bidi@mdframedloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package mdframed after bidi package. Please load package mdframed before bidi package, and then try to run xelatex on your document again}{}]{mdframed} - \fi% - \if@bidi@midfloatloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package midfloat after bidi package. Please load package midfloat before bidi package, and then try to run xelatex on your document again}{}]{midfloat} - \fi% - \if@bidi@ntheoremloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ntheorem after bidi package. Please load package ntheorem before bidi package, and then try to run xelatex on your document again}{}]{ntheorem} - \fi% - \if@bidi@hyperrefloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref} - \fi% - \if@bidi@fancyboxloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancybox after bidi package. Please load package fancybox before bidi package, and then try to run xelatex on your document again}{}]{fancybox} - \fi% - \if@bidi@fancyhdrloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr} - \fi% - \if@bidi@draftwatermarkloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package draftwatermark after bidi package. Please load package draftwatermark before bidi package, and then try to run xelatex on your document again}{}]{draftwatermark} - \fi% - \if@bidi@empheqloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package empheq after bidi package. Please load package empheq before bidi package, and then try to run xelatex on your document again}{}]{empheq} - \fi% - \if@bidi@pdfpagesloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pdfpages after bidi package. Please load package pdfpages before bidi package, and then try to run xelatex on your document again}{}]{pdfpages} - \fi% - \if@bidi@lettrineloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package lettrine after bidi package. Please load package lettrine before bidi package, and then try to run xelatex on your document again}{}]{lettrine} - \fi% - \if@bidi@listingsloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package listings after bidi package. Please load package listings before bidi package, and then try to run xelatex on your document again}{}]{listings} - \fi% - \if@bidi@pstricksloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pstricks after bidi package. Please load package pstricks before bidi package, and then try to run xelatex on your document again}{}]{pstricks} - \fi% - \if@bidi@pgfloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pgf after bidi package. Please load package pgf before bidi package, and then try to run xelatex on your document again}{}]{pgf} - \fi% - \if@bidi@picinparloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package picinpar after bidi package. Please load package picinpar before bidi package, and then try to run xelatex on your document again}{}]{picinpar} - \fi% - \if@bidi@quotchaploaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package quotchap after bidi package. Please load package quotchap before bidi package, and then try to run xelatex on your document again}{}]{quotchap} - \fi% - \if@bidi@tikzloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tikz after bidi package. Please load package tikz before bidi package, and then try to run xelatex on your document again}{}]{tikz} - \fi% - \if@bidi@titlesecloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package titlesec after bidi package. Please load package titlesec before bidi package, and then try to run xelatex on your document again}{}]{titlesec} - \fi% - \if@bidi@titletocloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package titletoc after bidi package. Please load package titletoc before bidi package, and then try to run xelatex on your document again}{}]{titletoc} - \fi% - \if@bidi@arrayloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package array after bidi package. Please load package array before bidi package, and then try to run xelatex on your document again}{}]{array} - \fi% - \if@bidi@stabularloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package stabular after bidi package. Please load package stabular before bidi package, and then try to run xelatex on your document again}{}]{stabular} - \fi% - \if@bidi@subfigloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfig after bidi package. Please load package subfig before bidi package, and then try to run xelatex on your document again}{}]{subfig} - \fi% - \if@bidi@subfigureloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfigure after bidi package. Please load package subfigure before bidi package, and then try to run xelatex on your document again}{}]{subfigure} - \fi% - \if@bidi@supertabularloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package supertabular after bidi package. Please load package supertabular before bidi package, and then try to run xelatex on your document again}{}]{supertabular} - \fi% - \if@bidi@xtabloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xtab after bidi package. Please load package xtab before bidi package, and then try to run xelatex on your document again}{}]{xtab} - \fi% - \if@bidi@longtableloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package longtable after bidi package. Please load package longtable before bidi package, and then try to run xelatex on your document again}{}]{longtable} - \fi% - \if@bidi@arydshlnloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package arydshln after bidi package. Please load package arydshln before bidi package, and then try to run xelatex on your document again}{}]{arydshln} - \fi% - \if@bidi@multicolloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package multicol after bidi package. Please load package multicol before bidi package, and then try to run xelatex on your document again}{}]{multicol} - \fi% - \if@bidi@multienumloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package multienum after bidi package. Please load package multienum before bidi package, and then try to run xelatex on your document again}{}]{multienum} - \fi% - \if@bidi@minitocloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package minitoc after bidi package. Please load package minitoc before bidi package, and then try to run xelatex on your document again}{}]{minitoc} - \fi% - \if@bidi@natbibloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package natbib after bidi package. Please load package natbib before bidi package, and then try to run xelatex on your document again}{}]{natbib} - \fi% - \if@bidi@newfloatloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package newfloat after bidi package. Please load package newfloat before bidi package, and then try to run xelatex on your document again}{}]{newfloat} - \fi% - \csname if@bidi@ragged2eloaded@\endcsname\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ragged2e after bidi package. Please load package ragged2e before bidi package, and then try to run xelatex on your document again}{}]{ragged2e} - \fi% - \if@bidi@rotatingloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package rotating after bidi package. Please load package rotating before bidi package, and then try to run xelatex on your document again}{}]{rotating} - \fi% - \if@bidi@tablsloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tabls after bidi package. Please load package tabls before bidi package, and then try to run xelatex on your document again}{}]{tabls} - \fi% - \if@bidi@tabularyloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tabulary after bidi package. Please load package tabulary before bidi package, and then try to run xelatex on your document again}{}]{tabulary} - \fi% - \if@bidi@tocstyleloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tocstyle after bidi package. Please load package tocstyle before bidi package, and then try to run xelatex on your document again}{}]{tocstyle} - \fi% - \if@bidi@tocbibindloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tocbibind after bidi package. Please load package tocbibind before bidi package, and then try to run xelatex on your document again}{}]{tocbibind} - \fi% - \if@bidi@fontspecloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fontspec after bidi package. Please load package fontspec before bidi package, and then try to run xelatex on your document again}{}]{fontspec} - \fi% - \if@bidi@arabxetexloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package arabxetex after bidi package. Please load package arabxetex before bidi package, and then try to run xelatex on your document again}{}]{arabxetex} - \fi% - \if@bidi@polyglossialoaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package polyglossia after bidi package. Please load package polyglossia before bidi package, and then try to run xelatex on your document again}{}]{polyglossia} - \fi% - \if@bidi@fancyvrbloaded@\else - \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyvrb after bidi package. Please load package fancyvrb before bidi package, and then try to run xelatex on your document again}{}]{fancyvrb} - \fi% -} -%% -%% Copyright © 2009–2013 Vafa Khalighi -%% -%% 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 -%% -%% This work is “maintained” (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% End of file `loadingorder-bidi.def'. diff --git a/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def new file mode 100644 index 00000000000..c621320b8ed --- /dev/null +++ b/Master/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def @@ -0,0 +1,294 @@ +%% +%% This is file `loadingorder-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `loadingorder-xetex-bidi.def') +%% +%% ______________________________________ +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{loadingorder-xetex-bidi.def}[2013/05/22 v0.95 making sure that bidi is the last package loaded] +\bidi@isloaded{amsmath} +\bidi@isloaded{amstext} +\bidi@isloaded{amsthm} +\bidi@isloaded{breqn} +\bidi@isloaded{cals} +\bidi@isloaded{caption} +\bidi@isloaded{crop} +\bidi@isloaded{cuted} +\bidi@isloaded{cutwin} +\bidi@isloaded{color} +\bidi@isloaded{dblfnote} +\bidi@isloaded{xcolor} +\bidi@isloaded{colortbl} +\bidi@isloaded{float} +\bidi@isloaded{floatrow} +\bidi@isloaded{flowfram} +\bidi@isloaded{framed} +\bidi@isloaded{ftnright} +\bidi@isloaded{xltxtra} +\bidi@isloaded{xunicode} +\bidi@isloaded{wrapfig} +\bidi@isloaded{graphicx} +\bidi@isloaded{geometry} +\bidi@isloaded{hvfloat} +\bidi@isloaded{mdframed} +\bidi@isloaded{midfloat} +\bidi@isloaded{ntheorem} +\bidi@isloaded{ntheorem-hyper} +\bidi@isloaded{hyperref} +\bidi@isloaded{fancybox} +\bidi@isloaded{fancyhdr} +\bidi@isloaded{fix2col} +\bidi@isloaded{draftwatermark} +\bidi@isloaded{empheq} +\bidi@isloaded{pdfpages} +\bidi@isloaded{listings} +\bidi@isloaded{lettrine} +\bidi@isloaded{pstricks} +\bidi@isloaded{pgf} +\bidi@isloaded{picinpar} +\bidi@isloaded{quotchap} +\bidi@isloaded{tikz} +\bidi@isloaded{titlesec} +\bidi@isloaded{titletoc} +\bidi@isloaded{array} +\bidi@isloaded{stabular} +\bidi@isloaded{subfig} +\bidi@isloaded{subfigure} +\bidi@isloaded{supertabular} +\bidi@isloaded{xtab} +\bidi@isloaded{longtable} +\bidi@isloaded{arydshln} +\bidi@isloaded{multicol} +\bidi@isloaded{multienum} +\bidi@isloaded{minitoc} +\bidi@isloaded{natbib} +\bidi@isloaded{newfloat} +\bidi@isloaded{ragged2e} +\bidi@isloaded{rotating} +\bidi@isloaded{tabls} +\bidi@isloaded{tabulary} +\bidi@isloaded{tocstyle} +\bidi@isloaded{tocbibind} +\bidi@isloaded{fontspec} +\bidi@isloaded{arabxetex} +\bidi@isloaded{polyglossia} +\bidi@isloaded{fancyvrb} +\AtBeginDocument{ + \if@bidi@amsmathloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amsmath after bidi package. Please load package amsmath before bidi package, and then try to run xelatex on your document again}{}]{amsmath} + \fi% + \if@bidi@amstextloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amstext after bidi package. Please load package amstext before bidi package, and then try to run xelatex on your document again}{}]{amstext} + \fi% + \if@bidi@amsthmloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package amsthm after bidi package. Please load package amsthm before bidi package, and then try to run xelatex on your document again}{}]{amsthm} + \fi% + \if@bidi@breqnloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package breqn after bidi package. Please load package breqn before bidi package, and then try to run xelatex on your document again}{}]{breqn} + \fi% + \if@bidi@calsloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cals after bidi package. Please load package cals before bidi package, and then try to run xelatex on your document again}{}]{cals} + \fi% + \if@bidi@captionloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package caption after bidi package. Please load package caption before bidi package, and then try to run xelatex on your document again}{}]{caption} + \fi% + \if@bidi@croploaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package crop after bidi package. Please load package crop before bidi package, and then try to run xelatex on your document again}{}]{crop} + \fi% + \if@bidi@colorloaded@\else + \@ifpackageloaded{hyperref}{}{% + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package color after bidi package. Please load package color before bidi package, and then try to run xelatex on your document again}{}]{color}} + \fi% + \if@bidi@cutwinloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cutwin after bidi package. Please load package cutwin before bidi package, and then try to run xelatex on your document again}{}]{cutwin} + \fi% + \if@bidi@cutedloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package cuted after bidi package. Please load package cuted before bidi package, and then try to run xelatex on your document again}{}]{cuted} + \fi% + \if@bidi@dblfnoteloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package dblfnote after bidi package. Please load package dblfnote before bidi package, and then try to run xelatex on your document again}{}]{dblfnote} + \fi% + \if@bidi@xcolorloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xcolor after bidi package. Please load package xcolor before bidi package, and then try to run xelatex on your document again}{}]{xcolor} + \fi% + \if@bidi@colortblloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package colortbl after bidi package. Please load package colortbl before bidi package, and then try to run xelatex on your document again}{}]{colortbl} + \fi% + \if@bidi@floatloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package float after bidi package. Please load package float before bidi package, and then try to run xelatex on your document again}{}]{float} + \fi% + \if@bidi@floatrowloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package floatrow after bidi package. Please load package floatrow before bidi package, and then try to run xelatex on your document again}{}]{floatrow} + \fi% + \if@bidi@flowframloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package flowfram after bidi package. Please load package flowfram before bidi package, and then try to run xelatex on your document again}{}]{flowfram} + \fi% + \if@bidi@framedloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package framed after bidi package. Please load package framed before bidi package, and then try to run xelatex on your document again}{}]{framed} + \fi% + \if@bidi@ftnrightloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ftnright after bidi package. Please load package ftnright before bidi package, and then try to run xelatex on your document again}{}]{ftnright} + \fi% + \if@bidi@xltxtraloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xltxtra after bidi package. Please load package xltxtra before bidi package, and then try to run xelatex on your document again}{}]{xltxtra} + \fi% + \if@bidi@xunicodeloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xunicode after bidi package. Please load package xunicode before bidi package, and then try to run xelatex on your document again}{}]{xunicode} + \fi% + \if@bidi@wrapfigloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package wrapfig after bidi package. Please load package wrapfig before bidi package, and then try to run xelatex on your document again}{}]{wrapfig} + \fi% + \if@bidi@graphicxloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package graphicx after bidi package. Please load package graphicx before bidi package, and then try to run xelatex on your document again}{}]{graphicx} + \fi% + \if@bidi@geometryloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package geometry after bidi package. Please load package geometry before bidi package, and then try to run xelatex on your document again}{}]{geometry} + \fi% + \if@bidi@hvfloatloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hvfloat after bidi package. Please load package hvfloat before bidi package, and then try to run xelatex on your document again}{}]{hvfloat} + \fi% + \if@bidi@mdframedloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package mdframed after bidi package. Please load package mdframed before bidi package, and then try to run xelatex on your document again}{}]{mdframed} + \fi% + \if@bidi@midfloatloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package midfloat after bidi package. Please load package midfloat before bidi package, and then try to run xelatex on your document again}{}]{midfloat} + \fi% + \if@bidi@ntheoremloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ntheorem after bidi package. Please load package ntheorem before bidi package, and then try to run xelatex on your document again}{}]{ntheorem} + \fi% + \if@bidi@hyperrefloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package hyperref after bidi package. Please load package hyperref before bidi package, and then try to run xelatex on your document again}{}]{hyperref} + \fi% + \if@bidi@fancyboxloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancybox after bidi package. Please load package fancybox before bidi package, and then try to run xelatex on your document again}{}]{fancybox} + \fi% + \if@bidi@fancyhdrloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyhdr after bidi package. Please load package fancyhdr before bidi package, and then try to run xelatex on your document again}{}]{fancyhdr} + \fi% + \if@bidi@draftwatermarkloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package draftwatermark after bidi package. Please load package draftwatermark before bidi package, and then try to run xelatex on your document again}{}]{draftwatermark} + \fi% + \if@bidi@empheqloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package empheq after bidi package. Please load package empheq before bidi package, and then try to run xelatex on your document again}{}]{empheq} + \fi% + \if@bidi@pdfpagesloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pdfpages after bidi package. Please load package pdfpages before bidi package, and then try to run xelatex on your document again}{}]{pdfpages} + \fi% + \if@bidi@lettrineloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package lettrine after bidi package. Please load package lettrine before bidi package, and then try to run xelatex on your document again}{}]{lettrine} + \fi% + \if@bidi@listingsloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package listings after bidi package. Please load package listings before bidi package, and then try to run xelatex on your document again}{}]{listings} + \fi% + \if@bidi@pstricksloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pstricks after bidi package. Please load package pstricks before bidi package, and then try to run xelatex on your document again}{}]{pstricks} + \fi% + \if@bidi@pgfloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package pgf after bidi package. Please load package pgf before bidi package, and then try to run xelatex on your document again}{}]{pgf} + \fi% + \if@bidi@picinparloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package picinpar after bidi package. Please load package picinpar before bidi package, and then try to run xelatex on your document again}{}]{picinpar} + \fi% + \if@bidi@quotchaploaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package quotchap after bidi package. Please load package quotchap before bidi package, and then try to run xelatex on your document again}{}]{quotchap} + \fi% + \if@bidi@tikzloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tikz after bidi package. Please load package tikz before bidi package, and then try to run xelatex on your document again}{}]{tikz} + \fi% + \if@bidi@titlesecloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package titlesec after bidi package. Please load package titlesec before bidi package, and then try to run xelatex on your document again}{}]{titlesec} + \fi% + \if@bidi@titletocloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package titletoc after bidi package. Please load package titletoc before bidi package, and then try to run xelatex on your document again}{}]{titletoc} + \fi% + \if@bidi@arrayloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package array after bidi package. Please load package array before bidi package, and then try to run xelatex on your document again}{}]{array} + \fi% + \if@bidi@stabularloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package stabular after bidi package. Please load package stabular before bidi package, and then try to run xelatex on your document again}{}]{stabular} + \fi% + \if@bidi@subfigloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfig after bidi package. Please load package subfig before bidi package, and then try to run xelatex on your document again}{}]{subfig} + \fi% + \if@bidi@subfigureloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package subfigure after bidi package. Please load package subfigure before bidi package, and then try to run xelatex on your document again}{}]{subfigure} + \fi% + \if@bidi@supertabularloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package supertabular after bidi package. Please load package supertabular before bidi package, and then try to run xelatex on your document again}{}]{supertabular} + \fi% + \if@bidi@xtabloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package xtab after bidi package. Please load package xtab before bidi package, and then try to run xelatex on your document again}{}]{xtab} + \fi% + \if@bidi@longtableloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package longtable after bidi package. Please load package longtable before bidi package, and then try to run xelatex on your document again}{}]{longtable} + \fi% + \if@bidi@arydshlnloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package arydshln after bidi package. Please load package arydshln before bidi package, and then try to run xelatex on your document again}{}]{arydshln} + \fi% + \if@bidi@multicolloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package multicol after bidi package. Please load package multicol before bidi package, and then try to run xelatex on your document again}{}]{multicol} + \fi% + \if@bidi@multienumloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package multienum after bidi package. Please load package multienum before bidi package, and then try to run xelatex on your document again}{}]{multienum} + \fi% + \if@bidi@minitocloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package minitoc after bidi package. Please load package minitoc before bidi package, and then try to run xelatex on your document again}{}]{minitoc} + \fi% + \if@bidi@natbibloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package natbib after bidi package. Please load package natbib before bidi package, and then try to run xelatex on your document again}{}]{natbib} + \fi% + \if@bidi@newfloatloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package newfloat after bidi package. Please load package newfloat before bidi package, and then try to run xelatex on your document again}{}]{newfloat} + \fi% + \csname if@bidi@ragged2eloaded@\endcsname\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package ragged2e after bidi package. Please load package ragged2e before bidi package, and then try to run xelatex on your document again}{}]{ragged2e} + \fi% + \if@bidi@rotatingloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package rotating after bidi package. Please load package rotating before bidi package, and then try to run xelatex on your document again}{}]{rotating} + \fi% + \if@bidi@tablsloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tabls after bidi package. Please load package tabls before bidi package, and then try to run xelatex on your document again}{}]{tabls} + \fi% + \if@bidi@tabularyloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tabulary after bidi package. Please load package tabulary before bidi package, and then try to run xelatex on your document again}{}]{tabulary} + \fi% + \if@bidi@tocstyleloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tocstyle after bidi package. Please load package tocstyle before bidi package, and then try to run xelatex on your document again}{}]{tocstyle} + \fi% + \if@bidi@tocbibindloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package tocbibind after bidi package. Please load package tocbibind before bidi package, and then try to run xelatex on your document again}{}]{tocbibind} + \fi% + \if@bidi@fontspecloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fontspec after bidi package. Please load package fontspec before bidi package, and then try to run xelatex on your document again}{}]{fontspec} + \fi% + \if@bidi@arabxetexloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package arabxetex after bidi package. Please load package arabxetex before bidi package, and then try to run xelatex on your document again}{}]{arabxetex} + \fi% + \if@bidi@polyglossialoaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package polyglossia after bidi package. Please load package polyglossia before bidi package, and then try to run xelatex on your document again}{}]{polyglossia} + \fi% + \if@bidi@fancyvrbloaded@\else + \bidi@isloaded[\PackageError{bidi}{Oops! you have loaded package fancyvrb after bidi package. Please load package fancyvrb before bidi package, and then try to run xelatex on your document again}{}]{fancyvrb} + \fi% +} +%% +%% Copyright © 2009–2013 Vafa Khalighi +%% +%% 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 +%% +%% This work is “maintained” (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% End of file `loadingorder-xetex-bidi.def'. diff --git a/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def index cceec35a2dc..00071210479 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/longtable-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `longtable-xetex-bidi.def'. +%% This is file `longtable-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `longtable-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -86,7 +91,7 @@ \edef\@tempa{\the\LT@p@ftn\noexpand\RTLfootnotetext[\the\c@footnote]}% \global\LT@p@ftn\expandafter{\@tempa{#1}}}% %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def index 52c1a849dca..17c28dfed99 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/mdframed-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `mdframed-xetex-bidi.def'. +%% This is file `mdframed-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `mdframed-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -7,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{mdframed-xetex-bidi.def}[2013/09/17 v0.4 bidi adaptations for mdframed package for XeTeX engine] +\ProvidesFile{mdframed-xetex-bidi.def}[2013/09/22 v0.4 bidi adaptations for mdframed package for XeTeX engine] \newif\if@bidi@mdf@RTL \def\mdf@lrbox#1{% \mdf@patchamsthm%patch amsthm @@ -82,7 +87,7 @@ \let\@RTLfootnotetext\@mpRTLfootnotetext% } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def index a551bb7946a..19f17ba8b42 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/memoir-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `memoir-xetex-bidi.def'. +%% This is file `memoir-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `memoir-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -164,7 +169,7 @@ \if@RTL\if@LTRbibitems\@RTLfalse\else\fi\else\if@RTLbibitems\@RTLtrue\else\fi\fi \begin{bibitemlist}{#1}}{\end{bibitemlist}\postbibhook} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def index 30f498084f1..9d47f0568df 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/midfloat-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `midfloat-xetex-bidi.def'. +%% This is file `midfloat-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `midfloat-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -208,7 +213,7 @@ \fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def index f82eacc907f..698773e3d85 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/minitoc-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `minitoc-xetex-bidi.def'. +%% This is file `minitoc-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `minitoc-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -46,7 +51,7 @@ \par}% \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def index b07a9067c3a..bbce8fb9032 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/multicol-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `multicol-xetex-bidi.def'. +%% This is file `multicol-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `multicol-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -112,7 +117,7 @@ \def\textwidth@footnoterule{\kern-3\p@ \hrule \@width \textwidth \kern 2.6\p@} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def index 3f3125a9c64..b93eac00658 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/multienum-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `multienum-xetex-bidi.def'. +%% This is file `multienum-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `multienum-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -75,7 +80,7 @@ \parbox[t]{\labelwidth}{\hfill{\labelname}}\hskip\labelsep \parbox[t]{\remainxoxx}{\bidi@raggedright #3}\smallskip} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def index 0048dea3bad..b2f0ac9a1d6 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/natbib-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `natbib-xetex-bidi.def'. +%% This is file `natbib-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `natbib-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -35,7 +40,7 @@ \bibcleanup }% %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def index c78fee680e2..13f1f2a5b2e 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/newfloat-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `newfloat-xetex-bidi.def'. +%% This is file `newfloat-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `newfloat-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -46,7 +51,7 @@ \fi \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def index 2049a145ac7..883ada2d9a2 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/ntheorem-hyper-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `ntheorem-hyper-xetex-bidi.def'. +%% This is file `ntheorem-hyper-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `ntheorem-hyper-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -28,7 +33,7 @@ \if@RTL\parshape \@ne 0pt \linewidth\else \parshape \@ne \@totalleftmargin \linewidth\fi \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def index 8b465544cdf..2fb02d13acf 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/ntheorem-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `ntheorem-xetex-bidi.def'. +%% This is file `ntheorem-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `ntheorem-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -29,7 +34,7 @@ \if@RTL\parshape \@ne 0pt \linewidth\else \parshape \@ne \@totalleftmargin \linewidth\fi \@ifnextchar[{\@ythm{#1}{#2}{#3}}{\@xthm{#1}{#2}{#3}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def index 9da0a154bca..3d6b0d4860f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/pdfpages-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `pdfpages-xetex-bidi.def'. +%% This is file `pdfpages-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `pdfpages-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -56,7 +61,7 @@ \AM@ClearShipoutPicture } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def index 8af519936d4..c812976599c 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `pgf-xetex-bidi.def'. +%% This is file `pgf-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `pgf-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -13,7 +18,7 @@ \def\pgfpicture{\ifmmode\else\LTR\beginL\fi\origin@pgfpicture} \def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endL\endLTR\fi}% %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def index 39f382846df..7d2d4bc4542 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/picinpar-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `picinpar-xetex-bidi.def'. +%% This is file `picinpar-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `picinpar-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -114,7 +119,7 @@ to\rtside{\box\bslice\hfil}} \repeat }% FINITO %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def index d359fbdc04b..10c4f4c7331 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/plain-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `plain-xetex-bidi.def'. +%% This is file `plain-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `plain-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -57,8 +62,6 @@ \def\endLTR{\par} \def\RTL{\par\@RTLtrue\@RTL@footnotetrue\hsize\linewidth\parshape\z@} \def\endRTL{\par} -\def\@ltr{\if@RTL\par\@RTLfalse\@RTL@footnotefalse\fi} -\def\@rtl{\if@RTL\relax\else\par\@RTLtrue\@RTL@footnotetrue\fi} \def\setRTL{\@RTLtrue\@RTL@footnotetrue} \def\setLTR{\@RTLfalse\@RTL@footnotefalse} \let\unsetRTL=\setLTR @@ -77,10 +80,14 @@ \def\reset@dir{\ifx\saved@@dir\@@RTL\setRTL\else\ifx\saved@@dir\@@LTR\setLTR\else\relax\fi\fi} \let\@@TeX\TeX \def\TeX{\@ensure@LTR{\@@TeX}} -\def\reflect#1{{\setbox0=\hbox{#1}\rlap{\kern0.5\wd0 - \special{x:gsave}\special{x:scale -1 1}}\box0 \special{x:grestore}}} +\long\def\bidi@reflect@box#1{% + \leavevmode + \setbox\z@\hbox{{#1}}% + \setbox\tw@\hbox{\special{x:gsave}\special{x:scale -1 1}\rlap{\copy\z@}\special{x:grestore}}% + \hbox to \wd\z@{\kern\wd\z@\box\tw@\hss}% +} \def\XeTeX{\LR{\leavevmode$\smash{\hbox{X\lower.5ex - \hbox{\kern-.125em\reflect{E}}\kern-.1667em \TeX}}$}} + \hbox{\kern-.125em\bidi@reflect@box{E}}\kern-.1667em \TeX}}$}} \let\setRL=\setRTL \let\setLR=\setLTR \let\unsetRL=\setLTR @@ -92,7 +99,7 @@ \def\leftline#1{\line{\if@RTL\beginR\fi#1\if@RTL\endR\fi\hss}} \def\rightline#1{\line{\hss\if@RTL\beginR\fi#1\if@RTL\endR\fi}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def index d853f8e638b..33fd9cfb7b4 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `pstricks-xetex-bidi.def'. +%% This is file `pstricks-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `pstricks-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -13,7 +18,7 @@ \def\pspicture{\ifmmode\else\LTR\beginL\fi\origin@pspicture} \def\endpspicture{\origin@endpspicture\ifmmode\else\endL\endLTR\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def index 73d59c67b63..00712d255ac 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/quotchap-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `quotchap-xetex-bidi.def'. +%% This is file `quotchap-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `quotchap-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -24,7 +29,7 @@ \vbox to\z@{\leavevmode\copy\@quotebox\vss} \global\let\@printcites\relax} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def index 1e4da3f9221..7094dbac685 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/ragged2e-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `ragged2e-xetex-bidi.def'. +%% This is file `ragged2e-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `ragged2e-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -94,7 +99,7 @@ \def\RaggedLeft{\if@RTL\origin@RaggedRight\else\origin@RaggedLeft\fi} \def\RaggedRight{\if@RTL\origin@RaggedLeft\else\origin@RaggedRight\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def index 6a42165241f..76cd6b97c06 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/rapport1-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `rapport1-xetex-bidi.def'. +%% This is file `rapport1-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `rapport1-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -265,7 +270,7 @@ \vskip 1.5em} \fi %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def index a52abe1f319..addd3312063 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/rapport3-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `rapport3-xetex-bidi.def'. +%% This is file `rapport3-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `rapport3-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -287,7 +292,7 @@ \hyphenpenalty=\@M \exhyphenpenalty=\@M \if@RTL\leftskip\else\rightskip\fi=0cm plus .7\hsize\relax} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def index 1ebe7cb9d45..4d0381ea3e5 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/refrep-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `refrep-xetex-bidi.def'. +%% This is file `refrep-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `refrep-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -191,7 +196,7 @@ {\@latex@warning{Empty `thebibliography' environment}}% \endlist} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def index db3997374ef..90afcd4c668 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/report-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `report-xetex-bidi.def'. +%% This is file `report-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `report-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -212,7 +217,7 @@ {\@latex@warning{Empty `thebibliography' environment}}% \endlist} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def index ab2deefefa0..2bc41773306 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/rotating-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `rotating-xetex-bidi.def'. +%% This is file `rotating-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `rotating-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -137,7 +142,7 @@ \ifmmode\else\if@RTL\beginL\fi\fi\Grot@box\ifmmode\else\if@RTL\endL\fi\fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def index 170175feb4f..e463dff61f1 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/scrartcl-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `scrartcl-xetex-bidi.def'. +%% This is file `scrartcl-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `scrartcl-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -476,7 +481,7 @@ \fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def index 62907bba8f8..3da8e1f2914 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/scrbook-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `scrbook-xetex-bidi.def'. +%% This is file `scrbook-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `scrbook-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -532,7 +537,7 @@ \fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def index 9f02ecf899b..8b90bd44644 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/scrlettr-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `scrlettr-xetex-bidi.def'. +%% This is file `scrlettr-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `scrlettr-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -118,7 +123,7 @@ \fromsig\strut}\par \vspace{1.5\baselineskip}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def index 7dbeb020da0..6a4e5f2e1c2 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/scrreprt-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `scrreprt-xetex-bidi.def'. +%% This is file `scrreprt-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `scrreprt-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -489,7 +494,7 @@ \fi } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def index b13ebdb6053..12846b584cb 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/sidecap-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `sidecap-xetex-bidi.def'. +%% This is file `sidecap-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `sidecap-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -15,7 +20,7 @@ \isSC@ODD{\RaggedLeft}{\RaggedRight}\else% \isSC@ODD{\RaggedRight}{\RaggedLeft}\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def index c32c70a06bf..4f04fa949f8 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/stabular-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `stabular-xetex-bidi.def'. +%% This is file `stabular-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `stabular-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -35,7 +40,7 @@ \if@RTLtab\hbox\bgroup\beginR\vbox\bgroup\fi \@preamble} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def index e111144745b..b27c78ade7a 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/subfigure-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `subfigure-xetex-bidi.def'. +%% This is file `subfigure-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `subfigure-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -13,7 +18,7 @@ \let\p@subtable=\thetable% } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def index 2c44238a831..d9aab3ed88f 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/tabls-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `tabls-xetex-bidi.def'. +%% This is file `tabls-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `tabls-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -43,7 +48,7 @@ \if@RTLtab\hbox\bgroup\beginR\vbox\bgroup\fi \@preamble} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def index 388e69f90f8..3b7b52dea42 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/tabulary-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `tabulary-xetex-bidi.def'. +%% This is file `tabulary-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `tabulary-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -38,7 +43,7 @@ \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi\fi \fi \fi\fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def index 23939b7b8b8..1d8e556fc82 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/titlesec-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `titlesec-xetex-bidi.def'. +%% This is file `titlesec-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `titlesec-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -37,7 +42,7 @@ \nobreak\ttl@midlongest#5\@@par}% \ttl@endlongest} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def index 7a80217c4d5..e644cb3a7cd 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/titletoc-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `titletoc-xetex-bidi.def'. +%% This is file `titletoc-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `titletoc-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -57,7 +62,7 @@ \let\ttl@savel@chapter\l@chapter \def\l@chapter{\ttl@lselect{chapter}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def index 47a32b7efa8..e1a300c7931 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/tocbibind-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `tocbibind-xetex-bidi.def'. +%% This is file `tocbibind-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `tocbibind-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -88,7 +93,7 @@ {\if@restonecol\onecolumn\else\clearpage\fi} \fi %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def index 1d0057a66c6..6faad9644d2 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/tocloft-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `tocloft-xetex-bidi.def'. +%% This is file `tocloft-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `tocloft-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -316,7 +321,7 @@ \if@RTL\leftskip\else\rightskip\fi \@tocrmarg\relax \textit{#1}\protect\par}}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def index e72bd8a0740..8089deee5e2 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/tocstyle-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `tocstyle-xetex-bidi.def'. +%% This is file `tocstyle-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `tocstyle-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -254,7 +259,7 @@ \@tempa } %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def index 227757ce278..9e67069a270 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/wrapfig-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `wrapfig-xetex-bidi.def'. +%% This is file `wrapfig-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `wrapfig-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -84,7 +89,7 @@ \aftergroup\WF@startwrapping % after the \endgroup which immediately follows \fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def index 61671f0d514..e145a07e015 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/xcolor-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `xcolor-xetex-bidi.def'. +%% This is file `xcolor-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `xcolor-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -112,7 +117,7 @@ {\@ifxempty{#3}{\bidicolor#1}{\bidicolor#3}{#4}}} \def\color@setgroup{\begingroup\ifhmode\if@RTL\beginL\aftergroup\endR\fi\fi\set@color\ifhmode\if@RTL\beginR\aftergroup\endL\fi\fi} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/tex/xelatex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/xetex-bidi.def deleted file mode 100644 index 130a3c3c116..00000000000 --- a/Master/texmf-dist/tex/xelatex/bidi/xetex-bidi.def +++ /dev/null @@ -1,777 +0,0 @@ -%% -%% This is file `xetex-bidi.def'. -%% -%% ______________________________________ -%% Copyright © 2009–2013 Vafa Khalighi -%% -%% License information appended. -%% -%% -\ProvidesFile{xetex-bidi.def}[2013/05/22 v1.1.3 bidi adaptations for XeTeX engine] -\newcommand{\TeXXeTOn}{\TeXXeTstate=1 } -\newcommand{\TeXXeTOff}{\TeXXeTstate=0 } -\TeXXeTOn -\def\bidi@RTL@everypar{\if@RTL{\setbox\z@\lastbox\beginR\ifvoid\z@\else\usebox\z@\fi}\fi} - \let\bidi@o@everypar=\everypar - \newtoks\bidi@n@everypar - \bidi@n@everypar\expandafter{\the\bidi@o@everypar} - \bidi@o@everypar{\bidi@RTL@everypar\the\bidi@n@everypar} - \let\everypar=\bidi@n@everypar -\def\moreLRE{\bracetext \aftergroup\endL \beginL\@RTLfalse} -\def\moreRLE{\bracetext \aftergroup\endR \beginR\@RTLtrue} -\protected\def\hboxR{\hbox\bgroup - \everyhbox{% - \aftergroup\egroup - \everyhbox{}% - \beginR - \bgroup - \aftergroup\endR - \aftergroup\egroup - }\hbox} -\protected\def\hboxL{\hbox\bgroup - \everyhbox{% - \aftergroup\egroup - \everyhbox{}% - \beginL - \bgroup - \aftergroup\endL - \aftergroup\egroup - }\hbox} -\protected\def\vboxR{\vbox\bgroup - \everyvbox{% - \aftergroup\egroup - \everyvbox{}% - \@RTLtrue - \bgroup - \aftergroup\egroup - }\vbox} -\protected\def\vboxL{\vbox\bgroup - \everyvbox{% - \aftergroup\egroup - \everyvbox{}% - \@RTLfalse - \bgroup - \aftergroup\egroup - }\vbox} -\def\LTR{\par\@RTLfalse\@RTL@footnotefalse\if@bidi@list@minipage@parbox\beginL\else\if@RTLtab\beginL\fi\fi\hsize\linewidth\parshape\z@} -\def\endLTR{\par} -\def\RTL{\par\@RTLtrue\@RTL@footnotetrue\hsize\linewidth\parshape\z@} -\def\endRTL{\par} -\def\@ltr{\if@RTL\par\@RTLfalse\@RTL@footnotefalse\fi} -\def\@rtl{\if@RTL\relax\else\par\@RTLtrue\@RTL@footnotetrue\fi} -\def\setRTL{\@RTLtrue\@RTL@footnotetrue} -\def\setLTR{\@RTLfalse\@RTL@footnotefalse\if@bidi@list@minipage@parbox\beginL\else\if@RTLtab\beginL\fi\fi} -\let\unsetRTL=\setLTR -\let\unsetLTR=\setRTL -\let\LR=\LRE -\let\RL=\RLE -\def\@ensure@RTL#1{\if@RTL#1\else\RLE{#1}\fi} -\def\@ensure@LTR#1{\if@RTL\LRE{#1}\else#1\fi} -\let\@ensure@RL=\@ensure@RTL -\let\@ensure@LR=\@ensure@LTR -\def\@ensure@dir#1{\if@RTL\RLE{#1}\else{#1}\fi} -\let\@ensure@maindir=\@ensure@dir -\def\@@RTL{RTL} -\def\@@LTR{LTR} -\def\save@dir{\if@RTL\gdef\saved@@dir{RTL}\else\gdef\saved@@dir{LTR}\fi} -\def\reset@dir{\ifx\saved@@dir\@@RTL\setRTL\else\ifx\saved@@dir\@@LTR\setLTR\else\relax\fi\fi} -\let\@@TeX\TeX -\def\TeX{\@ensure@LTR{\@@TeX}} -\let\@@LaTeX\LaTeX -\def\LaTeX{\@ensure@LTR{\@@LaTeX}} -\let\@@LaTeXe\LaTeXe -\def\LaTeXe{\@ensure@LTR{\@@LaTeXe}} -\def\reflect#1{{\setbox0=\hbox{#1}\rlap{\kern0.5\wd0 - \special{x:gsave}\special{x:scale -1 1}}\box0 \special{x:grestore}}} -\def\XeTeX{\LR{\leavevmode$\smash{\hbox{X\lower.5ex - \hbox{\kern-.125em\reflect{E}}\kern-.1667em \TeX}}$}} -\def\XeLaTeX{\LR{\leavevmode$\smash{\hbox{X\lower.5ex - \hbox{\kern-.125em\reflect{E}}\kern-.1667em \LaTeX}}$}} -\let\setRL=\setRTL -\let\setLR=\setLTR -\let\unsetRL=\setLTR -\@ifpackageloaded{mathtools}{\RequirePackage{graphicx}}{} -\@ifpackageloaded{crop}{\RequirePackage{graphicx}}{} -\@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{} -\@ifpackageloaded{floatrow}{\RequirePackage{color}}{} -\DeclareOption{RTLdocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}} -\DeclareOption{rldocument}{\@RTLtrue\@RTL@footnotetrue\g@addto@macro\document{\autofootnoterule}} -\def\RTLcases#1{\left.\vcenter{\normalbaselines\m@th - \ialign{$##\hfil$&\quad{##}\hfil\crcr#1\crcr}}\,\right\}} -\def\SepMark#1{\gdef\@SepMark{\if@RTL‏\fi#1\if@RTL‏\fi}} -\SepMark{.} -\def\@thmcountersep{\@SepMark} -\def\setRTLbibitems{\@RTLbibitemstrue\@LTRbibitemsfalse} -\def\setLTRbibitems{\@LTRbibitemstrue\@RTLbibitemsfalse} -\def\setdefaultbibitems{\@RTLbibitemsfalse\@LTRbibitemsfalse} -\def\list#1#2{% - \ifnum \@listdepth >5\relax - \@toodeep - \else - \global\advance\@listdepth\@ne - \fi - \rightmargin\z@ - \listparindent\z@ - \itemindent\z@ - \csname @list\romannumeral\the\@listdepth\endcsname - \def\@itemlabel{#1}% - \let\makelabel\@mklab - \@nmbrlistfalse - #2\relax - \@trivlist - \parskip\parsep - \parindent\listparindent - \advance\linewidth -\rightmargin - \advance\linewidth -\leftmargin - \if@bidi@list@minipage@parbox - \if@RTL - \advance\@totalleftmargin \leftmargin - \else - \advance\@totalleftmargin \rightmargin - \fi - \else - \if@RTLtab - \if@bidi@list@minipage@parbox@not@nob - \if@RTL - \advance\@totalleftmargin \rightmargin - \else - \advance\@totalleftmargin \leftmargin - \fi - \else - \if@RTL - \advance\@totalleftmargin \leftmargin - \else - \advance\@totalleftmargin \rightmargin - \fi\fi - \else - \if@RTL - \advance\@totalleftmargin \rightmargin - \else - \advance\@totalleftmargin \leftmargin - \fi\fi\fi - \parshape \@ne \@totalleftmargin \linewidth - \ignorespaces} -\def\@item[#1]{% - \if@noparitem - \@donoparitem - \else - \if@inlabel - \indent \par - \fi - \ifhmode - \unskip\unskip \par - \fi - \if@newlist - \if@nobreak - \@nbitem - \else - \addpenalty\@beginparpenalty - \addvspace\@topsep - \addvspace{-\parskip}% - \fi - \else - \addpenalty\@itempenalty - \addvspace\itemsep - \fi - \global\@inlabeltrue - \fi - \everypar{\if@bidi@list@minipage@parbox\if@RTL\else\beginL\fi\else\if@RTLtab\if@RTL\else\beginL\fi\fi\fi% - \@minipagefalse - \global\@newlistfalse - \if@inlabel - \global\@inlabelfalse - {\setbox\z@\lastbox - \ifvoid\z@ - \kern-\itemindent - \fi}% - \box\@labels - \penalty\z@ - \fi - \if@nobreak - \@nobreakfalse - \clubpenalty \@M - \else - \clubpenalty \@clubpenalty - \everypar{}% - \fi}% - \if@noitemarg - \@noitemargfalse - \if@nmbrlist - \refstepcounter\@listctr - \fi - \fi - \sbox\@tempboxa{\makelabel{#1}}% - \global\setbox\@labels\hbox{% - \unhbox\@labels - \hskip \itemindent - \hskip -\labelwidth - \hskip -\labelsep - \ifdim \wd\@tempboxa >\labelwidth - \box\@tempboxa - \else - \hbox to\labelwidth {\unhbox\@tempboxa}% - \fi - \hskip \labelsep}% - \ignorespaces} -\long\def\@iiiparbox#1#2[#3]#4#5{% - \leavevmode - \@pboxswfalse - \if@RTLtab\@bidi@list@minipage@parbox@not@nobtrue\fi - \if@RTL\if#1t\@bidi@list@minipage@parboxtrue\else\if#1b\@bidi@list@minipage@parboxtrue\fi\fi\fi - \setlength\@tempdima{#4}% - \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}% - \ifx\relax#2\else - \setlength\@tempdimb{#2}% - \edef\@parboxto{to\the\@tempdimb}% - \fi - \if#1b\vbox - \else\if #1t\vtop - \else\ifmmode\vcenter - \else\@pboxswtrue $\vcenter - \fi\fi\fi - \@parboxto{\let\hss\vss\let\unhbox\unvbox - \csname bm@#3\endcsname}% - \if@pboxsw \m@th$\fi - \@end@tempboxa} -\newenvironment{LTRitems} - {\par\@RTLfalse - \if@bidi@list@minipage@parbox - \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth - \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob - \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\else - \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi - \else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi\fi - \ignorespaces}{\vskip\z@} -\newenvironment{RTLitems} - {\par\@RTLtrue - \if@bidi@list@minipage@parbox - \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth - \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob - \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\else - \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi - \else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi\fi - \ignorespaces}{\vskip\z@} -\newenvironment{LTRbibitems} - {\par\@RTLfalse - \if@bidi@list@minipage@parbox - \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth - \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob - \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\else - \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi - \else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi\fi - \ignorespaces}{\vskip\z@} -\newenvironment{RTLbibitems} - {\par\@RTLtrue - \if@bidi@list@minipage@parbox - \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth - \else \if@RTLtab\if@bidi@list@minipage@parbox@not@nob - \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\else - \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi - \else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi\fi - \ignorespaces}{\vskip\z@} -\def\raggedright{% - \let\\\@centercr - \rightskip\z@skip\rightskip\@flushglue - \parindent\z@\parfillskip\z@skip} -\let\bidi@orig@raggedleft\raggedleft -\let\bidi@orig@raggedright\raggedright -\renewcommand\raggedleft{\if@bidi@list@minipage@parbox\bidi@orig@raggedright\else\if@RTLtab\bidi@orig@raggedright\else\bidi@orig@raggedleft\fi\fi} -\renewcommand\raggedright{\if@bidi@list@minipage@parbox\bidi@orig@raggedleft\else\if@RTLtab\bidi@orig@raggedleft\else\bidi@orig@raggedright\fi\fi} -\newcommand{\bidi@raggedright}{\if@RTL\raggedleft\else\raggedright\fi} -\newcommand{\bidi@raggedleft}{\if@RTL\raggedright\else\raggedleft\fi} -\def\centerline#1{% -\if@RTL\@@line{\hss\beginR#1\endR\hss} -\else\@@line{\hss#1\hss}\fi} -\def\leftline#1{% -\if@RTL\@@line{\beginR#1\endR\hss} -\else\@@line{#1\hss}\fi} -\def\rightline#1{% -\if@RTL\@@line{\hss\beginR#1\endR} -\else\@@line{\hss#1}\fi} -\let\bidi@orig@leftline\leftline -\let\bidi@orig@rightline\rightline -\def\leftline#1{\ifhmode\if@RTL\bidi@orig@rightline{#1}\else\bidi@orig@leftline{#1}\fi\else\if@bidi@list@minipage@parbox\bidi@orig@rightline{#1}\else\if@RTLtab\bidi@orig@rightline{#1}\else\bidi@orig@leftline{#1}\fi\fi\fi} -\def\rightline#1{\ifhmode\if@RTL\bidi@orig@leftline{#1}\else\bidi@orig@rightline{#1}\fi\else\if@bidi@list@minipage@parbox\bidi@orig@leftline{#1}\else\if@RTLtab\bidi@orig@leftline{#1}\else\bidi@orig@rightline{#1}\fi\fi\fi} -\def\bidirlap#1{\hb@xt@\z@{\if@RTL\hss\fi#1\if@RTL\else\hss\fi}} -\def\bidillap#1{\hb@xt@\z@{\if@RTL\else\hss\fi#1\if@RTL\hss\fi}} -\def\@hangfrom#1{\setbox\@tempboxa\hbox{{#1}}% - \hangindent \if@RTL-\else\fi\wd\@tempboxa\noindent\box\@tempboxa} -\def\narrower{% - \advance\if@RTL\rightskip\else\leftskip\fi\parindent - \advance\if@RTL\leftskip\else\rightskip\fi\parindent} -\def\underline#1{% - \relax - \ifmmode\@@underline{#1}% - \else -\if@RTL $\@@underline{\hbox{\beginR#1\endR}}\m@th$\relax -\else -$\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} -\if@compatibility - \let\undertext=\underline -\fi -\global\@RTLtabfalse -\def\@tabular{\if@RTL\@RTLtabtrue\fi - \leavevmode \hbox \bgroup \if@RTLtab\beginR \fi - $\let\@acol\@tabacol - \let\@classz\@tabclassz - \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} -\def\endtabular{\crcr\egroup\if@RTLtab\egroup\endR\egroup\fi - \egroup $\if@RTLtab\endR\fi\egroup - \@RTLtabfalse} -\expandafter \let \csname endtabular*\endcsname = \endtabular -\def\@array[#1]#2{% - \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi - \bgroup - \setbox\@arstrutbox\hbox{% - \vrule \@height\arraystretch\ht\strutbox - \@depth\arraystretch \dp\strutbox - \@width\z@}% - \@mkpream{#2}% - \edef\@preamble{% - \ialign \noexpand\@halignto - \bgroup \@arstrut \@preamble \tabskip\z@skip \cr}% - \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox - \let\tabularnewline\\% - \let\par\@empty - \let\@sharp##% - \set@typeset@protect - \lineskip\z@skip\baselineskip\z@skip - \ifhmode \@preamerr\z@ \@@par\fi - \if@RTLtab\hbox\bgroup\beginR\vbox\bgroup\fi - \@preamble} -\def\array{\let\@acol\@arrayacol \let\@classz\@arrayclassz - \let\@classiv\@arrayclassiv - \let\\\@arraycr\let\@halignto\@empty\@RTLtabfalse\@tabarray} -\def\@testpach#1{\@chclass \ifnum \@lastchclass=\tw@ 4 \else - \ifnum \@lastchclass=3 5 \else - \z@ \if #1c\@chnum \z@ \else - \if \if@RTLtab#1r\else#1l\fi\@chnum \@ne \else - \if \if@RTLtab#1l\else#1r\fi\@chnum \tw@ \else - \@chclass \if #1|\@ne \else - \if #1@\tw@ \else - \if #1p3 \else \z@ \@preamerr 0\fi - \fi \fi \fi \fi \fi \fi -\fi} -\def\bm@l{\if@RTL\hss\unhbox\@tempboxa\else\unhbox\@tempboxa\hss\fi} -\def\bm@r{\if@RTL\unhbox\@tempboxa\hss\else\hss\unhbox\@tempboxa\fi} -\def\bm@t{\unhbox\@tempboxa\hss} -\def\bm@b{\hss\unhbox\@tempboxa} -\def\@dottedtocline#1#2#3#4#5{% - \ifnum #1>\c@tocdepth \else - \vskip \z@ \@plus.2\p@ - {\if@RTL\rightskip\else\leftskip\fi #2\relax \if@RTL\leftskip\else\rightskip\fi \@tocrmarg \parfillskip -\if@RTL\leftskip\else\rightskip\fi - \parindent #2\relax\@afterindenttrue - \interlinepenalty\@M - \leavevmode - \@tempdima #3\relax - \advance\if@RTL\rightskip\else\leftskip\fi \@tempdima \null\nobreak\hskip -\if@RTL\rightskip\else\leftskip\fi - {#4}\nobreak - \leaders\hbox{$\m@th - \mkern \@dotsep mu\hbox{.}\mkern \@dotsep - mu$}\hfill - \nobreak - \hb@xt@\@pnumwidth{{\hfil\normalfont \normalcolor #5}}% - \par}% - \fi} -\def\RTL@outputdblcol{% -\if@firstcolumn \global\@firstcolumnfalse -\global\setbox\@leftcolumn \box\@outputbox -\else \global\@firstcolumntrue -\setbox\@outputbox \vbox {\hbox to\textwidth {% -\hskip \columnwidth -\hfil \vrule width\columnseprule \hfil -\hbox to\columnwidth {\box\@leftcolumn \hss}% -\hskip -\textwidth -\hbox to\columnwidth{\box\@outputbox \hss}% -\hskip \columnsep -\hskip \columnwidth }}% -\@combinedblfloats \@outputpage -\begingroup \@dblfloatplacement \@startdblcolumn -\@whilesw\if@fcolmade \fi -{\@outputpage \@startdblcolumn }\endgroup -\fi} -\def\LTR@outputdblcol{% - \if@firstcolumn - \global \@firstcolumnfalse - \global \setbox\@leftcolumn \box\@outputbox - \else - \global \@firstcolumntrue - \setbox\@outputbox \vbox {% - \hb@xt@\textwidth {% - \hb@xt@\columnwidth {% - \box\@leftcolumn \hss}% - \hfil - {\normalcolor\vrule \@width\columnseprule}% - \hfil - \hb@xt@\columnwidth {% - \box\@outputbox \hss}% - }% - }% - \@combinedblfloats - \@outputpage - \begingroup - \@dblfloatplacement - \@startdblcolumn - \@whilesw\if@fcolmade \fi - {\@outputpage - \@startdblcolumn}% - \endgroup - \fi -} -\renewcommand{\@outputdblcol}{\if@RTLmain\RTL@outputdblcol\else\LTR@outputdblcol\fi} -\newcommand{\RTLdblcol}{\renewcommand{\@outputdblcol}{\RTL@outputdblcol}} -\newcommand{\LTRdblcol}{\renewcommand{\@outputdblcol}{\LTR@outputdblcol}} -\def\LTRmarginpar{% - \ifhmode - \@bsphack - \@floatpenalty -\@Mii - \else - \@floatpenalty-\@Miii - \fi - \ifinner - \@parmoderr - \@floatpenalty\z@ - \else - \@next\@currbox\@freelist{}{}% - \@next\@marbox\@freelist{\global\count\@marbox\m@ne}% - {\@floatpenalty\z@ - \@fltovf\def\@currbox{\@tempboxa}\def\@marbox{\@tempboxa}}% - \fi - \@ifnextchar [\@LTRxmpar\@LTRympar} -\long\def\@LTRxmpar[#1]#2{% - \@LTRsavemarbox\@marbox{#1}% - \@LTRsavemarbox\@currbox{#2}% - \@xympar} -\long\def\@LTRympar#1{% - \@LTRsavemarbox\@marbox{#1}% - \global\setbox\@currbox\copy\@marbox - \@xympar} -\long\def \@LTRsavemarbox #1#2{% - \global\setbox #1% - \color@vbox - \vtop{% - \hsize\marginparwidth - \@parboxrestore - \@LTRmarginparreset - #2% - \@minipagefalse - \outer@nobreak - }% - \color@endbox -} -\def \@LTRmarginparreset {% - \reset@font - \normalsize - \@minipagetrue - \everypar{\@minipagefalse\everypar{}\beginL}% -} -\def\RTLmarginpar{% - \ifhmode - \@bsphack - \@floatpenalty -\@Mii - \else - \@floatpenalty-\@Miii - \fi - \ifinner - \@parmoderr - \@floatpenalty\z@ - \else - \@next\@currbox\@freelist{}{}% - \@next\@marbox\@freelist{\global\count\@marbox\m@ne}% - {\@floatpenalty\z@ - \@fltovf\def\@currbox{\@tempboxa}\def\@marbox{\@tempboxa}}% - \fi - \@ifnextchar [\@RTLxmpar\@RTLympar} -\long\def\@RTLxmpar[#1]#2{% - \@RTLsavemarbox\@marbox{#1}% - \@RTLsavemarbox\@currbox{#2}% - \@xympar} -\long\def\@RTLympar#1{% - \@RTLsavemarbox\@marbox{#1}% - \global\setbox\@currbox\copy\@marbox - \@xympar} -\long\def \@RTLsavemarbox #1#2{% - \global\setbox #1% - \color@vbox - \vtop{% - \hsize\marginparwidth - \@parboxrestore - \@RTLmarginparreset - #2% - \@minipagefalse - \outer@nobreak - }% - \color@endbox -} -\def \@RTLmarginparreset {% - \reset@font - \normalsize - \@minipagetrue - \everypar{\@minipagefalse\everypar{}\beginR}% -} -\def\@addmarginpar{\@next\@marbox\@currlist{\@cons\@freelist\@marbox - \@cons\@freelist\@currbox}\@latexbug\@tempcnta\@ne - \if@twocolumn - \if@firstcolumn \@tempcnta\m@ne \fi - \else - \if@mparswitch - \ifodd\c@page \else\@tempcnta\m@ne \fi - \fi - \if@reversemargin \@tempcnta -\@tempcnta \fi - \fi - \ifnum\@tempcnta <\z@ \global\setbox\@marbox\box\@currbox \fi - \@tempdima\@mparbottom - \advance\@tempdima -\@pageht - \advance\@tempdima\ht\@marbox - \ifdim\@tempdima >\z@ - \@latex@warning@no@line {Marginpar on page \thepage\space moved}% - \else - \@tempdima\z@ - \fi - \global\@mparbottom\@pageht - \global\advance\@mparbottom\@tempdima - \global\advance\@mparbottom\dp\@marbox - \global\advance\@mparbottom\marginparpush - \advance\@tempdima -\ht\@marbox - \global\setbox \@marbox - \vbox {\vskip \@tempdima - \box \@marbox}% - \global \ht\@marbox \z@ - \global \dp\@marbox \z@ - \kern -\@pagedp - \nointerlineskip - \hb@xt@\columnwidth - {\if@RTL\if@LTRmarginpar\beginL\else\beginR\fi\else\if@RTLmarginpar\beginR\else\beginL\fi\fi\ifnum \@tempcnta >\z@ - \hskip\columnwidth \hskip\marginparsep - \else - \hskip -\marginparsep \hskip -\marginparwidth - \fi - \box\@marbox \hss\if@RTL\if@LTRmarginpar\endL\else\endR\fi\else\if@RTLmarginpar\endR\else\endL\fi\fi}% - \nointerlineskip - \hbox{\vrule \@height\z@ \@width\z@ \@depth\@pagedp}} -\long\def\@ympar#1{% - \@savemarbox\@marbox{\if@RTL\if@LTRmarginpar\@RTLfalse\else\@RTLtrue\fi\else\if@RTLmarginpar\@RTLtrue\else\@RTLfalse\fi\fi#1}% - \global\setbox\@currbox\copy\@marbox - \@xympar} -\def\setRTLmarginpar{\@RTLmarginpartrue\@LTRmarginparfalse} -\def\setLTRmarginpar{\@LTRmarginpartrue\@RTLmarginparfalse} -\def\setdefaultmarginpar{\@RTLmarginparfalse\@LTRmarginparfalse} -\def\@stopline{\unskip\@stopfield\if@rjfield \global\@rjfieldfalse - \@tempdima\@totalleftmargin \advance\@tempdima\linewidth -\hbox to\@tempdima{\if@RTL\beginR\fi\@itemfudge\hskip\dimen\@curtabmar - \box\@curline\hfil\box\@curfield\if@RTL\endR\fi}\else\@addfield - \hbox to\linewidth{\if@RTL\beginR\fi\@itemfudge - \hskip\dimen\@curtabmar\box\@curline\hfil\if@RTL\endR\fi}% -\fi} -\def\@outputpage{% -\begingroup % the \endgroup is put in by \aftergroup - \let \protect \noexpand - \@resetactivechars - \global\let\@@if@newlist\if@newlist - \global\@newlistfalse - \@parboxrestore - \shipout \vbox{% - \set@typeset@protect - \aftergroup \endgroup - \aftergroup \set@typeset@protect - % correct? or just restore by ending - % the group? - \if@specialpage - \global\@specialpagefalse\@nameuse{ps@\@specialstyle}% - \fi - \if@twoside - \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot - \let\@themargin\oddsidemargin - \else \let\@thehead\@evenhead - \let\@thefoot\@evenfoot \let\@themargin\evensidemargin - \fi - \ifx\@thehead\@empty \let\@thehead\hfil \fi - \ifx\@thefoot\@empty \let\@thefoot\hfil \fi - \else %% not @twoside - \ifx\@oddhead\@empty \let\@thehead\hfil \fi - \ifx\@oddfoot\@empty \let\@thefoot\hfil \fi - \fi - \reset@font - \normalsize - \normalsfcodes - \let\label\@gobble - \let\index\@gobble - \let\glossary\@gobble - \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@ - \@begindvi - \vskip \topmargin - \moveright\@themargin \vbox {% - \setbox\@tempboxa \vbox to\headheight{% - \vfil - \color@hbox - \normalcolor - \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thehead\if@RTLmain\endR\else\endL\fi}% - \color@endbox - }% %% 22 Feb 87 - \dp\@tempboxa \z@ - \box\@tempboxa - \vskip \headsep - \box\@outputbox - \baselineskip \footskip - \color@hbox - \normalcolor - \hb@xt@\textwidth{\if@RTLmain\@RTLtrue\beginR\else\@RTLfalse\beginL\fi\@thefoot\if@RTLmain\endR\else\endL\fi}% - \color@endbox - }% - }% - \global\let\if@newlist\@@if@newlist - \global \@colht \textheight - \stepcounter{page}% - \let\firstmark\botmark -} -\long\def\@makecaption#1#2{% - \vskip\abovecaptionskip - \sbox\@tempboxa{#1: #2}% - \ifdim \wd\@tempboxa >\hsize - \if@RTL\beginR\fi#1: #2\if@RTL\endR\fi\par - \else - \global \@minipagefalse - \hb@xt@\hsize{\if@RTL\beginR\fi\hfil\box\@tempboxa\hfil\if@RTL\endR\fi}% - \fi - \vskip\belowcaptionskip} -\let\bidi@saved@eqno=\eqno -\let\bidi@saved@leqno=\leqno -\def\eqno{\ifnum\predisplaydirection<\z@ \bidi@saved@leqno \else \bidi@saved@eqno \fi} -\def\leqno{\ifnum\predisplaydirection<\z@ \bidi@saved@eqno \else \bidi@saved@leqno \fi} -\def\@eqnnum{{\normalfont \normalcolor \if@RTL\beginR\fi(\theequation)\if@RTL\endR\fi}} -\input{footnote-xetex-bidi.def} -\if@twocolumn - \let\autofootnoterule\relax - \let\leftfootnoterule\relax - \let\rightfootnoterule\relax - \textwidthfootnoterule -\fi -\if@bidi@csundef{@idxitem}{}{% -\renewcommand\@idxitem{\par\hangindent \if@RTL-\fi40\p@}% -} -\@ifclassloaded{article}{\@ifclassloaded{svmult}{}{\input{article-xetex-bidi.def}}}{} -\@ifclassloaded{extarticle}{\input{extarticle-xetex-bidi.def}}{} -\@ifclassloaded{artikel1}{\input{artikel1-xetex-bidi.def}}{} -\@ifclassloaded{artikel2}{\input{artikel2-xetex-bidi.def}}{} -\@ifclassloaded{artikel3}{\input{artikel3-xetex-bidi.def}}{} -\@ifclassloaded{amsart}{\input{amsart-xetex-bidi.def}}{} -\@ifclassloaded{letter}{\input{letter-xetex-bidi.def}}{} -\@ifclassloaded{scrlettr}{\input{scrlettr-xetex-bidi.def}}{} -\@ifclassloaded{extletter}{\input{extletter-xetex-bidi.def}}{} -\@ifclassloaded{memoir}{\input{memoir-xetex-bidi.def}}{} -\@ifclassloaded{refrep}{\input{refrep-xetex-bidi.def}}{} -\@ifclassloaded{extreport}{\input{extreport-xetex-bidi.def}}{} -\@ifclassloaded{report}{\@ifpackageloaded{flowfram}{}{\input{report-xetex-bidi.def}}}{} -\@ifclassloaded{rapport1}{\input{rapport1-xetex-bidi.def}}{} -\@ifclassloaded{rapport3}{\input{rapport3-xetex-bidi.def}}{} -\@ifclassloaded{scrartcl}{\input{scrartcl-xetex-bidi.def}}{} -\@ifclassloaded{scrbook}{\input{scrbook-xetex-bidi.def}}{} -\@ifclassloaded{scrreprt}{\input{scrreprt-xetex-bidi.def}}{} -\@ifclassloaded{amsbook}{\input{amsbook-xetex-bidi.def}}{} -\@ifclassloaded{extbook}{\input{extbook-xetex-bidi.def}}{} -\@ifclassloaded{boek}{\input{boek-xetex-bidi.def}}{} -\@ifclassloaded{boek3}{\input{boek3-xetex-bidi.def}}{} -\@ifclassloaded{book}{\@ifpackageloaded{flowfram}{}{\input{book-xetex-bidi.def}}}{} -\@ifclassloaded{bookest}{\input{bookest-xetex-bidi.def}}{} -\@ifclassloaded{combine}{\input{combine-xetex-bidi.def}}{} -\@iftagsloaded{leqno}{\input{leqno-xetex-bidi.def}}{} -\@iftagsloaded{fleqn}{\input{fleqn-xetex-bidi.def}}{} -\@ifpackageloaded{amsmath}{\input{amsmath-xetex-bidi.def}}{} -\@ifpackageloaded{amstext}{\input{amstext-xetex-bidi.def}}{} -\@ifpackageloaded{amsthm}{\input{amsthm-xetex-bidi.def}}{} -\@ifpackageloaded{breqn}{\input{breqn-xetex-bidi.def}}{} -\@ifpackageloaded{cals}{\input{cals-xetex-bidi.def}}{} -\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{} -\@ifpackageloaded{caption3}{\input{caption3-xetex-bidi.def}}{} -\@ifpackageloaded{floatrow}{\input{floatrow-xetex-bidi.def}}{} -\@ifpackageloaded{crop}{\@ifclassloaded{memoir}{}{\input{crop-xetex-bidi.def}}}{} -\@ifpackageloaded{color}{\input{color-xetex-bidi.def}}{} -\@ifpackageloaded{cutwin}{\input{cutwin-xetex-bidi.def}}{} -\@ifpackageloaded{cuted}{\input{cuted-xetex-bidi.def}}{} -\@ifpackageloaded{xcolor}{\input{xcolor-xetex-bidi.def}}{} -\@ifpackageloaded{colortbl}{\input{colortbl-xetex-bidi.def}}{} -\@ifpackageloaded{float}{\@ifpackageloaded{floatrow}{}{\input{float-xetex-bidi.def}}}{} -\@ifpackageloaded{flowfram}{\input{flowfram-xetex-bidi.def}}{} -\@ifpackageloaded{xltxtra}{\input{xltxtra-xetex-bidi.def}}{} -\@ifpackageloaded{wrapfig}{\input{wrapfig-xetex-bidi.def}}{} -\@ifpackageloaded{graphicx}{\input{graphicx-xetex-bidi.def}}{} -\@ifpackageloaded{geometry}{\input{geometry-xetex-bidi.def}}{} -\@ifpackageloaded{hvfloat}{\input{hvfloat-xetex-bidi.def}}{} -\@ifpackageloaded{ntheorem}{\input{ntheorem-xetex-bidi.def}}{} -\@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{} -\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{} -\@ifpackageloaded{fancybox}{\input{fancybox-xetex-bidi.def}}{} -\@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{} -\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{} -\@ifpackageloaded{ftnright}{\input{ftnright-xetex-bidi.def}}{} -\@ifpackageloaded{midfloat}{\input{midfloat-xetex-bidi.def}}{} -\@ifpackageloaded{draftwatermark}{\input{draftwatermark-xetex-bidi.def}}{} -\@ifpackageloaded{dblfnote}{\input{dblfnote-xetex-bidi.def}}{} -\@ifpackageloaded{eso-pic}{\input{eso-pic-xetex-bidi.def}}{} -\@ifpackageloaded{empheq}{\input{empheq-xetex-bidi.def}}{} -\@ifpackageloaded{framed}{\input{framed-xetex-bidi.def}}{} -\@ifpackageloaded{pdfpages}{\input{pdfpages-xetex-bidi.def}}{} -\@ifpackageloaded{lettrine}{\input{lettrine-xetex-bidi.def}}{} -\@ifpackageloaded{listings}{\input{listings-xetex-bidi.def}}{} -\@ifpackageloaded{pstricks}{\input{pstricks-xetex-bidi.def}}{} -\@ifpackageloaded{pgf}{\input{pgf-xetex-bidi.def}}{} -\@ifpackageloaded{titlesec}{\input{titlesec-xetex-bidi.def}}{} -\@ifpackageloaded{titletoc}{\input{titletoc-xetex-bidi.def}}{} -\@ifpackageloaded{array}{\input{array-xetex-bidi.def}}{} -\@ifpackageloaded{sidecap}{\input{sidecap-xetex-bidi.def}}{} -\@ifpackagewith{sidecap}{innercaption}{% -\if@RTL \renewcommand*{\SC@FLOAT}[2]{% - \isSC@ODD{{#2}\hspace{\sidecaptionsep}{#1}} {{#1}\hspace{\sidecaptionsep}{#2}}} - \renewcommand*\SC@justify@caption{% - \isSC@ODD{\RaggedRight}{\RaggedLeft}}\else - \renewcommand*{\SC@FLOAT}[2]{% - \isSC@ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}} - \renewcommand*\SC@justify@caption{% - \isSC@ODD{\RaggedLeft}{\RaggedRight}}\fi -}{} -\@ifpackagewith{sidecap}{rightcaption}{% - \if@RTL\renewcommand*{\SC@FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}} - \def\SC@justify@caption{\RaggedLeft}\else% - \renewcommand*{\SC@FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}} - \def\SC@justify@caption{\RaggedRight}\fi% -}{} -\@ifpackagewith{sidecap}{leftcaption}{% -\if@RTL \renewcommand*{\SC@FLOAT}[2]{{#2}\hspace{\sidecaptionsep}{#1}} - \def\SC@justify@caption{\RaggedRight}\else% - \renewcommand*{\SC@FLOAT}[2]{{#1}\hspace{\sidecaptionsep}{#2}} - \def\SC@justify@caption{\RaggedLeft}\fi% -}{} -\@ifpackageloaded{stabular}{\input{stabular-xetex-bidi.def}}{} -\@ifpackageloaded{subfigure}{\input{subfigure-xetex-bidi.def}}{} -\@ifpackageloaded{longtable}{\input{longtable-xetex-bidi.def}}{} -\@ifpackageloaded{arydshln}{\input{arydshln-xetex-bidi.def}}{} -\@ifpackageloaded{mdframed}{\input{mdframed-xetex-bidi.def}}{} -\@ifpackageloaded{multicol}{\input{multicol-xetex-bidi.def}}{} -\@ifpackageloaded{multienum}{\input{multienum-xetex-bidi.def}}{} -\@ifpackageloaded{natbib}{\input{natbib-xetex-bidi.def}}{} -\@ifpackageloaded{newfloat}{\input{newfloat-xetex-bidi.def}}{} -\@ifpackageloaded{minitoc}{\input{minitoc-xetex-bidi.def}}{} -\@ifpackageloaded{picinpar}{\input{picinpar-xetex-bidi.def}}{} -\@ifpackageloaded{quotchap}{\input{quotchap-xetex-bidi.def}}{} -\@ifpackageloaded{ragged2e}{\input{ragged2e-xetex-bidi.def}}{} -\@ifpackageloaded{rotating}{\input{rotating-xetex-bidi.def}}{} -\@ifpackageloaded{tabls}{\input{tabls-xetex-bidi.def}}{} -\@ifpackageloaded{tabulary}{\input{tabulary-xetex-bidi.def}}{} -\@ifpackageloaded{tocstyle}{\input{tocstyle-xetex-bidi.def}}{} -\@ifpackageloaded{tocbibind}{\@ifclassloaded{memoir}{}{\input{tocbibind-xetex-bidi.def}}}{} -\@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xetex-bidi.def}}}{} -\DeclareOption{extrafootnotefeatures}{\input{extrafootnotefeatures.def}} -%% -%% Copyright © 2009–2013 Vafa Khalighi -%% -%% 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 -%% -%% This work is “maintained” (as per LPPL maintenance status) -%% by Vafa Khalighi. -%% -%% -%% -%% -%% End of file `xetex-bidi.def'. diff --git a/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def index 2655bb9f9ac..f951f0e3ed7 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/xltxtra-xetex-bidi.def @@ -1,5 +1,10 @@ %% -%% This is file `xltxtra-xetex-bidi.def'. +%% This is file `xltxtra-xetex-bidi.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% bidi.dtx (with options: `xltxtra-xetex-bidi.def') %% %% ______________________________________ %% Copyright © 2009–2013 Vafa Khalighi @@ -13,7 +18,7 @@ \let\@@XeLaTeX\XeLaTeX \def\XeLaTeX{\@ensure@LTR{\@@XeLaTeX}} %% -%% Copyright © 2009–2013 Vafa Khalighi +%% Copyright © 2009–2013 Vafa Khalighi %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of -- cgit v1.2.3