[texhax] special characters in \includegraphics arg?

Martin Schröder martin at oneiros.de
Wed Aug 29 02:22:57 CEST 2007


2007/8/29, Karl Berry <karl at freefriends.org>:
> Suppose I want to use \includegraphics to insert a file whose name
> contains \ or # (among other, obviously) characters, for instance:
>   \includegraphics{c:\somefile#.jpg}

Try to avoid this. When I had to write an application that had to
include arbitrary files via \includegraphics, I had the application
create symlinks from these files to files with names TeX can handle
easily, and then let TeX include these files.

Best
   Martin


More information about the texhax mailing list