[XeTeX] another bug of bidi.sty

VAFA KHALIGHI vafa.khalighi at students.mq.edu.au
Tue Dec 2 02:59:02 CET 2008


$\underline{X}$ gives error because the definition of \underline in bidi.sty
is buggy.

The definition should be:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\let\@@@underline=\underline
\def\underline#1{%
  \relax
  \ifmmode\@@@underline{#1}%
  \else
\if at rl $\@@@underline{\hbox{\RL{#1}}}\m at th$\relax
\else
$\@@@underline{\hbox{#1}}\m at th$\relax\fi\fi}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081202/0e2d3b5e/attachment.html 


More information about the XeTeX mailing list