ox-org: Fix missing footnote definitions
commit844a6494c37b474b738cdd857b3f6b9bdabc038e
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 21 May 2014 16:33:53 +0000 (21 18:33 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 21 May 2014 16:37:13 +0000 (21 18:37 +0200)
tree0299e957d6c2f70c52c5abf20865e4a4de90ebd2
parent7d6cc7f0bf128e3a713a1c50f2c39f0321955fbb
ox-org: Fix missing footnote definitions

* lisp/ox-org.el (org-org-headline): Ignore footnote sections.
(org-org-section): New function.

Some footnote definitions may be outside of the scope of the export
and, therefore, do not appear in the generated output.  This patch
ensures that all footnote definitions appear at the end of the section
they belong to.

Thanks to Leonard Randall for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/86558
lisp/ox-org.el