Browse Source

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 16 years ago
parent
commit
01def9d28e
1 changed files with 4 additions and 0 deletions
  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))