On 8/18/2021 05:32, noib3 via ntg-context wrote:
I'd like to have two different footer setups: one for the frontmatter (titlepage and table of contents) where the page number in roman numerals is reported as a single centered footer. Another for the bodymatter where the chapter is on the left footer and the pagenumber is on the right.
I can switch between roman numerals and numbers with
``` \defineconversionset [frontpart:pagenumber] [] [romannumerals]
\defineconversionset [bodypart:pagenumber] [] [numbers] ```
but I can't figure out how to have two different footer setups. Right now I have
``` \setupfootertexts [chapter] [pagenumber] ```
There are a few ways to do this. * You can explicitly change the footer settings in the body of the document (after \starttext) at any time. If placed within a group, the command is local to that group and reverts after the group is closed. If not, it applies to the remainder of the document unless otherwise overridden. This can be useful for a special page. * You can set it in the preamble within \startsectionblockenvironment[partname]..\stopsectionblockenvironment (where you can also define the number conversion. This is probably the easiest way to do it for documents differently-styled blocks. * You can forgo the \setupfootertexts commands completely and place the desired text in a separate layer. This may allow more precise control of the placement and formatting. No doubt there are other mechanisms as well. -- Rik