<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Jan 26, 2010 at 3:08 AM, Mehdi Omidali <span dir="ltr">&lt;<a href="mailto:mehdioa@gmail.com">mehdioa@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Two options:<br>
1- Why don&#39;t you cooperate with the developer of the mathspec package?<br>
2- Maybe it is better to cooperate with a free math font developers,<br>
like Asana Math, to add arabic and persian digits in their font and<br>
then it is easy to use it by mathspec. For example, then<br>
\usepackage{mathspec}<br>
\setmathfont(Digits)[Mapping=parsidigits]{Asana Math}<br>
will do the job you wants. Note that this combination (only by<br>
replacing Asana Math by some font that has persian digits) is somehow<br>
better than<br>
\setdigitfont<br>
of xepersian.<br>
<font color="#888888">MO<br>
</font><div><div></div><div class="h5"><br>
<br></div></div></blockquote></div><br>The nature of my question is absolutely different to what you responded. In addition, mathspec does not do what I asked. See atached:<br><br>The digits inside \mathbf and outside \mathbf, are the same thing which is wrong. The digits inside \mathbf should be bold and the digits ouside \mathbf should be regular. Doing this is pretty simple, you do digits with \mathord like what TeX-e-Parsi has done but this is not the right behaviour.<br clear="all">
<br>-- <br>Best wishes,<br>Vafa Khalighi<br>
</div>