[texhax] includegraphics with spaces in the file path?
Heiko Oberdiek
heiko.oberdiek at googlemail.com
Tue Oct 4 16:59:34 CEST 2011
On Tue, Oct 04, 2011 at 10:37:52AM -0400, Peter Davis wrote:
> Ok, the following is probably not *minimal*, but it's a very small example
> that demonstrates the problem, at least with This is XeTeX, Version
> 3.1415926-2.3-0.9997.5 (Web2C 2011)
>
>
> Any clues about why this fails, or how to make it work, would be GREATLY
> appreciated ...
>
>
> \documentclass[letterpaper]{article}
> [...]
A more minimal example:
\documentclass[letterpaper]{article}
\usepackage{graphicx}
\usepackage{grffile}
\pagestyle{empty}
\newsavebox{\XMPG}
\sbox{\XMPG}{\includegraphics{s_ _1.eps}}
\begin{document}
\usebox{\XMPG}
\end{document}
The file type is important, .png runs fine, .eps breaks with
! Missing $ inserted.
I will have to investigate (later, no time for now).
Yours sincerely
Heiko Oberdiek
More information about the texhax
mailing list