<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks a lot for the answer, I have updated bidi to version 1.0.4 and it is indeed not necessary to enclose the words of the header in the \LR{} command. But it seems that there may have apeared another problem: On even pages with Arabic text the marginal notes - inserted in the \marginpar{} command - are not displayed any more.<div><br></div><div>With best regards and best wishes,</div><div>Jens Bakker</div><div><br></div><div><br><div><div>Am 29.01.2010 um 13:08 schrieb Vafa Khalighi:</div><br class="Apple-interchange-newline"><blockquote type="cite"><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 style="word-wrap: break-word;"><div><br></div> <div>This is the version of bidi I am using:</div><div><br></div><div><div style="margin: 0px;"><font face="Arial" size="5"><span style="font-size: 18px;">bidiversion: v1.0.3</span></font><span style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font face="Arial" size="5"><span style="font-size: 18px;">&nbsp;</span></font></span></div> <div style="margin: 0px;"><font face="Arial" size="5"><span style="font-size: 18px;">bidirevision: revision 82</span></font><span style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font face="Arial" size="5"><span style="font-size: 18px;">&nbsp;</span></font></span></div> <div style="margin: 0px;"><font face="Arial" size="5"><span style="font-size: 18px;">bididate: 2009/08/09</span></font><span style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font face="Arial" size="5"><span style="font-size: 18px;">&nbsp;</span></font></span></div> <div style="margin: 0px;"><font face="Arial" size="5"><span style="font-size: 18px;"><br></span></font></div><div style="margin: 0px;"><font face="Arial" size="5"><span style="font-size: 18px;"><br></span></font></div><div style="margin: 0px;"> <font face="Arial" size="5"><span style="font-size: 18px;">The necessity to enclose the words of the headers into the \LR{} command still remains, also after putting the command \pagestyle{fancy} immediately after \setotherlanguage{arabic}.</span></font></div> <div style="margin: 0px;"><font face="Arial" size="5"><span style="font-size: 18px;"><br></span></font></div><br></div></div></blockquote></div><br clear="all">This was a bug in version 1.0.3 and it is fixed in version 1.0.4. Please update your bidi package and then you would not need to <font face="Arial" size="5"><span style="font-size: 18px;">enclose the words of the headers into the \LR{} command.<br> <br>The reason that you need to put \pagestyle{fancy} immediately after \setotherlanguage{arabic} is because that is where bidi package is loaded. I do not understand why Herbert suggestion would not work in some situations. <br> </span></font>-- <br>Best wishes,<br>Vafa Khalighi<br> </div> <br><br>--------------------------------------------------<br>Subscriptions, Archive, and List information, etc.:<br> &nbsp;<a href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a><br></blockquote></div><br></div></body></html>