[Dev-luatex] textdir inside boxes

Hartmut Henkel hartmut_henkel at gmx.de
Sat Apr 18 16:22:32 CEST 2009


On Sat, 18 Apr 2009, Khaled Hosny wrote:

> In Aleph, when changin textdir outside a box, the textdir inside the box
> is not changed. For example:
>
> \textdir TRT
> \setbox0 = \hbox{textdir: \the\textdir , boxdir: \the\boxdir0}
> \box0
> \bye
>
> In Aleph, bot will remain TLT. However, in Omega textdir inside the
> box will get updated to TRT as well. IMO, Omega behaviour makes more
> sense. The current behaviour just make things more complex. I spent
> several hours trying to debug why in the following latex example, the
> second section number is misplaced:
>
> \documentclass{article}
> \begin{document}
> \section{Test}
> \textdir TRT\pardir TRT
> \section{Test}
> \end{document}
>
> I turned out that latex buts section number inside an hbox, which is
> TLT here.

please check current svn luatex, we had this topics a few days before,
it should now be more consistent.

Regards, Hartmut


More information about the dev-luatex mailing list