ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <ConTeXt@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Chapters without new page
Date: Thu, 14 Sep 2023 22:50:27 -0400	[thread overview]
Message-ID: <d85b4da9-faca-4f04-a99e-c0732b69dabd@rik.users.panix.com> (raw)
In-Reply-To: <addf181b-5ac5-4ebd-8616-2875e5fa70ec@rik.users.panix.com>


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


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

[-- Attachment #1.2: Type: text/html, Size: 2001 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
___________________________________________________________________________________

  reply	other threads:[~2023-09-15  2:52 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 [this message]
2023-09-15  7:58 ` denis.maier
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=d85b4da9-faca-4f04-a99e-c0732b69dabd@rik.users.panix.com \
    --to=context@rik.users.panix.com \
    --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).