We can use. EPS pictures in latex. Many documents introduce how to reference pictures in this format, but they don’t give the precautions in the use process. When I used miktex, I encountered such a problem when introducing. EPS image into latex document. When compiling, it will be displayed as “! LaTex E rror:Unknown graphics extension:.eps ”And even if the. PDF file is compiled, the referenced. EPS image cannot be displayed. After careful study, it is found that it is mainly caused by the compiling 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}
\incl?graphics{fig.eps}
\end{center}
\caption{My first figure.}
\end{figure}
\end{document}
1> My solution
MIKTEX:
a) Use xelatex + makeindex + BibTex
b) If you use pdflatex + makeindex + BibTex, the above error will appear
Therefore, if you encounter such problems, you can change the compilation steps or the commands you use
2> Other answers on the Internet:
The compilation process is as follows:
latex eps.tex
dvipdfm eps.dvi
Or,
latex eps.tex
dvips eps.dvi
ps2pdf eps.ps
Note that latexpdf must not be used because this command cannot read in. EPS documents.
Similar Posts:
- How to Solve LaTex Error: Undefined citation warnings
- Latex common errors summary and Solutions
- Text (latex) output PDF setting us letter or letter paper method
- Solve the error reported by vscode referring to C + + external library
- Install texlive 2018 in Ubuntu and complete macro package update (some screenshots and code are 2016 version)
- Error reason for adding PNG pictures in Android studio
- Setting and Research on splash of unity startup interface (logo is too large and background is fuzzy)
- Solution to the problem of “undefined control sequence” when using latex to edit IEEE template [insert picture]
- How to Solve Word experienced an error trying to open
- [Solved] Undefined reference_G++ _GLIBCXX_USE_CXX11_ ABI compilation error: STD:: Basic_String and STD::__cxx11::basic_String cannot match