[NTG-context] how to change metadata halfway through document

jbf roma83537 at gmail.com
Mon Jan 30 01:14:41 CET 2023

Am trying to understand how best to change the title metadata in 
headertext halfway through a document that has two parts: Constitutions 
and Regulations.

My first attempt (did not work)






[ ] [{\getmarking[chapter]\hskip1em \pagenumber}]

[{\pagenumber \hskip1em \setup{headertext}}] [ ]

My second attempt (quite crass, but it works!!) was to create a second 
\startdocument within the main \startdocument (obviously closing it 
towards the end but before the main \stopdocument), this time with 
[metadata:title={Regulations}] instead of the original 
[metadata:title={Constitutions}]. However, I have a strong feeling this 
is not a very elegant solution!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230130/93f50aad/attachment-0001.htm>

More information about the ntg-context mailing list