On 9/15/2023 4:10 AM, Taco Hoekwater wrote:

On 15 Sep 2023, at 09:58,<denis.ma...@unibe.ch>  <denis.ma...@unibe.ch>  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<context...@gmail.com> Gesendet: Donnerstag, 14. September 2023 23:50
An: mailing list for ConTeXt users<ntg-context@ntg.nl>
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."

--
Rik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to