On Tue, 28 Feb 2006, Hans Hagen wrote:
> btw, can you wikify taco's response? somewhere under 'how tex reads
> input'; in due time we can then add some additional info about how
> scantokens etc behave (everyeof stuff and such)
Of course, but it won't be possible the next 10 days, so be patient.
Taco Hoekwater wrote:
> Hi Peter,
>
> Not the \input command, but the end-of-line in the inputted file
> is creating the space, indirectly. TeX normally appends a character
> with the current value of \endlinechar to each line of an input-ed
> file, and that character is later converted to a space.
On Tue, 28 Feb 2006, Taco Hoekwater wrote:
> Taco Hoekwater wrote:
> > Setting \endlinechar to -1 temporarily is a possibility, another
> > is writing a percent sign to the end of the line, yet another is
> > ending the written line with \relax (or a similar space-gobbling
> > command), and finall
Taco Hoekwater wrote:
> Setting \endlinechar to -1 temporarily is a possibility, another
> is writing a percent sign to the end of the line, yet another is
> ending the written line with \relax (or a similar space-gobbling
> command), and finally changing the catcode of the current
> \endlinechar
Hi Peter,
Not the \input command, but the end-of-line in the inputted file
is creating the space, indirectly. TeX normally appends a character
with the current value of \endlinechar to each line of an input-ed
file, and that character is later converted to a space.
Setting \endlinechar to -1 tem
Hello,
\input seems to introduce a space. Example:
\starttext
\immediate\write18{echo -n X >bla.tex}
X\input bla\relax X
\stoptext
How could I get rid of this space?
Cheers, Peter
--
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-conte