From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61640 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Units fonts and spacing Date: Sat, 11 Sep 2010 16:00:58 +0200 Message-ID: References: <51766A96-D4D8-4ABA-A184-0209C5E0725E@gmail.com> <4D32B74E-F21D-45CE-B7F0-900A9F416259@gmail.com> <4C8A4855.4010303@wxs.nl> <366D5E7D-DF9A-4E72-9506-200EBAE069E7@gmail.com> <4C8A5174.6050501@wxs.nl> <4C8B4CCC.1060208@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284213688 19481 80.91.229.12 (11 Sep 2010 14:01:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2010 14:01:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 11 16:01:26 2010 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 1OuQdu-0007LB-F3 for gctc-ntg-context-518@m.gmane.org; Sat, 11 Sep 2010 16:01:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E08DCA632; Sat, 11 Sep 2010 16:01:21 +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 dN5Pz2oSMoEq; Sat, 11 Sep 2010 16:01:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 683BECA730; Sat, 11 Sep 2010 16:01:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D60FCA730 for ; Sat, 11 Sep 2010 16:01:16 +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 gV6uOWnbDW-S for ; Sat, 11 Sep 2010 16:01:05 +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 47F18CA632 for ; Sat, 11 Sep 2010 16:01:05 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8BE12TV003775 for ; Sat, 11 Sep 2010 16:01:04 +0200 Original-Received: by fxm3 with SMTP id 3so2931637fxm.14 for ; Sat, 11 Sep 2010 07:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=lCUsghuw7mTICgS1QHKt4kDNruLlROcCGFPOYVUiXhs=; b=LFudMj0Y+0zX+o6IndmxoBiyutwsBaskVtTdwxGBfmbvGh1qC8FrBa6VfHkhNOJHzI Qp4dmL4N67gY45ttwghQKnvPYwkDVfFlENH/xsC1OSsuPGOlIifdgecKdTykJIyvSOgh c2tNTYPZcm3hWAWTbJ2T62oID2/b3jbKwyR7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=ZwhiXaecw1H+aVn4uvIB6Y/9rfDxurbzoh03t4PLfkL6RyWwsn4stEzn1h6ezPqHMr 39cCdJwQ3GlqtXDyl06E+gVbgxuk3LEg3uaU4+3hbpS2qPiU6AZPFrOlU16xw2t1ZwYi D5e/d+2MCaTGSFVFTnFq4N6s42qXKGM5x28sY= Original-Received: by 10.223.119.210 with SMTP id a18mr1510982far.52.1284213662674; Sat, 11 Sep 2010 07:01:02 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B296544.dip.t-dialin.net [91.41.101.68]) by mx.google.com with ESMTPS id t6sm1888852faa.3.2010.09.11.07.01.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 11 Sep 2010 07:01:01 -0700 (PDT) In-Reply-To: <4C8B4CCC.1060208@wxs.nl> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 07D5q13bt - b5b793d1c7d4 - 20100911 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:61640 Archived-At: Am 11.09.2010 um 11:33 schrieb Hans Hagen: >> Will siunits module be used as a base for this or will this be >> something completely new? > = > I don't know what you mean with siunits. Wolfgangs module? We have unit = support in context for along time (also as part of some mathml extensions).= So, we're more talking of an upgrade of the current module (units and digi= ts) and I will have a look at Wolfgangs code to see what additional support= is in there and we can merge things if needed. He=92s talking about my module. The difference between our modules is that = your use =9310 \Meter \Per \Second=94 for the input while i use =94\siunit{= 10\meter\per\second}=94. There is nothing wrong about two modules with the same function as long as = both do not cause a problem for the module (and i took care of this in my m= odule). Parts like the number parsing can become part of the core and you provide a= function which others can use to integrate it in their own macros. > The fundamentals of units are not going to change much, apart from the fa= ct that we can now parse m/s if needed instead of using the verbose names). I=92m not a friend of the =94m/s=94 input because you can=92t say where a u= nits starts/ends without adding separators between them, here is a example = from latex=92s siunitx package which supports both methods but although the= first is shorter we should rely on the tex method - si{kg.m/s^2} - si{\kilo\gram\metre\per\square\second} > Keep in mind that the units module runs on top of synonyms so that one ca= n ask for lists of used units and meanings of them. Adding this function is no problem, synonyms can also be integrated in any = other system. 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 ___________________________________________________________________________= ________