[pstricks] decimal separator in pstricks-add+pst-plot

Vafa Khalighi vafak9 at gmail.com
Sun Apr 26 15:47:56 CEST 2009

Thanks to all. I think I have found my answer. Suppose in xepersian,
\decimalseparator stands for unicode character 066B, then the following code
does what I want:

  \ifx\@xyDecimals\@empty% take value as is
    \def\@tempa{#1}% write only if not empty
    \ifx\@tempa\@empty% write nothing
      \ifPst at comma{,}\else\decimalseparator\fi%
  \else% write only \xy at decimals
      \ifPst at comma{,}\else\deciamlseparator\fi
        \@Reset at digitcounter
        \expandafter\@process at digits#1*;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20090426/7e283a51/attachment.html 

More information about the PSTricks mailing list