[OS X TeX] including a graphics file

Nitecki, Zbigniew H. Zbigniew.Nitecki at tufts.edu
Sat Jun 19 09:35:53 EDT 2021


I’m trying to include some graphics generated by Mathematica, something I am not used to doing (I usually generate what I need via pspicture).
Using the TeXShop editor’s menu, I selected Figurs>epsfile and got the template which I filled in as follows:
\begin{figure}[htbp]
\begin{center}
\epsfile{file=plot1.pdf,scale=0.8}
\caption{{\bf Weierstrass's Function}}
\label{fig:Weierstrass}
\end{center}
\end{figure}

I have \usepackage{graphics} in my preamble.

The log file says:
./Monsters.tex:683: Undefined control sequence.
l.683 \epsfile
              {file=plot1.pdf,scale=0.8}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


What should I do to correct this?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20210619/bfe60461/attachment.htm>


More information about the MacOSX-TeX mailing list