* Unnecessary page break, leaving lines empty
@ 2020-12-11 10:56 Huseyin Özoguz
2020-12-11 11:16 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Huseyin Özoguz @ 2020-12-11 10:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Unnecessary page break, leaving lines empty
2020-12-11 10:56 Unnecessary page break, leaving lines empty Huseyin Özoguz
@ 2020-12-11 11:16 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2020-12-11 11:16 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-11 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11 10:56 Unnecessary page break, leaving lines empty Huseyin Özoguz
2020-12-11 11:16 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).