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
___________________________________________________________________________________