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

David Carlisle d.p.carlisle at gmail.com
Mon Nov 21 14:44:03 CET 2016


On 21 November 2016 at 12:28, Vafa Khalighi <vk489 at uowmail.edu.au> wrote:
> 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.
>
>
>
No, that was the issue you raised on the luatex list thread

http://tug.org/mailman/htdig/luatex/2011-July/003192.html

it's not buggy, just not as you expected. See Taco's comment towards
the end of that thread.


The interactions of the various direction primitives are not always
intuitive (but that possibly can't be helped) and doesn't imply a bug.

See also the thread around

http://tug.org/mailman/htdig/luatex/2012-December/003957.html



David


More information about the XeTeX mailing list