Andreas Matthias wrote: > Has anyone written an \IfFileExists for XeTeX that works with > spaces in file names? Well, it seems like changing \openin\@inputcheck#1 % to \openin\@inputcheck="#1"\relax in the definition of \IfFileExists does the trick. Ciao Andreas