[XeTeX] Eastern Arabic numerals in math environment

Nathan Sidoli nathan.sidoli at utoronto.ca
Fri Sep 23 11:31:20 CEST 2011


Thanks, that works nicely.


On 11/09/23 17:52, VAFA KHALIGHI wrote:
> Yes, you can. You can modify xepersian-mathsdigitspec to suit your 
> needs. bidi has nothing to do with font.
>
> On Fri, Sep 23, 2011 at 6:46 PM, Nathan Sidoli 
> <nathan.sidoli at utoronto.ca <mailto:nathan.sidoli at utoronto.ca>> wrote:
>
>     Is is possible to use Eastern Arabic numerals inside a math
>     environment, say inside \frac{}{} (such as \frac{5}{2})? When I
>     try this with unicode input, I get no errors, but blank output.
>     When I enter a RL environment within \frac, using bidi, I get
>     errors. (This must have something to do with \frac because I can
>     generally use bidi within a math environment to get Easter Arabic
>     numerals.)
>
>     When I try to change the math environment's digits font for the
>     whole text (say using \usepackage{mathspec} ->
>     \setmathsfont(Digits){Some Arabic Font}), it uses the right font,
>     but it uses the Western Arabic numeral set, not the Eastern Arabic
>     set.
>
>
>     ------------------------------ --------------------
>     Subscriptions, Archive, and List information, etc.:
>     http://tug.org/mailman/ listinfo/xetex
>     <http://tug.org/mailman/listinfo/xetex>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110923/148ae736/attachment-0001.html>


More information about the XeTeX mailing list