[NTG-context] Re: Chapters without new page

2023-09-15 Thread Bruce Horrocks
> On 15 Sep 2023, at 13:56, Taco Hoekwater wrote: > > Like this? > > \definehead[mychapter][chapter] > \setuphead[mychapter][page=no] Taco beat me to it... a simple example: \starttext \chapter{First} Some text \chapter{Second} More text \chapter{Third} More text \setuphead[chapter][pa

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
> On 15 Sep 2023, at 14:07, Rik Kabel wrote: > > > On 9/15/2023 4:10 AM, Taco Hoekwater wrote: >> >> >>> On 15 Sep 2023, at 09:58, >>> wrote: >>> >>> I thought there should be a setups key on \setupsectionblock, but >>> apparently there isn’t. So, the example below does not work, but ma

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
On 9/15/2023 4:10 AM, Taco Hoekwater wrote: On 15 Sep 2023, at 09:58,wrote: I thought there should be a setups key on \setupsectionblock, but apparently there isn’t. So, the example below does not work, but maybe it wouldn’t be too hard to add it… There is a ‘before' key, but note that

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
> On 15 Sep 2023, at 09:58, wrote: > > I thought there should be a setups key on \setupsectionblock, but apparently > there isn’t. So, the example below does not work, but maybe it wouldn’t be > too hard to add it… There is a ‘before' key, but note that the sectionblock itself is called “b

[NTG-context] Re: Chapters without new page

2023-09-15 Thread denis.maier
I thought there should be a setups key on \setupsectionblock, but apparently there isn’t. So, the example below does not work, but maybe it wouldn’t be too hard to add it… Best, Denis \setuphead[chapter][page=yes] \setupsectionblock[backmatter][setups={\setuphead[chapter][page=no]}] \startte

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 10:10 PM, Rik Kabel wrote: On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these ch

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen Untried: 1. Defi