[XeTeX] A Few Questions
Petite Chez Scheme
petitechezscheme at gmail.com
Wed Feb 20 03:59:59 CET 2008
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:
***************************************************************************
%to make the digits in math formula persian
\font\tenrgm="Nazli" at 12pt
\font\sevrgm="Nazli" at 10pt
\font\fivrgm="Nazli" at 7pt
\newfam\fardig
\textfont\fardig=\tenrgm
\scriptfont\fardig=\sevrgm
\scriptscriptfont\fardig=\fivrgm
\def\mathfnumber{
\XeTeXmathcode`0="7 "4 "06F0%
\XeTeXmathcode`1="7 "4 "06F1%
\XeTeXmathcode`2="7 "4 "06F2%
\XeTeXmathcode`3="7 "4 "06F3%
\XeTeXmathcode`4="7 "4 "06F4%
\XeTeXmathcode`5="7 "4 "06F5%
\XeTeXmathcode`6="7 "4 "06F6%
\XeTeXmathcode`7="7 "4 "06F7%
\XeTeXmathcode`8="7 "4 "06F8%
\XeTeXmathcode`9="7 "4 "06F9%
\XeTeXmathcode`.="7 "4 "066B%decimal point
}
\XeTeXmathcode`٫="7 "4 "066B%decimal point
\XeTeXmathcode`۰="7 "4 "06F0%
\XeTeXmathcode`۱="7 "4 "06F1%
\XeTeXmathcode`۲="7 "4 "06F2%
\XeTeXmathcode`۳="7 "4 "06F3%
\XeTeXmathcode`۴="7 "4 "06F4%
\XeTeXmathcode`۵="7 "4 "06F5%
\XeTeXmathcode`۶="7 "4 "06F6%
\XeTeXmathcode`۷="7 "4 "06F7%
\XeTeXmathcode`۸="7 "4 "06F8%
\XeTeXmathcode`۹="7 "4 "06F9%
************************************************
Can please anyone help me with this matter?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080220/2de6da6e/attachment-0001.html
More information about the XeTeX
mailing list