[NTG-context] Page break before sections

2012-06-10 Thread Aditya Mahajan

Hi,

I don't get a page break before sections if I use 
\setuphead[...][page=yes]. Has the syntax of the command changed? (I am 
using 2012.06.08)



\setuphead[chapter][page=yes]
\setuphead[section][page=yes]

\starttext
\chapter{One} \input ward
\section{Two} \input knuth

\chapter{One} \input ward
\section{Two} \input knuth
\stoptext

Aditya


test.pdf
Description: Adobe PDF document
___
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
___

Re: [NTG-context] Page break before sections

2012-06-10 Thread Wolfgang Schuster

Am 10.06.2012 um 21:17 schrieb Aditya Mahajan:

 Hi,
 
 I don't get a page break before sections if I use \setuphead[...][page=yes]. 
 Has the syntax of the command changed? (I am using 2012.06.08)

That’s a feature and you have to add “continue=no” to the “section” setup.

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
___


Re: [NTG-context] Page break before sections

2012-06-10 Thread Aditya Mahajan

On Sun, 10 Jun 2012, Aditya Mahajan wrote:


Hi,

I don't get a page break before sections if I use \setuphead[...][page=yes]. 
Has the syntax of the command changed? (I am using 2012.06.08)


s/section/subsection/g works!

Aditya
___
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
___


Re: [NTG-context] Page break before sections

2012-06-10 Thread Aditya Mahajan

On Sun, 10 Jun 2012, Wolfgang Schuster wrote:



Am 10.06.2012 um 21:17 schrieb Aditya Mahajan:


Hi,

I don't get a page break before sections if I use \setuphead[...][page=yes]. 
Has the syntax of the command changed? (I am using 2012.06.08)


That’s a feature and you have to add “continue=no” to the “section” setup.


Thanks. Of course, everything is fine with contine=no.

Aditya___
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
___