ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Section alone on the page
Date: Sun, 18 Nov 2012 21:21:46 +0100	[thread overview]
Message-ID: <5B896D7E-0C04-4E4E-ACB3-22606DFD168B@gmail.com> (raw)
In-Reply-To: <50A9400E.3050002@mmnetz.de>


Am 18.11.2012 um 21:07 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:

> How to permit the section-title to be set alone on the page-buttom?
> 
> I do not want to start always a new page with \section, but in the cases, where the title is set alone on the page, it should start a new page before \section.


When you uncomment the \setuphead setting in the following example context won’t move the heading
to the next page with the text after it, the important thing to achieve this is the “preference” keyword in
\blank which permits the page break.

%\setuphead[section][after={\blank[big,preference]}]

\starttext

\dorecurse{39}{Line \recurselevel\par}

\section

Another line

\stoptext

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
___________________________________________________________________________________


  parent reply	other threads:[~2012-11-18 20:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-18 20:07 "H. Özoguz"
2012-11-18 20:20 ` Aditya Mahajan
2012-11-18 20:21 ` Wolfgang Schuster [this message]
     [not found] <mailman.238.1353272332.2161.ntg-context@ntg.nl>
2012-11-18 22:12 ` "H. Özoguz"
     [not found] <456E86A0-2530-4158-B53D-837190B9A711@gmail.com>
2012-11-20  7:56 ` "H. Özoguz"
2012-11-20  8:50   ` Wolfgang Schuster
     [not found] <mailman.1.1353409201.28148.ntg-context@ntg.nl>
2012-11-20 14:22 ` "H. Özoguz"
2012-11-21 12:01   ` Hans Hagen
2012-11-21 12:09     ` "H. Özoguz"
2012-11-21 13:40       ` Hans Hagen
2012-11-21 13:45         ` luigi scarso
2012-11-21 14:08         ` "H. Özoguz"
2012-11-21 22:23     ` Wolfgang Schuster
     [not found] <mailman.298.1353499840.2161.ntg-context@ntg.nl>
2012-11-21 12:20 ` "H. Özoguz"

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=5B896D7E-0C04-4E4E-ACB3-22606DFD168B@gmail.com \
    --to=wolfgang.schuster@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).