summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-06 21:42:10 +0000
committerKarl Berry <karl@freefriends.org>2017-05-06 21:42:10 +0000
commitc4073f6b0dc17821a33b9df327cd34b637564c9b (patch)
treec78e2fee944e389a0df785b176c91adacf8d603d /Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
parent8e60bf45d712bf161ce57890a158e5c8149f9dbc (diff)
bidi (6may17)
git-svn-id: svn://tug.org/texlive/trunk@44229 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def20
1 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
index 13cffd46bc2..2a5434be334 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/fix2col-xetex-bidi.def
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{47809}
+%% \CheckSum{47931}
%% \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{fix2col-xetex-bidi.def}[2013/04/10 v0.3 bidi adaptations for fix2col package for XeTeX engine]
+\ProvidesFile{fix2col-xetex-bidi.def}[2017/05/06 v0.4 bidi adaptations for fix2col package for XeTeX engine]
\def\RTL@outputdblcol{%
\if@firstcolumn
\global\@firstcolumnfalse
@@ -57,9 +57,13 @@
\setbox\@outputbox \vbox {\hbox to\textwidth {%
\hskip \columnwidth
\hfil \vrule width\columnseprule \hfil
-\hbox to\columnwidth {\box\@leftcolumn \hss}%
+\hbox to\columnwidth {%
+\bidi@firstcolumn@status@write%
+\box\@leftcolumn \hss}%
\hskip -\textwidth
-\hbox to\columnwidth{\box\@outputbox \hss}%
+\hbox to\columnwidth{%
+\bidi@lastcolumn@status@write%
+\box\@outputbox \hss}%
\hskip \columnsep
\hskip \columnwidth }}%
\@combinedblfloats \@setmarks \@outputpage
@@ -89,11 +93,15 @@
\global\@firstcolumntrue
\setbox\@outputbox\vbox{%
\hb@xt@\textwidth{%
- \hb@xt@\columnwidth{\box\@leftcolumn \hss}%
+ \hb@xt@\columnwidth{%
+ \bidi@firstcolumn@status@write%
+ \box\@leftcolumn \hss}%
\hfil
\vrule \@width\columnseprule
\hfil
- \hb@xt@\columnwidth{\box\@outputbox \hss}}}%
+ \hb@xt@\columnwidth{%
+ \bidi@lastcolumn@status@write%
+ \box\@outputbox \hss}}}%
\@combinedblfloats
\@setmarks
\@outputpage