소스 검색

ox-odt: Fix nested footnotes export

* lisp/ox-odt.el (org-odt-footnote-reference): Fix nested footnotes
  export.

Reported-by: Vaidheeswaran <vaidheeswaran.chinnaraju@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/94900>
Nicolas Goaziou 10 년 전
부모
커밋
68f094a706
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      lisp/ox-odt.el

+ 2 - 2
lisp/ox-odt.el

@@ -1740,9 +1740,9 @@ CONTENTS is nil.  INFO is a plist holding contextual information."
 	    (format "<text:span text:style-name=\"%s\">%s</text:span>"
 		    "OrgSuperscript" ",")))
      ;; Transcode footnote reference.
-     (let ((n (org-export-get-footnote-number footnote-reference info)))
+     (let ((n (org-export-get-footnote-number footnote-reference info t)))
        (cond
-	((not (org-export-footnote-first-reference-p footnote-reference info))
+	((not (org-export-footnote-first-reference-p footnote-reference info t))
 	 (funcall --format-footnote-reference n))
 	;; Inline definitions are secondary strings.
 	;; Non-inline footnotes definitions are full Org data.