Am 12.06.2011 um 12:57 schrieb Hans Hagen:
On 11-6-2011 5:12, Wolfgang Schuster wrote:
Nice but i suggest to use \si as name for the command.
I don't like that one ... we're not exclusively dealing with si units
What a lame excuse, “si” is easier to remember than “su” and even though the code isn’t limited to si units this isn’t a good reason to avoid the name.
and it's also a language tag.
Not for ConTeXt: \starttext \show\si \stoptext
\si=undefined.
Collision between language tags a context commands do exist since a long time, e.g. \sl or \it.
What’s still missing is a reimplementation of the \digits macro where you have more control about the decimal and thousand separator and a few more options.
I have a scanner for that as well (needs to be integrated)
Yes i know you have it also commented in the source but the input is too strict and expect something where you can write 10000.00 and depending on the setup you can get - 10.000,00 - 10\,000.00 - 10\,000,00 - ... as output. Wolfgang