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/latex/bidi/mdframed-xetex-bidi.def | |
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/latex/bidi/mdframed-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/mdframed-xetex-bidi.def | 37 |
1 files changed, 10 insertions, 27 deletions
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> |