4

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?

Mirzhan Irkegulov
  • 17,660
  • 12
  • 105
  • 166

2 Answers2

7

For people visiting through google or who otherwise visit years later (as I did): this is now different. Multiple paragraphs are easily achieved, as footnotes only end after a two consecutive empty lines.

See https://orgmode.org/org.html#Creating-Footnotes :

It ends at the next footnote definition, headline, or after two consecutive empty lines

jack
  • 1,253
  • 1
  • 11
  • 7
EFLS
  • 381
  • 2
  • 5
6

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
Oleg Pavliv
  • 20,462
  • 7
  • 59
  • 75
  • 1
    In order to get a blank line between paragraphs, you can also use: `[fn:1] First line.\\~\\Second line.` – Mark Jan 24 '14 at 19:02
  • 1
    The documentation linked no longer contains the quoted phrase. When exporting to HTML, I found that `\par` did not work. I found that I needed to place `\\` at the end of the first paragraph, followed by a single line consisting only of another `\\`, and then beginning the second paragraph on a new line. – Lorem Ipsum Apr 06 '17 at 02:29