Search found 3 matches

by neoamsterdam
Wed Sep 29, 2010 4:29 am
Forum: General
Topic: \input{} appends a space
Replies: 4
Views: 2267

Re: [Solved] \input{} appends a space

Apologies, localghost. And the worst part is I remember having read that! :roll:
by neoamsterdam
Tue Sep 28, 2010 7:49 am
Forum: General
Topic: \input{} appends a space
Replies: 4
Views: 2267

\input{} appends a space

One way to see this is to to add a percent sign at the end of temp.tex. In other words, if temp.tex looks like this: this quote%
That has indeed done the trick. Thank you, frabjous: I would not have thought of that.
Unfortunately, it's not obvious to me how to write a percent sign to an external ...
by neoamsterdam
Tue Sep 28, 2010 3:39 am
Forum: General
Topic: \input{} appends a space
Replies: 4
Views: 2267

\input{} appends a space

I've discovered (the hard way) that \input{} appends a space to whatever it reads in from file. This is a major problem as I rely heavily on \input{} .

Consider the following minimal complete example: \documentclass[12pt]{book}
\begin{document}
\immediate\write18{echo -n "this quote" > temp.tex ...