From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47038 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Dimensions Date: Mon, 26 Jan 2009 20:12:14 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <200901262012.14518.alan.braslau@cea.fr> References: <200901261101.55550.bntgcontext@wiseguysweb.com> <497DFD20.8090505@wxs.nl> <200901261145.16929.bart@wiseguysweb.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0352307224==" X-Trace: ger.gmane.org 1232997501 27519 80.91.229.12 (26 Jan 2009 19:18:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 19:18:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 26 20:19:32 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 1LRWw8-00026S-40 for gctc-ntg-context-518@m.gmane.org; Mon, 26 Jan 2009 20:15:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A491E1FCDB; Mon, 26 Jan 2009 20:14:35 +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 24597-02; Mon, 26 Jan 2009 20:13:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E6211FCE5; Mon, 26 Jan 2009 20:13:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B18B51FCE5 for ; Mon, 26 Jan 2009 20:13:19 +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 23335-02 for ; Mon, 26 Jan 2009 20:12:17 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 424A51FBC1 for ; Mon, 26 Jan 2009 20:12:17 +0100 (CET) Original-Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.166.172.107]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0QJCGLO002514 for ; Mon, 26 Jan 2009 20:12:16 +0100 Original-Received: from cyclose2.extra.cea.fr (cyclose2.extra.cea.fr [132.167.198.23]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-1.2) with ESMTP id n0QJCGe1001372 for ; Mon, 26 Jan 2009 20:12:16 +0100 Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by cyclose2.extra.cea.fr (8.13.8/8.13.8) with ESMTP id n0QJCGa5020067 for ; Mon, 26 Jan 2009 20:12:16 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from drec-hb-001817.localnet (drec-hb-001817.extra.cea.fr [132.166.16.106]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.1) with ESMTP id n0QJCFYS032739 for ; Mon, 26 Jan 2009 20:12:15 +0100 User-Agent: KMail/1.10.4 (Linux/2.6.26; KDE/4.2.0; i686; ; ) In-Reply-To: <200901261145.16929.bart@wiseguysweb.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.166.172.107; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 170737567 - 44b003ddc82f X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:47038 Archived-At: --===============0352307224== Content-Type: multipart/alternative; boundary="Boundary-00=_OsgfJImdYD5Tcno" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-00=_OsgfJImdYD5Tcno Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit The syntax of \dimexpr and \numexpr is subtle and mysterious. For example, \framed[width=.61\textwidth,height=\dimexpr.61\textwidth*1486/1200\relax]{} works, but I never understood the limitations. How about an entry on the wiki? --Boundary-00=_OsgfJImdYD5Tcno Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit

The syntax of \dimexpr and \numexpr is subtle and mysterious.

For example,

\framed[width=.61\textwidth,height=\dimexpr.61\textwidth*1486/1200\relax]{}

works, but I never understood the limitations.

How about an entry on the wiki?

--Boundary-00=_OsgfJImdYD5Tcno-- --===============0352307224== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0352307224==--