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
龙 飞 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
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
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
龙 飞 wrote:
Thanks. Unfortunately, I am using miktex under windows. I tried to run epstopdf xx.eps. It returns the error message: Warning: BoundingBox not found.
you may try texmfstart newpstopdf yourfile.eps btw, there is a new subsystem that can do conversions on the fly ... i only need soem time to document it -)
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.
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
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 _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
龙 飞 wrote:
Thanks. Unfortunately, I am using miktex under windows. I tried to run epstopdf xx.eps. It returns the error message: Warning: BoundingBox not found.
Although your problem is solved, a short remark. I also had this problem recently. It was because my eps file was not in the right text format (unix, in my case). Converting the eps file solved this problem. Maybe you have something similar at hand? just for the record. :) Peter
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
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
participants (5)
-
Hans Hagen
-
Internationale Orgelweek Vlaardingen
-
Peter
-
Taco Hoekwater
-
龙 飞