[tex-live] tilde in file/folder names (again)

David Carlisle d.p.carlisle at gmail.com
Wed Oct 19 23:21:51 CEST 2016


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


More information about the tex-live mailing list