[OS X TeX] TeXShop: how to remedy "Unknown graphics extension: .eps"

Herb Schulz herbs at wideopenwest.com
Sat Feb 5 04:11:17 CET 2005


On 2/4/05 8:54 PM, "Alexandre Bouquin" <bouquina001 at hawaii.rr.com> wrote:

> Hi, I'm new to LaTeX,
> 
> Does anyone know how to get rid of this problem?
> 
> Cheers,
> 
> 
> Alex
> 

Howdy,

If you've only got .eps graphics and are using TeXShop on the first line of
your LaTeX file type the line

%&latex

and the file will be typeset uisng the tex+ghostscript engine rather than
the default pdflatex. Another way to do that is to ``TeX and
Ghostscript''option in the Typeset menu; but that will have to be checked
each time you start up.

The reason you're having problems is that pdflatex only knows about .pdf,
.png and .jpg files using the graphic(x) package. If you have ImageMagick
installed (there is an i-package for it) you can use the epstopng package
which will translate the .eps file to .png before including it in the file.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list