From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2605 invoked from network); 16 Aug 2023 13:09:35 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 16 Aug 2023 13:09:35 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 071014829E5 for ; Wed, 16 Aug 2023 15:08:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1kYIYpu_-B3J for ; Wed, 16 Aug 2023 15:08:18 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 2CAA9482BA5 for ; Wed, 16 Aug 2023 15:07:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 48DD44816AC for ; Wed, 16 Aug 2023 15:07:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BpbEVNmEcd4E for ; Wed, 16 Aug 2023 15:07:09 +0200 (CEST) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 78DD24816A4 for ; Wed, 16 Aug 2023 15:07:09 +0200 (CEST) Received: from [192.168.5.71] (cpe-24-194-2-237.nycap.res.rr.com [24.194.2.237]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4RQpLz5Lccz4GTF for ; Wed, 16 Aug 2023 09:07:07 -0400 (EDT) Message-ID: Date: Wed, 16 Aug 2023 09:07:03 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: <6b9527cd-427a-c1c5-3e17-ede1ea6fc90c@gmail.com> From: Rik Kabel In-Reply-To: <6b9527cd-427a-c1c5-3e17-ede1ea6fc90c@gmail.com> Message-ID-Hash: D3MQSXG4TDBWYEDQLU5IEATXHZK2HPBA X-Message-ID-Hash: D3MQSXG4TDBWYEDQLU5IEATXHZK2HPBA X-MailFrom: ConTeXt@rik.users.panix.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: disable header for endnotes List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============5248793762285292610==" This is a multi-part message in MIME format. --===============5248793762285292610== Content-Type: multipart/alternative; boundary="------------5090z0aXXtRNO0tdNaudRa5i" Content-Language: en-US This is a multi-part message in MIME format. --------------5090z0aXXtRNO0tdNaudRa5i Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------5090z0aXXtRNO0tdNaudRa5i Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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

--------------5090z0aXXtRNO0tdNaudRa5i-- --===============5248793762285292610== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============5248793762285292610==--