1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-21 06:55:35 +00:00

oc-csl: Fix footnote status reporting for wrapped citations

* lisp/oc-csl.el (org-cite-csl--create-structure): Update footnote information
when citation is wrapped in a footnote.
This commit is contained in:
András Simonyi 2021-11-02 16:44:37 +01:00 committed by Nicolas Goaziou
parent f135889ca1
commit 16dcfdfa80

View File

@ -501,7 +501,8 @@ INFO is the export state, as a property list."
;; a footnote, but isn't yet.
(when (and (not footnote) (org-cite-csl--note-style-p info))
(org-cite-adjust-note citation info)
(org-cite-wrap-citation citation info))
(org-cite-wrap-citation citation info)
(setq footnote (org-element-lineage citation '(footnote-reference))))
;; Return structure.
(apply #'citeproc-citation-create
`(:note-index