ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Local custom notes affect regular footnotes
@ 2020-10-09  7:46 Henning Hraban Ramm
  0 siblings, 0 replies; only message in thread
From: Henning Hraban Ramm @ 2020-10-09  7:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-09  7:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09  7:46 Local custom notes affect regular footnotes Henning Hraban Ramm

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).