From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107243 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: jbf Newsgroups: gmane.comp.tex.context Subject: Re: how to interrupt doublesided in particular instance Date: Thu, 7 May 2020 07:12:33 +1000 Message-ID: <5b8bf9d8-e5cc-14fd-169c-e81aaf6758f3@gmail.com> References: <9c4da2e8-f053-29f1-42dd-94937f0fa583@gmail.com> <4283cb7f-8715-c4fd-470f-ad7fdd0717dc@rik.users.panix.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8961945578274226289==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34840"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: ntg-context@ntg.nl To: Rik Kabel Original-X-From: ntg-context-bounces@ntg.nl Wed May 06 23:13:00 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 1jWRLf-0008w5-6T for gctc-ntg-context-518@m.gmane-mx.org; Wed, 06 May 2020 23:12:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 23F21183B00; Wed, 6 May 2020 23:12:42 +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 B12ZBxMp-BJf; Wed, 6 May 2020 23:12:41 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3F032183B01; Wed, 6 May 2020 23:12:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ECD84183AFE for ; Wed, 6 May 2020 23:12:40 +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 UoEUGdL1qc3h for ; Wed, 6 May 2020 23:12:39 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.42; helo=mail-pj1-f42.google.com; envelope-from=roma83537@gmail.com; receiver= Original-Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B11B3183A66 for ; Wed, 6 May 2020 23:12:39 +0200 (CEST) Original-Received: by mail-pj1-f42.google.com with SMTP id a7so1582704pju.2 for ; Wed, 06 May 2020 14:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=2XnmndyqmxQXhAkYEicCvaqjn4iU/MSf+5frrwt+60g=; b=tQrlqdbB4RWzCpU9L4lIyRl+lsPWEIOSCAmYaTv5gXMZPipRY4GyVgv7Ne0CZ7Mogk DAEdtE2rIHFvJJCfawmYvXtptWjb7TS0oqPZDmvX0/eKRk6CwuTFHXmXZ15HQ3xVxVBM WDDsO3Jz67iLNdt7pI6fZhsBN22sscxVRHbZQI2Zb3kIwLvN3QLBy2Lag18Ro2Scejlv gCIe6M7rKQkk+MFi8A6duRIFRnqfpVi+EUAYJGAQLNnrlJrAwaf1Uo5v3/Amy8BP+02h XX52FCFP/ZCMpyWXVvv0AkFyL0YIfMvbyeaVzIQouKl2nEbJjezpsyuwPM4DzCNszfE7 M7rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=2XnmndyqmxQXhAkYEicCvaqjn4iU/MSf+5frrwt+60g=; b=JDGEI/6/DsybBG1ffDcBSgPaCDrDzUwM02EoDhXFwM/6Wm1IwqLaIdVTEQ9L6gcEYz iTLFNxJ534/LrbNqpcCi7n6Jj0FDj1BdVv+olE91tNN4B/VJlC1b+i5GwywASgFyOmEX 9RdCQsWM28KEjPmTSt6C7ODK/k+Byln4wq0HvimGWQpT/ajeBPI0C0HxtG9c6aWyzVMe xnYPd4OLKY3Z4xhIfu4H9VOWGVUVQSINQYb2VytDSnbaghq7g9AFozbxfV9KDKhwomDR N3hYRG6sTM0ipfNpRw0+wQfG6Hvk+puD9Z3j51UcEmXccCcB0SC/TXDbPrbNsr0G3E7e Cd5Q== X-Gm-Message-State: AGi0PuZaFCfjfp352KVA8Gn7CZ2p5K4+jVgal0+byF4ARn3D+YtlGe/k 987cUMN91XrlldTd85LAcdsQtkjAK2DNMA== X-Google-Smtp-Source: APiQypJDXD/Ugha15nymBZdOsjT2+WIymoArdn6U4QIm60I9cdwMvxzNyRqdfd8r5X3d9Cz0b93zrQ== X-Received: by 2002:a17:902:aa44:: with SMTP id c4mr9851394plr.302.1588799557164; Wed, 06 May 2020 14:12:37 -0700 (PDT) Original-Received: from [192.168.0.100] ([120.18.15.13]) by smtp.gmail.com with ESMTPSA id w186sm2774299pff.83.2020.05.06.14.12.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 May 2020 14:12:36 -0700 (PDT) In-Reply-To: <4283cb7f-8715-c4fd-470f-ad7fdd0717dc@rik.users.panix.com> 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:107243 Archived-At: This is a multi-part message in MIME format. --===============8961945578274226289== Content-Type: multipart/alternative; boundary="------------C9ECA7B08F40E9DF329FCF61" Content-Language: en-US This is a multi-part message in MIME format. --------------C9ECA7B08F40E9DF329FCF61 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for that reminder Rik! Very timely! I had just noticed the missing chapters in the TOC :-) Julian On 7/5/20 12:33 am, Rik Kabel wrote: > > > 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 > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ --------------C9ECA7B08F40E9DF329FCF61 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

Thanks for that reminder Rik! Very timely! I had just noticed the missing chapters in the TOC :-)

Julian

On 7/5/20 12:33 am, Rik Kabel wrote:


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


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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________
--------------C9ECA7B08F40E9DF329FCF61-- --===============8961945578274226289== 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== --===============8961945578274226289==--