# I encountered an 'errorUnknown graphics extension: .eps.'

-
Does it complain about .eps or about .eps. ? –  Taco Hoekwater Aug 3 '11 at 18:28

You are probably compiling your TEX document using pdftex (or pdflatex) while including an EPS image. This will not work. You need to convert the EPS to PDF (using something like the epstopdf package), or Distiller from Adobe Acrobat.

Alternatively, you may switch the compiler from pdftex to latex, which accepts EPS graphic format.

The best way around this is to never specify the graphic extension in your \includegraphics{...} command, but have both EPS and PDF versions of the file available. That will ensure that the correct type is used during compilation, as the driver will make the appropriate selection.

-
–  Caramdir Aug 3 '11 at 18:19

if you have more than one dot in your graphic file name then use

\usepackage{grffile}
-
My error message says, "! LaTeX Error: Unknown graphics extension: .eps." I added what you said but It doesn't help. It gives me the same error. –  kami Sep 23 '11 at 23:07
There is a trailing dot at the end .end. Remove it from your graphic file name. It looks like that you have a file name like myimage.eps. –  Herbert Sep 24 '11 at 11:30