summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def20
1 files changed, 14 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def
index 31819c81a67..5014a047b44 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/cuted-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/cuted-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{cuted-xetex-bidi.def}[2017/04/27 v0.5 bidi adaptations for cuted package for XeTeX engine]
+\ProvidesFile{cuted-xetex-bidi.def}[2017/05/06 v0.6 bidi adaptations for cuted package for XeTeX engine]
\def\RTL@outputdblcol{%
\if@firstcolumn
@@ -63,9 +63,13 @@
\hfil
{\normalcolor\vrule \@width\columnseprule}%
\hfil
- \hb@xt@\columnwidth{\box\@leftcolumn \hss}%
+ \hb@xt@\columnwidth{%
+ \bidi@firstcolumn@status@write%
+ \box\@leftcolumn \hss}%
\hskip -\textwidth
- \hb@xt@\columnwidth{\box\@outputbox \hss}%
+ \hb@xt@\columnwidth{%
+ \bidi@lastcolumn@status@write%
+ \box\@outputbox \hss}%
\hskip \columnsep
\hskip \columnwidth }}%
\ifvoid\hold@viper
@@ -118,11 +122,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
{\normalcolor\vrule \@width\columnseprule}%
\hfil
- \hb@xt@\columnwidth{\box\@outputbox \hss}}}%
+ \hb@xt@\columnwidth{%
+ \bidi@lastcolumn@status@write%
+ \box\@outputbox \hss}}}%
\ifvoid\hold@viper
\else
\setbox\@outputbox \vbox to\textheight{%