From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16435 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: externalfigure Date: Tue, 14 Sep 2004 10:36:54 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4146ADA6.4090805@wxs.nl> References: <4146020B.5020001@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.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 1095151042 19459 80.91.229.6 (14 Sep 2004 08:37:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2004 08:37:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 14 10:37:01 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C78o9-0007pc-00 for ; Tue, 14 Sep 2004 10:37:01 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18CF212796; Tue, 14 Sep 2004 10:37:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29925-09; Tue, 14 Sep 2004 10:36:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2C29D1278D; Tue, 14 Sep 2004 10:36:57 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA5351278D for ; Tue, 14 Sep 2004 10:36:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 29935-05 for ; Tue, 14 Sep 2004 10:36:56 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 3CBAD1278C for ; Tue, 14 Sep 2004 10:36:56 +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 i8E8asQU021015 for ; Tue, 14 Sep 2004 10:36:54 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 521C431D74; Tue, 14 Sep 2004 10:36:55 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 6052630DE9 for ; Tue, 14 Sep 2004 08:36:54 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: clamd / ClamAV version 0.73, clamav-milter version 0.73a on mailrelay01.solcon.nl X-Virus-Status: Clean X-Virus-Scanned: by 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16435 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16435 Patrick Gundlach wrote: >[...] > > > >>So I thing the case should work as expected. Could you send >>complete-and-minimal example? >> >> > >\starttext >\startMPcode >externalfigure "hacker.jpg" scaled 300; >\stopMPcode >\stoptext > > >where hacker.jpg is from the official samples. > > its possible to use the natural size, but i found out that the code that i use for that is not in the distribution (will be in the next zip) This will create a dimensions file mpfigs.mp: \startmode[*first] \executesystemcommand{texexec --fig=d *.jpg} \stopmode \starttext \startMPcode input mpfigs.mp ; naturalfigure("hacker.jpg") ; \stopMPcode \stoptext 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 -----------------------------------------------------------------