[luatex] bug in RTL typesetting?

Khaled Hosny khaledhosny at eglug.org
Tue Mar 31 16:49:51 CEST 2009


On Mon, Mar 30, 2009 at 12:05:18AM +0200, Hartmut Henkel wrote:
> On Sun, 29 Mar 2009, Idris Samawi Hamid ????? ????? ???? wrote:
> > On Sun, 29 Mar 2009 15:47:21 -0600, Hartmut Henkel <hartmut_henkel at gmx.de>
> > wrote:
> > > > So is this a bug in luatex or I should write some macro to fix this.
> > >
> > > \leaders in directions != TLT are broken, sorry, will try to fix...
> >
> > That's good to know, I spent a long time scratching my head about why
> > I could not get my own leaders macro to work...
> 
> sorry for the annoyance, it should work now also in PDF (SVN 2161), DVI
> was fine. There is a test case -- vertical seems to be ok as well:
> 
> %\pagedir TRT \bodydir TRT \pardir TRT \textdir TRT
> \pagedir LTT \bodydir LTT \pardir LTT \textdir LTT
> 
> \hbox to \hsize{l\leaders\hbox{.}\hfill r}
> \hbox to \hsize{l\hfill r}
> 
> \input tufte
> 
> \bye

I can confirm it is fixed in 0.37, but display math still broken; it is
shifted to the right and gets even more shifted when \eqn is used,
unless \mathdir TRT is used. Here is a test:

\pagedir TRT\bodydir TRT\pardir TRT
$$1+2=3$$
$$1+2=3\eqno(1)$$

\mathdir TRT
$$1+2=3$$
$$1+2=3\eqno(1)$$

\bye

Regards,
 Khaled


-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://tug.org/pipermail/luatex/attachments/20090331/16bf6cda/attachment.bin 


More information about the luatex mailing list