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ę czytać tych głupich gazet I wymyślonych oglądać historii. (Chili My) ___________________________________________________________________________________ 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 ___________________________________________________________________________________