ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Wrong page break in sequence of headings
Date: Thu, 11 Sep 2014 16:35:09 +0200	[thread overview]
Message-ID: <5411B31D.8010407@gmx.es> (raw)
In-Reply-To: <CFEEF196-DC27-4ADA-956F-AA2459165F1D@ecp.fr>

On 09/11/2014 01:50 PM, Jean-Philippe Rey wrote:
> Dear all,
> 
> I have a problem with page breaking in a sequence of titles (for
example chapter, section, subsection) : a page break can occur between
titles. I tested this with the last beta version

Jean-Philippe,

page breaks can occur after a heading command.

> Is there a setup to get the page breaks right ? Or is this a bug ?

It isn’t a bug, it‘s just the way heads are defined in ConTeXt.

For chapters and sections, use:

\setuphead[chapter][after={\blank[samepage, 2*big]}]
\setuphead[section][after={\blank[samepage]}]

I hope it helps,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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:[~2014-09-11 14:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 11:50 Jean-Philippe Rey
2014-09-11 14:35 ` Pablo Rodriguez [this message]
2014-09-11 15:24   ` Jean-Philippe Rey
2014-09-11 19:51     ` Pablo Rodriguez

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=5411B31D.8010407@gmx.es \
    --to=oinos@gmx.es \
    --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).