\input question

Hartmut Henkel <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
With an tex file

---\input x.tex\relax---\bye

and a few input files x.tex either empty or containing a blank, or
percent sign, or letter a, or letter a and percent sign (and really only
these letters are in, checked with od), I get the following dvi output:

x.tex        dvi
---------------------
<> (empty)   ---
             ---
< >          ---
             ---
<%>          ------
<a>          ---a ---
<a%>         ---a---

I don't get the logics of this, also couldn't find an answer in the
TeXbook. Why is an empty file differently treated from a <%> file? And
why makes < > a par, but <a> makes an additional blank?

Regards, Hartmut
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.