Org-mode中的多段落脚注

4

我有一个带有脚注的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

然后我通过按下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

脚注的第二段丢失了,这使得在org-mode中无法使用多段落脚注。一种半解决方案是为每个段落制作单独的脚注,但我不想这样做。

有没有可能保留脚注中的结构?我应该怎么做才能让org-mode不删除脚注中的文本?

2个回答

7
对于通过谷歌或其他方式在未来几年(就像我一样)访问的人:现在情况已经不同了。多个段落可以很容易地实现,因为脚注只有在两个连续的空行后才会结束。
请参见https://orgmode.org/org.html#Creating-Footnotes

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


6
根据org模式手册:(链接),如需要在脚注中插入段落,请使用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

1
为了在段落之间获得空行,您也可以使用:[fn:1] 第一行。\\~\\第二行。 - Mark
1
文档链接中不再包含引用的短语。当导出为HTML时,我发现\par无法正常工作。我发现需要在第一段末尾放置\\,后跟只包含另一个\\的单行,然后在新行上开始第二段。 - Lorem Ipsum

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接