<div dir="ltr"><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><pre>Thank you for your reply. Concerning the )I( appearance, Mehdi Omidali <br>
sent me a patch that fixed this, so that the parentheses now appear <br>correctly.<br><br>This is the patch:<br><br>\makeatletter<br>\def\equation{\beginL$$\refstepcounter{equation}}<br>\def\endequation{\eqno \hbox{\@eqnnum}$$\endL\@ignoretrue}<br>
\def\@eqnnum{{\normalfont \normalcolor<br>\<a href="http://tug.org/mailman/listinfo/xetex">if at RTL</a>\beginR\fi(\theequation)\<a href="http://tug.org/mailman/listinfo/xetex">if at RTL</a>\endR\fi}} </pre></blockquote><br>
Do not do that. That is not a patch. This is the part of the code from new experimental version of bidi package but this will make trouble because in v1.0.3, amsmath is loaded by defualt and that definition makes things broken. In the newest version of bidi (experimental one), amsmath is not loaded so that above definition fixes the issue of the placement of equation numbers.<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><pre>I tried the leqno option, but the equation number remained on the right.<br>I found that this is caused by the patched equation environment <br>
definition. If I remove it, then the leqno option works, but then I also <br></pre></blockquote><div>That is eaxctly one side effect of putting the above code in v1.0.3 as I have explained above. Delete above code from your document, use leqno option so equations appear on the left. About the )I(, I need to say that you need to define your RTL font to be the \normalfont, otherwise that happens. <br>
<br>So if \hebfont stands for font of your hebrew document, then say \let\normalfont\hebfont or something similar. <br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<pre>So what I still dont know is now to pick up the [leqno] flag to do it <br>more elegantly than defining two separate equation environments.<br></pre></blockquote><div><br>No need for the codes, simply use bidi without adding extra codes, but define your hebrew font to be your \normalfont and you should be fine. <br>
</div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><pre></pre> </blockquote></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<br></blockquote>-- <br>Vafa<br>
</div>