<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>Hi John,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>On 20 Feb 2008, at 7:47 pm, John Was wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV><FONT face="Arial Unicode MS">Thanks for the response Jonathan</FONT></DIV> <DIV><FONT face="Arial Unicode MS"></FONT> </DIV> <DIV><FONT face="Arial Unicode MS">I think all is in order re TeXXetState=1 and so on.  I should certainly have included the tex source, which is:</FONT></DIV> <DIV><FONT face="Arial Unicode MS"></FONT> </DIV> <DIV><FONT face="Arial Unicode MS">{\newarabic \setbox0=\lastbox \beginR \box0 \noindent \hskip -\parindent<BR>This is from Giannakis:\par</FONT></DIV> <DIV><FONT face="Arial Unicode MS"></FONT> </DIV> <DIV><FONT face="Arial Unicode MS">١. قال أبو على~.~.~.  وهو [=أنبادقلس] وأنكساغورس يقولان إن الموجودات واحد وكثير أما  كثير فمن قبل المادة وأما واحد فمن قبل أن*** الفاعل الذي يميزها هو واحد وهو العقل.<BR>}\par<BR>\vfill \eject</FONT></DIV> </BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In that fragment, at least, I don't see anything making the paragraph of Arabic text right-to-left. You need a \beginR *after* the paragraph has been started (e.g., by \noindent) and before the text.</DIV><BR><BLOCKQUOTE type="cite"><DIV><FONT class="Apple-style-span" face="Arial Unicode MS">Interestingly, that comes out correctly in this pasted-in version though in Babelpad it's showing up with the words in reverse order, exactly as in the PDF.  I am wondering if there is some Word-related direction instruction buried unseen, which messes things up in Babelpad (and in the resultant PDF produced by XeTeX) but is thrown out when I come to paste it into an e-mail.  But that seems rather implausible.</FONT></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>True, but you could avoid the issue by attaching a (short but complete) sample file rather than pasting fragments into the message.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>JK</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR></DIV><BR></BODY></HTML>