From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30906 Path: news.gmane.org!not-for-mail From: nico Newsgroups: gmane.comp.tex.context Subject: Re: calculations Date: Tue, 19 Sep 2006 23:34:29 +0200 Message-ID: References: <93F3046C-F059-4C5D-AC7F-73DFD5A4AAD6@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158701297 23630 80.91.229.2 (19 Sep 2006 21:28:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2006 21:28:17 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 19 23:28:13 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1GPn8B-0002VF-M1 for gctc-ntg-context-518@m.gmane.org; Tue, 19 Sep 2006 23:27:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44E551FEB7; Tue, 19 Sep 2006 23:27:51 +0200 (CEST) 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 08598-01-4; Tue, 19 Sep 2006 23:27:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0D9D1FEB2; Tue, 19 Sep 2006 23:27:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 026961FEB2 for ; Tue, 19 Sep 2006 23:27:44 +0200 (CEST) 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 08598-01-3 for ; Tue, 19 Sep 2006 23:27:41 +0200 (CEST) Original-Received: from swip.net (mailfe06.tele2.fr [212.247.154.172]) by ronja.ntg.nl (Postfix) with SMTP id D59891FEAE for ; Tue, 19 Sep 2006 23:27:40 +0200 (CEST) X-T2-Posting-ID: 3brHPWvyEzVNt0QNlxQWsxGJRDYe7rueGgqwO1zxZAg= X-Cloudmark-Score: 0.000000 [] Original-Received: from [83.177.197.172] (HELO localhost) by mailfe06.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 283802457 for ntg-context@ntg.nl; Tue, 19 Sep 2006 23:27:39 +0200 Original-To: "mailing list for ConTeXt users" In-Reply-To: <93F3046C-F059-4C5D-AC7F-73DFD5A4AAD6@fiee.net> User-Agent: Opera M2/7.54 (FreeBSD, build 955) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:30906 Archived-At: On Tue, 19 Sep 2006 22:53:18 +0200, Henning Hraban Ramm wrote: > I need to downscale every score to 63%, and the shown width check > should use the corrected width. > How can I do that? (FigWidth should be LPscale * figurewidth) I don't know what you really want to do, but an example of computation could look like this: \newdimen\myfigwidth \newdimen\myfigurewidth \def\myscale{.63} \figurewidth=23pt \myfigwidth=\dimexpr(\myscale\myfigurewidth) \starttext \the\myfigwidth \stoptext Regards, BG