Peter
Peter

Reputation: 7

Can't include .eps files

I can't include .eps files. I do

\userpackage{eps2pdf}

\begin{figure}
\centering
\includegraphics[width=0.7\textwidth]{feb2/M45det_om3c.eps}
\caption{blabla}
\label{fig:m45det_om3}
\end{figure}

I've read I need to use DVI but I can't understand how to do this on MIKTEX. There's no such option in the drop-down list, but PDFLATEX+MAKEINDEX+BIBTEX. How is this done?

Upvotes: 0

Views: 2569

Answers (1)

Konrad Rudolph
Konrad Rudolph

Reputation: 545875

You need to use either DVI or the “eps2pdf” package, not both. On Windows, chances are you don’t want to use DVI — so don’t.

On the other hand, you need to fix your code (remove the file extension from your image filename) and the pdfLaTeX invocation (add the --shell-escape option). See the discussion at “Why can't pdflatex print EPS figures?” for more information.

Upvotes: 1

Related Questions