gpt4 book ai didi

emacs - 在组织模式下,如何折叠/隐藏脚注?

转载 作者:太空宇宙 更新时间:2023-11-03 18:38:22 24 4
gpt4 key购买 nike

在 Emacs 组织模式中,有没有办法让内联脚注定义显示为折叠?

例如,这样一行:

This effect is due to the strength of weak ties[fn:: Newman, Mark, Albert-László Barabási, and Duncan J. Watts. 2006. The Structure and Dynamics of Networks. Princeton, NJ: Princeton University Press].

可能只是这样显示:

This effect is due to the strength of weak ties[✭].

我还需要一个命令来在必要时显示脚注。所以也许需要的是两个命令:org-hide-footnotesorg-show-footnotes

最佳答案

我认为目前这不可能。同样使用 TAB 作为其中的扩展键可能会导致更多的键过载。

另一方面,是否有任何特殊原因不为脚注使用脚注部分?

C-c C-x f 将创建您拥有的任何脚注/与之交互。

(org-footnote-action &optional SPECIAL)

Do the right thing for footnotes.

When at a footnote reference, jump to the definition.

When at a definition, jump to the references if they exist, offer to create them otherwise.

When neither at definition or reference, create a new footnote, interactively.

With prefix arg SPECIAL, offer additional commands in a menu.

额外的命令是:

      s   Sort the footnote definitions by reference sequence.  During editing,
Org makes no effort to sort footnote definitions into a particular
sequence. If you want them sorted, use this command, which will
also move entries according to org-footnote-section. Automatic
sorting after each insertion/deletion can be configured using the
variable org-footnote-auto-adjust.
r Renumber the simple fn:N footnotes. Automatic renumbering
after each insertion/deletion can be configured using the variable
org-footnote-auto-adjust.
S Short for first r, then s action.
n Normalize the footnotes by collecting all definitions (including
inline definitions) into a special section, and then numbering them
in sequence. The references will then also be numbers. This is
meant to be the final step before finishing a document (e.g., sending
off an email). The exporters do this automatically, and so could
something like message-send-hook.
d Delete the footnote at point, and all definitions of and references
to it.

关于emacs - 在组织模式下,如何折叠/隐藏脚注?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15258055/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com