My question has been asked before but none of the answers previously has answered my question. I have an .eps file that I want to include in my LaTeX document. For this purpose I have included the epstopdf package. However, when I try to compile my document by using pdflatex, I get the error message File 'foo-eps-converted-to-pdf' not found. In the log file it says:
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] [2]
Package epstopdf Info: Source file: <Aoo.eps>
(epstopdf) date: 2014-04-28 18:54:16
(epstopdf) size: 18858 bytes
(epstopdf) Output file: <foo-eps-converted-to.pdf>
(epstopdf) Command: <epstopdf --outfile=foo-eps-converted-to.pdf foo.eps>
(epstopdf) \includegraphics on input line 142.
runsystem(epstopdf --outfile=foo-eps-converted-to.pdf foo.eps)...disabled.
Package epstopdf Info: Result file: <foo-eps-converted-to.pdf>.
! Package pdftex.def Error: File `foo-eps-converted-to.pdf' not found.
See the pdftex.def package documentation for explanation. Type H
<return> for immediate help.
...
l.142 \includegraphics{foo.eps}
It should be noted that all files are in the same directory, so there shouldn't be any issues with that.
Any suggestions? Thanks in advance!
unrecognized option '-shell-escape'? – Heiko Oberdiek Apr 28 '14 at 21:28-shell-escapeallows the execution of external programs. In this case the programepstopdfconverts the EPS file to PDF, which is then included. – Heiko Oberdiek Apr 28 '14 at 21:50