<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi<br><br>I have a serious issue with bidi package turning headers in my doc right-to-left without me telling it to do so. I'm using TL2009, downloaded .iso without any update yet. I noticed that not only xunicode must be put after bidi, but xltxtra package too. Can anyone confirm this? Vafa? Here's an simplified example code to reproduce the problem (just comment the line with \usepackage{arabxetex} to see the difference in header):<br><br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment-->\documentclass{memoir}</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage[T1]{fontenc}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{lipsum}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{fontspec}</p>

<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{arabxetex}</p><p style="margin: 0px; text-indent: 0px;">\usepackage{xltxtra}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{xunicode}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\begin{document}</p>
<p style="margin: 0px; text-indent: 0px;">\chapter{Test...}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\lipsum[1-11]</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\section{Test sec...}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\lipsum[1-11]</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\chapter{Test...}</p>
<p style="margin: 0px; text-indent: 0px;"></p>
<p style="margin: 0px; text-indent: 0px;">\lipsum[1-11]</p>
<p style="margin: 0px; text-indent: 0px;">\end{document}</p>
<p style="margin: 0px; text-indent: 0px;"><!--EndFragment--></p><br></div>
<!-- cg39.c4.mail.gq1.yahoo.com compressed/chunked Sat Nov 14 10:29:08 PST 2009 -->
</div><br>

      </body></html>