[texhax] Writing explicit newline to external file

Oleg Katsitadze olegkat at gmail.com
Fri Jun 8 13:29:14 CEST 2007


On Fri, Jun 08, 2007 at 11:57:15AM +0100, Toby Cubitt wrote:
> Is there some way to write an explicit newline character to an external 
> file in (La)TeX?

Does the following do what you want:

\newlinechar=`^^J
\write\@stream{blah blah^^Jfoo bar}

Best,
Oleg


More information about the texhax mailing list