Package: rubber Version: 1.4-3 Followup-For: Bug #813855 Control: retitle -1 graphicx module confused if required by a local class
Here is a small reproducer.
The graphicx module is registered once inside c.cls.
It thinks that the main document is c.cls,
and does not manage to guess if foo.eps or foo.pdf is wanted.
foo.fig: (any fig file)
c.cls:
\LoadClass{article}
\RequirePackage{graphicx}
doc.tex:
\documentclass{c}
\usepackage{graphicx}
\begin{document}
\includegraphics{foo}
\end{document}

