<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<br>
</div>but please bear in mind that a unified bidi package with xetex is a<br>
desirable target -- so keep the structure of ctan:macros/xetex/latex/bidi<br>
in mind as you design your code.<br>
<font color="#888888"><br>
robin</font></blockquote><div><br>Also have a look at the blow page, its a pdf file of the translation of &quot;not so short introduction to LaTeX2e&quot; which has been typeset by xepersian. It nicely demonstrates how perfect bidi codes  in xepersian are:<br>
<br> <a href="http://parsilatex.org/latex/lshort-fa.pdf">http://parsilatex.org/latex/lshort-fa.pdf</a><br><br>the bugs that we faced with bidi, caused us to not use bidi any more and write our own bidi code.<br></div></div>
<br></div>