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
---
 Master/texmf-dist/tex/xelatex/bidi/bidi.sty | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

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

diff --git a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
index b25084efceb..b3fe5d593df 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
+++ b/Master/texmf-dist/tex/xelatex/bidi/bidi.sty
@@ -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
@@ -35,8 +35,8 @@
 %%   Right brace   \}     Tilde         \~}
 %%
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2017/04/27}
-\def\bidiversion{v30.3}
+\def\bididate{2017/05/06}
+\def\bidiversion{v30.4}
 \ProvidesPackage{bidi}[\bididate\space \bidiversion\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi@info{****************************************************^^J%
@@ -61,6 +61,8 @@ Bidirectional typesetting in plain TeX and LaTeX]
 * Issue tracker: https://github.com/tex-xet/bidi/issues^^J%
 * ^^J%
 * Support: persian-tex@tug.org^^J%
+* ^^J%
+* Instagram: https://www.instagram.com/persiantex^^J%
 ****************************************************}
 \typeout{\@bidi@info}
 \edef\bidi@everyjob{\the\everyjob}
@@ -188,6 +190,24 @@ Bidirectional typesetting in plain TeX and LaTeX]
     \@extrafootnotefeaturesfalse
   \fi}
 
+\define@choicekey{bidi.sty}{DetectColumn}[\bidi@tempa\bidi@tempb]{on,off}[on]{%
+  \ifcase\bidi@tempb\relax
+  \def\bidi@firstcolumn@status@write{%
+         \protected@write\@auxout{}%
+              {\string\bidi@column@status
+              {1}}}%
+  \def\bidi@lastcolumn@status@write{%
+         \protected@write\@auxout{}%
+              {\string\bidi@column@status{2}}}%
+  \or
+    \let\bidi@firstcolumn@status@write\relax
+    \let\bidi@lastcolumn@status@write\relax
+  \fi}
+
+\ExecuteOptionsX{%
+    DetectColumn=off
+}
+
 \ProcessOptionsX
 
 \if@extrafootnotefeatures
-- 
cgit v1.2.3

