[lltx] bidi package extended for LuaLaTeX

Khaled Hosny khaledhosny at eglug.org
Sun Apr 4 13:46:01 CEST 2010


On Sun, Apr 04, 2010 at 08:39:19PM +1000, Vafa Khalighi wrote:
> 
> 
>     \documentclass{article}
> 
>     \begin{document}
>     \begin{tabular}{ l c r }
>      1 & 2 & 3 \\
>      4 & 5 & 6 \\
>      7 & 8 & 9 \\
>     \end{tabular}
> 
>     \bgroup
>     \luatexmathdir TRT
>     \begin{tabular}{ l c r }
>      1 & 2 & 3 \\
>      4 & 5 & 6 \\
>      7 & 8 & 9 \\
>     \end{tabular}
>     \egroup
>     \end{document}
> 
> 
> 
> 
> No that is a bad approach. Because you are doing RTL maths, you are assuming
> everyone is doing RTL maths which is absolutely wrong. What about someone is
> doing RTL tabular but LTR maths (i.e. Persian users)?

It is latex's tabular that is broken here, for an unknown idiotic reason
they are typesetting tabular material in math mode, so the natural
\textdir switch will not work.


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


-- 
To unsubscribe, reply using "remove me" as the subject.



More information about the lualatex-dev mailing list