[XeTeX] XeTeX, Persian, Page Numbers, Footnote Numbers and other same issues
Jonathan Kew
jonathan_kew at sil.org
Wed Nov 28 17:42:51 CET 2007
On 27 Nov 2007, at 9:10 am, 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.
>
The simplest way to achieve this via XeTeX, I think, is to use the
font-mapping feature. If you create a TECkit mapping that converts U
+0030..0039 into U+06F0..06F9, and associate this with the Persian
font you're using, then the standard ASCII numbers (as generated by
LaTeX for page numbers, footnotes, headings, etc.) will all be
rendered using the Persian numerals from the font.
(See http://scripts.sil.org/TECkit for the TECkit package that XeTeX
uses for this on-the-fly remapping feature; this is also how the "tex-
text" mapping to support things like ``---'' is implemented.)
Have you looked at the arabxetex package, BTW? I don't know if it
supports this feature, but if not, perhaps François would be willing
to add it.
JK
More information about the XeTeX
mailing list