From 01def9d28e0bc7f8cd7e37fd3dca3645853de06e Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 30 Dec 2008 23:44:54 +0100 Subject: [PATCH] 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. --- lisp/org-exp.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 3bbe11a4d..09998f4d6 100644 --- a/lisp/org-exp.el +++ b/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)) -- 2.11.4.GIT