From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20467 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: How to use .eps figure in ConTeXt? Date: Mon, 23 May 2005 14:40:56 +0200 Message-ID: <4291CF58.8080809@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1116852145 12668 80.91.229.2 (23 May 2005 12:42:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 12:42:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 14:42:16 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 1DaCF8-0006U9-8f for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2005 14:41:14 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D3D6F1276B; Mon, 23 May 2005 14:42:44 +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 15393-04; Mon, 23 May 2005 14:42:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 40645127D0; Mon, 23 May 2005 14:41:01 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9EE80127CD for ; Mon, 23 May 2005 14:40:59 +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 15409-01-2 for ; Mon, 23 May 2005 14:40:58 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 9E144127CA for ; Mon, 23 May 2005 14:40:58 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id CF56C1BB93 for ; Mon, 23 May 2005 14:40:43 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03271-02 for ; Mon, 23 May 2005 14:40:43 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id E839515A23 for ; Mon, 23 May 2005 14:40:42 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net 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:20467 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20467 Hi, texexec's --pdf switch uses pdfetex to generate a pdf document directly, and pdftex does not accept images in eps format, only .pdf, .jpg and .png are supported. The error message is slightly misleading, because it actually means: "figures: xx.eps.pdf has zero dimensions" If you want to use your images in pdf, either convert them from eps to pdf before calling texexec, or use the texexec =3D> dvips =3D> ps2pdf route to create the pdf document (using ghostscript instead of pdftex). Side note: it is generally better to use a 'bare' \externalfigure[xx] instead of giving an explicit extension. That way, assuming you have xx.eps and xx.pdf, both dvi and pdf trajects would work without the need for source changes. Greetings, Taco =C1=FA =B7=C9 wrote: > Today I try to insert .eps file in to my presentation. I use=20 > \externalfigure[xx.eps] to insert xx.eps. The figure shows correct in=20 > the dvi file generated by "texexec --once --texutils xx.tex". However=20 > this figure disappears in the pdf file generated by "texexec --pdf=20 > xx.tex". The log says "figures: xx.eps has zero dimensions". What is th= e=20 > problem? Is there anything wrong with the .eps file? > Thanks >=20 > _________________________________________________________________ > =CF=ED=D3=C3=CA=C0=BD=E7=C9=CF=D7=EE=B4=F3=B5=C4=B5=E7=D7=D3=D3=CA=BC=FE= =CF=B5=CD=B3=A1=AA MSN Hotmail=A1=A3 http://www.hotmail.com > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context