diff options
author | Karl Berry <karl@freefriends.org> | 2011-11-28 23:44:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-11-28 23:44:47 +0000 |
commit | eab43500db8fdd78f70d0eaff72729a7cdaeea92 (patch) | |
tree | 20cab65274bfe78b9c235541bfbb7e43037e9d10 /Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def | |
parent | 943060c95de767f07c7b00d0637d3fc96a08486f (diff) |
bidi (28nov11)
git-svn-id: svn://tug.org/texlive/trunk@24680 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def b/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def index d8b03a322b5..ada72ce743e 100644 --- a/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def +++ b/Master/texmf-dist/tex/latex/bidi/extrafootnotefeatures.def @@ -219,9 +219,15 @@ \newinsert\@mpfootinsv@r \bidi@ensure@newcommand{\mp@footgroupv@r}{} \newcount\m@m@k \newdimen\m@m@h +\@ifpackageloaded{multicol}{% \bidi@ensure@newcommand*{\m@mrigidbalance}[3]{\setbox0=\box#1 \m@m@k=#2 \m@m@h=#3 + \hsize\textwidth \@@line{\if@RTLcolumnfootnotes\beginR\fi\splittopskip=\m@m@h \vbadness=\@M \hfilneg \valign{##\vfill\cr\m@mdosplits}\if@RTLcolumnfootnotes\endR\fi}} +}{% +\bidi@ensure@newcommand*{\m@mrigidbalance}[3]{\setbox0=\box#1 \m@m@k=#2 \m@m@h=#3 + \@@line{\if@RTLcolumnfootnotes\beginR\fi\splittopskip=\m@m@h \vbadness=\@M \hfilneg + \valign{##\vfill\cr\m@mdosplits}\if@RTLcolumnfootnotes\endR\fi}}} \bidi@ensure@newcommand*{\m@mdosplits}{\ifnum\m@m@k>0 \noalign{\hfil}\m@msplitoff \global\advance\m@m@k-1\cr\m@mdosplits\fi} \bidi@ensure@newcommand*{\m@msplitoff}{\dimen0=\ht0 @@ -1562,8 +1568,10 @@ \bidi@ensure@newcommand*{\m@minterparanoteglue}[1]{% {\foottextfont\global\m@mipn@skip=#1\relax}} \m@minterparanoteglue{1em plus.4em minus.4em} +\@ifpackageloaded{multicol}{% \bidi@ensure@newcommand*{\m@mmakehboxofhboxes}{% \if@parafootRTL\@RTLtrue\else\@RTLfalse\fi% + \hsize\textwidth% \setbox0=\hbox{}% \loop \unpenalty @@ -1571,6 +1579,16 @@ \ifhbox2 \setbox0=\hbox{\box2\unhbox0} \repeat} +}{% +\bidi@ensure@newcommand*{\m@mmakehboxofhboxes}{% + \if@parafootRTL\@RTLtrue\else\@RTLfalse\fi% + \setbox0=\hbox{}% + \loop + \unpenalty + \setbox2=\lastbox + \ifhbox2 + \setbox0=\hbox{\box2\unhbox0} + \repeat}} \bidi@ensure@newcommand*{\m@mremovehboxes}{\setbox0=\lastbox \ifhbox0{\m@mremovehboxes}\unhbox0 \fi} \bidi@ensure@newcommand*{\footfudgefiddle}{64} |