<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Apr 3, 2010 at 12:25 PM, Vafa Khalighi <span dir="ltr"><<a href="mailto:vafa@users.berlios.de">vafa@users.berlios.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><br><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>
<br>
</div></div>It can, but is it really needed (i.e. I can switch the whole package<br>
layout in very few lines of tex code in luatex, with tex-xet it needs<br>
hundreds of package specific macro redefinitions, one definitely can do<br>
the later with luatex too.)<br>
<div><div></div><div><br></div></div></blockquote></div><div><br>You are only looking at bidi implementation from one side and that is just using mainly RTL. Yes, if one wants to use mainly RTL, there is not much to do because you have got \pagedir TRT to use. But I am afraid that is just a narrow perspective, you have got also to consider other users who use RTL partially, i.e. they mainly use LTR, but typeset some RTL text, then \pagedir TRT does not make sense at all and they have got to typeset (just as an example) tabular RTL sometimes. The bidi implementation needs to suit everyone, and not just a group of people and this has unfortunately some costs and that is definitely going to be macro programming for many packages. You think bidi implementation is easy, but it is not. It is the most complex and sophisticated matter in TeX, both logically and technically. <br>
</div></div><br><br><br></div></blockquote><div><br>Even if one uses RTL mainly, there is considerable amount of macro programming to do. Why? consider an example, say tabular again, if you typeset tabular, then the place of "r" and "l" alignment interchanges which is a bug, so you have got to come and fix that. There is no single tabular package so you have got to fix that for every single tabular package because they use different implementations and the implementation of package x is not compatible with implementation of package y. Furthur, \pagedir TRT does not make tabular RTL in latex, which I sent you the solution before. <br>
</div></div><br clear="all"><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>