From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80000 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: spacing: units in math Date: Fri, 21 Dec 2012 18:58:22 +0100 Message-ID: <50D4A33E.6060402@wxs.nl> References: <736FF04E-8816-4868-B06F-1F41434CA0BE@imt.uni-luebeck.de> <201211302043.16609.romain.diss@yahoo.fr> <2ACD0816-86A3-4A01-A1EF-1D0816845172@imt.uni-luebeck.de> 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 1356112719 12845 80.91.229.3 (21 Dec 2012 17:58:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2012 17:58:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 21 18:58:55 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 1Tm6s1-00019v-2j for gctc-ntg-context-518@m.gmane.org; Fri, 21 Dec 2012 18:58:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0C2A10200; Fri, 21 Dec 2012 18:58:38 +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 t8D0unlJZn53; Fri, 21 Dec 2012 18:58:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9C40B101F5; Fri, 21 Dec 2012 18:58:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1FCE9101F5 for ; Fri, 21 Dec 2012 18:58:29 +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 6GNvJMBZDJ+q for ; Fri, 21 Dec 2012 18:58:25 +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 610DB101F3 for ; Fri, 21 Dec 2012 18:58:25 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBLHwOBA029846 for ; Fri, 21 Dec 2012 18:58:24 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 303-1713362 for multiple; Fri, 21 Dec 2012 18:58:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: 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: 0VIChWoU6 - 39cfc38372e9 - 20121221 (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:80000 Archived-At: On 12/19/2012 7:18 PM, Andreas Mang wrote: > Hi there, > > sorry for being such a pain in the neck. > > Is there going to be a solution considering the spacing problems with the= use of units (native mkiv command) in near future (within 2-3 weeks)? If t= here is none and I am not doing something wrong, I'll add a local work arou= nd every time I use units. As this is much work, I'd appreciate if someone = told me if this is something that might be fixed soon. If not I'm good - I = just need to know. > > Explanation of my problem: Maybe I am doing something wrong, but in the r= esulting document the spacing is bigger in math mode then in the text mode = in case I use \units{...}. In particular, the distance for the decimal sepa= rator is as if I would type $1,2$ instead of $1{,}2$ (example: $\units{1,2}= $).. can you try \appendtoks \disablemathpunctuation \to \everyunits > Thanks. > > Cheers, > Andreas > > Am Dec 11, 2012 um 1:49 PM schrieb Andreas Mang : > >> Hi, >> >> I still do have problems with a wrong spacing between number and unit in= math mode (minimal example below). Clearly, I could do something like >> >> $\alpha =3D $ \unit{1,2 meter} >> >> but I think this is likely to result in problems with the look of the re= sult in case this is close to a line break. >> >> Cheers, >> Andreas >> >> %%%%%%%% MINIMAL EXAMPLE %%%%%%%% >> \starttext >> \unit{1,2 meter} % what I would expect >> >> $\unit{1,2 meter}$ % wrong spacing >> >> $\unit{1{,}2 meter}$ % there is no output after "1" >> \stoptext >> %%%%%%%% MINIMAL EXAMPLE %%%%%%%% >> >> >> Am Nov 30, 2012 um 8:43 PM schrieb Romain Diss : >> >>> Le jeudi 29 novembre 2012, Andreas Mang a =E9crit : >>>> Hi there, >>>> >>>> I encountered some problems with the built in units command in MKIV. I >>>> provide a minimal example which should demonstrate my problems. Maybe = I am >>>> doing something wrong... >>>> >>>> \setupbodyfont[pagella] >>>> \starttext >>>> \unit{11,1e-1 micro mol per second} \par >>>> $\unit{11,1e-1 micro mol per second}$ \par >>>> \unit{11,1e-1 per second} \par >>>> \unit{11,1e-1 / second} \par >>>> \stoptext >>> Don't know for the first two, but the last two should be replaced by: >>> \unit{11,1e-1 inverse second} >>> >>> All the best. >>> >>> >>> -- >>> Romain Diss >>> >>> _______________________________________________________________________= ____________ >>> 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 t= o the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > -- = ----------------------------------------------------------------- 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 ___________________________________________________________________________= ________