From 2e581c28cb4e1f20cd408c0bdc9885c7f18f9e5e Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 29 Apr 2013 23:28:08 +0000
Subject: bidi (29apr13)

git-svn-id: svn://tug.org/texlive/trunk@30165 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def')

diff --git a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
index b815480d47b..71672f8f305 100644
--- a/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
+++ b/Master/texmf-dist/tex/latex/bidi/amsmath-xetex-bidi.def
@@ -12,7 +12,7 @@
 %%   License information appended.
 %% 
 %% 
-\ProvidesFile{amsmath-xetex-bidi.def}[2013/04/25 v0.5 bidi adaptations for amsmath package for XeTeX engine]
+\ProvidesFile{amsmath-xetex-bidi.def}[2013/05/01 v0.6 bidi adaptations for amsmath package for XeTeX engine]
 \let\veqno=\eqno
 \iftagsleft@ \let\veqno=\leqno \fi
 \renewcommand{\numberwithin}[3][\arabic]{%
@@ -22,8 +22,7 @@
       \@xp\xdef\csname the#2\endcsname{%
         \@xp\@nx\csname the#3\endcsname \@nx\@SepMark\@nx#1{#2}}}}%
 }
-\def\tagform@#1{\maketag@@@{\if@RTL\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@RTL\endR\fi}}
-\renewcommand{\eqref}[1]{\beginL\textup{\tagform@{\ref{#1}}}\endL}
+\def\tagform@#1{\maketag@@@{\if@Latin\else\beginR\fi(\ignorespaces#1\unskip\@@italiccorr)\if@Latin\else\endR\fi}}
 \DeclareRobustCommand{\[}{\begin{equation*}}
 \DeclareRobustCommand{\]}{\end{equation*}}
 %% 
-- 
cgit v1.2.3

