graphics problem: a refinement

Robert Ryan robertdryan at compuserve.com
Fri Oct 17 10:49:22 CEST 2003


This is addressed to those generous Y&Yers who have been contributing to
(the solution of ) Robert's Graphics Problem.

In spite of incipient senility, I finally remembered the details of the
original problem, which was cured with the famous LOUIS PATCH.

This is the deal: My version (or my copy) of Y&YTeX cannot deal with more
than one figure. The following file illustrates the problem:

%GraphicsTest.tex

\documentclass[a4paper]{book}

\usepackage[dvipsone]{graphicx}

\graphicspath{{c:/graphicstest/}}

\begin{document}

\begin{figure}
\setkeys{Gin}{width=5cm}
\centerline{
\includegraphics{circle.eps}
}
\end{figure}

\begin{figure}
\setkeys{Gin}{width=5cm}
\centerline{
\includegraphics{box.eps}
}
\end{figure}

\end{document}

When I run this, I receive the message "!Latex Error: File 'circle.eps' not
found." If I eliminate either of the figures, the file runs perfectly.

Presented with this problem, Louis knew exactly what to do to fix it. I
don't. Well, I do know one solution, which is to place the figures in the
folder 'graphicstest' rather than in the subfolder 'figures,' but this is a
poor solution for dealing with many chapters and many figures.

It's a beautiful sunny day in Paris, so I am going to go to lunch and forget
about all of this with the confidence that, since the problem has been
localized, one of you will solve it.

All the best,

Robert






More information about the yandytex mailing list