On 4 March 2017 at 16:06, Gavin Smith <[email protected]> wrote: > I thought of putting something inside @bye, but the problem is that > penalties and glue are discarded when the page is empty, and anything > else risks outputting a completely empty page at the end even when > non-empty pages have been output already. > > If anyone sees a problem with the idea of starting out by always > outputting an empty @vbox on the page, please say so.
The problem with using a @vbox is that this leads to @topskip glue being added before it as well as @parskip glue before whatever follows it (whatever comes first in the user's document). Using a @mark didn't play well with the output routine in texinfo.tex, but @special does work. An page with no boxes can be output if it has a @special on it. I've committed a change that adds a @special to set the paper size of the document (can be changed with @afourpaper etc.); this should fix the problem.
