# How to insert eps files in texmaker? [duplicate]

I am new to LaTeX. I got a problem with an eps files. When I use

\usepackage{graphicx}
\usepackage{epstopdf}

\begin{document}
\begin{center}
\includegraphics[scale=0.8]{mjo.pdf}
\end{center}
\end{document}


I got LaTeX Error:

unknown graphics extension.eps se the latex manual...


Can you help me to resolve this issue?

• you get an error about an eps extension if you use the extension .pdf ? that sounds strange. – David Carlisle Mar 2 '16 at 12:38
• I think you will find a solution here tex.stackexchange.com/questions/29664/… – Martin Rosalie Mar 2 '16 at 13:15
• Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Reinstate Monica - M. Schröder Jun 28 '16 at 17:23