org-export: Allow nested footnotes (part 2)
commit12c94310a24c0313f61ba9794406248687149f1d
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 26 Feb 2012 00:37:27 +0000 (26 01:37 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 26 Feb 2012 00:38:26 +0000 (26 01:38 +0100)
tree119e410d6c2b3b96e20f081430e9684273778684
parent73f2ff2acc8ba49dc8d49c8ee2409369c24531af
org-export: Allow nested footnotes (part 2)

* EXPERIMENTAL/org-e-latex.el (org-e-latex-footnote-reference):
  Correctly handle numbering with nested footnotes.
* contrib/lisp/org-element.el (org-element-map): Apply function to
  element or object before applying it to its secondary string, if
  any.  Otherwise, linearity is broken.
* contrib/lisp/org-export.el (org-export-footnote-first-reference-p,
  org-export-get-footnote-number): Take care of recursive footnotes.
(org-export-get-genealogy): Correctly get genealogy of an item within
a secondary string.
* testing/contrib/lisp/test-org-export.el: Add tests.
EXPERIMENTAL/org-e-latex.el
contrib/lisp/org-element.el
contrib/lisp/org-export.el
testing/contrib/lisp/test-org-export.el