From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20470 Path: news.gmane.org!not-for-mail From: =?gb2312?B?wfogt8k=?= Newsgroups: gmane.comp.tex.context Subject: Re: How to use .eps figure in ConTeXt? Date: Mon, 23 May 2005 13:18:44 +0000 Message-ID: References: <4291CF58.8080809@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-Trace: sea.gmane.org 1116854320 20194 80.91.229.2 (23 May 2005 13:18:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 May 2005 13:18:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 15:18:38 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 1DaCo6-0002qB-HJ for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2005 15:17:23 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99294127D6; Mon, 23 May 2005 15:18:52 +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 16080-01-3; Mon, 23 May 2005 15:18:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 193E9127D0; Mon, 23 May 2005 15:18:48 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85F7C127CF for ; Mon, 23 May 2005 15:18:47 +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 16080-01-2 for ; Mon, 23 May 2005 15:18:46 +0200 (CEST) Original-Received: from hotmail.com (bay12-f22.bay12.hotmail.com [64.4.35.22]) by ronja.ntg.nl (Postfix) with ESMTP id 4B974127D0 for ; Mon, 23 May 2005 15:18:45 +0200 (CEST) Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 23 May 2005 06:18:44 -0700 Original-Received: from 155.69.5.234 by by12fd.bay12.hotmail.msn.com with HTTP; Mon, 23 May 2005 13:18:44 GMT X-Originating-IP: [155.69.5.234] X-Originating-Email: [longf77@hotmail.com] X-Sender: longf77@hotmail.com In-Reply-To: <4291CF58.8080809@elvenkind.com> Original-To: ntg-context@ntg.nl X-OriginalArrivalTime: 23 May 2005 13:18:44.0945 (UTC) FILETIME=[F2494410:01C55F99] 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:20470 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20470 Thanks all. This problem solved. >From: Taco Hoekwater >Reply-To: mailing list for ConTeXt users >To: mailing list for ConTeXt users >Subject: Re: [NTG-context] How to use .eps figure in ConTeXt? >Date: Mon, 23 May 2005 14:40:56 +0200 > > >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 => dvips => 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 > >龙 飞 wrote: > > Today I try to insert .eps file in to my presentation. I use > > \externalfigure[xx.eps] to insert xx.eps. The figure shows correct in > > the dvi file generated by "texexec --once --texutils xx.tex". However > > this figure disappears in the pdf file generated by "texexec --pdf > > xx.tex". The log says "figures: xx.eps has zero dimensions". What is the > > problem? Is there anything wrong with the .eps file? > > Thanks > > > > _________________________________________________________________ > > 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com > > _______________________________________________ > > ntg-context mailing list > > ntg-context@ntg.nl > > http://www.ntg.nl/mailman/listinfo/ntg-context >_______________________________________________ >ntg-context mailing list >ntg-context@ntg.nl >http://www.ntg.nl/mailman/listinfo/ntg-context _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com