From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: Any way to configure \setuphead to run a setups on the stop command?
Date: Tue, 26 Jul 2022 13:44:58 +0200 [thread overview]
Message-ID: <3321dea4-231a-fcfc-7392-1f1d0a7ffbc4@fiee.net> (raw)
In-Reply-To: <DFE3ED5E-DCED-4018-9760-50258B295894@scorecrow.com>
Am 26.07.22 um 12:41 schrieb Bruce Horrocks via ntg-context:
> If I use \definehead [Chapter] [chapter] and then \setuphead[Chapter][...] I can specify setups to run before and after \startChapter.
>
> Is there any way to specify setups that are run before & after \stopChapter?
\setuphead[Chapter][aftersection={Executed at \stopChapter}]
> My real problem is that I have a double-sided book with new chapters starting on a right hand page. If an extra left-hand page gets added then that extra page is blank except for the header which continues from the previous chapter. This makes the page look a bit odd and I'd rather the header was blank.
I used aftersection=\directsetup{...} for the same purpose.
In LMTX, \directsetup makes no sense any more, just use \setup{}.
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2022-07-26 11:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 10:41 Bruce Horrocks via ntg-context
2022-07-26 11:44 ` Henning Hraban Ramm via ntg-context [this message]
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=3321dea4-231a-fcfc-7392-1f1d0a7ffbc4@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/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).