I'm using TeXStudio on Mac OS X 10.7.4.
The problem is that the EPS to PDF conversion is somehow broken:
\usepackage[pdftex]{graphicx}
\graphicspath{{img/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
...
\begin{figure}[!t]
\centering
\includegraphics[width=3.5in]{TCP_VC_TD_AVE_CONNS_ACT}
\caption{Simulation Results}
\label{fig_sim}
\end{figure}
...
I've got an EPS file in: img/TCP_VC_TD_AVE_CONNS_ACT.eps
Log:
Package epstopdf Info: Source file: <img/TCP_VC_TD_AVE_CONNS_ACT.eps>
(epstopdf) date: 2012-10-12 16:44:32
(epstopdf) size: 210073 bytes
(epstopdf) Output file: <img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-
to.pdf>
(epstopdf) Command: <epstopdf --outfile=img/TCP_VC_TD_AVE_CONNS_ACT
-eps-converted-to.pdf img/TCP_VC_TD_AVE_CONNS_ACT.eps>
(epstopdf) \includegraphics on input line 94.
runsystem(epstopdf --outfile=img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-to.pdf i
mg/TCP_VC_TD_AVE_CONNS_ACT.eps)...executed.
Package epstopdf Info: Result file: <img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-
to.pdf>.
! Package pdftex.def Error: File `img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-to.
pdf' not found.
The required img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-to.pdf file is never created.
TeXStudio compiles with (I've added -shell-escape, from other posts):
/usr/texbin/pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %.tex
Can anybody assist?
EDIT - A minimal file breaks as well:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{img/TCP_VC_TD_AVE_CONNS_ACT.eps}
\end{document}
Log:
Package epstopdf Info: Source file: <img/TCP_VC_TD_AVE_CONNS_ACT.eps>
(epstopdf) date: 2012-10-12 16:44:32
(epstopdf) size: 210073 bytes
(epstopdf) Output file: <img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-
to.pdf>
(epstopdf) Command: <epstopdf --outfile=img/TCP_VC_TD_AVE_CONNS_ACT
-eps-converted-to.pdf img/TCP_VC_TD_AVE_CONNS_ACT.eps>
(epstopdf) \includegraphics on input line 4.
runsystem(epstopdf --outfile=img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-to.pdf i
mg/TCP_VC_TD_AVE_CONNS_ACT.eps)...executed.
Package epstopdf Info: Result file: <img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-
to.pdf>.
! Package pdftex.def Error: File `img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-to.
pdf' not found.
\graphicspath{{img/}}? On an unrelated note: specifyingpdftexforgraphicxis usually not necessary; it can figure that out by itself. – doncherry Oct 12 '12 at 16:26graphicx? Just the\includegraphicscommand should be in the test file. The-shell-escapeoption is not needed. – egreg Oct 12 '12 at 16:29epstopdf --outfile=img/TCP_VC_TD_AVE_CONNS_ACT -eps-converted-to.pdf img/TCP_VC_TD_AVE_CONNS_ACT.eps– egreg Oct 12 '12 at 16:52epstopdf --outfile=img/TCP_VC_TD_AVE_CONNS_ACT-eps-converted-to.pdf img/TCP_VC_TD_AVE_CONNS_ACT.epson the terminal produces the PDF! (Checked the PDF, all good.) – Nic Oct 12 '12 at 17:11\includegraphicsline. – Joseph Wright Oct 13 '12 at 06:36pdflatex? – Qrrbrbirlbel Oct 15 '12 at 01:47ghostscriptpackage to make the eps-to-pdf conversion to work. Installing theghostscriptfrom the homebrew solves the problem. It doesn't even need to have\usepackage{epstopdf}declared. – Aryo Sep 09 '20 at 11:23