diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-25 22:34:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-25 22:34:06 +0000 |
commit | e694cedf504de9df6982e24972ec473d2ddcf5e9 (patch) | |
tree | 72b982dbd28d98c1a6b2edecbd8b469270aaeb44 /Master/texmf-dist/tex/latex | |
parent | cfa2367936c9c7cf864687e098482ca255082a90 (diff) |
bidi (25apr13)
git-svn-id: svn://tug.org/texlive/trunk@30108 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
6 files changed, 19 insertions, 11 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..c510ae2379e 100644 --- a/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/amsart-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{amsart-xetex-bidi.def}[2012/12/12 v0.7 bidi adaptations for amsart class for XeTeX engine] +\ProvidesFile{amsart-xetex-bidi.def}[2013/04/26 v0.8 bidi adaptations for amsart class for XeTeX engine] \def\@tocline#1#2#3#4#5#6#7{\relax \ifnum #1>\c@tocdepth % then omit \else @@ -83,7 +83,7 @@ \@makefntext{% \rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}} -\footdir@temp\footdir@ORG@bidi@amsart@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}% +\footdir@temp\footdir@ORG@bidi@amsart@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@bidi@amsart@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@bidi@amsart@LTRfootnotetext\@LTRfootnotetext{L}% 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..102038e92fc 100644 --- a/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/amsbook-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{amsbook-xetex-bidi.def}[2012/12/12 v0.8 bidi adaptations for amsbook class for XeTeX engine] +\ProvidesFile{amsbook-xetex-bidi.def}[2013/04/26 v0.9 bidi adaptations for amsbook class for XeTeX engine] \def\@tocline#1#2#3#4#5#6#7{\relax \ifnum #1>\c@tocdepth % then omit \else @@ -92,7 +92,7 @@ \@makefntext{% \rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}} -\footdir@temp\footdir@ORG@bidi@amsbook@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}% +\footdir@temp\footdir@ORG@bidi@amsbook@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@bidi@amsbook@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@bidi@amsbook@LTRfootnotetext\@LTRfootnotetext{L}% 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..b815480d47b 100644 --- a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{amsmath-xetex-bidi.def}[2013/04/04 v0.4 bidi adaptations for amsmath package for XeTeX engine] +\ProvidesFile{amsmath-xetex-bidi.def}[2013/04/25 v0.5 bidi adaptations for amsmath package for XeTeX engine] \let\veqno=\eqno \iftagsleft@ \let\veqno=\leqno \fi \renewcommand{\numberwithin}[3][\arabic]{% @@ -20,7 +20,7 @@ \@ifundefined{c@#3}{\@nocnterr{#3}}{% \@addtoreset{#2}{#3}% \@xp\xdef\csname the#2\endcsname{% - \@xp\@nx\csname the#3\endcsname \@SepMark\@nx#1{#2}}}}% + \@xp\@nx\csname the#3\endcsname \@nx\@SepMark\@nx#1{#2}}}}% } \def\tagform@#1{\maketag@@@{\if@RTL\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@RTL\endR\fi}} \renewcommand{\eqref}[1]{\beginL\textup{\tagform@{\ref{#1}}}\endL} diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty index becee45d46a..eba1bded9e3 100644 --- a/Master/texmf-dist/tex/latex/bidi/bidi.sty +++ b/Master/texmf-dist/tex/latex/bidi/bidi.sty @@ -13,8 +13,8 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\def\bididate{2013/04/24} -\def\bidiversion{v12.8} +\def\bididate{2013/04/26} +\def\bidiversion{v13.000} \ProvidesPackage{bidi}[\bididate\space \bidiversion\space Bidirectional typesetting in plain TeX and LaTeX] \edef\bidiinfo{% diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.tex b/Master/texmf-dist/tex/latex/bidi/bidi.tex index edacc29e834..34df876618a 100644 --- a/Master/texmf-dist/tex/latex/bidi/bidi.tex +++ b/Master/texmf-dist/tex/latex/bidi/bidi.tex @@ -12,7 +12,7 @@ %% License information appended. %% %% -\def\bididate{2013/04/24} +\def\bididate{2013/04/26} \def\bidiversion{v0.2} \catcode`@=11 \let \protect \relax 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 202c8351946..c8047927e19 100644 --- a/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{footnote-xetex-bidi.def}[2013/04/21 v0.7 bidi footnote macros for XeTeX engine] +\ProvidesFile{footnote-xetex-bidi.def}[2013/04/26 v0.8 bidi footnote macros for XeTeX engine] \if@RTLmain\@RTL@footnotetrue\else\@RTL@footnotefalse\fi \newif\ifbidi@autofootnoterule \def\bidi@mpfootnoterule{\footnoterule} @@ -220,7 +220,15 @@ \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% \color@endgroup}}% -\footdir@temp\footdir@ORG@bidi@footnotetext\@footnotetext{\if@RTL@footnote R\else L\fi}% +\AtBeginDocument{% +\if@RTL@footnote + \newcommand*{\bidi@footdir@footnote}{R} +\else + \newcommand*{\bidi@footdir@footnote}{L} +\fi% +} + +\footdir@temp\footdir@ORG@bidi@footnotetext\@footnotetext{\bidi@footdir@footnote}% \footdir@temp\footdir@ORG@bidi@RTLfootnotetext\@RTLfootnotetext{R}% \footdir@temp\footdir@ORG@bidi@LTRfootnotetext\@LTRfootnotetext{L}% |