[XeTeX] A Few Questions
Mostafa Vahedi
mostafa.vahedi at gmail.com
Wed Feb 20 09:42:53 CET 2008
If you choose LaTeX, then sometimes it depends on the class you choose for
the documentclass. For some classes the page numbers are typeset in persian
if you define something like this beside the font definition command:
\font\nazli="Nazli:script=arab,mapping=farsidigits" at 12pt
\renewcommand{\thepage}{\nazli\the\c at page}
--Mostafa Vahedi
On Feb 20, 2008 9:07 AM, François Charette <firmicus at ankabut.net> wrote:
> Petite Chez Scheme a écrit :
> > I am a TeXnician not a LaTeXnician.
> >
> > I am using plain XeTeX to produce persian typesetting, everything is
> good.
> > 1) I just want to know how do you make the page numbers
> > Arabic/Persian, I tried very hard but could not do it.
> >
> >
> > 2) I tried to make digits to be Persian/arabic in mathmode by defining:
> <...>
> > Can please anyone help me with this matter?
> >
>
> Dear "Petite Chez Scheme", << I would prefer addressing you with your
> real name, if possible!
>
> You can have a look at my modules for Arabic and Persian in the
> polyglossia package
> (
> http://scripts.sil.org/svn-view/xetex/TRUNK/texmf/tex/xelatex/polyglossia/
> ).
>
> This is for XeLaTeX of course, but the idea is also valid with plain
> XeTeX: I simply to use a fontmapping in the default font that changes
> Western digits to Arabic or Persian ones. The files for that are under
>
> http://scripts.sil.org/svn-view/xetex/TRUNK/texmf/fonts/misc/xetex/fontmapping/
>
> If you define
> \font\nazli="Nazli:script=arab,mapping=farsidigits" at 12pt
> etc., then all numbers set with this font will be Farsi.
>
> Hope it helps,
>
> FC
>
> _______________________________________________
> 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/20080220/4908dab3/attachment.html
More information about the XeTeX
mailing list