[XeTeX] Problems in Arabic typesetting

Jonathan Kew jonathan_kew at sil.org
Wed Feb 20 17:59:31 CET 2008


On 20 Feb 2008, at 4:21 pm, John Was wrote:

> Hello
>
>
> The following shows up correctly in Microsoft Word in a file that  
> was sent to me, and seems to be correct in this email.  But when I  
> try to typeset it in XeTeX by pasting it into a UFT-8 file (using  
> Babelpad as my editor) the words are all transposed - see the  
> attached PDF for the result.
>
> ١. قال أبو على~.~.~.  وهو [=أنبادقلس]  
> وأنكساغورس يقولان إن الموجودات واحد  
> وكثير أما كثير فمن قبل المادة وأما  
> واحد فمن قبل أن*** الفاعل الذي يميزها  
> هو واحد وهو العقل
>
> I'm not an Arabist so it's not clear to me what could be going  
> wrong.  To make quite sure that I was not introducing any error in  
> setting up my \arabic command I pasted this quotation into a  
> section of Arabic that I had previously typeset correctly, and  
> everything comes out properly except this new bit of text.
>
>   It may simply be that there is some trick in the saving or  
> copying/pasting that I haven't picked up. Any help much appreciated
>


You didn't include your .tex source, so it's hard to be sure, but my  
guess is that you're lacking a \beginR directive before the Arabic  
text. That's necessary to get right-to-left line layout.

(And remember to set \TeXXeTstate=1 at the beginning of the file,  
otherwise \beginR will not be allowed.)

JK


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080220/7c908366/attachment.html 


More information about the XeTeX mailing list