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
Thanks all. This problem solved. 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