[texhax] includegraphics with spaces in the file path?

Peter Davis pfd at pfdstudio.com
Fri Sep 30 21:43:17 CEST 2011


On Fri, Sep 30, 2011 at 9:39 AM, Heiko Oberdiek <
heiko.oberdiek at googlemail.com> wrote:

> On Fri, Sep 30, 2011 at 08:29:38AM -0400, William Adams wrote:
>
> > On Sep 29, 2011, at 11:27 PM, Peter Davis wrote:
> >
> > >
> \newsavebox{\XMPC}\sbox{\XMPC}{\includegraphics[scale=0.331209]{C:/Users/peterd/Documents/My
> Dropbox/Doc/X/Y/Campaigns for
>  testing/AP_BUS/AP_bus_card_US/Documents/1/Resources/AP_logo_wirm_PMS_LLP.eps}}
> >
> > The underscore is a math mode indication of superscript.
> >
> > Prefacing it w/ \string is a hard-coded fix, but I'd thought grffile
> fixed
> > that as well.
>
> I cannot reproduce the problem:
>
> \listfiles
> \documentclass{article}
> \usepackage{graphicx}
> \usepackage{grffile}
> \begin{document}
> \includegraphics{s_ _1.png}
> \end{document}
>
> Works fine for me with and without option `draft'.
> With option `draft' the file name is printed.
> But the graphics package detokenizes the string before.
>
>
Thanks!  I have not been able to come up with a minimal example that hits
the problem yet.  I'll try to isolate what's failing.

Regards,
-pd


-- 
----
The Tech Curmudgeon
http://www.techcurmudgeon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110930/6be4de63/attachment.html>


More information about the texhax mailing list