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.
This commit is contained in:
Carsten Dominik 2008-12-30 23:44:54 +01:00
parent 6015ef9dfc
commit 01def9d28e
1 changed files with 4 additions and 0 deletions

View File

@ -1499,6 +1499,10 @@ on this string to produce the exported version."
;; Handle source code snippets ;; Handle source code snippets
(org-export-replace-src-segments-and-examples backend) (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 ;; Find all headings and compute the targets for them
(setq target-alist (org-export-define-heading-targets target-alist)) (setq target-alist (org-export-define-heading-targets target-alist))