summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-09 23:48:17 +0000
committerKarl Berry <karl@freefriends.org>2011-10-09 23:48:17 +0000
commit68d5f2bed16d2f2f0176d8bfcc468e12113a1bbf (patch)
tree490c65bf2d562e9005273b84a24e2bc57734cff8 /Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
parent09ab3a5d73d4bd916aa1fdfd114753087c851fe4 (diff)
xepersian (9oct11)
git-svn-id: svn://tug.org/texlive/trunk@24249 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def4
1 files changed, 1 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
index cb029dc426d..8ec15072ff9 100644
--- a/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
+++ b/Master/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def
@@ -15,9 +15,7 @@
\ProvidesFile{localise-xepersian.def}[2010/07/25 v0.2a Persian localisation of LaTeX2e]
\newcommand{\makezwnjletter}{\catcode`‌=11\relax}
\makezwnjletter
-\newcommand*{\eqcommand}[2]{%
-\expandafter\@ifdefinable \csname#1\endcsname{%
-\expandafter\def\csname#1\expandafter\endcsname{\csname#2\endcsname}}}
+\newcommand*{\eqcommand}[2]{\if@bidi@csprimitive{#2}{\bidi@csletcs{#1}{#2}}{\bidi@csdefcs{#1}{#2}}}
\newcommand*{\eqenvironment}[2]{\newenvironment{#1}{\csname#2\endcsname}{\csname end#2\endcsname}}
\input{commands-ltx.def}
\input{commands-xepersian.def}