summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-10 22:44:42 +0000
committerKarl Berry <karl@freefriends.org>2013-04-10 22:44:42 +0000
commit29908990b09fca3ffa1d0689e2220c8a5de22a2c (patch)
treeb40706010c648ad7a0e41e19fc4d94a1b5ad2e7b /Master/texmf-dist/tex
parentd019f0c94185b0594b89486f8e44c9c284c421b5 (diff)
bidi (10apr13)
git-svn-id: svn://tug.org/texlive/trunk@29839 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/amstext-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/amsthm-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/array-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/artikel1-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/artikel2-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/arydshln-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi-longtable.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.sty8
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi.tex3
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidi2in1.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidicode.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidiftnxtra.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidimoderncv.cls1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidipoem.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidipresentation.cls1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/biditools.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/biditufte-book.cls1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/biditufte-handout.cls1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftefloat.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftehyperref.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftesidenote.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftetitle.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bidituftetoc.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/boek-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/boek3-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/book-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/breqn-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/caption-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/caption3-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/color-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/colortbl-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def114
-rw-r--r--Master/texmf-dist/tex/latex/bidi/cuted-xetex-bidi.def11
-rw-r--r--Master/texmf-dist/tex/latex/bidi/cutwin-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/cvthemebidicasual.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/cvthemebidiclassic.sty1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/dblfnote-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/draftwatermark-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/empheq-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/eso-pic-xetex-bidi.def68
-rw-r--r--Master/texmf-dist/tex/latex/bidi/extarticle-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/extbook-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/extletter-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/extreport-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/fancyhdr-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/fix2col-xetex-bidi.def11
-rw-r--r--Master/texmf-dist/tex/latex/bidi/fleqn-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/float-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/floatrow-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/flowfram-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/footnote-luatex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/framed-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/ftnright-xetex-bidi.def11
-rw-r--r--Master/texmf-dist/tex/latex/bidi/geometry-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/hvfloat-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/hyperref-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/leqno-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/longtable-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/luatex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/memoir-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/midfloat-xetex-bidi.def11
-rw-r--r--Master/texmf-dist/tex/latex/bidi/minitoc-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/multicol-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/multienum-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/natbib-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/ntheorem-hyper-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/ntheorem-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/pdfpages-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/picinpar-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/plain-luatex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/plain-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/ragged2e-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/rapport1-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/scrartcl-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/scrbook-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/scrreprt-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/sidecap-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/stabular-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/subfigure-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/tabls-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/tabulary-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/titlesec-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/tocloft-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/tocstyle-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/wrapfig-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xcolor-xetex-bidi.def1
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xetex-bidi.def63
-rw-r--r--Master/texmf-dist/tex/latex/bidi/xltxtra-xetex-bidi.def1
113 files changed, 284 insertions, 120 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def
index b5b9b1af281..1b1c8c69825 100644
--- a/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{amsart-xetex-bidi.def}[2012/12/12 v0.7 bidi adaptations for amsart class for XeTeX engine]
\def\@tocline#1#2#3#4#5#6#7{\relax
\ifnum #1>\c@tocdepth % then omit
diff --git a/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def
index f772956b57f..e2429bccab6 100644
--- a/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{amsbook-xetex-bidi.def}[2012/12/12 v0.8 bidi adaptations for amsbook class for XeTeX engine]
\def\@tocline#1#2#3#4#5#6#7{\relax
\ifnum #1>\c@tocdepth % then omit
diff --git a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
index d233c83e965..2e6c46b9b32 100644
--- a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{amsmath-xetex-bidi.def}[2013/04/04 v0.4 bidi adaptations for amsmath package for XeTeX engine]
\let\veqno=\eqno
\iftagsleft@ \let\veqno=\leqno \fi
diff --git a/Master/texmf-dist/tex/latex/bidi/amstext-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amstext-xetex-bidi.def
index 6022489146b..f9c7375f879 100644
--- a/Master/texmf-dist/tex/latex/bidi/amstext-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amstext-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{amstext-xetex-bidi.def}[2013/04/04 v0.1 bidi adaptations for amstext package for XeTeX engine]
\def\textdef@#1#2#3{\hbox{{%
\everymath{#1}%
diff --git a/Master/texmf-dist/tex/latex/bidi/amsthm-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsthm-xetex-bidi.def
index cbb3000befe..beafb278b85 100644
--- a/Master/texmf-dist/tex/latex/bidi/amsthm-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amsthm-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{amsthm-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for amsthm package for XeTeX engine]
\def\@thmcountersep{\@SepMark}
%%
diff --git a/Master/texmf-dist/tex/latex/bidi/array-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/array-xetex-bidi.def
index ad67b7e7170..0c8fe96aa94 100644
--- a/Master/texmf-dist/tex/latex/bidi/array-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/array-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{array-xetex-bidi.def}[2010/08/01 v0.2b bidi adaptations for array package for XeTeX engine]
\def\@testpach{\@chclass
\ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
diff --git a/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def
index 47296d69e51..c7fb61abfeb 100644
--- a/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/article-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{article-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for standard article class for XeTeX engine]
\if@titlepage
\renewcommand\maketitle{\begin{titlepage}%
diff --git a/Master/texmf-dist/tex/latex/bidi/artikel1-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/artikel1-xetex-bidi.def
index e7982f51f53..313882e33f1 100644
--- a/Master/texmf-dist/tex/latex/bidi/artikel1-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/artikel1-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{artikel1-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for artikel1 class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/artikel2-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/artikel2-xetex-bidi.def
index f7cc60df10b..54f444c2c40 100644
--- a/Master/texmf-dist/tex/latex/bidi/artikel2-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/artikel2-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{artikel2-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for artikel2 class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
index 36f9f2436be..0bf64f4f53d 100644
--- a/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/artikel3-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{artikel3-xetex-bidi.def}[2011/08/26 v0.3 bidi adaptations for artikel3 class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/arydshln-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/arydshln-xetex-bidi.def
index 6217739d953..5e899741d21 100644
--- a/Master/texmf-dist/tex/latex/bidi/arydshln-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/arydshln-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{arydshln-xetex-bidi.def}[2010/08/01 v0.2 bidi adaptations for arydshln package for XeTeX engine]
\def\endarray{\adl@endarray \egroup \adl@arrayrestore \if@RTLtab\egroup\endR\egroup\fi\egroup}
\def\endtabular{\endarray $\if@RTLtab\endR\fi\egroup\@RTLtabfalse}
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi-longtable.sty b/Master/texmf-dist/tex/latex/bidi/bidi-longtable.sty
index 32a2fa4ac78..87c61366874 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi-longtable.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi-longtable.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesPackage{bidi-longtable}[2012/12/12 v0.1 typesetting bidi longtables in XeTeX engine (experimental)]
\def\longtable{\if@RTL\@RTLtabtrue\fi%
\par
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty
index c6511183424..c9c8ad1eecc 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty
@@ -12,9 +12,10 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
-\def\bididate{2013/04/16}
-\def\bidiversion{v12.4}
+\def\bididate{2013/04/10}
+\def\bidiversion{v12.5}
\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
Bidirectional typesetting in plain TeX and LaTeX]
\edef\bidiinfo{%
@@ -34,9 +35,6 @@ Location on CTAN: /macros/latex/contrib/bidi}
\RequirePackage{zref-abspage}
\RequirePackage{auxhook}
\RequirePackage{ltxcmds}
-\if@twocolumn
- \RequirePackage{ftnright}
-\fi
\eqnewif{\if@RTLmain}{\if@rlmain}
\eqnewif{\if@RTL}{\if@rl}
\newif\if@RTLmaths
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.tex b/Master/texmf-dist/tex/latex/bidi/bidi.tex
index 6a0cf4755ec..834ed33eef6 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi.tex
+++ b/Master/texmf-dist/tex/latex/bidi/bidi.tex
@@ -12,7 +12,8 @@
%% License information appended.
%%
%%
-\def\bididate{2013/04/16}
+
+\def\bididate{2013/04/10}
\def\bidiversion{v0.2}
\catcode`@=11
\let \protect \relax
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi2in1.sty b/Master/texmf-dist/tex/latex/bidi/bidi2in1.sty
index b638bbb1c2b..f234f5749bc 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidi2in1.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidi2in1.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidi2in1}
\pagestyle{plain}
diff --git a/Master/texmf-dist/tex/latex/bidi/bidicode.sty b/Master/texmf-dist/tex/latex/bidi/bidicode.sty
index 5bee871a34a..c89b8987350 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidicode.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidicode.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidicode}
\RequirePackage{xcolor}
diff --git a/Master/texmf-dist/tex/latex/bidi/bidiftnxtra.sty b/Master/texmf-dist/tex/latex/bidi/bidiftnxtra.sty
index 40d8edb5dbd..838a651f0c5 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidiftnxtra.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidiftnxtra.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidiftnxtra}
\newtoks\bidi@p@ftn
diff --git a/Master/texmf-dist/tex/latex/bidi/bidimoderncv.cls b/Master/texmf-dist/tex/latex/bidi/bidimoderncv.cls
index 89f81688802..57739211451 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidimoderncv.cls
+++ b/Master/texmf-dist/tex/latex/bidi/bidimoderncv.cls
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bidimoderncv}
\newif\if@DEBUG\@DEBUGfalse
diff --git a/Master/texmf-dist/tex/latex/bidi/bidipoem.sty b/Master/texmf-dist/tex/latex/bidi/bidipoem.sty
index b2d9ced9c27..4cd7cba6e68 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidipoem.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidipoem.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidipoem}%
[2012/12/12 v0.4 Environments for typesetting Persian traditional and modern poems]
diff --git a/Master/texmf-dist/tex/latex/bidi/bidipresentation.cls b/Master/texmf-dist/tex/latex/bidi/bidipresentation.cls
index d033663a88f..41e7f3146bb 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidipresentation.cls
+++ b/Master/texmf-dist/tex/latex/bidi/bidipresentation.cls
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{bidipresentation}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
diff --git a/Master/texmf-dist/tex/latex/bidi/biditools.sty b/Master/texmf-dist/tex/latex/bidi/biditools.sty
index c71df92b67d..f949edfd7d2 100644
--- a/Master/texmf-dist/tex/latex/bidi/biditools.sty
+++ b/Master/texmf-dist/tex/latex/bidi/biditools.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{biditools}[2013/04/16 v0.2 Programming tools for bidi package]
\providecommand{\@bidi@saveprimitive}[2]{\begingroup\escapechar`\\\relax
diff --git a/Master/texmf-dist/tex/latex/bidi/biditufte-book.cls b/Master/texmf-dist/tex/latex/bidi/biditufte-book.cls
index 0561e2df0e7..7c14b4375e7 100644
--- a/Master/texmf-dist/tex/latex/bidi/biditufte-book.cls
+++ b/Master/texmf-dist/tex/latex/bidi/biditufte-book.cls
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesClass{biditufte-book}[2011/06/18 v0.1 biditufte-book class]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
diff --git a/Master/texmf-dist/tex/latex/bidi/biditufte-handout.cls b/Master/texmf-dist/tex/latex/bidi/biditufte-handout.cls
index 742fdad9bc0..44784a634c7 100644
--- a/Master/texmf-dist/tex/latex/bidi/biditufte-handout.cls
+++ b/Master/texmf-dist/tex/latex/bidi/biditufte-handout.cls
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesClass{biditufte-handout}[2011/06/18 v0.1 biditufte-handout class]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftefloat.sty b/Master/texmf-dist/tex/latex/bidi/bidituftefloat.sty
index 18434d1eec3..1a6856e24ee 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidituftefloat.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftefloat.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidituftefloat}[2011/06/14 v0.1
bidi implementation of tufte float]
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty b/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
index 7a7eac45ff4..44bf592add8 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftegeneralstructure.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidituftegeneralstructure}[2011/06/18 v0.1
bidi implementation of tufte general structure]
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftehyperref.sty b/Master/texmf-dist/tex/latex/bidi/bidituftehyperref.sty
index 3e96d498b7a..b9a0177ecc8 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidituftehyperref.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftehyperref.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidituftehyperref}[2011/06/18 v0.1
bidi implementation of tufte hyperref]
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftesidenote.sty b/Master/texmf-dist/tex/latex/bidi/bidituftesidenote.sty
index dbaf663ecd6..5ab5d025f8c 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidituftesidenote.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftesidenote.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidituftesidenote}[2011/06/17 v0.1
bidi implementation of tufte sidenote]
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftetitle.sty b/Master/texmf-dist/tex/latex/bidi/bidituftetitle.sty
index 8419b5b06ae..03a3dc9648b 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidituftetitle.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftetitle.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidituftetitle}[2011/06/18 v0.1
bidi implementation of tufte title]
diff --git a/Master/texmf-dist/tex/latex/bidi/bidituftetoc.sty b/Master/texmf-dist/tex/latex/bidi/bidituftetoc.sty
index 06203267005..24411300439 100644
--- a/Master/texmf-dist/tex/latex/bidi/bidituftetoc.sty
+++ b/Master/texmf-dist/tex/latex/bidi/bidituftetoc.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bidituftetoc}[2011/06/17 v0.1
bidi implementation of tufte toc]
diff --git a/Master/texmf-dist/tex/latex/bidi/boek-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/boek-xetex-bidi.def
index 39e2e2d5be1..5982f38344f 100644
--- a/Master/texmf-dist/tex/latex/bidi/boek-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/boek-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{boek-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for boek class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/boek3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/boek3-xetex-bidi.def
index 2482bdccb7e..0bdae2bebea 100644
--- a/Master/texmf-dist/tex/latex/bidi/boek3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/boek3-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{boek3-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for boek3 class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/book-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/book-xetex-bidi.def
index efac4387b9a..8848ba63bb2 100644
--- a/Master/texmf-dist/tex/latex/bidi/book-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/book-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{book-xetex-bidi.def}[2011/08/26 v0.8 bidi adaptations for standard book class for XeTeX engine]
\renewenvironment{theindex}
{\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def
index ecec94cccf5..ae275eed674 100644
--- a/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/bookest-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{bookest-xetex-bidi.def}[2010/07/25 v0.4 bidi adaptations for bookest class for XeTeX engine]
\def\@makechapterhead#1{%
\vspace*{20\p@}
diff --git a/Master/texmf-dist/tex/latex/bidi/breqn-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/breqn-xetex-bidi.def
index da62d2453f2..fde3a386de5 100644
--- a/Master/texmf-dist/tex/latex/bidi/breqn-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/breqn-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{breqn-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for breqn package for XeTeX engine]
\def\@dmath[#1]{\if@RTL\@RTLfalse\fi%
\everydisplay\expandafter{\the\everydisplay \display@setup}%
diff --git a/Master/texmf-dist/tex/latex/bidi/caption-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/caption-xetex-bidi.def
index bcd8ed0030c..d43d3aae931 100644
--- a/Master/texmf-dist/tex/latex/bidi/caption-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/caption-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{caption-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for caption package for XeTeX engine]
\let\@makecaption\caption@makecaption
%%
diff --git a/Master/texmf-dist/tex/latex/bidi/caption3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/caption3-xetex-bidi.def
index 02afe60ffd6..61356df29b0 100644
--- a/Master/texmf-dist/tex/latex/bidi/caption3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/caption3-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{caption3-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for caption3 package for XeTeX engine]
\renewcommand*\caption@@par{%
\parindent\caption@parindent\hangindent\if@RTL-\fi\caption@hangindent}%
diff --git a/Master/texmf-dist/tex/latex/bidi/color-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/color-xetex-bidi.def
index a80f7dc9df8..98eb4b5875c 100644
--- a/Master/texmf-dist/tex/latex/bidi/color-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/color-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{color-xetex-bidi.def}[2013/04/08 v0.2 bidi adaptations for color package for XeTeX engine]
\long\def\color@b@x#1#2#3{%
\leavevmode\ifmmode\else\if@RTL\beginL\fi\fi
diff --git a/Master/texmf-dist/tex/latex/bidi/colortbl-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/colortbl-xetex-bidi.def
index f01dc07578a..761aa79a12c 100644
--- a/Master/texmf-dist/tex/latex/bidi/colortbl-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/colortbl-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{colortbl-xetex-bidi.def}[2012/06/10 v0.2 bidi adaptations for colortbl package for XeTeX engine]
\def\CT@setup{%
\@tempdimb\col@sep
diff --git a/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def
index 919838b5100..24e73ffdef3 100644
--- a/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/combine-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{combine-xetex-bidi.def}[2011/09/23 v0.1 bidi adaptations for combine class for XeTeX engine]
\renewcommand{\c@ll@chapsecii}[2]{%
\if@RTL\advance\rightskip\@tempdima\else\advance\leftskip\@tempdima\fi
diff --git a/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
index 2f23f8783a2..8e78043f273 100644
--- a/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/crop-xetex-bidi.def
@@ -12,45 +12,20 @@
%% License information appended.
%%
%%
-\ProvidesFile{crop-xetex-bidi.def}[2011/11/05 v0.1 bidi adaptations for crop package for XeTeX engine]
-\renewcommand*\CROP@@laxis{%
- \if@RTLmain%
- \begin{picture}(0,0)
- \unitlength\p@\thinlines
- \put(2,0){\line(1,0){11}}
- \end{picture}%
- \else%
- \begin{picture}(0,0)
- \unitlength\p@\thinlines
- \put(-2,0){\line(-1,0){11}}
- \end{picture}%
- \fi%
-}
-\renewcommand*\CROP@@raxis{%
- \if@RTLmain%
- \begin{picture}(0,0)
- \unitlength\p@\thinlines
- \put(-2,0){\line(-1,0){11}}
- \end{picture}%
- \else%
- \begin{picture}(0,0)
- \unitlength\p@\thinlines
- \put(2,0){\line(1,0){11}}
- \end{picture}%
- \fi%
-}
+
+\ProvidesFile{crop-xetex-bidi.def}[2013/04/10 v0.2 bidi adaptations for crop package for XeTeX engine]
\renewcommand*\CROP@@ulc{%
- \if@RTLmain%
- \begin{picture}(0,0)
+ \if@RTLmain%
+ \begin{picture}(0,0)
\unitlength\p@\thinlines
- \put(30,0){\circle{10}}
- \put(30,-5){\line(0,1){10}}
- \put(35,0){\line(-1,0){30}}
- \put(0,30){\circle{10}}
- \put(5,30){\line(-1,0){10}}
+ \put(-40,0){\circle{10}}
+ \put(-30,-5){\line(0,1){10}}
+ \put(-35,0){\line(1,0){30}}
+ \put(-10,30){\circle{10}}
+ \put(-5,30){\line(1,0){10}}
\put(0,35){\line(0,-1){30}}
\end{picture}%
- \else%
+ \else%
\begin{picture}(0,0)
\unitlength\p@\thinlines
\put(-30,0){\circle{10}}
@@ -63,17 +38,17 @@
\fi%
}
\renewcommand*\CROP@@urc{%
- \if@RTLmain%
- \begin{picture}(0,0)
+ \if@RTLmain%
+ \begin{picture}(0,0)
\unitlength\p@\thinlines
- \put(-30,0){\circle{10}}
- \put(-30,-5){\line(0,1){10}}
- \put(-35,0){\line(1,0){30}}
- \put(0,30){\circle{10}}
- \put(5,30){\line(-1,0){10}}
+ \put(20,0){\circle{10}}
+ \put(30,-5){\line(0,1){10}}
+ \put(35,0){\line(-1,0){30}}
+ \put(-10,30){\circle{10}}
+ \put(-5,30){\line(1,0){10}}
\put(0,35){\line(0,-1){30}}
\end{picture}%
- \else%
+ \else%
\begin{picture}(0,0)
\unitlength\p@\thinlines
\put(30,0){\circle{10}}
@@ -86,17 +61,17 @@
\fi%
}
\renewcommand*\CROP@@llc{%
- \if@RTLmain%
- \begin{picture}(0,0)
+ \if@RTLmain%
+ \begin{picture}(0,0)
\unitlength\p@\thinlines
- \put(30,0){\circle{10}}
- \put(30,-5){\line(0,1){10}}
- \put(35,0){\line(-1,0){30}}
- \put(0,-30){\circle{10}}
- \put(5,-30){\line(-1,0){10}}
+ \put(-40,0){\circle{10}}
+ \put(-30,-5){\line(0,1){10}}
+ \put(-35,0){\line(1,0){30}}
+ \put(-10,-30){\circle{10}}
+ \put(-5,-30){\line(1,0){10}}
\put(0,-35){\line(0,1){30}}
\end{picture}%
- \else%
+ \else%
\begin{picture}(0,0)
\unitlength\p@\thinlines
\put(-30,0){\circle{10}}
@@ -110,13 +85,13 @@
}
\renewcommand*\CROP@@lrc{%
\if@RTLmain%
- \begin{picture}(0,0)
+ \begin{picture}(0,0)
\unitlength\p@\thinlines
- \put(-30,0){\circle{10}}
- \put(-30,-5){\line(0,1){10}}
- \put(-35,0){\line(1,0){30}}
- \put(0,-30){\circle{10}}
- \put(5,-30){\line(-1,0){10}}
+ \put(20,0){\circle{10}}
+ \put(30,-5){\line(0,1){10}}
+ \put(35,0){\line(-1,0){30}}
+ \put(-10,-30){\circle{10}}
+ \put(-5,-30){\line(1,0){10}}
\put(0,-35){\line(0,1){30}}
\end{picture}%
\else%
@@ -131,34 +106,9 @@
\end{picture}%
\fi%
}
-\renewcommand*\CROP@@frame{%
- \if@RTLmain%
- \begin{picture}(0,0)
- \unitlength\p@\thinlines
- \put(0,0){\line(-1,0){\strip@pt\paperwidth}}
- \put(0,0){\line(0,-1){\strip@pt\paperheight}}
- \put(-\strip@pt\paperwidth,0){\line(0,-1){\strip@pt\paperheight}}
- \put(0,-\strip@pt\paperheight){\line(-1,0){\strip@pt\paperwidth}}
- \end{picture}%
- \else%
- \begin{picture}(0,0)
- \unitlength\p@\thinlines
- \put(0,0){\line(1,0){\strip@pt\paperwidth}}
- \put(0,0){\line(0,-1){\strip@pt\paperheight}}
- \put(\strip@pt\paperwidth,0){\line(0,-1){\strip@pt\paperheight}}
- \put(0,-\strip@pt\paperheight){\line(1,0){\strip@pt\paperwidth}}
- \end{picture}%
- \fi%
-}
-\@ifpackagewith{crop}{axes}{%
-\CROP@execopt{axes}%
-}{}
\@ifpackagewith{crop}{cam}{%
\CROP@execopt{cam}%
}{}
-\@ifpackagewith{crop}{frame}{%
-\CROP@execopt{frame}%
-}{}
%%
%% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org>
%%
diff --git a/Master/texmf-dist/tex/latex/bidi/cuted-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/cuted-xetex-bidi.def
index 4ec97aabae7..b064e809453 100644
--- a/Master/texmf-dist/tex/latex/bidi/cuted-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/cuted-xetex-bidi.def
@@ -12,13 +12,12 @@
%% License information appended.
%%
%%
-\ProvidesFile{cuted-xetex-bidi.def}[2013/04/08 v0.2 bidi adaptations for cuted package for XeTeX engine]
+
+\ProvidesFile{cuted-xetex-bidi.def}[2013/04/10 v0.3 bidi adaptations for cuted package for XeTeX engine]
\def\RTL@outputdblcol{%
\if@firstcolumn \global\@firstcolumnfalse
\global\setbox\@leftcolumn \box\@outputbox
- \global\count\footins\@m
- \global\skip\footins\rcol@footinsskip
- \else \preparefootins
+ \else
\global\@firstcolumntrue
\setbox\@outputbox \vbox {\hbox to\textwidth {%
\hskip \columnwidth
@@ -54,9 +53,7 @@
\if@firstcolumn
\global \@firstcolumnfalse
\global \setbox\@leftcolumn \box\@outputbox
- \global\count\footins\@m
- \global\skip\footins\rcol@footinsskip
- \else \preparefootins
+ \else
\global\@firstcolumntrue
\setbox\@outputbox \vbox {%
\hb@xt@\textwidth {%
diff --git a/Master/texmf-dist/tex/latex/bidi/cutwin-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/cutwin-xetex-bidi.def
index daeb0c51fd0..01a7ae48571 100644
--- a/Master/texmf-dist/tex/latex/bidi/cutwin-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/cutwin-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{cutwin-xetex-bidi.def}[2011/11/12 v0.1 bidi adaptations for cutwin package for XeTeX engine]
\renewcommand*{\c@twcompctr}[2]{%
\def\c@twfirst{1}
diff --git a/Master/texmf-dist/tex/latex/bidi/cvthemebidicasual.sty b/Master/texmf-dist/tex/latex/bidi/cvthemebidicasual.sty
index c2fea36d2d4..af3a7b03bb1 100644
--- a/Master/texmf-dist/tex/latex/bidi/cvthemebidicasual.sty
+++ b/Master/texmf-dist/tex/latex/bidi/cvthemebidicasual.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cvthemebidicasual}
\DeclareOption{blue}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/cvthemebidiclassic.sty b/Master/texmf-dist/tex/latex/bidi/cvthemebidiclassic.sty
index 74c3c468b2c..47c438186ff 100644
--- a/Master/texmf-dist/tex/latex/bidi/cvthemebidiclassic.sty
+++ b/Master/texmf-dist/tex/latex/bidi/cvthemebidiclassic.sty
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cvthemebidiclassic}
\DeclareOption{blue}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/dblfnote-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/dblfnote-xetex-bidi.def
index 451b739069c..90cdef61664 100644
--- a/Master/texmf-dist/tex/latex/bidi/dblfnote-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/dblfnote-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{dblfnote-xetex-bidi.def}[2012/12/12 v0.3 bidi adaptations for dblfnote package for XeTeX engine]
\let\autofootnoterule\relax
\let\rightfootnoterule\relax
diff --git a/Master/texmf-dist/tex/latex/bidi/draftwatermark-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/draftwatermark-xetex-bidi.def
index e7e5b933429..286ef7efa12 100644
--- a/Master/texmf-dist/tex/latex/bidi/draftwatermark-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/draftwatermark-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{draftwatermark-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for draftwatermark package for XeTeX engine]
\renewcommand\SetWatermarkText[1]{%
\def\sc@wm@text{\if@RTLmain\beginR\fi#1\if@RTLmain\endR\fi}}
diff --git a/Master/texmf-dist/tex/latex/bidi/empheq-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/empheq-xetex-bidi.def
index 555d321dd0c..46805405611 100644
--- a/Master/texmf-dist/tex/latex/bidi/empheq-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/empheq-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{empheq-xetex-bidi.def}[2011/09/07 v0.1 bidi adaptations for empheq package for XeTeX engine]
\MHInternalSyntaxOn
\def\EQ_tag_plus_endmark:{%
diff --git a/Master/texmf-dist/tex/latex/bidi/eso-pic-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/eso-pic-xetex-bidi.def
new file mode 100644
index 00000000000..a120b09986a
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/bidi/eso-pic-xetex-bidi.def
@@ -0,0 +1,68 @@
+%%
+%% 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 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+
+\ProvidesFile{eso-pic-xetex-bidi.def}[2013/04/10 v0.2 bidi adaptations for eso-pic package for XeTeX engine]
+\renewcommand\AtPageLowerLeft[1]{\AtPageUpperLeft{%
+ \put(\LenToUnit{\if@RTLmain\paperwidth\else0pt\fi},\LenToUnit{-\paperheight}){#1}}}
+
+\ESO@isMEMOIR{%
+ \renewcommand\AtTextUpperLeft[1]{%
+ \begingroup
+ \ifodd\c@page
+ \@tempdima=\spinemargin
+ \else
+ \@tempdima=\paperwidth
+ \advance\@tempdima-\textwidth
+ \advance\@tempdima-\spinemargin
+ \fi
+ \@tempdimb=-\uppermargin
+ \AtPageUpperLeft{%
+ \put(\LenToUnit{\if@RTLmain-\fi\@tempdima},\LenToUnit{\@tempdimb}){#1}%
+ }%
+ \endgroup
+ }
+}{%
+ \renewcommand\AtTextUpperLeft[1]{%
+ \begingroup
+ \@tempdima=1in\relax
+ \ifodd\c@page
+ \advance\@tempdima\oddsidemargin
+ \else
+ \advance\@tempdima\evensidemargin
+ \fi
+ \@tempdimb=-1in\relax
+ \advance\@tempdimb-\topmargin
+ \advance\@tempdimb-\headheight
+ \advance\@tempdimb-\headsep
+ \AtPageUpperLeft{%
+ \put(\LenToUnit{\if@RTLmain-\fi\@tempdima},\LenToUnit{\@tempdimb}){#1}%
+ }%
+ \endgroup
+ }
+}
+%%
+%% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org>
+%%
+%% It may be distributed and/or modified under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is “maintained” (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%% End of file `eso-pic-xetex-bidi.def'.
diff --git a/Master/texmf-dist/tex/latex/bidi/extarticle-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/extarticle-xetex-bidi.def
index 09c7a84190d..d885e12f7cd 100644
--- a/Master/texmf-dist/tex/latex/bidi/extarticle-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/extarticle-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{extarticle-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for extarticle class for XeTeX engine]
\renewcommand*\l@section[2]{%
\ifnum \c@tocdepth >\z@
diff --git a/Master/texmf-dist/tex/latex/bidi/extbook-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/extbook-xetex-bidi.def
index 6880e55357d..7009c05f889 100644
--- a/Master/texmf-dist/tex/latex/bidi/extbook-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/extbook-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{extbook-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for extbook class for XeTeX engine]
\if@titlepage
\renewcommand\maketitle{\begin{titlepage}%
diff --git a/Master/texmf-dist/tex/latex/bidi/extletter-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/extletter-xetex-bidi.def
index 64de7c1e947..684eac32f12 100644
--- a/Master/texmf-dist/tex/latex/bidi/extletter-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/extletter-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{extletter-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for extletter class for XeTeX engine]
\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress
\thispagestyle{firstpage}%
diff --git a/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def b/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def
index 98b0ab86372..72c27cf4e1d 100644
--- a/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def
+++ b/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{extrafootnotefeatures}[2012/12/12 v0.4 bidi extra footnote features for XeTeX engine]
\let\autofootnoterule\relax
\let\rightfootnoterule\relax
diff --git a/Master/texmf-dist/tex/latex/bidi/extreport-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/extreport-xetex-bidi.def
index f46f1600028..d988a0774a0 100644
--- a/Master/texmf-dist/tex/latex/bidi/extreport-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/extreport-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{extreport-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for extreport class for XeTeX engine]
\renewcommand*\l@part[2]{%
\ifnum \c@tocdepth >-2\relax
diff --git a/Master/texmf-dist/tex/latex/bidi/fancyhdr-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/fancyhdr-xetex-bidi.def
index ae4d0ab8338..cc97820c992 100644
--- a/Master/texmf-dist/tex/latex/bidi/fancyhdr-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/fancyhdr-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{fancyhdr-xetex-bidi.def}[2012/04/18 v0.4 bidi adaptations for fancyhdr package for XeTeX engine]
\let\fnch@everypar\everypar%
\def\@fancyhead#1#2#3#4#5{\if@RTLmain\beginR\else\beginL\fi#1\if@RTLmain\endR\else\endL\fi\hbox to\headwidth{\beginL\fancy@reset
diff --git a/Master/texmf-dist/tex/latex/bidi/fix2col-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/fix2col-xetex-bidi.def
index 1e7fed31a3f..417ea92108c 100644
--- a/Master/texmf-dist/tex/latex/bidi/fix2col-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/fix2col-xetex-bidi.def
@@ -12,7 +12,8 @@
%% License information appended.
%%
%%
-\ProvidesFile{fix2col-xetex-bidi.def}[2013/04/08 v0.2 bidi adaptations for fix2col package for XeTeX engine]
+
+\ProvidesFile{fix2col-xetex-bidi.def}[2013/04/10 v0.3 bidi adaptations for fix2col package for XeTeX engine]
\def\RTL@outputdblcol{%
\if@firstcolumn
\global\@firstcolumnfalse
@@ -31,9 +32,7 @@
\let\firstmark\@firstcolfirstmark
\let\topmark\@firstcoltopmark}%
\fi
- \global\count\footins\@m
- \global\skip\footins\rcol@footinsskip
-\else \preparefootins \global\@firstcolumntrue
+\else \global\@firstcolumntrue
\setbox\@outputbox \vbox {\hbox to\textwidth {%
\hskip \columnwidth
\hfil \vrule width\columnseprule \hfil
@@ -65,9 +64,7 @@
\let\firstmark\@firstcolfirstmark
\let\topmark\@firstcoltopmark}%
\fi
- \global\count\footins\@m
- \global\skip\footins\rcol@footinsskip
- \else \preparefootins
+ \else
\global\@firstcolumntrue
\setbox\@outputbox\vbox{%
\hb@xt@\textwidth{%
diff --git a/Master/texmf-dist/tex/latex/bidi/fleqn-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/fleqn-xetex-bidi.def
index d08d94385de..592ca3e07a2 100644
--- a/Master/texmf-dist/tex/latex/bidi/fleqn-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/fleqn-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{fleqn-xetex-bidi.def}[2010/03/01 v0.1 bidi adaptations for fleqn tag for XeTeX engine]
\renewcommand\[{\relax
\ifmmode\@badmath
diff --git a/Master/texmf-dist/tex/latex/bidi/float-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/float-xetex-bidi.def
index 8021dfb9957..cfb21ec8f04 100644
--- a/Master/texmf-dist/tex/latex/bidi/float-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/float-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{float-xetex-bidi.def}[2013/04/04 v0.2 bidi adaptations for float package for XeTeX engine]
\renewcommand\floatc@plain[2]{\setbox\@tempboxa\hbox{{\@fs@cfont #1:} #2}%
\ifdim\wd\@tempboxa>\hsize {\@fs@cfont #1:} #2\par
diff --git a/Master/texmf-dist/tex/latex/bidi/floatrow-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/floatrow-xetex-bidi.def
index 6e602e89f8b..04a19c92d57 100644
--- a/Master/texmf-dist/tex/latex/bidi/floatrow-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/floatrow-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{floatrow-xetex-bidi.def}[2013/04/08 v0.1 bidi adaptations for floatrow package for XeTeX engine]
\renewcommand\flnew@within[1]{\@addtoreset{\FB@captype}{#1}%
\expandafter\edef\csname the\FB@captype\endcsname{%
diff --git a/Master/texmf-dist/tex/latex/bidi/flowfram-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/flowfram-xetex-bidi.def
index c0351e04190..faae2ebfe55 100644
--- a/Master/texmf-dist/tex/latex/bidi/flowfram-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/flowfram-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{flowfram-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for flowfram package for XeTeX engine]
\def\@outputdblcol{%
\@nxtcol=\c@thisframe
diff --git a/Master/texmf-dist/tex/latex/bidi/footnote-luatex-bidi.def b/Master/texmf-dist/tex/latex/bidi/footnote-luatex-bidi.def
index 1fb8ee253d4..e087d92c573 100644
--- a/Master/texmf-dist/tex/latex/bidi/footnote-luatex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/footnote-luatex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{footnote-luatex-bidi.def}[2010/07/25 v0.1 bidi footnote macros for LuaTeX engine]
%%
%% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org>
diff --git a/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def
index 57275500542..ca44dbd28d3 100644
--- a/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{footnote-xetex-bidi.def}[2012/12/12 v0.6 bidi footnote macros for XeTeX engine]
\if@RTLmain\@RTL@footnotetrue\else\@RTL@footnotefalse\fi
\newif\ifbidi@autofootnoterule
diff --git a/Master/texmf-dist/tex/latex/bidi/framed-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/framed-xetex-bidi.def
index b117ed52257..2b0a91036c3 100644
--- a/Master/texmf-dist/tex/latex/bidi/framed-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/framed-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{framed-xetex-bidi.def}[2012/06/05 v0.3 bidi adaptations for framed package for XeTeX engine]
\renewcommand\TitleBarFrame[3][]{\begingroup
\ifx\delimiter#1\delimiter
diff --git a/Master/texmf-dist/tex/latex/bidi/ftnright-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/ftnright-xetex-bidi.def
index 9a15a8de26b..6549961230d 100644
--- a/Master/texmf-dist/tex/latex/bidi/ftnright-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/ftnright-xetex-bidi.def
@@ -12,7 +12,8 @@
%% License information appended.
%%
%%
-\ProvidesFile{ftnright-xetex-bidi.def}[2013/04/08 v0.2 bidi adaptations for ftnright package for XeTeX engine]
+
+\ProvidesFile{ftnright-xetex-bidi.def}[2013/04/10 v0.3 bidi adaptations for ftnright package for XeTeX engine]
\def\LTR@outputdblcol{\if@firstcolumn
\global\@firstcolumnfalse
\global\setbox\@leftcolumn\box\@outputbox
@@ -57,9 +58,11 @@
{\@outputpage\@startdblcolumn}%
\endgroup
\fi}
-\let\left@footnoterule\@empty
-\let\right@footnoterule\@empty
-\let\textwidth@footnoterule\@empty
+\let\leftfootnoterule\@empty
+\let\rightfootnoterule\@empty
+\let\textwidthfootnoterule\@empty
+\let\autofootnoterule\@empty
+\let\footnoterule\@empty
\long\def\@makefntext#1{\parindent 1em
\noindent\hbox to 2em{}%
\llap{\@thefnmark\hbox{.}\,\,}#1}
diff --git a/Master/texmf-dist/tex/latex/bidi/geometry-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/geometry-xetex-bidi.def
index a81dd172af9..7a62d3fa284 100644
--- a/Master/texmf-dist/tex/latex/bidi/geometry-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/geometry-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{geometry-xetex-bidi.def}[2013/04/01 v0.1 bidi adaptations for geometry package for XeTeX engine]
\renewcommand*{\Gm@vrules@mpi}{%
\if@RTLmain%
diff --git a/Master/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def
index b5e24cec441..69e81116d33 100644
--- a/Master/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{graphicx-xetex-bidi.def}[2012/01/01 v0.4 bidi adaptations for graphicx package for XeTeX engine]
\def\Grot@box@std#1#2{\ifmmode\else\if@RTL\beginL\fi\fi%
\Grot@setangle{#1}%
diff --git a/Master/texmf-dist/tex/latex/bidi/hvfloat-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/hvfloat-xetex-bidi.def
index c82fd2581df..b6a6d75295d 100644
--- a/Master/texmf-dist/tex/latex/bidi/hvfloat-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/hvfloat-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{hvfloat-xetex-bidi.def}[2012/04/18 v0.2 bidi adaptations for hvfloat package for XeTeX engine]
\def\do@@hvFloat[#1]#2#3{%
\def\hv@shortCap{#1}
diff --git a/Master/texmf-dist/tex/latex/bidi/hyperref-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/hyperref-xetex-bidi.def
index b7c51787008..baf87c71509 100644
--- a/Master/texmf-dist/tex/latex/bidi/hyperref-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/hyperref-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{hyperref-xetex-bidi.def}[2013/04/08 v0.7 bidi adaptations for hyperref package for XeTeX engine]
\AtBeginDocument{%
\def\contentsline#1#2#3#4{%
diff --git a/Master/texmf-dist/tex/latex/bidi/leqno-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/leqno-xetex-bidi.def
index 7dfc7eb37e5..cb687c65759 100644
--- a/Master/texmf-dist/tex/latex/bidi/leqno-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/leqno-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{leqno-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for leqno tag for XeTeX engine]
\renewcommand\@eqnnum{\hb@xt@.01\p@{}%
\rlap{
diff --git a/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def
index 547bcc85feb..921438e305a 100644
--- a/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/letter-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{letter-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for standard letter class for XeTeX engine]
\renewcommand*{\opening}[1]{\ifx\@empty\fromaddress
\thispagestyle{firstpage}%
diff --git a/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def
index bcd2d6aa263..390546d9fe2 100644
--- a/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{lettrine-xetex-bidi.def}[2013/04/16 v0.2 bidi adaptations for lettrine package for XeTeX engine]
\def\@lettrine[#1]#2#3{%
\setcounter{L@lines}{\theDefaultLines}%
diff --git a/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
index b47d8fc84a2..bee5431dfb5 100644
--- a/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/listings-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{listings-xetex-bidi.def}[2010/07/25 v0.5 bidi adaptations for listings package for XeTeX engine]
\AtBeginDocument{
\@ifundefined{thechapter}{\let\lst@ifnumberbychapter\iffalse}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def b/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
index c034ef37ffe..12d3bc34eb1 100644
--- a/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/loadingorder-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{loadingorder-bidi.def}[2013/04/16 v0.92 making sure that bidi is the last package loaded]
\bidi@isloaded{amsmath}
\bidi@isloaded{amstext}
diff --git a/Master/texmf-dist/tex/latex/bidi/longtable-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/longtable-xetex-bidi.def
index 1f93f8e4da3..22cf0b81c02 100644
--- a/Master/texmf-dist/tex/latex/bidi/longtable-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/longtable-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{longtable-xetex-bidi.def}[2013/04/01 v0.3 bidi adaptations for longtable package for XeTeX engine]
\def\LT@array[#1]#2{%
\refstepcounter{table}\stepcounter{LT@tables}%
diff --git a/Master/texmf-dist/tex/latex/bidi/luatex-bidi.def b/Master/texmf-dist/tex/latex/bidi/luatex-bidi.def
index 9e808708ce4..d99d6ce6008 100644
--- a/Master/texmf-dist/tex/latex/bidi/luatex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/luatex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{luatex-bidi.def}[2010/07/25 v0.1 bidi adaptations for LuaTeX engine]
\directlua { tex.enableprimitives('',{'pagedir','bodydir','pardir','textdir','mathdir'}) }
\input{footnote-luatex-bidi.def}
diff --git a/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def
index 94c9ffa0dca..5f42e733faf 100644
--- a/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{mdframed-xetex-bidi.def}[2013/04/08 v0.1 bidi adaptations for mdframed package for XeTeX engine]
\newif\if@bidi@mdf@RTL
\def\mdf@lrbox#1{%
diff --git a/Master/texmf-dist/tex/latex/bidi/memoir-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/memoir-xetex-bidi.def
index be7780571ed..3462ed52e47 100644
--- a/Master/texmf-dist/tex/latex/bidi/memoir-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/memoir-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{memoir-xetex-bidi.def}[2010/07/25 v0.5 bidi adaptations for memoir class for XeTeX engine]
\renewcommand{\keepthetitle}{%
\@bsmtitlempty
diff --git a/Master/texmf-dist/tex/latex/bidi/midfloat-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/midfloat-xetex-bidi.def
index 187609a1f5f..bdbcaf271c0 100644
--- a/Master/texmf-dist/tex/latex/bidi/midfloat-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/midfloat-xetex-bidi.def
@@ -12,7 +12,8 @@
%% License information appended.
%%
%%
-\ProvidesFile{midfloat-xetex-bidi.def}[2013/04/16 v0.1 bidi adaptations for midfloat package for XeTeX engine]
+
+\ProvidesFile{midfloat-xetex-bidi.def}[2013/04/10 v0.2 bidi adaptations for midfloat package for XeTeX engine]
\def\RTL@outputdblcol{%
\if@firstcolumn
\global \@firstcolumnfalse
@@ -58,9 +59,7 @@
\global\advance\c@colht by-\ht\@rightcolumn
\global\@colht\c@colht
\fi
- \global\count\footins\@m
- \global\skip\footins\rcol@footinsskip
- \else \preparefootins
+ \else
\global\@firstcolumntrue
\global\setbox\@outputbox\vbox to\ht\@leftcolumn{%
\unvbox\@rightcolumn
@@ -141,9 +140,7 @@
\global\advance\c@colht by-\ht\@rightcolumn
\global\@colht\c@colht
\fi
- \global\count\footins\@m
- \global\skip\footins\rcol@footinsskip
- \else \preparefootins
+ \else
\global\@firstcolumntrue
\global\setbox\@outputbox\vbox to\ht\@leftcolumn{%
\unvbox\@rightcolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/minitoc-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/minitoc-xetex-bidi.def
index 0cc83f74845..a2b623e19c0 100644
--- a/Master/texmf-dist/tex/latex/bidi/minitoc-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/minitoc-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{minitoc-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for minitoc package for XeTeX engine]
\def\@undottedtocline#1#2#3#4#5{%
\ifnum #1>\c@tocdepth\relax \else
diff --git a/Master/texmf-dist/tex/latex/bidi/multicol-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/multicol-xetex-bidi.def
index 7336c773515..ad053d6c61a 100644
--- a/Master/texmf-dist/tex/latex/bidi/multicol-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/multicol-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{multicol-xetex-bidi.def}[2011/11/18 v0.2 bidi adaptations for multicol package for XeTeX engine]
\def\revprocess@cols#1#2{\count@\doublecol@number\relax
\advance\count@ by -2
diff --git a/Master/texmf-dist/tex/latex/bidi/multienum-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/multienum-xetex-bidi.def
index d7dd6a0610a..4071d605b99 100644
--- a/Master/texmf-dist/tex/latex/bidi/multienum-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/multienum-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{multienum-xetex-bidi.def}[2011/04/16 v0.1 bidi adaptations for multienum package for XeTeX engine]
\renewcommand{\itemx}[1]{\parbox[t]%
{\labelwidth}{\hfill{\labelname}}\hskip\labelsep%
diff --git a/Master/texmf-dist/tex/latex/bidi/natbib-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/natbib-xetex-bidi.def
index bd0c71e16b1..79be3a1b432 100644
--- a/Master/texmf-dist/tex/latex/bidi/natbib-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/natbib-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{natbib-xetex-bidi.def}[2011/06/04 v0.1 bidi adaptations for natbib package for XeTeX engine]
\renewenvironment{thebibliography}[1]{%
\bibsection
diff --git a/Master/texmf-dist/tex/latex/bidi/ntheorem-hyper-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/ntheorem-hyper-xetex-bidi.def
index 612a4bf6775..ca31199dd48 100644
--- a/Master/texmf-dist/tex/latex/bidi/ntheorem-hyper-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/ntheorem-hyper-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{ntheorem-hyper-xetex-bidi.def}[2012/05/01 v0.1 bidi adaptations for ntheorem-hyper package for XeTeX engine]
\gdef\@thm#1#2#3{%
\if@thmmarks
diff --git a/Master/texmf-dist/tex/latex/bidi/ntheorem-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/ntheorem-xetex-bidi.def
index 1d60c7f8db7..9cdb02abef6 100644
--- a/Master/texmf-dist/tex/latex/bidi/ntheorem-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/ntheorem-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{ntheorem-xetex-bidi.def}[2012/05/01 v0.1 bidi adaptations for ntheorem package for XeTeX engine]
\gdef\@thm#1#2#3{%
\if@thmmarks
diff --git a/Master/texmf-dist/tex/latex/bidi/pdfpages-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/pdfpages-xetex-bidi.def
index 65af0c89dc5..9f152c39ca6 100644
--- a/Master/texmf-dist/tex/latex/bidi/pdfpages-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/pdfpages-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{pdfpages-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for pdfpages package for XeTeX engine]
\renewcommand*{\includepdf}[2][]{%
\begingroup
diff --git a/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
index 004d32e2eae..86683ef901c 100644
--- a/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/pgf-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{pgf-xetex-bidi.def}[2012/07/08 v0.4 bidi adaptations for pgf package for XeTeX engine]
\let\origin@pgfpicture=\pgfpicture
\let\origin@endpgfpicture=\endpgfpicture
diff --git a/Master/texmf-dist/tex/latex/bidi/picinpar-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/picinpar-xetex-bidi.def
index 36bbe251b8f..f41d282be26 100644
--- a/Master/texmf-dist/tex/latex/bidi/picinpar-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/picinpar-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{picinpar-xetex-bidi.def}[2013/04/08 v0.2 bidi adaptations for picinpar package for XeTeX engine]
\long\def\@makewincaption#1#2{%
\setbox\@tempboxa\hbox{\footnotesize{\bf #1:\enspace}{#2}}%
diff --git a/Master/texmf-dist/tex/latex/bidi/plain-luatex-bidi.def b/Master/texmf-dist/tex/latex/bidi/plain-luatex-bidi.def
index 2f55f94a437..32374cc653a 100644
--- a/Master/texmf-dist/tex/latex/bidi/plain-luatex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/plain-luatex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\directlua { tex.enableprimitives('',tex.extraprimitives()) }
%%
%% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org>
diff --git a/Master/texmf-dist/tex/latex/bidi/plain-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/plain-xetex-bidi.def
index 709a41c401b..544b68cde29 100644
--- a/Master/texmf-dist/tex/latex/bidi/plain-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/plain-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\def\TeXXeTOn{\TeXXeTstate=1 }
\def\TeXXeTOff{\TeXXeTstate=0 }
\TeXXeTOn
diff --git a/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
index e08af4f640a..427fa91f017 100644
--- a/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/pstricks-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{pstricks-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for pstricks package for XeTeX engine]
\let\origin@pspicture=\pspicture
\let\origin@endpspicture=\endpspicture
diff --git a/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def
index a8e56c02c9d..0d5e631860f 100644
--- a/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/quotchap-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{quotchap-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for quotchap package for XeTeX engine]
\renewcommand{\qauthor}[1]{%
\par\smallskip
diff --git a/Master/texmf-dist/tex/latex/bidi/ragged2e-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/ragged2e-xetex-bidi.def
index 3cf1f71fd44..a5493a6e856 100644
--- a/Master/texmf-dist/tex/latex/bidi/ragged2e-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/ragged2e-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{ragged2e-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for ragged2e package for XeTeX engine]
\renewcommand{\Centering}{%
\ifx\\\@raggedtwoe@savedcr
diff --git a/Master/texmf-dist/tex/latex/bidi/rapport1-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/rapport1-xetex-bidi.def
index 23a9873c104..4f3e0a32e81 100644
--- a/Master/texmf-dist/tex/latex/bidi/rapport1-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/rapport1-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{rapport1-xetex-bidi.def}[2011/08/26 v0.2 bidi adaptations for rapport1 class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
index 5ed0e127207..12c3c5557d2 100644
--- a/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/rapport3-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{rapport3-xetex-bidi.def}[2011/08/26 v0.4 bidi adaptations for rapport3 class for XeTeX engine]
\renewenvironment{theindex}{%
\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def
index 13f6ad90722..d0f0dab8d06 100644
--- a/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/refrep-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{refrep-xetex-bidi.def}[2010/07/25 v0.3 bidi adaptations for refrep class for XeTeX engine]
\if@titlepage
\renewcommand\maketitle{\begin{titlepage}%
diff --git a/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def
index ea6768508fd..4e074528c7e 100644
--- a/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/report-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{report-xetex-bidi.def}[2011/08/26 v0.6 bidi adaptations for standard report class for XeTeX engine]
\renewenvironment{theindex}
{\if@twocolumn
diff --git a/Master/texmf-dist/tex/latex/bidi/scrartcl-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/scrartcl-xetex-bidi.def
index 56c9daeb5ba..7c6f739532d 100644
--- a/Master/texmf-dist/tex/latex/bidi/scrartcl-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/scrartcl-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{scrartcl-xetex-bidi.def}[2012/01/01 v0.6 bidi adaptations for scrartcl class for XeTeX engine]
\newcommand{\scr@saved@LTRfootnotetext}{}
\newcommand{\scr@saved@RTLfootnotetext}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/scrbook-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/scrbook-xetex-bidi.def
index 4d9708ac795..28b6a3272aa 100644
--- a/Master/texmf-dist/tex/latex/bidi/scrbook-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/scrbook-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{scrbook-xetex-bidi.def}[2012/01/01 v0.6 bidi adaptations for scrbook class for XeTeX engine]
\newcommand{\scr@saved@LTRfootnotetext}{}
\newcommand{\scr@saved@RTLfootnotetext}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def
index b811eaf14c6..c3e26e15c5d 100644
--- a/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/scrlettr-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{scrlettr-xetex-bidi.def}[2011/09/24 v0.2 bidi adaptations for scrlettr class for XeTeX engine]
\renewcommand\deffootnote[4][]{%
\long\def\@makefntext##1{%
diff --git a/Master/texmf-dist/tex/latex/bidi/scrreprt-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/scrreprt-xetex-bidi.def
index 4f76a73b4c9..bdbfb0727ff 100644
--- a/Master/texmf-dist/tex/latex/bidi/scrreprt-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/scrreprt-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{scrreprt-xetex-bidi.def}[2012/01/01 v0.6 bidi adaptations for scrreprt class for XeTeX engine]
\newcommand{\scr@saved@LTRfootnotetext}{}
\newcommand{\scr@saved@RTLfootnotetext}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/sidecap-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/sidecap-xetex-bidi.def
index 4bcc6681291..27d4431d3ea 100644
--- a/Master/texmf-dist/tex/latex/bidi/sidecap-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/sidecap-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{sidecap-xetex-bidi.def}[2010/08/01 v0.1 bidi adaptations for sidecap package for XeTeX engine]
\renewcommand*{\SC@FLOAT}[2]{\if@RTL%
\isSC@ODD{{#1}\hspace{\sidecaptionsep}{#2}} {{#2}\hspace{\sidecaptionsep}{#1}}\else%
diff --git a/Master/texmf-dist/tex/latex/bidi/stabular-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/stabular-xetex-bidi.def
index 4091e18f21b..465310e0c99 100644
--- a/Master/texmf-dist/tex/latex/bidi/stabular-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/stabular-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{stabular-xetex-bidi.def}[2010/08/01 v0.2 bidi adaptations for stabular package for XeTeX engine]
\def\@stabular{\if@RTL\@RTLtabtrue\fi
\leavevmode \bgroup \if@RTLtab\beginR \fi
diff --git a/Master/texmf-dist/tex/latex/bidi/subfigure-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/subfigure-xetex-bidi.def
index 9d73c31f9e6..c830248e246 100644
--- a/Master/texmf-dist/tex/latex/bidi/subfigure-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/subfigure-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{subfigure-xetex-bidi.def}[2010/03/01 v0.1 bidi adaptations for subfigure package for XeTeX engine]
\AtBeginDocument{%
\let\p@subfigure=\thefigure
diff --git a/Master/texmf-dist/tex/latex/bidi/tabls-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tabls-xetex-bidi.def
index 657939f0944..8e1cf16953d 100644
--- a/Master/texmf-dist/tex/latex/bidi/tabls-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/tabls-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{tabls-xetex-bidi.def}[2010/08/01 v0.2 bidi adaptations for tabls package for XeTeX engine]
\def\endtabular{\endarray $\if@RTLtab\endR\fi\egroup
\@RTLtabfalse}
diff --git a/Master/texmf-dist/tex/latex/bidi/tabulary-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tabulary-xetex-bidi.def
index 460cff85b51..ca4b4abd5a0 100644
--- a/Master/texmf-dist/tex/latex/bidi/tabulary-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/tabulary-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{tabulary-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for tabulary package for XeTeX engine]
\def\@testpach{\@chclass
\ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
diff --git a/Master/texmf-dist/tex/latex/bidi/titlesec-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/titlesec-xetex-bidi.def
index bf48ee693b2..3df8a262b98 100644
--- a/Master/texmf-dist/tex/latex/bidi/titlesec-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/titlesec-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{titlesec-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for titlesec package for XeTeX engine]
\renewcommand\filright{%
\gdef\ttl@filleft##1{\hskip##1}%
diff --git a/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
index 0b0b2a68bb9..7cc5819a3db 100644
--- a/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/titletoc-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{titletoc-xetex-bidi.def}[2013/04/16 v0.2 bidi adaptations for titletoc package for XeTeX engine]
\renewcommand\filright{%
\gdef\ttl@filleft##1{\hskip##1}%
diff --git a/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def
index 41a4a40ab06..db2e3ac594f 100644
--- a/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/tocbibind-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{tocbibind-xetex-bidi.def}[2012/12/12 v0.3 bidi adaptations for tocbibind package for XeTeX engine]
\if@dotocbib
\@ifpackageloaded{natbib}{}{% natbib not loaded
diff --git a/Master/texmf-dist/tex/latex/bidi/tocloft-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tocloft-xetex-bidi.def
index 880eca9a1bd..ad85b05d9ed 100644
--- a/Master/texmf-dist/tex/latex/bidi/tocloft-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/tocloft-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{tocloft-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for tocloft package for XeTeX engine]
\let\cftdot\@SepMark
\if@cfthaspart
diff --git a/Master/texmf-dist/tex/latex/bidi/tocstyle-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/tocstyle-xetex-bidi.def
index bde21a3ecd1..91a49903ff1 100644
--- a/Master/texmf-dist/tex/latex/bidi/tocstyle-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/tocstyle-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{tocstyle-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for tocstyle package for XeTeX engine]
\renewcommand*{\tocstyle@dottedtocline}[5]{%
\let\numberline\tocstyle@numberline
diff --git a/Master/texmf-dist/tex/latex/bidi/wrapfig-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/wrapfig-xetex-bidi.def
index bc3b6034f52..1ca59e972c6 100644
--- a/Master/texmf-dist/tex/latex/bidi/wrapfig-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/wrapfig-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{wrapfig-xetex-bidi.def}[2010/07/25 v0.2 bidi adaptations for wrapfig package for XeTeX engine]
\let\WF@@everypar\bidi@n@everypar
\def\WF@putfigmaybe{%
diff --git a/Master/texmf-dist/tex/latex/bidi/xcolor-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xcolor-xetex-bidi.def
index f6bfcfa9058..e072b3c891f 100644
--- a/Master/texmf-dist/tex/latex/bidi/xcolor-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xcolor-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{xcolor-xetex-bidi.def}[2013/04/08 v0.2 bidi adaptations for xcolor package for XeTeX engine]
\long\def\color@b@x#1#2#3%
{\leavevmode\ifmmode\else\if@RTL\beginL\fi\fi
diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
index 975129c0232..dfddd5c50f2 100644
--- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def
@@ -12,7 +12,8 @@
%% License information appended.
%%
%%
-\ProvidesFile{xetex-bidi.def}[2013/04/16 v1.0.8 bidi adaptations for XeTeX engine]
+
+\ProvidesFile{xetex-bidi.def}[2013/04/10 v1.0.9 bidi adaptations for XeTeX engine]
\newcommand{\TeXXeTOn}{\TeXXeTstate=1 }
\newcommand{\TeXXeTOff}{\TeXXeTstate=0 }
\TeXXeTOn
@@ -95,10 +96,6 @@
\let\setRL=\setRTL
\let\setLR=\setLTR
\let\unsetRL=\setLTR
-\gdef\endpicture{%
- \egroup\hss\egroup
- \ht\@picbox\@picht\dp\@picbox\z@
- \mbox{\beginL\box\@picbox\endL}}
\@ifpackageloaded{mathtools}{\RequirePackage{graphicx}}{}
\@ifpackageloaded{crop}{\RequirePackage{graphicx}}{}
\@ifpackageloaded{sidecap}{\RequirePackage{ragged2e}}{}
@@ -388,6 +385,51 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\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}}
@@ -610,6 +652,12 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\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@}%
}
@@ -646,11 +694,10 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{breqn}{\input{breqn-xetex-bidi.def}}{}
\@ifpackageloaded{caption}{\input{caption-xetex-bidi.def}}{}
\@ifpackageloaded{caption3}{\input{caption3-xetex-bidi.def}}{}
-\@ifpackageloaded{crop}{\@ifclassloaded{memoir}{}{\input{crop-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{ftnright}{\input{ftnright-xetex-bidi.def}}{}
\@ifpackageloaded{cuted}{\input{cuted-xetex-bidi.def}}{}
\@ifpackageloaded{xcolor}{\input{xcolor-xetex-bidi.def}}{}
\@ifpackageloaded{colortbl}{\input{colortbl-xetex-bidi.def}}{}
@@ -666,9 +713,11 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi}
\@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-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}}{}
diff --git a/Master/texmf-dist/tex/latex/bidi/xltxtra-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xltxtra-xetex-bidi.def
index 2c57db78094..307b7c4b6b2 100644
--- a/Master/texmf-dist/tex/latex/bidi/xltxtra-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/xltxtra-xetex-bidi.def
@@ -12,6 +12,7 @@
%% License information appended.
%%
%%
+
\ProvidesFile{xltxtra-xetex-bidi.def}[2010/07/25 v0.1 bidi adaptations for xltxtra package for XeTeX engine]
\let\@@XeTeX\XeTeX
\def\XeTeX{\@ensure@LTR{\@@XeTeX}}