This is a follow up question of this question. Why this plain code (from shreevatsar's answer)


produce a page but this (equivalent) latex code does not?


1 Answer 1


If you insert a \showlists just before the end


       \makeatletter \@@input\jobname.aux
     \ifdim \font@submax >\fontsubfuzz\relax
       \@font@warning{Size substitutions with differences\MessageBreak
                  up to \font@submax\space have occurred.\@gobbletwo}%
       \ifx \@multiplelabels \relax
           \@latex@warning@no@line{Label(s) may have changed.
               Rerun to get cross-references right}%




You see

### vertical mode entered at line 0
### current page:

prevdepth 0.0

! OK.
\enddocument ...dgroup \deadcycles \z@ \showlists 
l.47 \end{document}


That is the write node is left on its own.

Essentially the implicit \clearpage at the end of the document has cycled round and knows there is no height in the current page and it has no floats to add, so it stops.

Conversely the plain output routine is


It is not doing any tests to re-insert floats (Plain TeX uses the \insert mechanism so doesn't handle floats "by hand" the way LaTeX does) so it always ships out something whenever the output routine is called.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .