0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-15 19:46:26 +00:00

Docbook export: Process footnotes like normal text.

Patch by Baoqiu Cui.
This commit is contained in:
Carsten Dominik 2009-03-30 20:32:21 +02:00
parent c442366e23
commit bd66c1ff41
2 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2009-03-30 Carsten Dominik <carsten.dominik@gmail.com>
* org-docbook.el (org-export-as-docbook): Process footnotes like
normal text.
* org.el (org-modules): Add org-inlinetasks.el
(org-cycle): Implement limiting level on cycling.
(org-move-subtree-down): Fix bug with swapping subtrees at end of

View file

@ -885,7 +885,10 @@ publishing directory."
(format "%s<footnote xml:id=\"%s%s\"><para>%s</para></footnote>"
(match-string 1 line)
org-export-docbook-footnote-id-prefix
num (cdr (assoc num footnote-list)))
num
(save-match-data
(org-docbook-expand
(cdr (assoc num footnote-list)))))
t t line))
(push (cons num 1) footref-seen))))))