[XeTeX] arabic

Zdenek Wagner zdenek.wagner at gmail.com
Wed Jan 18 18:55:45 CET 2012


2012/1/18 Jean-Louis Cordonnier <jlcord2 at wanadoo.fr>:
> I try to write a few word in arabic ;
> I get this error message :
> Package bidi Error: Oops! you have loaded package xunicode before bidi
> packag
> e. Please load package xunicode after bidi package, and then try to run
> xelatex
> on your document again.
>
Load arabxetex before xltxtra. Arabxetex loads bidi, xltxtra loads xunicode.

> I dont understand why (where in bidi documentation ?)
>
> My file
>
> |\documentclass{article}
> \usepackage{xltxtra}
> \newfontfamily{\arabicfont}[Script=Arabic,Scale=1.5]{Traditional Arabic}
> \usepackage{arabxetex}
>
> \begin{document}
> \section{\textarab[utf]{العربية}}
> \textarab[utf]{السلم عليكم و رحمت الله و بركته}
>
> \section{Legacy syntax}
> When he goes---``Salamun alaykum!''\\
> She replies—“Wa alaykumus-salam, dear!”
> \end{document}|
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list