From: "Peter Münster" <pmlists@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: page-break after \section
Date: Wed, 21 Mar 2007 19:26:22 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.58.0703211918520.30319@gaston.pm> (raw)
In-Reply-To: <fe8d59da0703202137r35fd0each9d886369628b2c70@mail.gmail.com>
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...
> try this
> %%%%%%%%%%%%%%%%%%
> \showframe
> \starttext
> \section{bla}
> \dorecurse{36}{bla\par}
> \section{bla}
> \page[no]
> \startitemize
> \dorecurse{5}{\item bla}
> \stopitemize
> \stoptext
> %%%%%%%%%%%%%%%%%%%%%
There is still a page break + a frame.
> and this
> %%%%%%%%%%%%%%%%5
> \showframe
> \starttext
> \section{bla}
> \dorecurse{34}{bla\par}%%%% not 35 or 36 !
> \section{bla}
> \page[no]
> \startitemize
> \dorecurse{5}{\item bla}
> \stopitemize
> \stoptext
> %%%%%%%%%%%%%%%%%%%
No more page break after the section head, but that's normal: you changed
the number of lines.
Cheers, Peter
--
http://pmrb.free.fr/contact/
next prev parent reply other threads:[~2007-03-21 18:26 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 [this message]
2007-03-22 13:44 ` Hans Hagen
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=Pine.LNX.4.58.0703211918520.30319@gaston.pm \
--to=pmlists@free.fr \
--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).