From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Local custom notes affect regular footnotes
Date: Fri, 9 Oct 2020 09:46:07 +0200 [thread overview]
Message-ID: <DE2C7708-3FD4-4AA5-B6A8-104AE62027BA@fiee.net> (raw)
If I use local notes, regular footnotes disappear in the following example:
\definenote[testnote]
\starttext
\startlocalnotes[testnote]
Test\testnote{Custom note}
Other text inbetween with normal footnotes.\footnote{Footnote}
Test\testnote{Another custom note}
Other text afterwards with normal footnotes.\footnote{Other Footnote}
:::\placelocalnotes[testnote] :::
---\placelocalnotes[footnote] --- % just to be sure, no output
%\stoplocalnotes % a NOP?
\stoptext
(LMTX or MkIV 2020.09.20 23:02)
The use case is a commented edition of historical letters. Footnotes of letter contents should be local and numbered per letter, while general footnotes should behave as usual and are numbered by text.
(This setup works otherwise, no need to explain.)
Actually, the “normal text” part appears only after a letter, but before \placelocalnotes.
The logical structure would be:
\startlocalnotes[testnote]
\startnarrower
\input lorem\testnote{bla bla}
\input lorem\testnote{bla bla}
\stopnarrower
\stoplocalnotes % forgets local notes
\input knuth\footnote{Donald dixit}
\placelocalnotes[testnote] % nothing
In the MWE, the footnotes just disappear. In the actual project the problem is different, but I couldn’t reproduce it in a MWE. I guess the interference of different note types is the cause of both problems.
I tried using the same custom note for the last comment as a workaround, but it gets placed twice: once at the bottom of the current page (i.e. like a normal footnote, out of order) and once after the other custom notes.
(The letter is in a delimitedtext environment.)
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
reply other threads:[~2020-10-09 7:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DE2C7708-3FD4-4AA5-B6A8-104AE62027BA@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).