ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Page break before sections
@ 2012-06-10 19:17 Aditya Mahajan
  2012-06-10 19:21 ` Wolfgang Schuster
  2012-06-10 19:21 ` Aditya Mahajan
  0 siblings, 2 replies; 4+ messages in thread
From: Aditya Mahajan @ 2012-06-10 19:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 346 bytes --]

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

[-- Attachment #2: Type: APPLICATION/pdf, Size: 14153 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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

* Re: Page break before sections
  2012-06-10 19:17 Page break before sections Aditya Mahajan
@ 2012-06-10 19:21 ` Wolfgang Schuster
  2012-06-10 19:22   ` Aditya Mahajan
  2012-06-10 19:21 ` Aditya Mahajan
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2012-06-10 19:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


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

* Re: Page break before sections
  2012-06-10 19:17 Page break before sections Aditya Mahajan
  2012-06-10 19:21 ` Wolfgang Schuster
@ 2012-06-10 19:21 ` Aditya Mahajan
  1 sibling, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2012-06-10 19:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Page break before sections
  2012-06-10 19:21 ` Wolfgang Schuster
@ 2012-06-10 19:22   ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2012-06-10 19:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 408 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2012-06-10 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-10 19:17 Page break before sections Aditya Mahajan
2012-06-10 19:21 ` Wolfgang Schuster
2012-06-10 19:22   ` Aditya Mahajan
2012-06-10 19:21 ` Aditya Mahajan

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