[XeTeX] New version of xetex

Khaled Hosny khaledhosny at eglug.org
Mon Jul 28 19:25:39 CEST 2014


On Mon, Jul 28, 2014 at 10:24:39PM +1000, Vafa Khalighi wrote:
> >
> > Thanks, fixed.
> >
> >
> Thanks. I will try that. I know that in the new algorithm, \beginR,
> \beginL, \endR, and \endL are also allowed in math mode. But consider this
> minimal document
> 
> \documentclass{article}
> \begin{document}
> \hbox{\beginR\vbox{%
> $$1+2=3$$
> }\endR}
> \end{document}
> 
> The display math will be typeset RTL. Is there any switch that allows this
> to not happen? in etex, display math was always LTR but if there is some
> switch to turn this on/off, it would be great.

So far there is not, but I'm still figuring what is the best option
here, may be a new primitive, say, \XeTeXmathdirection, with the values
0 meaning math is always LTR (the default) and 1 meaning math respects
the surrounding text direction?

Regards,
Khaled



More information about the XeTeX mailing list