[lltx] bidi package extended for LuaLaTeX

Vafa Khalighi vafa at users.berlios.de
Sun Apr 4 13:50:19 CEST 2010

> 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.
I do not think so. Look back at the patch that I sent you before and in
fact, it works so.

  \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi
    \vrule \@height\arraystretch\ht\strutbox
           \@depth\arraystretch \dp\strutbox
    \ialign \noexpand\@halignto
      \bgroup \@arstrut \@preamble \tabskip\z at skip \cr}%
  \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
    \set at typeset@protect
    \lineskip\z at skip\baselineskip\z at skip
    \ifhmode \@preamerr\z@ \@@par\fi
  \if at rl\@text at dir{TRT}\fi

assuming of course, you have enabled \pagedir TRT \pardir TRT \bodydir TRT
\textdir TRT .

Best wishes,
Vafa Khalighi

To unsubscribe, reply using "remove me" as the subject.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/lualatex-dev/attachments/20100404/f116f252/attachment.html>

More information about the lualatex-dev mailing list