[texhax] Why isn't \immediate\write outputting stuff from page 1?

Philip Taylor P.Taylor at Rhul.Ac.Uk
Mon Nov 18 14:42:50 CET 2013

Suresh Govindachar wrote:
>   % In the following, why doesn't the toc.tex file contain
>   % the line for the sections on the very first page?
>   \newwrite\contents
>   \openout\contents=toc.tex

Because the \openout is a deferred \openout that will not take
place until the first page is shipped out.

Philip Taylor

More information about the texhax mailing list