diff options
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def | 63 |
1 files changed, 56 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def index 516c09935d6..7505a241f1d 100644 --- a/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def +++ b/Master/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def @@ -17,7 +17,7 @@ %% by Vafa Khalighi. %% %% -%% \CheckSum{49745} +%% \CheckSum{50014} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -34,7 +34,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% -\ProvidesFile{latex-xetex-bidi.def}[2018/09/21 v1.3.4 bidi adaptations for `latex.ltx' for XeTeX engine] +\ProvidesFile{latex-xetex-bidi.def}[2018/09/23 v1.3.5 bidi adaptations for `latex.ltx' for XeTeX engine] \newcommand{\TeXXeTOn}{\TeXXeTstate\@ne} \newcommand{\TeXXeTOff}{\TeXXeTstate\z@} \TeXXeTOn @@ -514,6 +514,60 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \renewcommand{\@outputdblcol}{\if@RTLmain\RTL@outputdblcol\else\LTR@outputdblcol\fi} \newcommand{\RTLdblcol}{\renewcommand{\@outputdblcol}{\RTL@outputdblcol}} \newcommand{\LTRdblcol}{\renewcommand{\@outputdblcol}{\LTR@outputdblcol}} + +\gdef \@makecol {% + \ifvoid\footins + \ifvoid\@bidi@copyins@ + \setbox\@outputbox \box\@cclv + \else + \setbox\@outputbox \vbox {% + \boxmaxdepth \@maxdepth + \unvbox \@cclv + \vskip \skip\@bidi@copyins@ + \color@begingroup + \normalcolor + \unvbox \@bidi@copyins@ + \color@endgroup + }% + \fi + \else + \setbox\@outputbox \vbox {% + \boxmaxdepth \@maxdepth + \unvbox \@cclv + \vskip \skip\footins + \color@begingroup + \normalcolor + \footnoterule + \unvbox \footins + \color@endgroup + \ifvoid\@bidi@copyins@ + \else + \vskip \skip\@bidi@copyins@ + \color@begingroup + \normalcolor + \unvbox \@bidi@copyins@ + \color@endgroup + \fi + }% + \fi + \let\@elt\relax + \xdef\@freelist{\@freelist\@midlist}% + \global \let \@midlist \@empty + \@combinefloats + \ifvbox\@kludgeins + \@makespecialcolbox + \else + \setbox\@outputbox \vbox to\@colht {% + \@texttop + \dimen@ \dp\@outputbox + \unvbox \@outputbox + \vskip -\dimen@ + \@textbottom + }% + \fi + \global \maxdepth \@maxdepth +} + \def\LTRmarginpar{% \ifhmode \@bsphack @@ -725,11 +779,6 @@ $\@@underline{\hbox{#1}}\m@th$\relax\fi\fi} \box\@outputbox \global\let\bidi@AfterOutputBoxOutputPage\@firstofone \bidi@afteroutputboxoutputpagehook - \ifvoid\@bidi@copyins@ - \else - \vskip\skip\@bidi@copyins@ - \unvbox\@bidi@copyins@ - \fi \global\let\bidi@BeforeFooter\@firstofone \bidi@beforefooterhook \baselineskip \footskip |