<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<br></div><div>1) I&#39;ve seen that I can either use polyglossia or arabxetex (but not both at the same time, as they are not fully compatible, or at least I couldn&#39;t use the Arabic environment if I had the package arabxetex declared in my preamble). Anyway, the question is: which one of the two would you recommend and why?</div>
</blockquote><div><br>I recommend polyglossia partially  because  you want to write in utf8 and not in transliteration mode and partially because polyglossia has got more support like it let you have various kinds of arabic dates, typographic convention and etc.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><br></div><div>2) I&#39;ve been trying with no success to set the spacing between lines to 2 or 1.5. I&#39;ve declared package setspace and then used the doublespace or onehalfspace environments, but they only affect the spacing between paragraphs, but not between lines of the same paragraph (in Arabic, of course). What is wrong?</div>
</blockquote><div><br>I use \usepackage[onehalfspacing]{setspace} and I do not have a problem as you described. Could you perhaps please send a minimal example that does not work for you?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div><br></div><div>3) How can I get the date in Arabic in the title? I mean like ٣٠ كانون الثاني ٢٠١٠ or ٣٠ فبراير ٢٠١٠, which are just January 30, 2010 in Arabic, not the Hijra date according to the lunar calendar... When I used babel long ago I would put arabic as the last item in the list of parameters of the package declaration, but what should I do with arabxetex or polyglossia? I&#39;ve tried \date{\arab \today} and \date{\begin{Arabic}\today\end{Arabic}}, respectively, but the result is far from good.</div>
</blockquote><div><br>I think polyglossia has some options for this but I am not sure. Read the manual of polyglossia and it should contain all the details.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><br></div><div>4) How can I write section or chapter titles in Arabic? Just \section{\arab قسم} or \section{\begin{Arabic}قسم\end{Arabic}}, respectively won&#39;t work.</div></blockquote><div><br>No, that is not the right way. When you use polyglossia, if you have<br>
<br>\setmainlanguage{arabic}<br>\setotherlanguage{english}<br>There is no need for this and you can simply have<br><br>\section{قسم}<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><br></div><div>5) I can have arab and Arabic environments (for full paragraphs) both with arabxetex and polyglossia. However, I can only get a short passage in Arabic using \arab{كلمة} in the former, but not using \Arabic{كلمة آحرِى} in the latter. What would be the right syntax?</div>
</blockquote><div><br>See polyglossia manual.<br> </div><br clear="all"></div><br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>