[luatex] bug in RTL typesetting?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun Mar 29 14:11:59 CEST 2009


Am 29.03.2009 um 14:05 schrieb وفا خلیقی:

> one more question, why if I use \setRTL at the beginning of the  
> document it does not works which is defined as
>
> \newif\if at RTL
> \if at RTL\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \else  
> \pagedir TLT \bodydir TLT \pardir TLT \textdir TLT \fi
> \def\setRTL{\@RTLtrue}
> \def\setLTR{\@RTLfalse}
>
> but if I just say \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT  
> at the beggining of a document, it works.
>
> Should not these two work the same?


\def\setRTL{\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT }
\def\setLTR{\pagedir TLT \bodydir TLT \pardir TLT \textdir TLT }

Wolfgang



More information about the luatex mailing list