Latex does not recognize EPS pictures

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.