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 maybe it wouldn’t be too hard to add it…
There is a ‘before' key, but note that the sectionblock itself is called “backpart”, not “backmatter”
Either use
\setupsectionblock[backpart][before={\setuphead[chapter][page=no]}]
Or, nicer:
\startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment
Best, Denis \setuphead[chapter][page=yes] \setupsectionblock[backmatter][setups={\setuphead[chapter][page=no]}] \starttext \chapter{One} \input knuth \chapter{Two} \input ward \startbackmatter \chapter{Three} \input knuth \chapter{Four} \input ward \stopbackmatter \stoptext Von: Jeroen
Gesendet: Donnerstag, 14. September 2023 23:50 An: mailing list for ConTeXt users Betreff: [NTG-context] Chapters without new page 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 Best wishes, Taco
While this works, it changes behavior for **all** chapters. It does not address the original question of how to have **some** chapters "not automatically placed on a new page."
Like this? \definehead[mychapter][chapter] \setuphead[mychapter][page=no] Taco