Le mardi 09 octobre 2012, Wolfgang Schuster a écrit :
> Am 09.10.2012 um 22:11 schrieb Marco Patzer <[email protected]>:
> > 2012-10-09 Wolfgang Schuster:
> >> Can you explain which numbers this should represent:
> >> 
> >> \m{12\,345,567\,89}~kg
> > 
> > 12345.56789 kg
> > 
> >> \m{345,567\,89}~kg
> > 
> > 345.56789 kg
> 
> Thanks but I realized it myself (I guess I need sleep), The problem is that
> Hans number parser doesn’t check for a separator in the decimal numbers.
Thanks for the response.

The minimal example was suppose to test three numbers: one with a separator in 
the integer part (12345.567), one with a separator in the decimal part 
(345.56789) and one in both (12345.56789).

Anyway, if one forget the problem of the separator in the decimal part which 
is not handle, none of the 'method=', 'order=' and 'language=' combinations in 
\setupunit make it possible to render a number in the french format (a comma 
as the decimal separator and a thin space for the "three digits" separator).

Any idea to get this work?

-- 
Romain Diss
<[email protected]>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to