[XeTeX] includegraphics and spaces in the graphic's filename path

Elliott Roper elliott at yrl.co.uk
Tue Aug 24 12:46:18 CEST 2010


On 24 Aug 2010, at 09:31, Heiko Oberdiek wrote:

> On Tue, Aug 24, 2010 at 09:52:13AM +0200, Ulrike Fischer wrote:
> 
>> Well the docu of grffile says that "space" works only for pdftex in
>> pdf-mode. It is perhaps possible to extend grffile for xetex:
>> xdvipdfmx seems to be able to use the graphic. You could ask the
>> author or a comp.text.tex. 
> 
> I would be happy to improve the support for XeTeX in grffile.
> However, I do not know any other driver than pdfTeX (or LuaTeX)
> that provide a safe file existence check. In case of pdfTeX
> package grffile uses \pdffilesize, the file name argument
> is <general text> as \pdfximage uses.
> 
> Some TeX ports support double quotes, but
> * a simple reliable test is missing whether this feature is supported,
> * a specification of the quoting rules is missing,
> * it makes the problem worse, now also quotes can't be used
>  in file names, although most file systems and OPs allow them.
> * ...
<snip>
> However it would be nice, if the file name problem could
> be solved in a clean way.


Thanks Heiko. Count me in as a tester when you do work on it. I'm loving the Unicode and fontspec in XeTeX; they have wiped away the objections I had for TeX and I'm right back into it where I should have been years ago.

Elliott Roper




More information about the XeTeX mailing list