Pregunta

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?

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top