Search code examples
emacsorg-modefootnotes

Multiple paragraph footnotes in org-mode


I have an org-mode document with a footnote:

This some text[fn:1]. This is another text[fn:2].

* Footnotes

[fn:1] This is footnote's first line.

This is footnote's second line.

[fn:2] Another footnote

Then i resort and renumber footnotes by pressing C-u C-c C-x f S - org-footnote-action which executes (org-footnote-renumber-fn:N) and (org-footnote-normalize 'sort). The result is:

This some text[fn:1]. This is another text[fn:2].

* Footnotes

[fn:1] This is footnote's first line.

[fn:2] Another footnote

The second paragraph of the footnote is lost. This makes multiple paragraph footnotes impossible in org-mode. One semi-solution is to make a separate footnote for every paragraph, but i don't want that.

Is there any possibility to preserve structure in the footnote? What should i do to make org-mode not delete the text in the footnotes?


Solution

  • According to the org mode manual:

    If you need a paragraph break inside a footnote, use the LaTeX idiom ‘\par’.

    It worked for me:

    This some text[fn:1]. This is another text[fn:2].
    
    * Footnotes
    
    [fn:1] This is footnote's first line.\par
    \par
    This is footnote's second line.
    
    [fn:2] Another footnote