From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72109 Path: news.gmane.org!not-for-mail From: Romain Diss Newsgroups: gmane.comp.tex.context Subject: \unit problem Date: Thu, 3 Nov 2011 14:32:05 +0100 Message-ID: <201111031432.06515.romain.diss@yahoo.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320327173 3829 80.91.229.12 (3 Nov 2011 13:32:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 3 Nov 2011 13:32:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 03 14:32:47 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 1RLxPO-0006Zs-A3 for gctc-ntg-context-518@m.gmane.org; Thu, 03 Nov 2011 14:32:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24D4ECB0B2; Thu, 3 Nov 2011 14:32:39 +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 cAHfiBPhdhjB; Thu, 3 Nov 2011 14:32:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58A4BCB098; Thu, 3 Nov 2011 14:32:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CEC9ACB098 for ; Thu, 3 Nov 2011 14:32:31 +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 GPU6tJmWzZ7n for ; Thu, 3 Nov 2011 14:32:17 +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 1C3ADCB097 for ; Thu, 3 Nov 2011 14:32:17 +0100 (CET) Original-Received: from nm10.bullet.mail.ukl.yahoo.com (nm10.bullet.mail.ukl.yahoo.com [217.146.182.251]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id pA3DW8FF028987 for ; Thu, 3 Nov 2011 14:32:14 +0100 Original-Received: from [217.146.183.217] by nm10.bullet.mail.ukl.yahoo.com with NNFMP; 03 Nov 2011 13:32:07 -0000 Original-Received: from [77.238.184.80] by tm10.bullet.mail.ukl.yahoo.com with NNFMP; 03 Nov 2011 13:32:07 -0000 Original-Received: from [127.0.0.1] by smtp149.mail.ukl.yahoo.com with NNFMP; 03 Nov 2011 13:32:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1320327127; bh=QNA3Wg+O6+HxlRu3K9FsFgs8O9WSj8V4cfjk7Tb0LEw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id; b=VJJZyQ12Dy4b7yS+PDfSRohiPsbg65MqO8VGMwQbTIgVf+9SHo5heEY19THn7v5x0ywIUO9qqOkrSYykirLvrRWffe0BSgbu8kK2/wqWTMVIq8Y9FEw6bJdAiTss2ayMO2EetNnN7tgQlITOcwcJNk8wjjR+gu1wKLykk8xm9c4= X-Yahoo-Newman-Id: 931252.45366.bm@smtp149.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 19Bm8C4VM1n01rN2DRe0hPIGM8cW8_XWJeVAtN86jhf5_O7 CZ7XijUTZNmJ0EYtJ0DML6mZrjv_.u9XyLHL4_NnEesCr1.ABjqYI5jXMXCQ wA_9X76lRKHsCFwGrXiI0ini_YlK43vL6NLdEsPmy.vEfyZwYBT0r97y2o5u c7W.4uruSP0551QB46Xzjur_K3.RBdkNQy4gUljoBcJsML0WKLdrMJ85ETnL Pj13IFsHgsSHYzX6nw9FN6wN1WYxgQFMIJTbSY0wYsEH2s3_fv3QgvgYn8gl DKhKBWw4oIyEMKHUY_6BfHFGoeBuFdONRLbuPgKLH0moJwvmW_kgqJf4hY4r Vc7nUAkmj3uc- X-Yahoo-SMTP: S1hYNv6swBAmdDgiTrR1jsHHwRWtJLYt Original-Received: from nereid.localnet (romain.diss@89.226.19.105 with plain) by smtp149.mail.ukl.yahoo.com with SMTP; 03 Nov 2011 13:32:07 +0000 GMT User-Agent: KMail/1.13.7 (Linux/3.0.0-2-amd64; KDE/4.6.5; x86_64; ; ) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.146.182.251; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFQBw8ai - 2e8afac843e2 - 20111103 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:72109 Archived-At: Hello all, It seems that some unit combinations don't work very well with the \unit macro. I have some problems with the m- (milli-) prefix but some tests reveal other strange errors. Here is a not so minimal example. The first 33 entries come from "phys- dim.mkiv" and work well. In the entries 100 to 115 which I added, the 102, 107, 108, 109, 110, 111, 112 and 115 cause problem : \starttext \startbuffer 01: $10\unit{km/h}$ 02: $\unit{10 km/h}$ 03: \unit{km/h} 04: \unit{10 km/h} 05: \unit{10 km/h} 06: \unit{~1 km/h} 07: 10\unit{km/h} 08: 10 \unit{km/h} 09: $10 \unit{km/h}$ 10: 10 \unit{KiloMeter/Hour} 11: 10 \unit{kilometer/hour} 12: 10 \unit{km/h} 13: 10 \unit{kilometer per hour} 14: 10 \unit{km / h} 15: 10 \unit{ km / h } 16: 10 \unit{km/ms2} 17: 10 \unit{meter per second} 18: 10 \unit{cubic meter} 19: 10 \unit{cubic meter per second} 21: 10 \unit{cubic meter / second} 22: $10 \unit{cubic meter / second}$ 23: 30 \unit{kilo pascal } 24: 30 \unit{kilo pascal square meter / second} 25: 30 \unit{kilo pascal square meter / kelvin second} 26: \unit{30 kilo pascal square meter / kelvin second} 27: $30 \unit{kilo pascal square meter / kelvin second }$ 28: 30 \unit{crap} 29: 30 \unit{AC} 30: $\frac{10 \unit{m/s}}{20 \unit{m/s}} $ 31: {\ss 30 \unit{kilo pascal square meter / second kelvin}} 32: \unit{123.22^-3 km/s} 33: \unit{123.22e-3 km/s} 100: \unit{10 mm} 101: \unit{10 km} 102: \unit{10,2 mA} 103: \unit{123 kA} 104: \unit{0,001 MA} 105: \unit{1 dal} 106: \unit{2.21 GW} 107: \unit{345 mW} 108: \unit{152.20 mHz} 109: \unit{55.5 mmol} 110: \unit{6.7 mol/l} 111: \unit{125 g/l} 112: \unit{125 g / l} 113: \unit{125 km/s} 114: \unit{125 m/s} 115: \unit{125 mA/s} \stopbuffer \typebuffer Result: \startlines \getbuffer \stoplines \stoptext Thank you for your help. -- 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 ___________________________________________________________________________________