[OS X TeX] TexShop graphics input

Herbert Schulz herbs at wideopenwest.com
Fri Jun 3 04:41:00 CEST 2005


On Jun 2, 2005, at 8:00 PM, Charles Pugh wrote:

> \documentclass{article}
> \usepackage{graphicx}
>
> \begin{document}
>
> copy1
>
> \begin{figure}[htbp]
> \begin{center}
> \includegraphics{expt2.eps}
> \caption{{\bf default}}
> \label{default}
> \end{center}
> \end{figure}
>
> copy2
> \end{document}
>

Howdy,

I assume you're running pdflatex. Pdftex won't accept .eps directly.  
you should add the package

\usepackage{epstopdf}

and it should work (assuming you have the default --shell-escape  
option in the default pdflatex program set). You can also just drop  
the .eps file onto TeXShop and it will get converted to .pdf; the  
include the graphic using \includegraphic{expt2} without the .pdf  
extension and that should work also.

Hope this helps.

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