<div dir="ltr">Sounds good.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 3:25 AM, Khaled Hosny <span dir="ltr"><<a href="mailto:khaledhosny@eglug.org" target="_blank">khaledhosny@eglug.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, Jul 28, 2014 at 10:24:39PM +1000, Vafa Khalighi wrote:<br>
> ><br>
> > Thanks, fixed.<br>
> ><br>
> ><br>
> Thanks. I will try that. I know that in the new algorithm, \beginR,<br>
> \beginL, \endR, and \endL are also allowed in math mode. But consider this<br>
> minimal document<br>
><br>
> \documentclass{article}<br>
> \begin{document}<br>
> \hbox{\beginR\vbox{%<br>
> $$1+2=3$$<br>
> }\endR}<br>
> \end{document}<br>
><br>
> The display math will be typeset RTL. Is there any switch that allows this<br>
> to not happen? in etex, display math was always LTR but if there is some<br>
> switch to turn this on/off, it would be great.<br>
<br>
</div></div>So far there is not, but I'm still figuring what is the best option<br>
here, may be a new primitive, say, \XeTeXmathdirection, with the values<br>
0 meaning math is always LTR (the default) and 1 meaning math respects<br>
the surrounding text direction?<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
Khaled<br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br></div>