On 21 November 2016 at 12:28, Vafa Khalighi <vk...@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


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to