[texhax] \input{file} adds an extraneous space

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Tue Jan 3 11:08:22 CET 2012



jtzzaa11-texhax2 at yahoo.com wrote:
> if f.tex contains abc
>
> then
> \input{f}test
>
> produces
> abc test

True.  However, if "f.tex" contains solely "abc%" with no extra
characters, then this does not occur; thus there is an implicit
space in your version of "f.tex".  A more general solution would be
to \unskip following \input {}.

Philip Taylor


More information about the texhax mailing list