1. Convert EPS image to PDF or convert PDF image to EPs, that is, one image has PDF, eps two format.
Method One:
\includegraphics{pic}% do not extend the name. This pdflatex automatically adjust the corresponding PDF file, while latex automatically adjust EPS file.
Method Two:
Add the Epstopdf macro package (Epstopdf package details to see ...) first. ):
\USEPACKAGE{GRAPHICX}
\usepackage{epstopdf}
Re-use:
The \includegraphics{pic.eps}% can contain an EPS extension, but must have a pic.pdf file present at the same time.
Method Three:
Add Epstopdf and Epsfig packages first:
\USEPACKAGE{GRAPHICX}
\usepackage{epstopdf}
\usepackage{epsfig}
Re-use:
\begin{figure}
\centering
The \epsfxsize=10cm\epsfbox{pic.eps}% can contain an EPS extension, but must have a pic.pdf file present at the same time.
\end{figure}
2.pdflatex with "-shell-escape" parameter compilation, a picture only need to have EPS format, more specific reference ...
Add the Epstopdf macro package First:
\USEPACKAGE{GRAPHICX}
\usepackage{epstopdf}
Re-use:
\includegraphics{pic.eps}% can contain EPS extension, pic.pdf file does not have to exist
Then compile:
Pdflatex-shell-escape Filename.tex (The Pic.pdf file is actually generated automatically)
Pdflatex inserting EPS pictures