<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello Dominik,<br>Are you with MIKETEX on windows ?<br>What is the environment you get ?<br><br><hr id="stopSpelling">From: wujastyk@gmail.com<br>Date: Thu, 21 Oct 2010 10:09:15 +0200<br>To: xetex@tug.org<br>Subject: Re: [XeTeX] arabic<br><br>I cut-and-pasted your Arabic trial document, and it ran through my XeLaTeX system immediately and without errror.<br><br clear="all"> Dominik Wujastyk<br><br>
<br><br><div class="ecxgmail_quote">On 20 October 2010 21:39, houda araj <span dir="ltr"><<a href="mailto:h_araj@hotmail.com">h_araj@hotmail.com</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left: 1ex;">





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

<p style="text-indent: 0px;"></p>
<p style="text-indent: 0px;">\documentclass[a4paper]{book}%</p><p style="text-indent: 0px;">\usepackage[no-math]{fontspec}</p>
<p style="text-indent: 0px;">\usepackage{xltxtra,url,amsmath}</p>
<p style="text-indent: 0px;">\usepackage{makeidx}</p>
<p style="text-indent: 0px;">\makeindex</p>
<p style="text-indent: 0px;">\setmainfont[Script=Arabic,Scale=1.3]{Times New Roman}%</p>
<p style="text-indent: 0px;">\usepackage{bidi}</p>
<p style="text-indent: 0px;">\title{روش تولید نمایه توسط زیلاتک}</p>
<p style="text-indent: 0px;">\author{مهدی امیدعلی}</p>
<p style="text-indent: 0px;">\begin{document}</p>
<p style="text-indent: 0px;">\maketitle</p>
<p style="text-indent: 0px;">\tableofcontents</p>
<p style="text-indent: 0px;">\begin{RTL}</p>
<p style="text-indent: 0px;">\chapter{امتحان}</p>
<p style="text-indent: 0px;">این اولین نمایه این متن است که برای امتحان آورده شده است.</p>
<p style="text-indent: 0px;">\index{نمایه}</p>
<p style="text-indent: 0px;">\end{RTL}</p>
<p style="text-indent: 0px;">This a test for LTR languages\index{test}</p>
<p style="text-indent: 0px;">\begin{RTL}</p>
<p style="text-indent: 0px;">\printindex</p>
<p style="text-indent: 0px;">\end{RTL}</p>
<p style="text-indent: 0px;">\end{document}</p>
<p style="text-indent: 0px;"></p><br>! Package bidi Error: Oops! you have loaded package xunicode before bidi packag
<p style="text-indent: 0px;">e. Please load package xunicode after bidi package, and then try to run xelatex</p>
<p style="text-indent: 0px;"> on your document again.</p>

<p style="text-indent: 0px;">See the bidi package documentation for explanation.</p>
<p style="text-indent: 0px;">Type  H <return>  for immediate help.</p><p style="text-indent: 0px;"><br></p><p style="text-indent: 0px;">Thanks<br></p><br>                                      </div>
<br><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br></blockquote></div><br>
<br>--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex                                           </body>
</html>