You can use. eps pictures in latex, and many documents describe how to refer to images in this format, but do not give attention to the use of the process. When I was using MiKTeX, the Latex document introduced. EPS pictures encountered such a problem. Compile-time display: "! LaTex Error:unknown Graphics Extension:.eps ", and even if the. pdf file is compiled, the. EPS pictures referenced in it are not displayed. After careful study, it was found that the main steps were compiled and the commands used were caused.
The compilation process is as follows:
Latex Eps.tex
DVIPDFM Eps.dvi
Or
Latex Eps.tex
Dvips Eps.dvi
Ps2pdf eps.ps
(The difference between dvipdf and DVIPDFM is that the former seems to be the first to turn DVI into PS, then into a PDF (using Ghostscript and Dvips), the latter is directly into the PDF, but it is said that the transferred file size, and for some RP file name (if there is ' ) is not supported. )
Note that you must not use latexpdf because this command cannot be read into the. eps document.
Pdflatex does not support eps!
A better approach: import PDFs directly.
The first step is to use Epstopdf to convert EPS files to PDF files
The second step is to insert the PDF file directly in Tex (just insert it as a normal image), then Pdflatex is OK.
The benefits of doing this are now two points: first, many features of the PDF can be directly supported (such as links); second, it does not need to be compiled once and then converted once, once done, not only simple, but also fast.
From:http://blog.sina.com.cn/s/blog_5fe5061101010a17.html
Latex does not recognize EPS pictures