禁止在导出时对有序列表重新编号
Suppressing renumbering of ordered lists in export
我想通过原始编号引用 Alan Perlis 的一些 Epigrams on Programming,但在 Org Mode 有序列表中。
当我导出文档时,我为列表项提供的编号被丢弃并替换为从 1 开始的新编号。
The raw source text:
#+begin_example
A few of Alan J. Perlis\rsquo{} [[http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html][Epigrams on Programming]]:
8. A programming language is low level when its programs require attention to the irrelevant.
15. Everything should be built top-down, except the first time.
31. Simplicity does not precede complexity, but follows it.
54. Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.
#+end_example
The text as rendered, and renumbered, by export:
#begin_quote
A few of Alan J. Perlis\rsquo{} [[http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html][Epigrams on Programming]]:
8. A programming language is low level when its programs require attention to the irrelevant.
15. Everything should be built top-down, except the first time.
31. Simplicity does not precede complexity, but follows it.
54. Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.
#end_quote
您可以通过以 [@8]
开头的项目文本将项目编号设置为您想要的任何值(例如)。 See Ordered List here.
一个工作示例:
A list with custom ordering:
1. [@8] apple
1. [@77] orange
1. [@101] lime
导出文档时,列表编号将为 8、77 和 101。
我想通过原始编号引用 Alan Perlis 的一些 Epigrams on Programming,但在 Org Mode 有序列表中。
当我导出文档时,我为列表项提供的编号被丢弃并替换为从 1 开始的新编号。
The raw source text:
#+begin_example
A few of Alan J. Perlis\rsquo{} [[http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html][Epigrams on Programming]]:
8. A programming language is low level when its programs require attention to the irrelevant.
15. Everything should be built top-down, except the first time.
31. Simplicity does not precede complexity, but follows it.
54. Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.
#+end_example
The text as rendered, and renumbered, by export:
#begin_quote
A few of Alan J. Perlis\rsquo{} [[http://www-pu.informatik.uni-tuebingen.de/users/klaeren/epigrams.html][Epigrams on Programming]]:
8. A programming language is low level when its programs require attention to the irrelevant.
15. Everything should be built top-down, except the first time.
31. Simplicity does not precede complexity, but follows it.
54. Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.
#end_quote
您可以通过以 [@8]
开头的项目文本将项目编号设置为您想要的任何值(例如)。 See Ordered List here.
一个工作示例:
A list with custom ordering:
1. [@8] apple
1. [@77] orange
1. [@101] lime
导出文档时,列表编号将为 8、77 和 101。