Unnecessary page break, leaving lines empty
Hello, I have an unnecessary pagebreak in the following min-example: the last four lines of the first page are left empty, without obvious reason: \setupinterlinespace[line=3.0ex] \setupbodyfont[10pt] \showgrid \setuplayout [location=middle, topspace=17mm, header=0mm, footer=12mm, bottomspace=15mm, width=middle, cutspace=20mm, backspace=19mm, grid=yes ] \showgrid \starttext \chapter{Überschrift} \dorecurse{260}{hallo wie geht es? } \section{Überschrift}Text. \stoptext The problem seems to be the combination of the layout, bodyfontsize and interlinespace. If I change any of them, even by a small number, the problem vanishes. Whats the underlying problem and how to solve it without changing layout, fontsize or interlinespace? Thanks. Huseyin -- Huseyin Özoguz Schilfweg 51b 27751 Delmenhorst E-Mail: h.oezoguz@mmnetz.de Tel.: 0176/20203416
Huseyin Özoguz schrieb am 11.12.2020 um 11:56:
Hello,
I have an unnecessary pagebreak in the following min-example: the last four lines of the first page are left empty, without obvious reason:
\setupinterlinespace[line=3.0ex] \setupbodyfont[10pt] \showgrid \setuplayout [location=middle, topspace=17mm, header=0mm, footer=12mm, bottomspace=15mm, width=middle, cutspace=20mm, backspace=19mm, grid=yes
grid=yes, (missing comma after the setting)
]
\showgrid
\starttext
\chapter{Überschrift} \dorecurse{260}{hallo wie geht es? } \section{Überschrift}Text.
\stoptext
The problem seems to be the combination of the layout, bodyfontsize and interlinespace. If I change any of them, even by a small number, the problem vanishes. Whats the underlying problem and how to solve it without changing layout, fontsize or interlinespace?
The section pulls the previous line of text to the next page, you can avoid this when you allow the section to force a page break. \setuphead [section] [before={\blank[preference,2*big]}] Wolfgang
participants (2)
-
Huseyin Özoguz
-
Wolfgang Schuster