From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79468 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: \unit problem with powers of ten. Date: Fri, 23 Nov 2012 14:44:17 +0100 Message-ID: References: <201211192344.31404.romain.diss@yahoo.fr> <50AE6A56.5080502@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353678311 9326 80.91.229.3 (23 Nov 2012 13:45:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 13:45:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 23 14:45:18 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 1TbtZF-0000Gg-Lr for gctc-ntg-context-518@m.gmane.org; Fri, 23 Nov 2012 14:45:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50B0F10240; Fri, 23 Nov 2012 14:45:06 +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 CdoZojHLl7j6; Fri, 23 Nov 2012 14:45:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 41E7810205; Fri, 23 Nov 2012 14:45:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3D6E610205 for ; Fri, 23 Nov 2012 14:44:59 +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 ycJIL9hU68fk for ; Fri, 23 Nov 2012 14:44:53 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id D0E07101FD for ; Fri, 23 Nov 2012 14:44:53 +0100 (CET) Original-Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qANDimJJ032395 for ; Fri, 23 Nov 2012 14:44:48 +0100 Original-Received: by mail-ie0-f169.google.com with SMTP id 10so16611418ied.14 for ; Fri, 23 Nov 2012 05:44:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9lDqcT9YiSafFwSpOEG+0fg/tTHgoLFAdMVjzz1TtxQ=; b=jASY19NMaHlcw40iczd1qwtgfcZ8Qco0C1T+T9sRoZBLZuTIyuWLtVRywLGNw4ftev JSVeOxPrnl8mTcOblZGB3RNQQkd0m0m/gEH7QoIrz8/sFXPZoo/dwD+bwKDy2fRHEUsx 5K5/ITzpwMzjvrcs+Ny/qOLNeRKKbvyrH3CA//Yk3SInN4J2d+4OlIy/uAdC5mfXe/oK ekEaELGu/tVMB8JeaqRi5pQzqZSfahTibm0dw9ybZJwY7Elo/Xg+Job8HdCsgWWY5OMh ysb8DEz5NiXlODGaRieocJVqTOSM+wBGG4J/1YBigNFTKNS9Ej6g5nyYgp8UvUSBiAp6 IWPQ== Original-Received: by 10.50.187.165 with SMTP id ft5mr6203636igc.12.1353678287405; Fri, 23 Nov 2012 05:44:47 -0800 (PST) Original-Received: by 10.64.5.138 with HTTP; Fri, 23 Nov 2012 05:44:17 -0800 (PST) In-Reply-To: <50AE6A56.5080502@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.223.169; 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: 0VIr1IM0N - 7ed99948fb2c - 20121123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:79468 Archived-At: > needs testing as usual (and wiki adaption as well) http://wiki.contextgarden.net/Command/unit Wiki: adapted. (Page created, actually, as there was none.) Using the fancy-schmancy {{since|2012|text=nov 2012}} template, which (1) marks this as a recent feature, and as such not in the stable yet, and (2) sticks it in the hidden categories [Since] and [Since 2012], so that we may review (and remove) those tags when the new stable comes out next year. --Sietse On Thu, Nov 22, 2012 at 7:09 PM, Hans Hagen wrote: > On 11/19/2012 11:44 PM, Romain Diss wrote: >> >> Hi all, >> >> I got some problems to express powers of ten in the \unit command. See the >> strange behaviour with these two minimal examples. >> >> \starttext >> \unit{10^2 meter}\\ >> \unit{10^{-12} second} >> \stoptext >> >> However, there is no problem with this one: \unit{1e-4 kilogram}. >> >> Is this a bug or are these expressions not supported? > > > not supported .. i've added it to the upcoming beta: > > \starttext > > \startlines > \unit{10^12 meter} > \unit{10^{-12} second} > \unit{10^{12} second} > \unit{10e12 meter} > \unit{10e{-12} second} > \unit{10e{12} second} > \stoplines > > \stoptext > > needs testing as usual (and wiki adaption as well) > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________