emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 16dcfdf 1/2: oc-csl: Fix footnote status re


From: ELPA Syncer
Subject: [elpa] externals-release/org 16dcfdf 1/2: oc-csl: Fix footnote status reporting for wrapped citations
Date: Tue, 2 Nov 2021 13:57:36 -0400 (EDT)

branch: externals-release/org
commit 16dcfdfa80bb889ea2a26ac6d852fb0eb2911415
Author: AndrĂ¡s Simonyi <andras.simonyi@gmail.com>
Commit: Nicolas Goaziou <mail@nicolasgoaziou.fr>

    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.
---
 lisp/oc-csl.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/oc-csl.el b/lisp/oc-csl.el
index 94de97e..be9ac8f 100644
--- a/lisp/oc-csl.el
+++ b/lisp/oc-csl.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]