From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69076 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: beta Date: Sun, 12 Jun 2011 08:31:35 +0200 Message-ID: References: <4DF38195.7000805@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307860321 29085 80.91.229.12 (12 Jun 2011 06:32:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2011 06:32:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 12 08:31:57 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 1QVeDF-00034W-Mn for gctc-ntg-context-518@m.gmane.org; Sun, 12 Jun 2011 08:31:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10C0ECAD87; Sun, 12 Jun 2011 08:31:57 +0200 (CEST) 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 ms7FeE1XQNwH; Sun, 12 Jun 2011 08:31:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3CF02CAD5D; Sun, 12 Jun 2011 08:31:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7B30CAD5D for ; Sun, 12 Jun 2011 08:31:52 +0200 (CEST) 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 MenUdm5v-Qaq for ; Sun, 12 Jun 2011 08:31:41 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 2BF0ACAD30 for ; Sun, 12 Jun 2011 08:31:41 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5C6VdRx002301 for ; Sun, 12 Jun 2011 08:31:40 +0200 Original-Received: by wwi36 with SMTP id 36so3141969wwi.2 for ; Sat, 11 Jun 2011 23:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=YtWkhmuKwsclC9Mi92GDlhR59sgI0cOlMj7bPT4f9+g=; b=hJ2Ia6jFSSzZEkIaA3QrxPWClE5G4vFX7yVXJRD2cErIJqsxJF1xMZL1O9AicG3CjH 09idoZFC8DJCz4xqkd0HzJnbqXFPRoUJYfRPN1Ujm7EQkgoyuB+r5MxaNBDsfYa6GIWd yXcvm6vkLJFHUDuCMlmyT+PJ2sFM6ksqFi+0U= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=WKzxaTXoiBORvqng1GCSsAt0ieaMXNJM4jTh8ZC1YGvo/u4IPhxzZ11nlAaeEv4yVA mml6pUjaUW2EYz3aKYgCERjLYtpOnenOhHfhJa8yhfmUh28NnFKHE+F9jeLEnNhDMZ44 U6p5b/UJjkuU1bMNCe4q/k4P4u80UzktN5QCA= Original-Received: by 10.227.195.136 with SMTP id ec8mr3755003wbb.34.1307860298590; Sat, 11 Jun 2011 23:31:38 -0700 (PDT) Original-Received: from new-host.home (AOrleans-553-1-2-40.w90-63.abo.wanadoo.fr [90.63.56.40]) by mx.google.com with ESMTPS id m8sm3272058wbh.11.2011.06.11.23.31.36 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Jun 2011 23:31:37 -0700 (PDT) In-Reply-To: <4DF38195.7000805@wxs.nl> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 08ESSvDtE - 461e978fd561 - 20110612 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:69076 Archived-At: Hi Hans, Just out of curioisity I tested your example, but mkiv stopped with the err= or: ! Undefined control sequence. system > tex > error on line 14 in file units-math-export.tex: Un= defined control sequence ... l.14 $10\su {km/h}$ Probably I am being somewhat dumb=85 since the module =AB dimenesions =BB i= s not present in the minimals. Has one to define \su somewhere? I am reporting this upon using ConTeXt ver: 2011.06.09 12:49 MKIV. Best regards: OK On 11 juin 2011, at 16:54, Hans Hagen wrote: > Hi, > = > In the process of extending math export I decided to finish and integrate= an old experiment with units. Details can change as can configuration. > = > \usemodule[dimensions] > \setupbackend[export=3Dyes] > = > \starttext > = > \startlines > $10\su{km/h}$ > $\su{10 km/h}$ > \su{10 km/h} > 10\su{km/h} > 10 \su{km/h} > $10 \su{km/h}$ > 10 \su{KiloMeter/Hour} > 10 \su{kilometer/hour} > 10 \su{km/h} > 10 \su{kilometer per hour} > 10 \su{km / h} > 10 \su{ km / h } > 10 \su{km/ms2} > 10 \su{meter per second} > 10 \su{cubic meter} > 10 \su{cubic meter per second} > 10 \su{cubic meter / second} > $10 \su{cubic meter / second}$ > 30 \su{kilo pascal } > 30 \su{kilo pascal square meter / second} > 30 \su{kilo pascal square meter / kelvin second} > \su{30 kilo pascal square meter / kelvin second} > $30 \su{kilo pascal square meter / kelvin second }$ > 30 \su{crap} > 30 \su{AC} > $ \frac{10 \su{m/s}}{20 \su{m/s}} $ > {\ss 30 \su{kilo pascal square meter / second kelvin}} > \stoplines > = > \stoptext > = > I might decide to push it in the core. The su is an abbreviation for scie= ntific unit as we already have \unit (which I like more) and \dim is also t= aken. Of course \u would be even nicer but that's a accent placement (ok, w= e could drop all those as we have utf). Using two character names is not ha= ndy as they look like language switches. > = > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ %%%%%%%%%%%%%%%%%% Otared Kavian D=E9partement de Math=E9matiques Universit=E9 de Versailles Saint-Quentin B=E2timent Fermat 45 avenue des Etats Unis 78035 Versailles cedex T=E9l=E9phone: +33 1 39 25 46 42 Secr=E9tariat: +33 1 39 25 46 44 = Secr=E9tariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________