Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When running pdflatex the following errors occurred:"

! Package pdftex.def Error: File `geometry-eps-converted-to.pdf' not found.
! Package pdftex.def Error: File `force-eps-converted-to.pdf' not found."

Do I need to install a separate package or is there an other way to solve this? Where do I find these files?

share|improve this question
    
Welcome to TeX.sx!. you might be missing `epstopdf' package. are you on MiKTeX or TeXLive ? –  texenthusiast Mar 18 '13 at 0:28
    
Have a peek through a few of these to see if any help: link –  Scott H. Mar 18 '13 at 0:29
    
I am using MacTax –  Olivier Mar 18 '13 at 0:32
    
correction: MaCTeX –  Olivier Mar 18 '13 at 0:40
    
at Terminal, type kpsewhich epstopdf.sty to confirm the package presence and path. for automatic conversion from .eps to .pdf epstopdf.pl perlscript should be there. type this at terminal epstopdf -v for its presence and confirm by running epstopdf sample.eps to get sample.pdf ping to the person using @username –  texenthusiast Mar 18 '13 at 0:42

2 Answers 2

The reason for the errors are very likely the previous warnings:

LaTeX Warning: File `geometry.eps' not found on input line <xy>.
LaTeX Warning: File `force.eps' not found on input line <xy>.

Check the .log file for these warnings. Do the .eps files exists? If yes, where?

BTW, package epstopdf is loaded, because it is responsible for the suffix -eps-converted-to.pdf. Also -shell-escape should not be necessary at least in TeX Live, in its default settings, restricted shell escape is enabled, allowing repstopdf to run that is used for the conversion.

share|improve this answer

In my case the following showed up in the logs:

Package epstopdf Info: Source file: <img/emgt_logo.eps>
(epstopdf)                    date: 2014-08-08 08:35:10
(epstopdf)                    size: 1072334 bytes
(epstopdf)             Output file: <./emgt_logo-eps-converted-to.pdf>
(epstopdf)             Command: <repstopdf --outfile=./emgt_logo-eps-converted-to.pdf img/emgt_logo.eps>
(epstopdf)             \includegraphics on input line 42.
runsystem(repstopdf --outfile=./emgt_logo-eps-converted-to.pdf img/emgt_logo.eps)...executed safely (allowed).

Package epstopdf Info: Result file: <./emgt_logo-eps-converted-to.pdf>.

! Package pdftex.def Error: File './emgt_logo-eps-converted-to.pdf' not found.

I tried the repstopdf and it failed to execute because the repstopdf was not installed, even though it executed safely and everything in the logs says OK. I just installed it and everything was fine. There was No need to add any package in the tex file.

sudo apt-get install texlive-font-utils
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.