From: Peter
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:36:20 +0200 龙 飞 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. Unfortunately, I am using miktex under windows. I tried to run epstopdf xx.eps. It returns the error message: Warning: BoundingBox not found. Error: /rangecheck in --.peekstring-- Operand stack: --nostringval-- --nostringval-- (\305\320\323\306) Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop --nostringval-- Dictionary stack: --dict:1115/1686(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)-- Current allocation mode is local Last OS error: No such file or directory There is boundingbox when I use GSview to check the file info, and it shows correct in my another latex file. 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
You need a pdf-version of the figure. If you are on LInux, you can enter 'epstopdf xx.eps' on the commandline (if epstopdf is installed). That generates xx.pdf. Then run texexec again.
Peter _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn