[XeTeX] XeTeX, Persian, Page Numbers, Footnote Numbers

caapv 208 caapv208 at yahoo.co.jp
Wed Nov 28 15:49:05 CET 2007


--- Bruno Voisin <bvoisin at mac.com> wrote:

> IIRC LaTeX knows only about arabic and roman
> numbers, and also about  
> numbering using the roman alphabet and using
> "old-fashioned" non- 
> alphanumeric characters (for footnotes) like *, 則,
> 其, &#65533;, 癲, &#65533;  
> and the like.

The TECkit mapping files comes with arabxetex package
perform necessary conversions, hence there is no need
to implement inefficient macro level bloats.

\usepackage{arabxetex}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}
\makeatletter
\renewcommand{\thepage}{\textfarsi{\the\c at page}}
\renewcommand{\thesection}{\textfarsi{\the\c at section}}
\renewcommand{\thepart}{\textfarsi{\the\c at part}}
\renewcommand{\thefootnote}{\textfarsi{\c at footnote}}
\renewcommand{\labelenumi}{\textfarsi{\theenumi}}

etc. should be sufficient.

> Bruno Voisin
> 

Regards,
SMiyata

--------------------------------------
New Design Yahoo! JAPAN  2008/01/01
http://pr.mail.yahoo.co.jp/newdesign/


More information about the XeTeX mailing list