From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16426 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: Re: externalfigure Date: Mon, 13 Sep 2004 22:24:43 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4146020B.5020001@seznam.cz> References: 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: quoted-printable X-Trace: sea.gmane.org 1095107714 32046 80.91.229.6 (13 Sep 2004 20:35:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2004 20:35:14 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 13 22:34:43 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 1C6xNm-0007T8-00 for ; Mon, 13 Sep 2004 22:25:02 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3642812795; Mon, 13 Sep 2004 22:25:02 +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 26251-06; Mon, 13 Sep 2004 22:24:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F0D581278C; Mon, 13 Sep 2004 22:24:58 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 774F21278C for ; Mon, 13 Sep 2004 22:24:58 +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 26243-07 for ; Mon, 13 Sep 2004 22:24:57 +0200 (CEST) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id BBA6712788 for ; Mon, 13 Sep 2004 22:24:57 +0200 (CEST) Original-Received: (qmail 4351 invoked from network); 13 Sep 2004 20:24:47 -0000 Original-Received: from unknown (HELO ?192.168.1.45?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 13 Sep 2004 20:24:47 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: cs, en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: 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:16426 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16426 Patrick Gundlach wrote: > Hello Jan-Mark, >=20 >=20 >>using mptopdf=20 >> >>externalfigure "nue-logo-1.jpg" scaled 10; >> >>results in a figure that doesn't retain the original image >>ratio.=20 >=20 >=20 > [...] >=20 > I don't think it is possible. As far as I can see, the externalfigure > command just includes a reference to the figure and metapost never > touches (reads) the picture, only the next step (mptopdf) does. So > metapost has no idea of the image attributes. >=20 > Patrick If you do not specify BOTH width and height of the image the pdftex have=20 to read image SIZE from the image file. Metafun's externalfigure is very trickery macro. Image can't be loaded=20 by MP. Instead of that MP writes only MP special information (like TeX=20 \special) with several parameters. This info is read by ConTeXt when=20 including MP graphic. It inserts image file and does image transformation= s. So I thing the case should work as expected. Could you send=20 complete-and-minimal example? Vit Zyka --=20 V=EDt Z=FDka --- http://typokvitek.com Automatic document typesetting Automaticka sazba dokumentu -- --