2016-10-19 22:15 GMT+01:00 Karl Berry <karl at freefriends.org>:
> fix this by using \protected\def~{...} in the format so it is safe in
> filenames.
>> Is that all we have to do? Sounds good to me!
That would make sure that ~ doesn't expand to \nobreak\space, and gets
passed as a character to the engine's file open code, whether
\input{~/foo} then means foo.tex in the user's home directory is down
to kp.. you:-)
David