ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: page-break after \section
Date: Thu, 22 Mar 2007 14:44:33 +0100	[thread overview]
Message-ID: <46028841.8020706@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0703211918520.30319@gaston.pm>

� wrote:
> On Wed, 21 Mar 2007, luigi scarso wrote:
>
>   
>>> in the following example, there is a page-break after the second section
>>> title. \page[no] does not help.
>>>
>>> Is this normal or a bug?
>>>       
>> Normal, I believe
>>     
>
> Too bad. I think, there can be still some enhancements: in LaTeX, there
> is never a page break after a section header, but with ConTeXt there is
> sometimes by surprise...
>   
well, it depends, if the next structure does a vskip of some testing 
then there can be a page break

there is no robust way to prevent this in current tex, at least nog when 
some spacing mechansism are used, ok, a penalty 10000 may sometimes 
help, but even then, successive skips and such may interfere

also, vskip12pt \penalty vskip12pt ma not what you want (i.e. collapsing 
becomes tricky)

context sectioning has some prevent-break stuff

you can add a penalty 10000 if you know what you're dealing with

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2007-03-22 13:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 21:20 Peter Münster
2007-03-21  4:37 ` luigi scarso
2007-03-21 18:26   ` Peter Münster
2007-03-22 13:44     ` Hans Hagen [this message]
2007-03-22 19:06       ` Peter Münster
2007-03-22 20:23         ` Hans Hagen
2007-03-22 21:05           ` Taco Hoekwater
2007-04-10 13:05 ` Aditya Mahajan
2007-04-11 18:11   ` Peter Münster

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=46028841.8020706@wxs.nl \
    --to=pragma@wxs.nl \
    --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).