I'm trying to put a .pdf graphic in my LaTeX file. This is usually no problem for me. I use pdfLaTeX in TeXworks. The only difference this time seems to be that I'm using the style files from the journal Statistical Science (http://www.e-publications.org/ims/support/sts-instructions.html).
I've tried several solutions. This one and converting the pdf to .eps or .ps all make the error go away, but then there is just a big blank space where the image is supposed to be. Any ideas?
Edit: Here is the preamble:
\documentclass[dvips,sts]{imsart}
\usepackage{graphicx}
\usepackage{float}
\begin{document}
\begin{figure}[h!]
\centering
\includegraphics[width = \textwidth]{simLinkError.pdf}
\caption{Blah}
\label{fig:sim1}
\end{figure}
\end{document}
latexon a TeX file with non-eps images such as PDF/JPG/PNG etc. To fix this error: You need to runpdflatexon the TeX file. Otherwise you need to convert your image to EPS usingconvertand runlatexon the TeX file. – Jagath Jul 17 '13 at 03:49dvipsoption to the class. This is all is needed. – egreg Jul 17 '13 at 13:58