From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107241 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: how to interrupt doublesided in particular instance Date: Wed, 6 May 2020 10:33:56 -0400 Message-ID: <4283cb7f-8715-c4fd-470f-ad7fdd0717dc@rik.users.panix.com> References: <9c4da2e8-f053-29f1-42dd-94937f0fa583@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5797014036934008800==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75787"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.7.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed May 06 16:34:32 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWL83-000JaN-Je for gctc-ntg-context-518@m.gmane-mx.org; Wed, 06 May 2020 16:34:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D3917C8C; Wed, 6 May 2020 16:34:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MLfa2ujZvtTb; Wed, 6 May 2020 16:34:03 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2341D192013; Wed, 6 May 2020 16:34:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D7D511920D1 for ; Wed, 6 May 2020 16:34:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ygSTkWfw9-p for ; Wed, 6 May 2020 16:34:00 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Original-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)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 67ED0C8C for ; Wed, 6 May 2020 16:34:00 +0200 (CEST) Original-Received: from [192.168.201.21] (cpe-72-228-11-252.nycap.res.rr.com [72.228.11.252]) by mailbackend.panix.com (Postfix) with ESMTPSA id 49HJxf2dtxz14Xc for ; Wed, 6 May 2020 10:33:58 -0400 (EDT) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:107241 Archived-At: This is a multi-part message in MIME format. --===============5797014036934008800== Content-Type: multipart/alternative; boundary="------------B9E0C3A5C75BAB120F374967" Content-Language: en-US This is a multi-part message in MIME format. --------------B9E0C3A5C75BAB120F374967 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 5/6/2020 00:54, jbf wrote: > So simple, Wolfgang. Thanks. I had got close amid all the varieties I > was trying out to achieve the same result. Perhaps my closest was: > \setuphead[chapter][pagebreak=chapterverso], but it couldn't quite cut > it! > > Julian > > On 6/5/20 1:57 pm, Wolfgang Schuster wrote: >> jbf schrieb am 06.05.2020 um 01:31: >>> Hi list, >>> >>> I have a document set up in a standard way >>> (\setuppagenumbering[alternative=doublesided]) to ensure that new >>> chapters always begin on a recto page, but in one particular >>> instance only, I want the new chapter to start on the next (verso) >>> page instead of creating a blank then starting on the recto side. >>> >>> I thought I might have been able to force that with \page[no] >>> immediately after the previous chapter concluded or before >>> \chapter{My new chapter}, but this command is ignored (and may well >>> be the wrong command to achieve what I want). >>> >>> Is there a way to interrupt the setup so the new chapter in this >>> case can start on the verso page? >> >> Create a new heading for chapters which can start on left/right pages. >> >> \setuppagenumbering[alternative=doublesided] >> >> \definehead[mychapter][chapter] >> >> \setuphead[mychapter][page=yes] >> >> \starttext >> >> \chapter{Right page} >> >> \chapter{Right page} >> >> \mychapter{New page} >> >> \chapter{Right page} >> >> \stoptext >> >> Wolfgang >> > ___________________________________________________________________________________ > > You may want the new /mychapter/ head to appear in the TOC and pdf bookmarks as well, so take a look at /\setupcombinedlist/ and /\placebookmarks/. -- Rik --------------B9E0C3A5C75BAB120F374967 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit


On 5/6/2020 00:54, jbf wrote:
So simple, Wolfgang. Thanks. I had got close amid all the varieties I was trying out to achieve the same result. Perhaps my closest was: \setuphead[chapter][pagebreak=chapterverso], but it couldn't quite cut it!

Julian

On 6/5/20 1:57 pm, Wolfgang Schuster wrote:
jbf schrieb am 06.05.2020 um 01:31:
Hi list,

I have a document set up in a standard way (\setuppagenumbering[alternative=doublesided]) to ensure that new chapters always begin on a recto page, but in one particular instance only, I want the new chapter to start on the next (verso) page instead of creating a blank then starting on the recto side.

I thought I might have been able to force that with \page[no] immediately after the previous chapter concluded or before \chapter{My new chapter}, but this command is ignored (and may well be the wrong command to achieve what I want).

Is there a way to interrupt the setup so the new chapter in this case can start on the verso page?

Create a new heading for chapters which can start on left/right pages.

\setuppagenumbering[alternative=doublesided]

\definehead[mychapter][chapter]

\setuphead[mychapter][page=yes]

\starttext

\chapter{Right page}

\chapter{Right page}

\mychapter{New page}

\chapter{Right page}

\stoptext

Wolfgang

___________________________________________________________________________________

You may want the new mychapter head to appear in the TOC and pdf bookmarks as well, so take a look at \setupcombinedlist and \placebookmarks.

--
Rik

--------------B9E0C3A5C75BAB120F374967-- --===============5797014036934008800== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5797014036934008800==--