[XeTeX] XeTeX, Persian, Page Numbers, Footnote Numbers and other same issues

Ali Majdzadeh ali.majdzadeh at gmail.com
Wed Nov 28 09:59:46 CET 2007


Hello Mojca
Thanks a lot. I am going to test it with XeTeX.

Regards

2007/11/28, Mojca Miklavec <mojca.miklavec.lists at gmail.com>:
>
> On Nov 27, 2007 4:10 PM, Ali Majdzadeh wrote:
> > Hello
> > Is it possible to produce page numbers in Persian? The same question
> exists
> > about footnote numbers, endnote numbers and heading numbers.
>
> I don't understand any Persian (and "almost no LaTeX" either).
>
> In ConTeXt it would look simple like that:
>
> % I took a random font from http://www.wazu.jp/gallery/Fonts_Persian.html
> % and put it to the same folder where the document is (you need to
> specify your own font)
> %
> % This is the an ugly font definition (you should change the whole
> font instead):
> \font\persian="[BCompset]"
>
> % page numbers:
>     \setuppagenumbering[conversion=persiannumerals,style=\persian]
> % heading numbers:
>     \setuphead[section][conversion=persiannumerals,numberstyle=\persian]
>
>     \setuphead[subsection][conversion=persiannumerals,numberstyle=\persian]
> % footnotes:
>     \setupfootnotes[conversion=persiannumerals,style=\persian]
>
> % style=\persian is not needed in general (once you properly set the font)
>
> \starttext
> \section{test}
> \subsection{test}
> \subsection{test}
> \starttext
>
> (to be processed with "texexec --xtx filename", you need to have ruby
> installed)
>
> Mojca
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20071128/3b3f8bac/attachment-0001.html 


More information about the XeTeX mailing list