Dear Kamal, <br><br>First of all, thanks a lot for your reply and for trying to help. <br><br>I&#39;m now know that I understood the manual and am convinced that there must be a problem. <br><br>\setmainlanguage[calendar=gregorian,locale=mashriq]{arabic} (in the preamble) =&gt; outputs: 2010 20, February (sic)<br>

\textgalician{\Hijritoday} =&gt; Rabīʿ I 1431  (seems correct)<br>\Hijritoday =&gt; outpus: 1431 I Rab<span style="font-family: Scheherazade; font-size: 15px;">�</span><span style="font-family: Scheherazade; font-size: 15px;">�</span>�� 6 (seems incorrect)<br>

\textgalician{ \today}  =&gt; 20 de febreiro de 2010  (correct)<br>\textarabic{\today} =&gt; 2010 20, February (incorrect)<br><br>I can&#39;t run the Tex Live Utility because I&#39;m still running Tiger. I need to free up some space to upgrade to Leopard, I&#39;ll do that, update Tex Live and see what happens. <br>

<br>Thanks a lot! <br>Manuel<br><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 dir="ltr"><div>then the date in the title appears as you want it to be, namely, &quot;19 shubat 2010&quot; in the Arabic script:<br>

</div><div style="text-align: center;" dir="rtl">

<font size="6">۱۹</font><font size="6"> شباط ۲۰۱۰</font><br></div><div><div class="gmail_quote"><br>If the locale option is set to &quot;default&quot; (or just omitted), then the date appears as &quot;19 Febrair 2010&quot; in the Arabic script. I haven&#39;t checked the other locale options. Also, the following commands inserted before &quot;\end{document}&quot; produce desired results:<br>



<br>     \textgalician{\Hijritoday} \\<br>     \Hijritoday \\<br>     \textgalician{ \today} \\<br>     \textarabic{\today}\\<br><br>An image of the program output is attached. <br><br>Incidentally, before running your program (modified as above), I had fully updated TeX Live using the TeX Live Utility on my Mac. Perhaps, it is because of the most recent updates in all related packages that the calendar options in polyglossia are working as specified.<br>



<br>Kamal Abdali<div><div></div><div class="h5"><br><br><br>On Sat, Feb 13, 2010 at 21:41, Manuel Souto Pico <span dir="ltr">&lt;<a href="mailto:m.soutopico@gmail.com" target="_blank">m.soutopico@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">

Hello, <div><br></div><div>I would just update the list on one of the problems that I had, see below. I&#39;d be grateful for any contribution or attempt to help.<br><div><br></div><div><div class="gmail_quote"><div>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="gmail_quote"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><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><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></div></div></blockquote><div><br></div></div><div>





Well, I did, but it&#39;s not clear to me. Section 5 talks about language-specific options and commands but I don&#39;t know how to use them or where to put them. I&#39;ve tried all around. It seems what I need is calendar=gregorian but that&#39;s the default option already.</div>






<div><br></div></div></blockquote></div><div>From what the polyglossia manual says (section 5.1), I understand I should get the gregorian alphabet by default. However, without defining any calendar I get <span style="font-family: Scheherazade; font-size: 15px;">1431 �afar 29 <span style="font-family: arial; font-size: small;">instead of <span style="font-family: Scheherazade; font-size: 15px;">٢٠١٠ طابش ١٤ <span style="font-family: arial; font-size: small;">.</span></span></span></span></div>





<div><br></div><div><a href="http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/macros/xetex/latex/polyglossia/polyglossia.pdf" target="_blank">http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/macros/xetex/latex/polyglossia/polyglossia.pdf</a></div>





<div><br></div><div><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;"><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;">That probably means that, unless the package fails, I don&#39;t know how to define the calendar. I don&#39;t know how to define the locale, either. Could anyone enlighten me as to how I should use the options and end-user commands listed in section 5.1? </span></span></span></span></div>





<div><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;"><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;">  </span></span></span></span></div>





<div><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;"><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;">This is my minimal example:</span></span></span></span></div>





<div><br></div><div>%!TEX TS-program = xelatex-xdvipdfmx </div><div>%!TEX encoding = UTF-8 Unicode</div><div><br></div><div>\documentclass[a4paper]{article}</div><div>\usepackage{polyglossia}</div><div>\setmainlanguage{arabic}</div>





<div>\setotherlanguage{galician}</div><div>\newfontfamily\arabicfont[Scale=1.5,Script=Arabic]{Scheherazade}</div><div>  </div><div>\title{السلام عليكم}</div><div><br></div><div>\begin{document}</div><div>\maketitle</div>




<div>
وعليكم السلام</div><div><span style="font-family: Scheherazade; font-size: 15px;"><span style="font-family: arial; font-size: small;">\end{document} </span></span></div>

<div><br></div><div>Thanks a lot! </div><div>Manuel</div></div></div></div>
<br><br>
<br></div></div>
--------------------------------------------------<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></div></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>