Johnathan Burchill wrote: > It seems LaTeX has a problem with doesn't like filenames with "_" in them > when you pass the filename through the newcommand. Latex wants to put $ $ > around the _ because that is the "subscript" command in math mode. > So you could get around this with code like:
[details elided] > You have access to the basename of the pstex_t file, right? Right, but its pretty standard to have file names with underscores: \begin{center}\xfiginput{q13_graph}\end{center} Unfortunately, I can't use \verb in a command argument... \verb|q13_graph.pstex_t| -- Angus