summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/biditools.sty')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/biditools.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/biditools.sty b/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
index a0eadfd016b..ffa4d7e4ee1 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
+++ b/Master/texmf-dist/tex/xelatex/bidi/biditools.sty
@@ -17,7 +17,6 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{50082}
%% \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,7 +34,7 @@
%% Right brace \} Tilde \~}
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{biditools}[2018/12/11 v1.9 Programming tools for bidi package]
+\ProvidesPackage{biditools}[2019/10/19 v1.10 Programming tools for bidi package]
\providecommand{\@bidi@saveprimitive}[2]{\begingroup\escapechar`\\\relax
\edef\@tempa{\string#1}\edef\@tempb{\meaning#1}%
\ifx\@tempa\@tempb \global\let#2#1%
@@ -739,7 +738,8 @@ ill-advised in the old versions of bidi package.%
\bidi@newrobustcmd{\bidi@AtBeginEnvironment}[1]{%
\bidi@csgappto{@bidi@begin@#1@hook}}
-\bidi@patchcmd\begin
+
+\expandafter\bidi@patchcmd\csname begin\ifcsname begin \endcsname\space\fi\endcsname
{\csname #1\endcsname}
{\bidi@csuse{@bidi@begin@#1@hook}%
\csname #1\endcsname}
@@ -751,7 +751,7 @@ ill-advised in the old versions of bidi package.%
\bidi@newrobustcmd{\bidi@AtEndEnvironment}[1]{%
\bidi@csgappto{@bidi@end@#1@hook}}
-\bidi@patchcmd\end
+\expandafter\bidi@patchcmd\csname end\ifcsname end \endcsname\space\fi\endcsname
{\csname end#1\endcsname}
{\bidi@csuse{@bidi@end@#1@hook}%
\csname end#1\endcsname}
@@ -763,7 +763,7 @@ ill-advised in the old versions of bidi package.%
\bidi@newrobustcmd{\bidi@BeforeBeginEnvironment}[1]{%
\bidi@csgappto{@bidi@beforebegin@#1@hook}}
-\bidi@pretocmd\begin
+\expandafter\bidi@pretocmd\csname begin\ifcsname begin \endcsname\space\fi\endcsname
{\bidi@csuse{@bidi@beforebegin@#1@hook}}
{}
{\bidi@warning{%
@@ -773,7 +773,7 @@ ill-advised in the old versions of bidi package.%
\bidi@newrobustcmd{\bidi@AfterEndEnvironment}[1]{%
\bidi@csgappto{@bidi@afterend@#1@hook}}
-\bidi@patchcmd\end
+\expandafter\bidi@patchcmd\csname end\ifcsname end \endcsname\space\fi\endcsname
{\if@ignore}
{\bidi@csuse{@bidi@afterend@#1@hook}%
\if@ignore}