From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61598 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Units fonts and spacing Date: Fri, 10 Sep 2010 16:58:08 +0200 Message-ID: <4D32B74E-F21D-45CE-B7F0-900A9F416259@gmail.com> References: <51766A96-D4D8-4ABA-A184-0209C5E0725E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/mixed; boundary="===============0988481171==" X-Trace: dough.gmane.org 1284130705 330 80.91.229.12 (10 Sep 2010 14:58:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 14:58:25 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 10 16:58:24 2010 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 1Ou53X-0001fh-Nu for gctc-ntg-context-518@m.gmane.org; Fri, 10 Sep 2010 16:58:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 24D07CA6EB; Fri, 10 Sep 2010 16:58:23 +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 tRM0BEQGcEvi; Fri, 10 Sep 2010 16:58:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 202D2CA642; Fri, 10 Sep 2010 16:58:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 467BDCA642 for ; Fri, 10 Sep 2010 16:58:18 +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 Xg9OOHCuxjZI for ; Fri, 10 Sep 2010 16:58:15 +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 9C89CCA58D for ; Fri, 10 Sep 2010 16:58:15 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8AEwEOQ024497 for ; Fri, 10 Sep 2010 16:58:14 +0200 Original-Received: by fxm3 with SMTP id 3so2165064fxm.14 for ; Fri, 10 Sep 2010 07:58:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=YucDOVhZDSay9s9CR8j3N12Vb7YMgcE2S1VBhrfoVWc=; b=dkAa1N0nJuycCAvtJga8cv2Vs71JWqq8vAdhD3qZ02dG6vN8H3fuzLJdWcHrbusXJx KEGx5HvpiYjqG1sMDOHtreGXUDT1qFEan5VF6Xf9Wjc+13mPCB8qJtx6xL0Obs0eD7Os MqgyZYNzRazPAv71v43VIoFdJs0xAbGJgbq3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=JH5ZzZiwkJIra4OpvcRJ7INNHhl2d6bTgafrvQgaUE5OAXhRDvw8nPx0vVFGghMIeB 5hufpo8gEupz1CtpfmCUcp8rahula7HvRdWXm+GnLOH7nstbkXPDMhEP4OFbDAHgvEF0 telBViQYL7E5kp+m9JAO7ttBAyf+50992LP6E= Original-Received: by 10.223.118.69 with SMTP id u5mr552535faq.32.1284130694374; Fri, 10 Sep 2010 07:58:14 -0700 (PDT) Original-Received: from [192.168.2.23] (p5B2959F7.dip.t-dialin.net [91.41.89.247]) by mx.google.com with ESMTPS id s20sm1371469faa.4.2010.09.10.07.58.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 07:58:12 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; 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: 08D52WeMe - a8d9cc1bbc6c - 20100910 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:61598 Archived-At: --===============0988481171== Content-Type: multipart/alternative; boundary=Apple-Mail-7-880810619 --Apple-Mail-7-880810619 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Am 10.09.2010 um 10:03 schrieb Vedran Mileti=C4=87: > 2010/9/9 Wolfgang Schuster : >> \textdimensionstrue >=20 > Awesome. Are there any other useful switches? Beside \textdimension(true|false) there is \spaceddimensions(true|false) to add a small space between dimension. The units module has unlike many other commands and environments in = context not many parameters to change the layout and it will make more sense to write another module for units which has these options than modifying the existing one. With MkIV we have a powerful tool to do this because Lua make it so easy to parse and format numbers and units, see here: = http://bitbucket.org/wolfs/units/src/tip/files/ Wolfgang --Apple-Mail-7-880810619 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
2010/9/9 Wolfgang Schuster <schuster.wolfgang@googlem= ail.com>:
\textdimensionstrue

Awesome. Are there = any other useful switches?

Beside = \textdimension(true|false) there = is \spaceddimensions(true|false)
to add a small space = between dimension.

The units module has unlike = many other commands and environments in context
not many = parameters to change the layout and it will make more sense
to = write another module for units which has these options than = modifying
the existing one.

With MkIV = we have a powerful tool to do this because Lua make it so = easy
to parse and format numbers and units, see here: http://bitbucket.= org/wolfs/units/src/tip/files/

Wolfgang
=

= --Apple-Mail-7-880810619-- --===============0988481171== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0988481171==--