From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4582 invoked from network); 15 Sep 2023 02:52:26 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 15 Sep 2023 02:52:26 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 760BC482D5D for ; Fri, 15 Sep 2023 04:51:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WvCDEWOIADAf for ; Fri, 15 Sep 2023 04:51:30 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 50721482F9E for ; Fri, 15 Sep 2023 04:50:51 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1FCDC482C79 for ; Fri, 15 Sep 2023 04:50:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ezVBOC6_VfD2 for ; Fri, 15 Sep 2023 04:50:27 +0200 (CEST) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id A7E7D482C77 for ; Fri, 15 Sep 2023 04:50:27 +0200 (CEST) Received: from [192.168.5.71] (cpe-24-194-2-237.nycap.res.rr.com [24.194.2.237]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4RmzFZ6NvczKmK for ; Thu, 14 Sep 2023 22:50:26 -0400 (EDT) Message-ID: Date: Thu, 14 Sep 2023 22:50:27 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: From: Rik Kabel In-Reply-To: Message-ID-Hash: UP6KM5EMEGQTVHJOWQ3Y6HMTFDDXS2DC X-Message-ID-Hash: UP6KM5EMEGQTVHJOWQ3Y6HMTFDDXS2DC X-MailFrom: ConTeXt@rik.users.panix.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Chapters without new page List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============3858630391963883204==" This is a multi-part message in MIME format. --===============3858630391963883204== Content-Type: multipart/alternative; boundary="------------1MJrMbv1Z18x6DWeUJMAhMjd" Content-Language: en-US This is a multi-part message in MIME format. --------------1MJrMbv1Z18x6DWeUJMAhMjd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 chapters? >> Thanks, Jeroen >> > Untried: > > 1. Define a new section head that clones chapter > (\definehead[NPChapter][chapter]). > 2. Modify the new section head so that it does not do a break > (\setuphead[NPChapter][page=no]). > 3. Use the new section head instead of \chapter or \startchapter. > And, if you want them to appear in the table of contents, modify the combined list of section headers that go into the contents (\setupcombinedlist[content][list=chapter,NPChapter,...]). Perhaps add it to the pdf bookmarks as well (\placebookmarks...). -- RIk --------------1MJrMbv1Z18x6DWeUJMAhMjd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


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 chapters?
Thanks, Jeroen

Untried:

  1. Define a new section head that clones chapter (\definehead[NPChapter][chapter]).
  2. Modify the new section head so that it does not do a break (\setuphead[NPChapter][page=no]).
  3. Use the new section head instead of \chapter or \startchapter.

And, if you want them to appear in the table of contents, modify the combined list of section headers that go into the contents (\setupcombinedlist[content][list=chapter,NPChapter,...]). Perhaps add it to the pdf bookmarks as well (\placebookmarks...).

--
RIk

--------------1MJrMbv1Z18x6DWeUJMAhMjd-- --===============3858630391963883204== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============3858630391963883204==--