Hello,
I'd like to submit a branch for testing:
git://github.com/ngz/org-mode-lists.git footnote-fix
Here are the changes so far:
- recognize and export inlined footnotes holding links in their definition,
- recognize and export two or more footnotes in a row,
- don't chock at footnotes or partial footnotes inside comments in Org buffer,
- export calls to already defined footnotes in LaTeX,
- export footnotes before first heading (LaTeX),
- export footnotes when selecting a subtree not holding their
definition (LaTeX),
- fontify more consistently footnotes in the org buffer (only labels
are "fontified" or fn in the case of an anonymous footnote).
The following snippet demonstrates most of these changes:
----------------------------------------------------------------------
#+title: Footnotes test
Some text before first headline[fn:1].
* First headline
# [fn::fake footnote
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna
aliqua[fn::inline1][1].
* Second headline
Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur[fn:inlabel:an inline
footnote][fn:inlabel2:[[http://www.google.com][google]] this].
Call an already defined inline footnote[fn:inlabel].
* Footnotes
[fn:1] first footnote.
[1] End of first section.
------------------------------------------------------------------------
There are probably mischievous bugs. So, thanks in advance for any
feedback.
Regards,
--
Nicolas Goaziou