From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13284 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: height and width of a figure Date: Wed, 17 Sep 2003 09:59:25 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030917095839.01b2c308@server-1> References: <16664.1063718323@www45.gmx.net> <000801c37c97$f969eb00$217afea9@sevi> <000b01c37cc3$10fd79a0$0500a8c0@best> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1063788848 6704 80.91.224.253 (17 Sep 2003 08:54:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 08:54:08 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Sep 17 10:54:06 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zY4c-000324-00 for ; Wed, 17 Sep 2003 10:54:06 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E83A410B34; Wed, 17 Sep 2003 10:53:56 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id D9F3C10B31 for ; Wed, 17 Sep 2003 10:47:27 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h8H8lNS25719 for ; Wed, 17 Sep 2003 10:47:23 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id BD7D817BCA; Wed, 17 Sep 2003 10:47:20 +0200 (CEST) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 60FA317845 for ; Wed, 17 Sep 2003 08:47:19 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <000b01c37cc3$10fd79a0$0500a8c0@best> Original-References: <16664.1063718323@www45.gmx.net> <000801c37c97$f969eb00$217afea9@sevi> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13284 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13284 At 04:26 17/09/2003 +0200, Pawel Jackowski na Onet wrote: >Hello! > > > > Hi Patrick and all the others > > > > thanks for your answer. I think I asked my question a little bit >unclearly. > > I wanted to know if i can get the width of a figure, or the overlaywidth >of > > this figure as a numeric. I want to make a frame like this: > > \framed[width=, height= > \externalfigure[fig]>]{blabla}. > > > I don't know if such a thing is possible, I didn't find such a thing in a > > manual. > >Why dont You just put the figure into a box? You can always say: > >\newdimen\W >\newdimen\H >\setbox0\hbox{\externalfigure[your_figure]} >\W=\wd0\relax >\H=\ht0 >\advance\H by \dp0\relax >\the\W >\the\H >\end > >Such row TeX code always work:) \getfiguredimensionsonly[...][...] \naturalfigureheight \naturalfigurewidth \figureheight \figurewidth ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------