diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-23 22:07:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-23 22:07:56 +0000 |
commit | 63ae29c1bc0f8ede732afd7f7dcf9792f9e5f9c4 (patch) | |
tree | 6ffd3b6265de5bee6f61e96acf9b6d26e20e3e68 /Master/texmf-dist/tex | |
parent | 19a4c79454154c68892541543d3fbd4bbefcae75 (diff) |
bidi (23apr13)
git-svn-id: svn://tug.org/texlive/trunk@30071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/bidi.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/bidi.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def | 37 |
4 files changed, 31 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/bidi.sty b/Master/texmf-dist/tex/latex/bidi/bidi.sty index eaa4d6b8f09..becee45d46a 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/16} -\def\bidiversion{v12.7} +\def\bididate{2013/04/24} +\def\bidiversion{v12.8} \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 6a0cf4755ec..edacc29e834 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/16} +\def\bididate{2013/04/24} \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 57275500542..202c8351946 100644 --- a/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def @@ -12,9 +12,10 @@ %% License information appended. %% %% -\ProvidesFile{footnote-xetex-bidi.def}[2012/12/12 v0.6 bidi footnote macros for XeTeX engine] +\ProvidesFile{footnote-xetex-bidi.def}[2013/04/21 v0.7 bidi footnote macros for XeTeX engine] \if@RTLmain\@RTL@footnotetrue\else\@RTL@footnotefalse\fi \newif\ifbidi@autofootnoterule +\def\bidi@mpfootnoterule{\footnoterule} \newcounter{footdir@label} \renewcommand*{\thefootdir@label}{footdir@\the\value{footdir@label}} \newcommand*{\footdir@write}{% @@ -224,7 +225,7 @@ \footdir@temp\footdir@ORG@bidi@LTRfootnotetext\@LTRfootnotetext{L}% \long\def\@mpRTLfootnotetext#1{% - \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\rightfootnoterule\fi\fi% + \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\right@footnoterule\fi\fi% \global\setbox\@mpfootins\vbox{\@RTLtrue% \unvbox\@mpfootins \reset@font\footnotesize @@ -237,7 +238,7 @@ \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% \color@endgroup}} \long\def\@mpLTRfootnotetext#1{% - \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\leftfootnoterule\fi\fi% + \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi% \global\setbox\@mpfootins\vbox{\@RTLfalse% \unvbox\@mpfootins \reset@font\footnotesize @@ -250,7 +251,7 @@ \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% \color@endgroup}} \long\def\@mpfootnotetext#1{% - \ifbidi@autofootnoterule\ifnum\c@mpfootnote=1\if@RTL@footnote\rightfootnoterule\else\leftfootnoterule\fi\fi\fi% + \ifbidi@autofootnoterule\ifnum\c@mpfootnote=\@ne\if@RTL@footnote\global\let\bidi@mpfootnoterule\right@footnoterule\else\global\let\bidi@mpfootnoterule\left@footnoterule\fi\fi\fi% \global\setbox\@mpfootins\vbox{\if@RTL@footnote\@RTLtrue\else\@RTLfalse\fi% \unvbox\@mpfootins \reset@font\footnotesize @@ -281,6 +282,19 @@ \let\@listdepth\@mplistdepth \@mplistdepth\z@ \@minipagerestore \@setminipage} +\def\endminipage{% + \par + \unskip + \ifvoid\@mpfootins\else + \vskip\skip\@mpfootins + \normalcolor + \bidi@mpfootnoterule + \unvbox\@mpfootins + \fi + \@minipagefalse %% added 24 May 89 + \color@endgroup + \egroup + \expandafter\@iiiparbox\@mpargs{\unvbox\@tempboxa}} \def\LTRthanks#1{\footnotemark \protected@xdef\@thanks{\@thanks \protect\LTRfootnotetext[\the\c@footnote]{#1}}% 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 686c2fee239..b3d2d89d3d0 100644 --- a/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{mdframed-xetex-bidi.def}[2013/04/16 v0.2 bidi adaptations for mdframed package for XeTeX engine] +\ProvidesFile{mdframed-xetex-bidi.def}[2013/04/20 v0.3 bidi adaptations for mdframed package for XeTeX engine] \newif\if@bidi@mdf@RTL \def\mdf@lrbox#1{% %%patch to work with amsthm @@ -70,29 +70,16 @@ +\mdf@frametitlebelowskip@length \relax% } -\newrobustcmd*\mdf@left@footnoterule{% - \kern0\p@% - \hrule \@width 1in \kern 2.6\p@} -\newrobustcmd*\mdf@right@footnoterule{% - \hbox to \columnwidth - {\beginR \vbox{\kern0\p@% - \hrule \@width 1in \kern 2.6\p@}\hfil\endR}} - -\newrobustcmd*\mdf@textwidth@footnoterule{\kern0\p@% - \hrule \@width \columnwidth \kern 2.6\p@} - -\newrobustcmd*\mdf@leftfootnoterule{% -\bidi@autofootnoterulefalse% -\renewrobustcmd*\mdf@footnoterule{\mdf@left@footnoterule}} - -\newrobustcmd*\mdf@rightfootnoterule{% -\bidi@autofootnoterulefalse% -\renewrobustcmd*\mdf@footnoterule{\mdf@right@footnoterule}} - -\newrobustcmd*\mdf@textwidthfootnoterule{% -\bidi@autofootnoterulefalse% -\renewrobustcmd*\mdf@footnoterule{\mdf@textwidth@footnoterule}} +\renewrobustcmd*\mdf@footnoteoutput{% + \ifvoid\@mpfootins\else% + \nobreak% + \vskip\mdf@footenotedistance@length% + \normalcolor% + \bidi@mpfootnoterule% + \unvbox\@mpfootins% + \fi% +} \renewrobustcmd*\mdf@footnoteinput{% \def\@mpfn{mpfootnote}% @@ -101,10 +88,6 @@ \let\@footnotetext\@mpfootnotetext% \let\@LTRfootnotetext\@mpLTRfootnotetext% \let\@RTLfootnotetext\@mpRTLfootnotetext% - \let\leftfootnoterule\mdf@leftfootnoterule% - \let\LRfootnoterule=\leftfootnoterule% - \let\rightfootnoterule\mdf@rightfootnoterule% - \let\textwidthfootnoterule\mdf@textwidthfootnoterule% } %% %% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org> |