41

Possible Duplicate:
I encountered an 'errorUnknown graphics extension: .eps.'

I have the error like in the title. I found some pages on the web with a solution to this problem. They use to say that compiling should be not LaTeX->pdf but LaTeX->ps->pdf. How can it be done, or maybe there is another solution for the problem?

SBF
  • 1,418

2 Answers2

50

It seems you're using graphics in the .eps format. A relatively easy way of solving this problem is loading \usepackage{epstopdf} in your preamble and compiling with pdfLaTeX as usual. This will convert any .eps graphics to .pdf first, you'll see the actual .pdf files in your directory.

doncherry
  • 54,637
2

Consult the wikibook on LaTeX: http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics

Compiling with pdflatex
...
EPS can be used with the help of the epstopdf package. Please see these: http://dirkraffel.com/2007/11/19/include-eps-files-in-latex

Gonzalo Medina
  • 505,128