From c4073f6b0dc17821a33b9df327cd34b637564c9b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sat, 6 May 2017 21:42:10 +0000
Subject: bidi (6may17)

git-svn-id: svn://tug.org/texlive/trunk@44229 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/xelatex/bidi/ftnright-xetex-bidi.def         | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def')

diff --git a/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def
index 09b27dbca18..9ab50a46c92 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/ftnright-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/ftnright-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{ftnright-xetex-bidi.def}[2016/05/10 v0.4 bidi adaptations for ftnright package for XeTeX engine]
+\ProvidesFile{ftnright-xetex-bidi.def}[2017/05/06 v0.5 bidi adaptations for ftnright package for XeTeX engine]
 
 \def\LTR@outputdblcol{%
   \if@firstcolumn
@@ -62,11 +62,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}}}%
   \@combinedblfloats
     \@setmarks
     \@outputpage
@@ -108,9 +112,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 }}%
   \@combinedblfloats
-- 
cgit v1.2.3

