[OS X TeX] including a graphics file
Nitecki, Zbigniew H.
Zbigniew.Nitecki at tufts.edu
Sat Jun 19 15:35:53 CEST 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://tug.org/pipermail/macostex-archives/attachments/20210619/bfe60461/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.