From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11231 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: MetaFun questions Date: Thu, 06 Mar 2003 14:13:47 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030306141040.0248d6b0@server-1> References: <5.1.0.14.1.20030228084212.02435940@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1046957621 21117 80.91.224.249 (6 Mar 2003 13:33:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2003 13:33:41 +0000 (UTC) Cc: Original-X-From: ntg-context-admin@ntg.nl Thu Mar 06 14:33:39 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qvVD-0005U8-00 for ; Thu, 06 Mar 2003 14:33:39 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E4EAD10B38; Thu, 6 Mar 2003 14:34:09 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id E097010B2D for ; Thu, 6 Mar 2003 14:30:05 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h26DTxRp007592 for ; Thu, 6 Mar 2003 14:30:00 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h26DU3aY022220; Thu, 6 Mar 2003 14:30:03 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) 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:11231 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11231 At 09:17 AM 2/28/2003 +0000, Nigel King wrote: > >>>> has the original figure-size scaled 2 and not unitsquare scaled 2 > >>> > >>> can you be a bit more explicit > >> > >> I might be able to help since I had this problem with scaling external > >> figures in mpost MetaFun. > >> > >> In ConTeXt \externalfigure[xxx.pdf] brings in a picture at the size of the > >> picture. Scaling modifies that size. > > > > how about > > > > scaled 2 > > xscaled 2 yscaled 5 > > xyscaled (2,5) > > > > and > > > > xsized 2cm > > ysized 4cm > > xysized (2cm,4cm) \getfiguredimensions[...] \let\MyFigWid\figurewidth \let\MyFigHei\figureheight .... xysized(\MyFigWid,\MyFigHei) >I think we understand that. The point is that whereas Context knows the size >of the original picture, MetaFun does not. see above or meta-fig.tex Hans ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------