diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/xetex-bidi.def | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def index 6516f3d31a5..c6d0b7042e1 100644 --- a/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{xetex-bidi.def}[2012/07/25 v1.0.4 bidi adaptations for XeTeX engine] +\ProvidesFile{xetex-bidi.def}[2012/12/12 v1.0.6 bidi adaptations for XeTeX engine] \newcommand{\TeXXeTOn}{\TeXXeTstate=1 } \newcommand{\TeXXeTOff}{\TeXXeTstate=0 } \TeXXeTOn @@ -249,7 +249,7 @@ \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi \else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi\fi - \ignorespaces}{\endtrivlist} + \ignorespaces}{\vskip\z@} \newenvironment{RTLitems} {\par\@RTLtrue \if@bidi@list@minipage@parbox @@ -258,7 +258,7 @@ \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi \else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi\fi - \ignorespaces}{\endtrivlist} + \ignorespaces}{\vskip\z@} \newenvironment{LTRbibitems} {\par\@RTLfalse \if@bidi@list@minipage@parbox @@ -267,7 +267,7 @@ \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi \else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi\fi - \ignorespaces}{\endtrivlist} + \ignorespaces}{\vskip\z@} \newenvironment{RTLbibitems} {\par\@RTLtrue \if@bidi@list@minipage@parbox @@ -276,7 +276,7 @@ \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\else \parshape \@ne \dimexpr(\@totalleftmargin+\leftmargin) \linewidth\fi \else \parshape \@ne \dimexpr(\@totalleftmargin-\leftmargin) \linewidth\fi\fi - \ignorespaces}{\endtrivlist} + \ignorespaces}{\vskip\z@} \def\raggedright{% \let\\\@centercr \rightskip\z@skip\rightskip\@flushglue @@ -654,6 +654,9 @@ $\@@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@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}}{} @@ -700,6 +703,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \@ifpackageloaded{hyperref}{\input{hyperref-xetex-bidi.def}}{} \@ifpackageloaded{ntheorem-hyper}{\input{ntheorem-hyper-xetex-bidi.def}}{} \@ifpackageloaded{fancyhdr}{\input{fancyhdr-xetex-bidi.def}}{} +\@ifpackageloaded{fix2col}{\input{fix2col-xetex-bidi.def}}{} \@ifpackageloaded{draftwatermark}{\input{draftwatermark-xetex-bidi.def}}{} \@ifpackageloaded{dblfnote}{\input{dblfnote-xetex-bidi.def}}{} \@ifpackageloaded{empheq}{\input{empheq-xetex-bidi.def}}{} @@ -753,7 +757,7 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \@ifpackageloaded{tocloft}{\@ifclassloaded{memoir}{}{\input{tocloft-xetex-bidi.def}}}{} \DeclareOption{extrafootnotefeatures}{\input{extrafootnotefeatures.def}} %% -%% Copyright © 2009–2012 Vafa Khalighi <vafakhlg@gmail.com> +%% Copyright © 2009–2012 Vafa Khalighi <vafak12@gmail.com> %% %% It may be distributed and/or modified under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of |