From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78609 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \unit and french Date: Tue, 9 Oct 2012 22:06:34 +0200 Message-ID: References: <201210092104.01118.romain.diss@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1349813203 28859 80.91.229.3 (9 Oct 2012 20:06:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Oct 2012 20:06:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 09 22:06:50 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TLg4m-0003vD-Sk for gctc-ntg-context-518@m.gmane.org; Tue, 09 Oct 2012 22:06:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B4DC101F2; Tue, 9 Oct 2012 22:06:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kCoAyydHx4u3; Tue, 9 Oct 2012 22:06:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7714B101F3; Tue, 9 Oct 2012 22:06:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C1E6101F3 for ; Tue, 9 Oct 2012 22:06:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zb5-x+rRJ1LH for ; Tue, 9 Oct 2012 22:06:38 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id EA2AC101F2 for ; Tue, 9 Oct 2012 22:06:37 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q99K6aMW028807 for ; Tue, 9 Oct 2012 22:06:36 +0200 Original-Received: by mail-bk0-f41.google.com with SMTP id jm1so2900033bkc.14 for ; Tue, 09 Oct 2012 13:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=2W7RlyLyNZh/RS5r2GY9myvHleZ7WIQSvApadg1H+x4=; b=tWKmUlhdebwOPwy1N885og84ZrTuQYAMFpg2ktBhdSTTLhVx0J1eXlnZSI+C3O5jVO gwEgQmSCQABhciSNJhHJ8DHSPHBBAA6z9c8x8K/1P1DsAr/cGX6LIveM8QNb8wNIJVnl 73v85gXq58L0zu1VKiTEme8imu8Aoq9m2LepG1F17Kkt9hzFpZ+zc2ZFzhrGsAFj6G/U Ph8PrwLKGmD2YMNhj1MvpOfW3VqINAdBFUqmHxs8QKIIGxjJ+Dv9L6V1DklZ1lZ8LAZ1 9NiLhPczPLWvOhiff6DW9xIxLh1v+YbJsuKqVEmNubdfGb9Wwcdzt0OULFV4UHAT9za1 H3JA== Original-Received: by 10.204.130.152 with SMTP id t24mr7042726bks.138.1349813196105; Tue, 09 Oct 2012 13:06:36 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbf0e0f.pool.mediaWays.net. [77.191.14.15]) by mx.google.com with ESMTPS id ia2sm15730676bkc.11.2012.10.09.13.06.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Oct 2012 13:06:35 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1498) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03I986AEp - cf1f099d19dc - 20121009 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78609 Archived-At: Am 09.10.2012 um 22:01 schrieb Wolfgang Schuster : > = > Am 09.10.2012 um 21:04 schrieb Romain Diss : > = >> Hi all, >> = >> As you know, the french number format is almost opposite to the english = one: = >> period and comma have opposite roles. >> = >> My question concerns the way to render properly numbers in french with t= he = >> \unit command. I already tried different combinations of = >> \setupunit[method=3D,order=3D] but I can=92t find the right way. I tried= even to = >> type french or english format as input for \unit but none output is righ= t = >> (actually I'd prefer to type french format as \unit input). >> Also, when there are "three digits" separators on both sides of the deci= mal = >> point, some method outputs are not consistent. >> = >> I attached a not so minimal exemple. >> = >> Thanks for any idea to solve this. > = > Can you explain which numbers this should represent: > = > \m{12\,345,567\,89}~kg > \m{345,567\,89}~kg For get about this but you can try what happens when you don=92t add a sepa= rator between the number groups in the decimal parts. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________