ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: keeping headings with following texts
Date: Sat, 13 Jul 2013 17:22:59 +0200	[thread overview]
Message-ID: <E7F07965-C442-41C1-9C32-03A5FB068EE9@gmail.com> (raw)
In-Reply-To: <87ppum34nn.fsf@micropit.couberia.selfip.net>


Am 13.07.2013 um 16:39 schrieb Peter Münster <pmlists@free.fr>:

> On Sat, Jul 13 2013, Pablo Rodríguez wrote:
> 
>>>    \usemodule[simplefonts]
>>>    \setmainfont[TeX Gyre Pagella]
>> 
>> If I replace those lines with \setupbodyfont[pagella,12pt], nothing
>> changes, but if I remove the first two lines quoted above, everything works.
> 
> No. You don't need those lines for a minimal example:
> 
> \setupinterlinespace[line=4ex]
> \starttext
> \dorecurse{560}{bla }
> \section{section}
> \dorecurse{30}{bla }
> \stoptext

The penalty between the heading and the following text isn’t high enough
to prevent a page break. When you set a higher value through the after key
with the \blank command the break disappears.

\setuphead[section][after={\blank[samepage,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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-07-13 15:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-13 12:07 Pablo Rodríguez
2013-07-13 12:23 ` Wolfgang Schuster
2013-07-13 13:09   ` Pablo Rodríguez
2013-07-13 13:19     ` Wolfgang Schuster
2013-07-13 14:08       ` Pablo Rodríguez
2013-07-13 14:23         ` Pablo Rodríguez
2013-07-13 14:39           ` Peter Münster
2013-07-13 15:22             ` Wolfgang Schuster [this message]
2013-07-13 15:37               ` Pablo Rodríguez
2013-07-13 16:29         ` Wolfgang Schuster

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=E7F07965-C442-41C1-9C32-03A5FB068EE9@gmail.com \
    --to=schuster.wolfgang@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).