From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79489 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: \unit problem with powers of ten. Date: Fri, 23 Nov 2012 23:51:17 +0100 Message-ID: <50AFFDE5.3050307@wxs.nl> References: <201211192344.31404.romain.diss@yahoo.fr> <50AE6A56.5080502@wxs.nl> <201211232025.21853.romain.diss@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353711093 27916 80.91.229.3 (23 Nov 2012 22:51:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2012 22:51:33 +0000 (UTC) Cc: mailing list for ConTeXt users To: Romain Diss Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 23 23:51:41 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 1Tc25u-0006mF-Kd for gctc-ntg-context-518@m.gmane.org; Fri, 23 Nov 2012 23:51:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 976431032C; Fri, 23 Nov 2012 23:51:23 +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 ub-2c-nsDz49; Fri, 23 Nov 2012 23:51:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7382B10318; Fri, 23 Nov 2012 23:51:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B059610318 for ; Fri, 23 Nov 2012 23:51:20 +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 e3K3kTqfyxD4 for ; Fri, 23 Nov 2012 23:51:20 +0100 (CET) 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 E773910314 for ; Fri, 23 Nov 2012 23:51:19 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qANMpGxv017225 for ; Fri, 23 Nov 2012 23:51:17 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 4280-1713362 for multiple; Fri, 23 Nov 2012 23:51:14 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <201211232025.21853.romain.diss@yahoo.fr> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=16; city=Zeewolde; latitude=52.3302; longitude=5.5364; http://maps.google.com/maps?q=52.3302,5.5364&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03IraPgzv - 0d56bf75b3a0 - 20121123 (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:79489 Archived-At: On 11/23/2012 8:25 PM, Romain Diss wrote: > Hi, > > Le jeudi 22 novembre 2012, Hans Hagen a =E9crit : >> 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 >>> Is this a bug or are these expressions not supported? >> >> not supported .. i've added it to the upcoming beta: > Thank you very much. > >> needs testing as usual (and wiki adaption as well) > I have upgraded my context version few minutes ago: > $ context --version > mtx-context | ConTeXt Process Management 0.60 > mtx-context | current version: 2012.11.23 17:35 > > but your following code doesn't work completely: > >> \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 > > The '^' and 'e' all print a '10 =D7' at the begining. It's what is expect= ed for > 'e' but not for '^'. Did I miss something? well, until now ^ and e were equivalent so if that has to change (say ^ = no 10) then there need to be agreement about this as it's an = incompatible change i only added support for {..} ----------------------------------------------------------------- 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 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 ___________________________________________________________________________= ________