[XeTeX] arabic

houda araj h_araj at hotmail.com
Wed Oct 20 21:39:34 CEST 2010


Hello,
I am new to Arabic typesetting and I need help since I receive error that I cannot fix.




\documentclass[a4paper]{book}%\usepackage[no-math]{fontspec}
\usepackage{xltxtra,url,amsmath}
\usepackage{makeidx}
\makeindex
\setmainfont[Script=Arabic,Scale=1.3]{Times New Roman}%
\usepackage{bidi}
\title{روش تولید نمایه توسط زیلاتک}
\author{مهدی امیدعلی}
\begin{document}
\maketitle
\tableofcontents
\begin{RTL}
\chapter{امتحان}
این اولین نمایه این متن است که برای امتحان آورده شده است.
\index{نمایه}
\end{RTL}
This a test for LTR languages\index{test}
\begin{RTL}
\printindex
\end{RTL}
\end{document}

! 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.

See the bidi package documentation for explanation.
Type  H <return>  for immediate help.
Thanks

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101020/bb05949f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-arabe1.tex
Type: text/x-tex
Size: 618 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101020/bb05949f/attachment.bin>


More information about the XeTeX mailing list