From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48634 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Dividing dimensions Date: Sun, 22 Mar 2009 09:38:32 +0100 Message-ID: References: <20090321222612.GA19380@phare.normalesup.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1237711213 15436 80.91.229.12 (22 Mar 2009 08:40:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2009 08:40:13 +0000 (UTC) To: Mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 22 09:41:30 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LlJFJ-0001X8-NJ for gctc-ntg-context-518@m.gmane.org; Sun, 22 Mar 2009 09:41:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8BDF1FDD4; Sun, 22 Mar 2009 09:40:04 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24971-07; Sun, 22 Mar 2009 09:39:32 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 958CD1FDC8; Sun, 22 Mar 2009 09:39:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD16C1FDC8 for ; Sun, 22 Mar 2009 09:39:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06299-02 for ; Sun, 22 Mar 2009 09:39:14 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 820021FDC7 for ; Sun, 22 Mar 2009 09:39:13 +0100 (CET) Original-Received: from mail-fx0-f176.google.com (mail-fx0-f176.google.com [209.85.220.176]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2M8dCcU029081 for ; Sun, 22 Mar 2009 09:39:12 +0100 Original-Received: by fxm24 with SMTP id 24so1447503fxm.2 for ; Sun, 22 Mar 2009 01:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=y6GgDJTQfsVhnLVu0BGDtQ7f43XHqKMUARGu/uWUtus=; b=USiSpo7TGNy8peq0+WGj3lgPdz5UlqHAa6rD1WXnhPkhD0+AOQIb4VEfJ5RynibfFm dc8xa+1TH3Ve1SMWe353N6QB5DmVPr1JuA/vtlX0dqx2bzAEtaC2F5oZUNIcTEUwRgZf bv7Zo6TIlXmiozTRgMm2oLUDiCBcUmDf+f3Us= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=iTWOvjIYi3/3LfGaU4cF4hi9yAhCkM8rS5k15uxkBeYplEMlh2yesmudT7TABD2o5H R1HkIG9gUG4v0DdwrepiQHx6Ma6/KzOcK7ButjUPP8erVnebCC9P7ir4/yabwD3bjBn0 Ozcb0o/xZnwFg1ZdPNCMHyQN0D5rG2Ok1olmQ= Original-Received: by 10.86.89.20 with SMTP id m20mr2678627fgb.39.1237711152105; Sun, 22 Mar 2009 01:39:12 -0700 (PDT) Original-Received: from ?10.40.155.123? ([82.113.121.153]) by mx.google.com with ESMTPS id l19sm1440722fgb.21.2009.03.22.01.39.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Mar 2009 01:39:11 -0700 (PDT) In-Reply-To: <20090321222612.GA19380@phare.normalesup.org> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.176; 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: 197096491 - cbb93da7ceca X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48634 Archived-At: Am 21.03.2009 um 23:26 schrieb Arthur Reutenauer: >> Can I divide dimensions to get a number in pdftex? > > LaTeX has a package to do exactly that, fp. You could look into its > code. Or you could use LuaTeX :-) \startluacode if tex.dimen["!!dimena"] / tex.dimen["!!dimenb"] > tex.dimen["!! dimenc"] / tex.dimen["!!dimend"] then tex.sprint("this") else tex.sprint("that") end \stopluacode Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________