* [NTG-context] disable header for endnotes
@ 2023-08-16 9:02 jbf
2023-08-16 13:07 ` [NTG-context] " Rik Kabel
0 siblings, 1 reply; 2+ messages in thread
From: jbf @ 2023-08-16 9:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 825 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2213 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* [NTG-context] Re: disable header for endnotes
2023-08-16 9:02 [NTG-context] disable header for endnotes jbf
@ 2023-08-16 13:07 ` Rik Kabel
0 siblings, 0 replies; 2+ messages in thread
From: Rik Kabel @ 2023-08-16 13:07 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1822 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 3779 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-16 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-16 9:02 [NTG-context] disable header for endnotes jbf
2023-08-16 13:07 ` [NTG-context] " Rik Kabel
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).