summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def
index 19626354363..961bea41d5c 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/pgf-xetex-bidi.def
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{42684}
+%% \CheckSum{42863}
%% \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,11 +34,13 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{pgf-xetex-bidi.def}[2012/07/08 v0.4 bidi adaptations for pgf package for XeTeX engine]
+\ProvidesFile{pgf-xetex-bidi.def}[2014/11/20 v0.5 bidi adaptations for pgf package for XeTeX engine]
\let\origin@pgfpicture=\pgfpicture
\let\origin@endpgfpicture=\endpgfpicture
+\def\bidi@pgfpicture{\ifmmode\else\beginL\fi\origin@pgfpicture}
+\def\endbidi@pgfpicture{\origin@endpgfpicture\ifmmode\else\endL\fi}
\def\pgfpicture{\ifmmode\else\LTR\beginL\fi\origin@pgfpicture}
-\def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endL\endLTR\fi}%
+\def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endL\endLTR\fi}
\endinput
%%
%% End of file `pgf-xetex-bidi.def'.