Denis, Hraban, Hans,
thanks for your comments and suggestions! Yes, the footnotes have page
references in the tuc file; Hans even taught me how to access the page
number from the Lua end some time ago, so I'm good here! And one thing
that I understood reading your comments: it's probably nonsense to save
the notes in a separate file; I already have their content, order, and
reference ids in the single files. All I have to do is process these a
second time, filtering out the notes, and dropping everything else. I'm
pretty sure I know how to do this. However, if this is going to work, I
will have to remove the first set of setups and reprocess the files with
a different one. I assume that this is a case for the likes of
\xmlremovesetup (or \xmlresetsetups? or \xmlresetdocumentsetups?) and
then create a new one with \startxmlsetups xml:myallnewsetups
\xmlregistersetup{xml:myallnewsetups}? But I have never used these
commands, and there isn't a lot in the mailing archives about them. I'll
experiment a bit and will be back with a more precise question.
Thanks everybody, best wishes
Thomas
On 8/13/25 3:50 PM, Henning Hraban Ramm wrote:
Hi Thomas,
this is interesting. Fun with references, yeah! ;)
If I understand you correctly, you want to keep the original order of
notes and use a footnote marker (number), don’t you?
Otherwise I’d use an index.
Isn’t there a page reference in a note? You probably already checked the
tuc file?
Hraban
_________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________