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: specifyingpdftex
forgraphicx
is usually not necessary; it can figure that out by itself.graphicx
? Just the\includegraphics
command should be in the test file. The-shell-escape
option is not needed.