From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72718 Path: news.gmane.org!not-for-mail From: Ian Lawrence Newsgroups: gmane.comp.tex.context Subject: Re: \unit and Hertz, lux, and degrees/minutes/seconds Date: Fri, 25 Nov 2011 09:29:36 +0000 Message-ID: References: , <4ECA1F49.6020309@wxs.nl> <746538930812A54DA07A768D52329470020C7D521E@exvic-mbx01.nexus.csiro.au> <4B99ACE8-7C48-4554-9655-89FD0C71F1CB@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322213401 22165 80.91.229.12 (25 Nov 2011 09:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2011 09:30:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 25 10:29:55 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 1RTs6U-00036m-KP for gctc-ntg-context-518@m.gmane.org; Fri, 25 Nov 2011 10:29:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93187CB0FA; Fri, 25 Nov 2011 10:29:53 +0100 (CET) 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 Yx3oil1-ZGc8; Fri, 25 Nov 2011 10:29:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DAF19CB1BF; Fri, 25 Nov 2011 10:29:49 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F8D2CB1BF for ; Fri, 25 Nov 2011 10:29:48 +0100 (CET) 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 aAHnqpVyn6dD for ; Fri, 25 Nov 2011 10:29:36 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id A4AAECB1BC for ; Fri, 25 Nov 2011 10:29:36 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAP9TZ6D028000 for ; Fri, 25 Nov 2011 10:29:36 +0100 Original-Received: by faas10 with SMTP id s10so4390040faa.14 for ; Fri, 25 Nov 2011 01:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=yBZ3sm0eN4HsXtNBDalJUezxfypumHUqWgSh7ZOQLgo=; b=LyTolqMBfZPWuSPHJEQAPT7D2JDqmAA3bIDNTFhSPqvrpVGT1xqFsWq92p9DHn9G28 PWeifpr+gt+/9zYSgaedtQd+hBLUYDtnZSbd3iC1sozG2J4lt0MpKMlVKxEOw9ltaAB4 1tYoN9dkBRh7yhvJVoJQkovhomS3W3ulOMOw4= Original-Received: by 10.152.135.166 with SMTP id pt6mr19997694lab.26.1322213375809; Fri, 25 Nov 2011 01:29:35 -0800 (PST) Original-Received: from [192.168.0.4] ([87.114.140.86]) by mx.google.com with ESMTPS id ne3sm22111033lab.7.2011.11.25.01.29.34 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 25 Nov 2011 01:29:35 -0800 (PST) In-Reply-To: <4B99ACE8-7C48-4554-9655-89FD0C71F1CB@googlemail.com> X-Mailer: Apple Mail (2.1251.1) 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: 0rG1ltAIQ - e5805fda9dcf - 20111125 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:72718 Archived-At: > = > Maybe it=92s possible with MkIV to check if the text before the \unit com= mand was > a number but of the number is part of the unit them put in the command, s= uch > things are always tricky with TeX and it=92s better to force users to use= proper input. > = > Within \type{phys-dim.lua} all the units and all the prefixes seem to = have > capitalised names; in fact, they should be all lowercase (even when th= ey > are named after some person). The exception is Celsius. I suggested a list to Hans some time ago, so more than one person has this = opinion... > = > I think this is a feature because Hans saves also a lowercase version of = all > keywords and you can use both as input. > = > I wonder whether \tex{unit} should only parse and format units, and ha= ve > another macro \tex{quan} or \tex{quantity} to handle number+unit combi= nations > (obviously using \tex{digit} and \tex{unit}). > = I put my solution to this (expressing physical quantities) on the wiki a wh= ile ago=85. ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________