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

                                          
\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}

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to