![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
30 Sep
2011
30 Sep
'11
1:36 a.m.
On Thu, Sep 29, 2011 at 6:15 PM, Aditya Mahajan
On Mon, 26 Sep 2011, Mojca Miklavec wrote:
Short summary: This allows the comma in $1, 2, 3$ to be have as punctuation comma (similar to \setupmathematics[autopunct=no]) and $1,23$ to behave as decimal comma (similar to \setupmatematics[autopunct=yes]). Since it is targeting pdftex and xetex engines, it makes , an active char in mathmode and redefines it as a macro that uses look ahead to check if the next token is a digit.
In principle a cleaner implementation is possible in luatex (without using active characters), but I am not completely sure about this. It will be better to handle this as part of \mnum macro.
Aditya Hm, can you explain this a bit ?
-- luigi