ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: <denis.maier@unibe.ch>
To: <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Chapters without new page
Date: Fri, 15 Sep 2023 07:58:44 +0000	[thread overview]
Message-ID: <ZRAP278MB0495D1F0506342343ADBA3A583F6A@ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAPtmdbPbQCfbpSd0b3HfERkNVPE7UMQfxuEPt=FV+unPDLKVjA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 927 bytes --]

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]}]

\starttext

\chapter{One}
\input knuth

\chapter{Two}
\input ward


\startbackmatter
\chapter{Three}
\input knuth

\chapter{Four}
\input ward
\stopbackmatter
\stoptext


Von: Jeroen <contextntg@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

[-- Attachment #1.2: Type: text/html, Size: 5497 bytes --]

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

___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2023-09-15  8:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-14 21:49 [NTG-context] " Jeroen
2023-09-15  2:10 ` [NTG-context] " Rik Kabel
2023-09-15  2:50   ` Rik Kabel
2023-09-15  7:58 ` denis.maier [this message]
2023-09-15  8:10   ` Taco Hoekwater
2023-09-15 12:07     ` Rik Kabel
2023-09-15 12:56       ` Taco Hoekwater
2023-09-15 13:04         ` Bruce Horrocks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZRAP278MB0495D1F0506342343ADBA3A583F6A@ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM \
    --to=denis.maier@unibe.ch \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).