[luatex] bug in RTL typesetting?

Elie Roux elie.roux at telecom-bretagne.eu
Sun Mar 29 14:42:30 CEST 2009

وفا خلیقی a écrit :
> but can you tell me why this does not work:
> %%%%%%%%%%%%%%%%%%%%%%%
> \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}
> %%%%%%%%%%%%%%%%%%%%%%%

the \xxtrue and \xxfalse macros do not do anything exept changing the 
behaviour of \ifxx, so basically your \setRTL makes \ifxx be true, but 
that's all...

More information about the luatex mailing list