ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Wrong page break in sequence of headings
@ 2014-09-11 11:50 Jean-Philippe Rey
  2014-09-11 14:35 ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Philippe Rey @ 2014-09-11 11:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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

  ConTeXt  ver: 2014.09.06 20:59 MKIV beta

with the following example

% ------------- Start of example -----------------------------
\setuphead[chapter][page=no]

\starttext

\chapter{Chap 1}

\section{Bryson}

\input bryson

\section{Davis}

\input davis

\section{filler 1}

Ipsam vero urbem Byzantiorum fuisse refertissimam atque ornatissimam signis quis
ignorat? Quae illi, exhausti sumptibus bellisque maximis, cum omnis Mithridaticos
impetus totumque Pontum armatum affervescentem in Asiam atque erumpentem,
ore repulsum et cervicibus interclusum suis sustinerent, tum, inquam, Byzantii et
postea signa illa et reliqua urbis ornanemta sanctissime custodita tenuerunt. Equitis
Romani autem esse filium criminis loco poni ab accusatoribus neque his iudicantibus
oportuit neque defendentibus nobis. Nam quod de pietate dixistis, est quidem ista
nostra existimatio, sed iudicium certe parentis; quid nos opinemur, audietis ex iuratis;
quid parentes sentiant, lacrimae matris incredibilisque maeror, squalor patris
%et haec praesens maestitia, quam cernitis, luctusque declarat. Vita est illis semper
%in fuga uxoresque mercenariae conductae ad tempus ex pacto atque, ut sit species
%matrimonii, dotis nomine futura coniunx hastam et tabernaculum offert marito,
%post statum diem si id elegerit discessura, et incredibile est quo ardore apud eos in
%venerem uterque solvitur sexus.

\chapter{Chap 2}

\section{Dawkins}

\input dawkins

\section{Douglas}

\input douglas

\section{filler 2}

Soleo saepe ante oculos ponere, idque libenter crebris usurpare sermonibus, omnis
%nostrorum imperatorum, omnis exterarum gentium potentissimorumque populorum,
%omnis clarissimorum regum res gestas, cum tuis nec contentionum magnitudine
%nec numero proeliorum nec varietate regionum nec celeritate conficiendi nec
%dissimilitudine bellorum posse conferri; nec vero disiunctissimas terras citius passibus
%cuiusquam potuisse peragrari, quam tuis non dicam cursibus, sed victoriis lustratae sunt.

\section{Group 1}

\subsection{Hawking}

\input hawking

\subsection{Knuth}

\input knuth

\section{Linden}

\input linden

\stoptext
% ------------- End of example -----------------------------


I get the "Chap 2" title at the end of the first page, it should be on top of the second page. Similarly the "Group 1" title is located at the bottom of the second page.

I tried to use \startsection ... \stopsection but got the same result.

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

Thank you for your help.

-- 
Jean-Philippe Rey                 Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr          92295 Châtenay-Malabry Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-11 19:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11 11:50 Wrong page break in sequence of headings Jean-Philippe Rey
2014-09-11 14:35 ` Pablo Rodriguez
2014-09-11 15:24   ` Jean-Philippe Rey
2014-09-11 19:51     ` Pablo Rodriguez

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).