ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bruce Horrocks via ntg-context <ntg-context@ntg.nl>
To: ntg-context mailing list <ntg-context@ntg.nl>
Cc: Bruce Horrocks <ntg@scorecrow.com>
Subject: Re: Automatic numbering of footnotes set with \note (not with \footnote)
Date: Thu, 16 Mar 2023 11:19:42 +0000	[thread overview]
Message-ID: <3655F16E-7895-48BA-A73B-5C39F8E847C7@scorecrow.com> (raw)
In-Reply-To: <8eefa0c7-759b-a930-e636-da9102e1541f@um.es>

I don't have the answer to your explicit question, but a work-around might be to put the footnotes into buffers instead of \footnotetext and then use /footnote[...]{\getbuffer[name]} in the body. That way ConTeXt sees them in order of appearance in the body and so the numbering should be as you want.

> On 15 Mar 2023, at 09:19, Joaquín Ataz López via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Good Morning to all list members.
> 
> I am writing a document with very long footnotes, and in order not to break (in the source file) the flow of the main text, instead of using the \footnote macro, I introduce the footnotes using \note[label] at the point where the call to the footnote should be placed, and in a separate place in the source file I write the text associated to the footnote using \footnotetext[label].
> 
> This works quite well and allows to create a more readable source file. There is, nevertheless, a small inconvenience, and it is that when processing the document ConTeXt goes numbering automatically the notes, attending to the order in which they are, in the source file, the \footnotetext commands. Would there be a simple way so that the automatic numbering follows the order of the \note commands, and not that of \footnotetext? Maybe something with \startbuffer combined with a counter?
> 
> -- 
> 
> Joaquín Ataz López
> Departamento de Derecho civil
> Universidad de Murcia

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2023-03-16 11:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  9:19 Joaquín Ataz López via ntg-context
2023-03-16 11:19 ` Bruce Horrocks via ntg-context [this message]
2023-03-16 16:41   ` Joaquín Ataz-López via ntg-context

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=3655F16E-7895-48BA-A73B-5C39F8E847C7@scorecrow.com \
    --to=ntg-context@ntg.nl \
    --cc=ntg@scorecrow.com \
    /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).