From d3aa19f2fc5afa9977b1c1091de42262fc8c772c Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 30 Nov 2016 22:25:34 +0000
Subject: bidi (30nov16)

git-svn-id: svn://tug.org/texlive/trunk@42611 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty')

diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty b/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
index f5110b2668d..f66a6a36926 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
+++ b/Master/texmf-dist/tex/xelatex/bidi/bidiftnxtra.sty
@@ -17,7 +17,7 @@
 %%   by Vafa Khalighi.
 %% 
 %% 
-%% \CheckSum{47549}
+%% \CheckSum{47593}
 %% \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
@@ -81,7 +81,7 @@
     {}%
 }
 \def\FN@sf@gobble@bracket[#1]{}
-\def\@tabular{\if@RTL\global\@RTLtabtrue\fi
+\def\@tabular{%
    \leavevmode \hbox \bgroup
    \let\@footnotetext\bidi@p@ftntext
    \let\@LTRfootnotetext\bidi@p@LTRftntext
@@ -99,8 +99,7 @@
 \def\endtabular{\crcr\egroup\if@RTLtab\egroup\endR\egroup\fi
                  \egroup $\if@RTLtab\endR\fi\egroup
                   \ifx\@captype\@undefined
-                   \global\bidi@p@ftn\expandafter{\expandafter}\the\bidi@p@ftn\fi%
-                 \global\@RTLtabfalse}
+                   \global\bidi@p@ftn\expandafter{\expandafter}\the\bidi@p@ftn\fi}
 \long\def\bidi@p@ftntext#1{%
   \edef\@tempy{\the\bidi@p@ftn\noexpand\footnotetext[\the\csname c@\@mpfn\endcsname]}%
   \global\bidi@p@ftn\expandafter{\@tempy{#1}}}%
-- 
cgit v1.2.3

