[XeTeX] Numerals in Right-to-Left

Hans Hagen pragma at wxs.nl
Wed Nov 17 16:11:37 CET 2004


Jonathan Kew wrote:

 >   \count255=#2
>   \uccode`\0=\count255 \advance\count255 by 1
>   \uccode`\1=\count255 \advance\count255 by 1

or, since xetex == etex:

\uccode`\0=\dimexpr#2+0\relax
\uccode`\1=\dimexpr#2+1\relax
\uccode`\2=\dimexpr#2+2\relax

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the XeTeX mailing list