[texhax] using epsf.tex

Phil Parker phil at math.twsu.edu
Wed Jun 4 22:33:15 CEST 2003


How does one use epsf.tex with 2e?

I used epsf.tex with 2.09 to include EPS figures in LaTeX documents. Now
with 2e I get an error message:

! Undefined control sequence.
\@tempa ->\@nil 
                
l.398 ...s $e_1$, $e_2$, $z$ and signature $+-+$.}
                                                  \label{f1}
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.


everytime I try to include an EPS picture. (In case it's not clear, the
l.398 stuff is the end of the \caption call that follows the \epsffile call.
Here's the relevant excerpt from jp3.tex: 

\begin{figure}
\begin{center}
\leavevmode
\epsffile{./h3ppm_snt_tl3.eps}
\caption{\small Geodesic surfaces in $H_3$ using exponential coordinates 
with axes $e_1$, $e_2$, $z$ and signature $+-+$.}\label{f1}
\end{center}
\end{figure}

That's copied straight from files that worked with 2.09 long ago; I haven't
needed this with 2e until now.)

I assume the way to load epsf is:

\usepackage{epsf}

at least it claims it's loaded in the log file:

This is `epsf.tex' v2.7k <10 July 1997>

And this is the version info on the linux box (RH, I think) where it's
running:

This is TeX, Version 3.14159 (Web2C 7.3.1) (format=latex 2002.4.12)  4 JUN
2003 21:06 **jp3
(jp3.tex
LaTeX2e <2000/06/01>


-- 
    Phil Parker
--------------------------------------------
URL http://www.math.twsu.edu/Faculty/Parker/
Random quote:
  Keep the old as long as it is good,
  and take the new as soon as it is better.




More information about the texhax mailing list