org-mode中的多段脚注

Mir*_*lov 3 emacs footnotes org-mode

我有一个带脚注的组织模式文档:

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
Run Code Online (Sandbox Code Playgroud)

然后我再打,然后按下重新编排注脚C-u C-c C-x f S- org-footnote-action它执行(org-footnote-renumber-fn:N)(org-footnote-normalize 'sort).结果是:

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

* Footnotes

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

[fn:2] Another footnote
Run Code Online (Sandbox Code Playgroud)

脚注的第二段丢失了.这使得在组织模式下不可能有多个段落脚注.一个半解决方案是为每个段落单独添加脚注,但我不希望这样.

是否有可能在脚注中保留结构?我该怎么做才能使org-mode不删除脚注中的文字?

Ole*_*liv 6

根据组织模式手册:

如果您需要在脚注中使用段落,请使用LaTeX惯用法'\ par'.

它对我有用:

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
Run Code Online (Sandbox Code Playgroud)


EFL*_*FLS 6

对于通过谷歌访问或几年后访问的人(就像我一样):现在不同了。多个段落很容易实现,因为脚注仅在两个连续的空行之后结束。

请参阅https://orgmode.org/org.html#Creating-Footnotes

它在下一个脚注定义、标题或两个连续的空行之后结束