Thangalin schrieb am 11.12.2019 um 02:51:
Commenting out the \page_grd_command_flush_page macro seems to have reversed the effect. Any pages having columnar text that does not extend to the last line are now suppressed. How would I go about adding a conditional that checks to see whether the column is filled before deciding if a page break is necessary?
\unprotect \def\page_grd_stop{% \endgraf % needed, else wrong vsize in one par case \vfill % otherwise weird \placenotes[endnotes] \page_grd_command_set_vsize % needed \penalty\c_page_otr_eject_penalty %\page_grd_command_flush_page \page_otr_fill_and_eject_page \page_grd_command_set_vsize % why here \egroup \page_otr_command_set_vsize \page_otr_command_set_hsize} \protect
Fails for the next example (the first page appears twice in the PDF and the second page is missing): \setuplayout[grid=yes] \starttext \startcolumnset[n=2] \dorecurse{100}{Line #1\par} \stopcolumnset \stoptext Wolfgang