On Fri, Jan 03, 2014, Werner Lemberg wrote: > > > When a diversion that doesn't fit on the last page of a document and > > has to be deferred to the next (ie a float) is followed by a few > > lines of type that don't reach the bottom margin, processing stops > > at the end of the text and the diversion is never output. [...] > > Minimum example, please.
.\" Begin example .\" Minimal diversion .de diversion . di foo-div . nop \fBBegin diversion . sp 4 . nop End diversion\f[] . br . di . ie \\n[dn]>\\n[.t] .nr defer 1 . el .foo-div .. .\" Minimal header .de header . if !\\n[%]=1 \{\ . sp |1i-1v . ce 1 . nop \fIHeader\f[] . sp 2 . if \\n[defer]=1 \{\ . nf . foo-div . \} . \} .. .\" Minimal footer .de footer . sp |\\n[.p]u-.75i . ce 1 \\n[%] . bp .. .\" Traps .wh 0 header .wh -1i footer .\" .ps 14 .ls 2 .nf .sp |1i-1v .nr lines 0 1 .while \n+[lines]<=23 .nop Running text Diversion inserted after this line. .diversion First line after diversion inserted. Running text .\" End example Use -P-pletter. Processing stops at the end of page 1. -- Peter Schaffter http://www.schaffter.ca