[OS X TeX] TexShop graphics input

Charles Pugh pugh at Math.Berkeley.EDU
Thu Jun 2 21:00:51 EDT 2005


Hello.

Running TexShop 1.40 on a file such as

\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}

TexShop is able to compile the file.  But the preview window does not 
show the picture, nor does the printed version.  (It does show and 
print the text, and it leaves space for the picture.)

TexShop is able to open the eps document, expt2.eps, display it on 
the screen, convert it to pdf format, and print it from the preview 
pane.  (The original picture was made in Illustrator 10, and also 
re-made in Canvas 8.)

The figure's file is then saved in the folder that contains the 
original tex file and is converted to a pdf file,  expt2.pdf

When that file name is substituted in place of expt2.eps, giving

\documentclass{article}
\usepackage{graphicx}

\begin{document}

copy1

\begin{figure}[htbp]
\begin{center}
\includegraphics{expt2.pdf}
\caption{{\bf default}}
\label{default}
\end{center}
\end{figure}

copy2
\end{document}

the program protests that it's a latex error and it can't find the 
Bounding Box info.



I've tried using other document classes, such amsart.  No luck.  The 
typeset settings are Latex and pdftex, although I tried other 
combinations with no better success.  I also tried the TexShop macro 
for inserting an eps figure, in place of the previous figure 
paragraph, getting

\documentclass{article}
\usepackage{graphicx}

\begin{document}

copy1

\begin{figure}[htbp]
\begin{center}
\epsfile{file=expt2,scale=0.8}
\caption{{\bf default}}
\label{default}
\end{center}
\end{figure}


copy2
\end{document}


But then the program complains that it doesn't know the epsfile 
command.  Surely, I am doing something silly, but I don't see what.



Thanks in advance,  Charles Pugh




--------------------- 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 MacOSX-TeX mailing list