On 12-6-2011 9:15, Wolfgang Schuster wrote:
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.
I don't like \su either but I needed something that related to \unit
(which is what I prefer) but the problem is that one then cannot us the
m-units module at the same time. Well, I could save \unit when loading
it, and one can wonder if they will be used mixed anyway so we might end
up with \unit. We have a \m (inline math) macro and I'd like a one
character one for units and digits and these could be \u and \d if we
can assume that everyone uses utf (we could make them accent commands
while dealing with bibtex).
and it's also a language tag.
Not for ConTeXt:
\starttext
\show\si
\stoptext
\si=undefined.
anyway, afaik si is relates to slovenian
Collision between language tags a context commands do exist since
a long time, e.g.
\sl or \it.
which is bad enough (I wonder if we'd have \it as font switch if italian
had been needed in an earlier stage -)
Yes i know you have it also commented in the source but the input is
too strict and expect something where you can write
not that code, it's specific digits code not yet in the distribution
10000.00
and depending on the setup you can get
- 10.000,00
- 10\,000.00
- 10\,000,00
- ...
currently the units code just uses the predefined number scanner (I
needed a quick hack) but it will get the digits scanner
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________