Latex error: Unknown graphics Extension:. EPS

Source: Internet
Author: User

Link: http://blog.sina.com.cn/s/blog_819c7a3a0100v0bd.html

The. EPS image can be used in latex. Many documents have introduced how to reference the image in this format, but do not give any precautions during use. When I was using miktex, The. EPS image introduced in the latex document encountered such a problem. "!" Is displayed during compilation. Latex error: Unknown graphics Extension: .eps”, and compile the graphics file. However, the referenced. EPS image cannot be displayed. After careful research, it is found that the main cause is the compilation steps and the commands used. A simple example is as follows:

% Filename = EPS. Tex
\ Documentclass [a4paper] {Article}
\ Usepackage {graphics}
\ Begin {document}
\ Begin {figure}
\ Begin {Center}
\ Includegraphics {fig. EPS}
\ End {Center}
\ Caption {my first figure .}
\ End {figure}
\ End {document}

The compilation process is as follows:
Latex EPS. Tex
Dvipdfm EPS. DVI
Or,
Latex EPS. Tex
Dvips EPS. DVI
Ps2pdf EPS. Ps
(It's okay to convert Div into PS file and convert PS file into PDF)

Note that latexpdf cannot be used, because this command cannot read. EPS documents.

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.