[XeTeX] Are the new etex changes reflected in XeTeX? (was XeTeX bugs in bidirectional typesetting)

Vafa Khalighi vk489 at uowmail.edu.au
Mon Nov 21 13:28:05 CET 2016


Hi David


Sure \textdir works in vertical mode in luatex but luatex's behavior is buggy. For instance, consider the following minimal example



{\textdir TRT This} is just a test.


\bye


As you can see there is no indent at the beginning of the paragraph and that indent is shifted as a space between `This' and `is' which is completely wrong. So to fix it, you have to issue a \leavevmode at the start of the paragraph but by doing that, you are already entering horizontal mode.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20161121/91037ecb/attachment-0001.html>


More information about the XeTeX mailing list