[luatex] \leqno bug with \pardir TRT and \textdir TRT

Vafa Khalighi vk489 at uowmail.edu.au
Thu Jan 4 13:08:08 CET 2018


Hi


While working on my bidiluatex package, I found yet another ugly bug. When \pardir and \textdir are set to TRT, the display math containing \leqno is shifted to the left by half of \hsize. Please see attached plain TeX document.


For now, one can fix this by setting \predisplaydirection to 0. i.e.


\everydisplay\expandafter{\the\everydisplay\predisplaydirection\z@}


Yours sincerely,

  Vafa



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20180104/40ddde2c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 137 bytes
Desc: test.tex
URL: <http://tug.org/pipermail/luatex/attachments/20180104/40ddde2c/attachment.tex>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 9670 bytes
Desc: test.pdf
URL: <http://tug.org/pipermail/luatex/attachments/20180104/40ddde2c/attachment.pdf>


More information about the luatex mailing list