From c1940873407987b1fc01c8e71f35aa506689d8e6 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 16 Jan 2018 22:46:02 +0000
Subject: bidi (16jan18)

git-svn-id: svn://tug.org/texlive/trunk@46336 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/xelatex/bidi/bidi.sty | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 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 42cdef6e288..9802f398205 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{49372}
+%% \CheckSum{49370}
 %% \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,9 +35,9 @@
 %%   Right brace   \}     Tilde         \~}
 %%
 \NeedsTeXFormat{LaTeX2e}
-\def\bididate{2018/01/08}
-\def\bidiversion{v32.1}
-\ProvidesPackage{bidi}[\bididate\space \bidiversion\space
+\def\bididate{2018/01/17}
+\def\bidi@version{32.2}
+\ProvidesPackage{bidi}[\bididate\space v\bidi@version\space
 Bidirectional typesetting in plain TeX and LaTeX]
 \edef\@bidi@info{****************************************************^^J%
 * ^^J%
@@ -51,7 +51,7 @@ Bidirectional typesetting in plain TeX and LaTeX]
 * ^^J%
 * Copyright (c) 2009--2018 Vafa Khalighi^^J%
 * ^^J%
-* \bididate, \bidiversion^^J%
+* v\bidi@version, \bididate^^J%
 * ^^J%
 * License: LaTeX Project Public License, version^^J%
 * 1.3c or higher (your choice)^^J%
@@ -66,21 +66,21 @@ Bidirectional typesetting in plain TeX and LaTeX]
 \typeout{\@bidi@info}
 \edef\bidi@everyjob{\the\everyjob}
 \everyjob{\bidi@everyjob\typeout{\@bidi@info}}
-\edef\@bidi@strip@v@bidiversion{\expandafter\@gobble\bidiversion}
+\newcommand*{\bidiversion}{$\bidi@version$}
 \newcommand*{\IfbidiPackageVersionLater}[1]{%
-  \ifdim\@bidi@strip@v@bidiversion pt > #1 pt %
+  \ifdim\bidi@version pt > #1 pt %
     \expandafter\@firstoftwo
   \else
     \expandafter\@secondoftwo
   \fi}
 \newcommand*{\IfbidiPackageVersionBefore}[1]{%
-  \ifdim\@bidi@strip@v@bidiversion pt < #1 pt %
+  \ifdim\bidi@version pt < #1 pt %
     \expandafter\@firstoftwo
   \else
     \expandafter\@secondoftwo
   \fi}
 \newcommand*{\IfbidiPackageVersion}[1]{%
-  \ifdim\@bidi@strip@v@bidiversion pt = #1 pt %
+  \ifdim\bidi@version pt = #1 pt %
     \expandafter\@firstoftwo
   \else
     \expandafter\@secondoftwo
@@ -220,7 +220,6 @@ Bidirectional typesetting in plain TeX and LaTeX]
 \XeTeXcharclass `\- \bidi@sepmark@charclass
 \bidi@digits=`\0 \loop \XeTeXcharclass \bidi@digits \bidi@digits@charclass \ifnum\bidi@digits<`\9 \advance\bidi@digits \@ne \repeat
 \bidi@digits=`\۰ \loop \XeTeXcharclass \bidi@digits \bidi@digits@charclass \ifnum\bidi@digits<`\۹ \advance\bidi@digits \@ne \repeat
-\XeTeXinterchartoks \bidi@digits@charclass  \bidi@sepmark@charclass = {\DigitsDotDashInterCharToks}
 \XeTeXinterchartoks \bidi@sepmark@charclass  \bidi@digits@charclass = {\DigitsDotDashInterCharToks}
 \newcommand*{\DigitsDotDashInterCharToks}{\if@nonlatin\char"200F \fi}
 \endinput
-- 
cgit v1.2.3

