From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Unnecessary page break, leaving lines empty
Date: Fri, 11 Dec 2020 12:16:39 +0100 [thread overview]
Message-ID: <4bbf5b15-a30b-a053-4e77-658097087e08@gmail.com> (raw)
In-Reply-To: <2a01f46f-14ba-5ba3-1c0f-1dcfacfb9321@mmnetz.de>
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
___________________________________________________________________________________
prev parent reply other threads:[~2020-12-11 11:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-11 10:56 Huseyin Özoguz
2020-12-11 11:16 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4bbf5b15-a30b-a053-4e77-658097087e08@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).