[XeTeX] Package Bidi Error
Vafa Khalighi
vafa at users.berlios.de
Sat Feb 20 04:56:48 CET 2010
Your log is incomplete but I can see why this is happening. Your hear.tex
says:
\documentclass{article}
\usepackage{fontspec}
\usepackage{geometry}
\geometry{ hmargin=2.5cm, vmargin=2cm }
\newfontfamily\titlefont[Script=Arabic]{KacstFarsi}
\font\titlefont="KacstFarsi:script=arab" at 48pt
\newfontfamily\bodyfont[Script=Arabic]{Scheherazade}
\usepackage[RTLdocument]{bidi}
\usepackage{bidipoem}
\usepackage{bidi}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{arabic}
\usepackage{arabxetex}
\setmainfont{Lucida Grande}
\renewcommand\poemcolsepskip{
1.5cm}
This is should cause problems, because:
1- you are loading bidi twice, one with RTLdocument option and once without
it. In addition you load several packages after it which you should not do.
bidi should be the last package you load and I put these error messages in
bidi on purpose to disturb faulty usage of the package.
2- Why do you use arabxetex together with polyglossia? Why do not you just
polyglossia?
I am sorry but your header.tex is too messy. You need to make it tidy.
--
Best wishes,
Vafa Khalighi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100220/48ac0281/attachment-0001.html>
More information about the XeTeX
mailing list