ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Romain Diss <romain.diss@yahoo.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \unit and french
Date: Tue, 9 Oct 2012 23:08:49 +0200	[thread overview]
Message-ID: <201210092308.49851.romain.diss@yahoo.fr> (raw)
In-Reply-To: <FBF7DEA0-D5A6-4912-A747-7DFF655C0C3E@gmail.com>

Le mardi 09 octobre 2012, Wolfgang Schuster a écrit :
> Am 09.10.2012 um 22:11 schrieb Marco Patzer <homerow@lavabit.com>:
> > 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
<romain.diss@yahoo.fr>
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2012-10-09 21:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09 19:04 Romain Diss
2012-10-09 20:01 ` Wolfgang Schuster
2012-10-09 20:06   ` Wolfgang Schuster
2012-10-09 20:11   ` Marco Patzer
2012-10-09 20:29     ` Wolfgang Schuster
2012-10-09 20:40       ` Marco Patzer
2012-10-09 21:08       ` Romain Diss [this message]
2012-10-10 15:41         ` Sietse Brouwer
2012-10-10 19:25           ` Romain Diss
2012-10-10 19:51             ` Wolfgang Schuster
2012-10-10 20:59               ` Sietse Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201210092308.49851.romain.diss@yahoo.fr \
    --to=romain.diss@yahoo.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).