From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69087 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: beta Date: Sun, 12 Jun 2011 21:15:28 +0200 Message-ID: <1F0B43CE-D56B-44B3-A459-1354C34D4AEF@googlemail.com> References: <4DF38195.7000805@wxs.nl> <4DF49B93.4070200@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============0089253595==" X-Trace: dough.gmane.org 1307906161 23694 80.91.229.12 (12 Jun 2011 19:16:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2011 19:16:01 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 12 21:15:56 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QVq8V-0005RP-6S for gctc-ntg-context-518@m.gmane.org; Sun, 12 Jun 2011 21:15:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12FF9CAD84; Sun, 12 Jun 2011 21:15:50 +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 1cYZt5bmrc4r; Sun, 12 Jun 2011 21:15:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 286ECCAD08; Sun, 12 Jun 2011 21:15:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6D9DBCAD08 for ; Sun, 12 Jun 2011 21:15:45 +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 x4iErVhYxbZ5 for ; Sun, 12 Jun 2011 21:15:34 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 6A4C1CAC8D for ; Sun, 12 Jun 2011 21:15:34 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5CJFXXC006234 for ; Sun, 12 Jun 2011 21:15:33 +0200 Original-Received: by bwz17 with SMTP id 17so5075125bwz.14 for ; Sun, 12 Jun 2011 12:15:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=NBke//VVbQun35fAgR5SIJnf8KkggGcsVNludwgIYdg=; b=EP04+MQ7MCcKj56bgxk5z6lM1kYZYyWGH/XNzBXjyNZfo8vXCZ8hnYPCYZxCOfAbxF ivr58xAOv12JpXwgMIoSIBWYN8lm9oYU1ktxMzGkDDFcnulIBlgZiH5g3h8IVKd1ZyUM bSEMLUnuZDrKW9rsDhMsUAotca6N2yQwaE2eg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=RR5RxtAK+IjHFUDdOfVZ6mTC3dbZeL0xrMKwsOQvFXnkmDTHkTl4oauJQdXZ0bxDOs SM61sfi2DpMYVsEQeVwgZ2z9XN5oqxllEss9F1lex5uRbUfVx//2AkPLLvWl4d7KyvgG ZlmE83l0H5bH/ikMiDcCCd92y5OIOtdkfpG2Q= Original-Received: by 10.204.74.218 with SMTP id v26mr4025676bkj.76.1307906132884; Sun, 12 Jun 2011 12:15:32 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EFBEB.dip.t-dialin.net [91.14.251.235]) by mx.google.com with ESMTPS id g2sm4631895bkz.23.2011.06.12.12.15.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Jun 2011 12:15:31 -0700 (PDT) In-Reply-To: <4DF49B93.4070200@wxs.nl> X-Mailer: Apple Mail (2.1084) 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: 07ET7fxwV - 57c99b0cf07d - 20110612 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:69087 Archived-At: --===============0089253595== Content-Type: multipart/alternative; boundary=Apple-Mail-8-1033930533 --Apple-Mail-8-1033930533 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 12.06.2011 um 12:57 schrieb Hans Hagen: > On 11-6-2011 5:12, Wolfgang Schuster wrote: >>=20 >> Nice but i suggest to use \si as name for the command. >=20 > I don't like that one ... we're not exclusively dealing with si units What a lame excuse, =93si=94 is easier to remember than =93su=94 and = even though the code isn=92t limited to si units this isn=92t a good reason to avoid the name. > and it's also a language tag. Not for ConTeXt: \starttext \show\si \stoptext > \si=3Dundefined.=20 Collision between language tags a context commands do exist since a long time, e.g. \sl or \it. >> What=92s 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. >=20 > 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 --Apple-Mail-8-1033930533 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
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, =93si=94 = is easier to remember than =93su=94 and even
though the code = isn=92t limited to si units this isn=92t a good reason
to = avoid the name.

and it's also a = language tag.

Not for = ConTeXt:

\starttext
\show\si
=
\stoptext

> = \si=3Dundefined. 

Collision = between language tags a context commands do exist since
a long = time, e.g. \sl or \it.

What=92s 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

= --Apple-Mail-8-1033930533-- --===============0089253595== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0089253595==--