[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wip-cite status question and feedback
From: |
Nicolas Goaziou |
Subject: |
Re: wip-cite status question and feedback |
Date: |
Sun, 18 Apr 2021 18:17:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
M. ‘quintus’ Gülker <post+orgmodeml@guelker.eu> writes:
> The citation object will provide access to all elements of the new
> cite syntax I assume, including things like key, prefix and suffix?
Indeed. Also global prefix and suffix.
> Several styles I am normally confronted with require crossreferencing
> in citation footnotes (example: “Doe (see above Fn. 24), pp. 35-37”).
> Formatting this requires access to the place where an @key first
> occured in a footnote. The full list of citation objects probably
> suffices for that information; on a first thought I would either use
> the first citation object from that list with the @key at hand unequal
> to the active citation object
This would work. If it is a common need, Org could also provide such
a helper function.
> or use the citation object whose footnote label has the lowest number
> and is unequal to the active citation object (if the list is not
> guaranteed to be in said order). I would prefer the former approach,
> because sometimes I deal with footnotes with numbers like “4a” (a
> footnote inserted at a late stage in the authoring process between
> footnotes 4 and 5), which defeats the lowest-number approach.
Note that export process provides its own footnote numbering, which does
not rely on the label used. See `org-export-get-footnote-number'.
So you can also use the second method.
> For non-footnote-based citations, the “helper function to determine
> the footnote containing a citation” should probably return nil.
Indeed. If there is no footnote definition containing the citation, it
returns nil.
Regards,
--
Nicolas Goaziou