[XeTeX] File name bug when using \includegraphics

Akira Kakuto kakuto at fuk.kindai.ac.jp
Fri Oct 8 09:15:11 CEST 2010


Hi Heiko,

> I strongly recommend to change the D option of dvipdfmx.def
> by adding single quotes around arguments with user input, e.g.:
> 
>   D "rungs ... -sOutputFile=%o %i -c quit"
> 
> to
> 
>   D "rungs ... '-sOutputFile=%o' -f '%i' -c quit"
> 
> Unhappily single quotes will not work in Windows, AFAIK.

Single quotes do not work in cmd.exe. However in our code
which was written by Fabrice, we can use
D "rungs ... '-sOutputFile=%o' -f '%i' -c quit"
also on windows, as I've confirmed just now.

Thanks,
Akira



More information about the XeTeX mailing list