[an error occurred while processing this directive]
If you have a postscript file, fig.ps, you mus first convert it to encapsulated postscript. To do this, type ps2epsi fig.ps   This will create the file fig.epsi. (This actually creates a encapsulated postscript file with some additional information so that the image can be previewed at low resolution. LaTeX doesn't seem to mind this additional information).
\documentclass [12pt]{article}
\usepackage[dvips]{graphics}
\begin{document}
\begin{figure}
\includegraphics{fig.eps}
\caption{Here is a figure}
\end{figure}
\end{document}
\documentstyle [12pt,epsfig]{article}
\begin{document}
\begin{figure}
\epsfig{figure=fig.eps}
\caption{Here is a figure}
\end{figure}
\end{document}
Note: You can use epsfig in a LaTeX2e document. The only difference
is how you import the style file into LaTeX. The first line uses
\documentclass instead of \documentstyle. The style file, epsfig.sty, is
removed from the first line and inserted into the \usepackage command.
\documentclass [12pt]{article}
\usepackage {epsfig}
\begin{document}
\begin{figure}
\epsfig{figure=fig.eps}
\caption{Here is a figure}
\end{figure}
\end{document}
[an error occurred while processing this directive]