Angus Leeming wrote:

> Angus Leeming wrote:
> Actually, it all boils down to this:
> 
> How can I escape the special chars in the file name? \verb is no good here
> of course...
> 
> Regards,
> Angus

Problem solved (by Johnathan Burchill). The External inset in the 1.4 series 
is getting _really_ powerful ;-)

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 
\ttfamily\expandafter\stripprefix\meaning\tempfilename
!}}}

</preamble>

-- 
Angus

Reply via email to