diff options
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luapersian/pgf-luapersian.def')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/luapersian/pgf-luapersian.def | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luapersian/pgf-luapersian.def b/Master/texmf-dist/tex/lualatex/luapersian/pgf-luapersian.def new file mode 100644 index 00000000000..8ae4ffdaf87 --- /dev/null +++ b/Master/texmf-dist/tex/lualatex/luapersian/pgf-luapersian.def @@ -0,0 +1,32 @@ +%% +%% This is file `pgf-luapersian.def', +%% generated with the docstrip utility. +%% ______________________________________ +%% Copyright © 2011 Vafa Khalighi +%% +%% License information appended. +%% +%% +\ProvidesFile{pgf-luapersian.def}[2011/08/01 v0.1 adaptations for pgf package] +\AtBeginDocument{% +\@ifpackageloaded{tikz}{}{% +\let\origin@pgfpicture=\pgfpicture +\let\origin@endpgfpicture=\endpgfpicture +\def\pgfpicture{\ifmmode\else\LTR\fi\origin@pgfpicture} +\def\endpgfpicture{\origin@endpgfpicture\ifmmode\else\endLTR\fi}% +}% +} +%% +%% Copyright © 2011 Vafa Khalighi <vafa018@gmail.com> +%% +%% It may be distributed and/or modified under the LaTeX Project Public License, +%% version 1.3c or higher (your choice). The latest version of +%% this license is at: http://www.latex-project.org/lppl.txt +%% +%% This work is “author-maintained” (as per LPPL maintenance status) +%% by Vafa Khalighi. +%% +%% +%% +%% +%% End of file `pgf-luapersian.def'. |