From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48629 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.comp.tex.context Subject: Re: Dividing dimensions Date: Sun, 22 Mar 2009 01:02:52 +0100 Message-ID: <20090322000252.GU14844@atos.labs.wmid.amu.edu.pl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237680217 29007 80.91.229.12 (22 Mar 2009 00:03:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Mar 2009 00:03:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 22 01:04:54 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 1LlBBO-0000U6-A6 for gctc-ntg-context-518@m.gmane.org; Sun, 22 Mar 2009 01:04:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 349901FD8D; Sun, 22 Mar 2009 01:03:29 +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 15672-04; Sun, 22 Mar 2009 01:03:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3EF751FD7E; Sun, 22 Mar 2009 01:03:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C6161FD7E for ; Sun, 22 Mar 2009 01:03:08 +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 15673-04 for ; Sun, 22 Mar 2009 01:02:58 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 100301FC06 for ; Sun, 22 Mar 2009 01:02:58 +0100 (CET) Original-Received: from atos.wmid.amu.edu.pl (atos.wmid.amu.edu.pl [150.254.78.2]) by filter1-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2M02v5Y001303 for ; Sun, 22 Mar 2009 01:02:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by atos.wmid.amu.edu.pl (Postfix) with ESMTP id 231331011F52 for ; Sun, 22 Mar 2009 01:02:53 +0100 (CET) X-Virus-Scanned: by amavisd-new (PLD-Linux) at wmid.amu.edu.pl Original-Received: from atos.wmid.amu.edu.pl ([127.0.0.1]) by localhost (atos.wmid.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id xCrGL-xSg4Yf for ; Sun, 22 Mar 2009 01:02:52 +0100 (CET) Original-Received: by atos.wmid.amu.edu.pl (Postfix, from userid 3884) id E65A31011F4B; Sun, 22 Mar 2009 01:02:52 +0100 (CET) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Bayes-Prob: 0.8711 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=150.254.78.2; country=PL; region=86; city=Poznan; latitude=52.4167; longitude=16.9667; http://maps.google.com/maps?q=52.4167,16.9667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 197055560 - 92ee59883162 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:48629 Archived-At: Dnia Sat, Mar 21, 2009 at 06:08:41PM -0400, Aditya Mahajan napisał(a): > Hi, > = > Can I divide dimensions to get a number in pdftex? > = > I have four dimensions \!!dimena, \!!dimenb, \!!dimenc and \!!dimend, and = > I want > = > if (dimena/dimenb) > (dimenc/dimend) > do something > else > do otherthing What about if (dimena*dimend) > (dimenc*dimenb) ... ? If dimenb and dimend are positive, this should be equivalent (assuming you don't run into overflow). > Any hints on how to do this in ConTeXt. > = > Thanks, > Aditya Regards -- = Marcin Borkowski (http://mbork.pl) Ja nie chc=EA czyta=E6 tych g=B3upich gazet I wymy=B6lonych ogl=B1da=E6 historii. (Chili My) ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________