Graphics, Figures & TablesConverted EPS Image File not found

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
steing25
Posts: 2
Joined: Fri Aug 30, 2013 1:41 am

Converted EPS Image File not found

Post by steing25 »

Hi!

Thanks for this nice LaTeX community, there are many nice threads here. I would like to ask about a weird thing that's occurring in my configuration.

In the machine, MiKTeX portable is unzipped on "C:\MiKTeX" (so it's "C:\MiKTeX\miktex\bin\"). GhostScript is not installed on the system. I'm using TexStudio 2.6.2, with settings "Build & View" (= Compile and View), and PDFLaTeX as compiler engine.

There is this simple file:

Code: Select all

\documentclass[]{article}
\usepackage{graphicx}
\usepackage{epstopdf}

\begin{document}
  \includegraphics{image}
\end{document}
The image file, is "image.eps" as the attached one. But, when you press the build and view button, then the console displays:

Code: Select all

Package pdftex.def Error: File `image-eps-converted-to.pdf' not found \includegraphics{image}
Note that the actual user directory contains non-english characters. Also, if you use "epstopdf.exe" with the "image.eps" file, you will get a normal PDF file as expected. Since all text and packages compile normally, do you know why the EPS files are not included in the PDF?

Thank you in advance!
Attachments
new.pdf
generated file
(19.92 KiB) Downloaded 473 times
file.log
the tex file
(7.29 KiB) Downloaded 603 times
image.eps
image
(28.64 KiB) Downloaded 581 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

steing25
Posts: 2
Joined: Fri Aug 30, 2013 1:41 am

Converted EPS Image File not found

Post by steing25 »

UPDATE:

If you change the Build & Preview in TexStudio to DVI->PDF, then the pdf generates, but no image is included. The console displays:
Process started: "C:\miktex\miktex\bin\latex.exe" -src -interaction=nonstopmode "new".tex

Process exited normally



Process started: "C:\miktex\miktex\bin\dvipdfm.exe" "new".dvi

new.dvi -> new.pdf [1 ** WARNING ** Filtering file via command -->mgs.exe -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile="C:/miktex/miktex/temp/mik7580.tmp" "C:/hello/image.eps" -c quit<-- failed. ** WARNING ** Image format conversion for "C:/hello/image.eps" failed... ** WARNING ** pdf: image inclusion failed for "image.eps". ** WARNING ** Failed to read image file: image.eps ** WARNING ** Interpreting special command PSfile (ps:) failed. ** WARNING ** >> at page="1" position="(148.712, 543.088)" (in PDF) ** WARNING ** >> xxx "PSfile="image.eps" llx=0 lly=0 urx=318 ury=174 rwi=3180 " ] 1685 bytes written

Process exited normally
And the generated files are the ones attached to this message.
Attachments
new.log
log file
(5.48 KiB) Downloaded 659 times
new.pdf
pdf file
(1.65 KiB) Downloaded 494 times
Post Reply