From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20846 Path: news.gmane.org!not-for-mail From: h h extern Newsgroups: gmane.comp.tex.context Subject: Re: importing figures in metapost Date: Tue, 14 Jun 2005 05:04:46 +0200 Message-ID: <42AE494E.90300@wxs.nl> References: <42AC59CA.3010804@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118717961 24558 80.91.229.2 (14 Jun 2005 02:59:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2005 02:59:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 14 04:59:13 2005 Return-path: 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 1Di1dv-0003Hv-6W for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jun 2005 04:59:11 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9254512815; Tue, 14 Jun 2005 05:04:05 +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 26770-05; Tue, 14 Jun 2005 05:04:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D021A12805; Tue, 14 Jun 2005 05:04:01 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8476312805 for ; Tue, 14 Jun 2005 05:04:00 +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 26960-03 for ; Tue, 14 Jun 2005 05:03:59 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 9E14C127E3 for ; Tue, 14 Jun 2005 05:03:59 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j5E33qvL006028 for ; Tue, 14 Jun 2005 05:03:52 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 0EF0818EF2; Tue, 14 Jun 2005 04:32:19 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 2B71B18EEE for ; Tue, 14 Jun 2005 02:32:17 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <42AC59CA.3010804@gmail.com> X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20846 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20846 Mojca Miklavec wrote: > andrea valle wrote: > >> But: is it possible to import an external figure inside metapost >> giving it a precise place in terms of xy coordinates? > > > Sure: > > externalfigure "filename.pdf" > xyscaled (theWidth, theHeight) > shifted (theLowerLeftX, theLowerLeftY); > > (However, I don't know if there's a way to include a picture without the > need to provide width and height explicitly.) hack: texexec --fig=d *.png and then in the mp file: input mpfigs.mp Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------