<div dir="ltr"><div>Hi Manuel,<br><br>If in your minimal example, the command<br>      \setmainlanguage{arabic}

<br>is changed to<br>      \setmainlanguage[calendar=gregorian,locale=mashriq]{arabic},<br>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<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">m.soutopico@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

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 class="im">

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

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