Quellcode durchsuchen

Footnotes: Make sure footnotes are normalized by the preprocessor

The preprocessor now calls `org-footnote-normalize' to collect
footnotes and to change all references into numeric.
Carsten Dominik vor 16 Jahren
Ursprung
Commit
01def9d28e
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      lisp/org-exp.el

+ 4 - 0
lisp/org-exp.el

@@ -1499,6 +1499,10 @@ on this string to produce the exported version."
       ;; Handle source code snippets
       (org-export-replace-src-segments-and-examples backend)
 
+      ;; Normalize footnotes
+      (when (plist-get parameters :footnotes)
+	(org-footnote-normalize nil t))
+
       ;; Find all headings and compute the targets for them
       (setq target-alist (org-export-define-heading-targets target-alist))