[luatex] two bidi bugs in LuaTeX

Taco Hoekwater taco at elvenkind.com
Tue Jul 26 14:46:59 CEST 2011


On 07/26/2011 02:43 PM, Vafa Khalighi wrote:
> Right. Fixing it was easy:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> \makeatletter
> \def\Grot at box@std#1#2{\ifmmode\else\if at RTL\bgroup\textdir TLT\fi\fi%
> \Grot at setangle{#1}%
> \setbox\z@\hbox{{\if at RTL\bgroup\textdir TRT\fi#2\if at RTL\egroup\fi}}%
> \Grot at x\z@
> \Grot at y\z@
> \Grot at box\ifmmode\else\if at RTL\egroup\fi\fi}
> \makeatother

With the addition of

   \newif\if at RTL \@RTLtrue

that fixed my own minimal example as well.

Best wishes,
Taco


More information about the luatex mailing list