ox: Add external footnotes definitions in parse tree
commit47265b31cab8d7c019cbd144a0a46657ab33bf1d
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 23 Jun 2015 13:28:01 +0000 (23 15:28 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 23 Jun 2015 13:28:01 +0000 (23 15:28 +0200)
tree41521a268eb3d3f75e162ac01460f733b3713c76
parent7ee2d9312243f69f77933217c260061c7efae15a
ox: Add external footnotes definitions in parse tree

* lisp/ox.el (org-export-get-environment):
(org-export-collect-tree-properties):
Remove :footnote-definition-alist property.
(org-export-get-footnote-definition): Apply removal of property.

(org-export--merge-external-footnote-definitions): New function.
(org-export-as): Use new function.

* testing/lisp/test-ox.el (test-org-export/footnotes): Update tests.

This change allows to have all footnote definitions within the parse
tree, so they can be reached with, e.g., a parse tree filter.
lisp/ox.el
testing/lisp/test-ox.el