On September 4, 2003 05:26 am, Angus Leeming wrote:
> Johnathan Burchill wrote:
> > This works, it's based on \includegraphics[draft] from
> > graphics/graphics.sty:
> >
> > <preamble>
> >
> > \def\stripprefix#1>{}
> > \newcommand*{\xfiginput}[1]{%
> >         \edef\tempfilename{#1}%
> >         \InputIfFileExists{#1}{}{%
> >         \fbox{Could not find file
> > \ttfamily\expandafter\stripprefix\meaning\tempfilename
> > !}}}

The "missing file" message could be added to the LaTeX .log file by putting
\typeout{xfiginput: Could not find file \tempfilename!} after the \fbox 
command. 

Just a thought.
JB

> >
> > </preamble>
> >
> > That was fun.
>
> Thanks, Johnathan! I've committed it. Your name is now up in lights in
> lib/ChangeLog!

-- 
Johnathan K. Burchill, Ph.D.
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada

(403) 217-4286
[EMAIL PROTECTED]

Reply via email to