On 8/16/2023 5:02 AM, jbf wrote: > > I wonder if someone might be able to help me with this. > > I have a book in three parts and the author wants endnotes. No > problem. I can produce those with \setupfootnotes[location=text] and > then \placefootnotes. > > However, I would like the header to read 'Notes' on the recto page (or > indeed be blank with no header), but I am currently getting the header > that belongs to the main setup for headers, which happens to be: > > \startsetups[middle] > > \hfill > > \getmarking[section] > > \hfill > > \stopsetups > > \setupheadertexts > > [{\hfill\documentvariable{metadata:title}\hfill}][] > > [\setups{middle}][] > > How do I deal with the \placefootnotes command so that it ignores this > and either gives me no header, or perhaps a new header with 'Notes' in > place of [section] (which is achieved in centered position with > setups[middle])? > > Julian > > I use the following for a notes chapter at the end of a book. It produces headings that indicate the pages for which the notes apply. Perhaps you can adapt it to your needs: In the environment file: \definemarking [notePage] \startsetups noteHeadingsText {\em Notes for page \doifelse{\fetchmark[notePage][top]}{\fetchmark[notePage][bottom]} { \getmarking[notePage][top]} {s \getmarking[notePage][top]–\getmarking[notePage][bottom]}} \stopsetups \startsetups noteHeadings:on \setupheadertexts[][\setups{noteHeadingsText}] [\setups{noteHeadingsText}][] \stopsetups In the text: \startbackmatter \startchapter[reference={cha:notes}, list={Notes}, % toc bookmark={Notes}, % pdf bookmark title={Notes}] % chapter head [Lettrine=no] \setups{noteHeadings:on} \placenotes[endnote] \stopchapter -- Rik