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.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_MESSAGE,MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24713 invoked from network); 15 Sep 2023 12:10:05 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 15 Sep 2023 12:10:05 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3C5334830E6 for ; Fri, 15 Sep 2023 14:08:31 +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 jp6pUH_78YyY for ; Fri, 15 Sep 2023 14:08:30 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2EA6C483151 for ; Fri, 15 Sep 2023 14:07:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B9F46483010 for ; Fri, 15 Sep 2023 14:07:10 +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 Vg9gYTevpbIA for ; Fri, 15 Sep 2023 14:07:10 +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 10E5A48300F for ; Fri, 15 Sep 2023 14:07:10 +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 4RnCbw5Dxxzvh8 for ; Fri, 15 Sep 2023 08:07:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1694779628; bh=B0yiCqyBzAFxxp6A/SQF3whgjOfVnnKk03SMgJcUDuE=; h=Date:Subject:To:References:From:In-Reply-To; b=VRa9xxIQkgKQShrcfUttRgtGIrVMua4qp6GFKzpMfum7u5HUM0aNjLk4BGUEIyhzc H5Eb22KVBJKyaiv+meo5cbqEVbtw0z3J2d+0ElWzY/oyn4umWJNYjreFKFkudlOB7n WO4i2HOY63FeE2NdkRnSGtWhaI6oNnjx3O2GkdGE= Message-ID: <9b467b75-bf91-423c-bde6-69159c9f7451@panix.com> Date: Fri, 15 Sep 2023 08:07:07 -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: ABR3C5KUBOZYG2ZNE2D6ILJ67MGIMWZW X-Message-ID-Hash: ABR3C5KUBOZYG2ZNE2D6ILJ67MGIMWZW X-MailFrom: rik@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="===============1481443607237958474==" This is a multi-part message in MIME format. --===============1481443607237958474== Content-Type: multipart/alternative; boundary="------------kkVCjScgJKQmZZEjRylnxcnF" Content-Language: en-US This is a multi-part message in MIME format. --------------kkVCjScgJKQmZZEjRylnxcnF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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." -- Rik --------------kkVCjScgJKQmZZEjRylnxcnF Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


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

On 15 Sep 2023, at 09:58, <denis.maier@unibe.ch> <denis.maier@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 <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
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

--------------kkVCjScgJKQmZZEjRylnxcnF-- --===============1481443607237958474== 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 ___________________________________________________________________________________ --===============1481443607237958474==--