29 Sep
2011
29 Sep
'11
4:15 p.m.
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