【发布时间】:2016-02-15 09:32:33
【问题描述】:
我有一个要导出到 Latex 的 emacs org-mode 文档。我想对编号的部分进行 4 级分级。我需要做什么才能完成这项工作?
我使用的是cygwin emacs 24.5.1/org mode 8.3.3
我得到的是 SubSubSubSection 1 部分都被编号,并且似乎也被视为列表项。
这是我的示例组织文件
#+TITLE: Example Title
#+DATE: Time-stamp: <16:28:21 Friday 12 February 2016 dJeremy>
#+AUTHOR: An Author
#+EMAIL: me@example.com
#+OPTIONS: H:6 num:6
* Last Section
** SubSection 1
*** SubSubSection 1
Deep in the sections.
*** SubSubSection 2
**** SubSubSubSection 1
Nested deeply here.
Really!
*** SubSubSection 3
** SubSection 2
The end of the subs.
这就是我在 PDF 中得到的(使用 windows MikTex 处理)。这是手动输入的,但你明白了。目录省略。
1 Last Section
1.1 SubSection 1
1.1.1 SubSubSection 1
Deep in the sections.
1.1.2 SubSubSection 2
1.1.2.1 SubSubSubSection 1 Nested deeply here.
Really!
1.1.3 SubSubSection 3
1.2 SubSection 2
The end of the subs.
[更新]
我希望 1.1.2.1 看起来像这样:
1.1.2.1 SubSubSubSection 1
Nested deeply here
Really!
[更新 2] 我查看了 org 模式创建的 tex 文件,它看起来不错(没有像 pdf 中那样奇怪的格式)。所以问题在于 lualatex 以及我如何使用它。
在 pastebin here 中查看完整的 tex 文件。
【问题讨论】:
-
默认情况下,LaTeX 只下降到
subsubsection。请参阅this post on the TeX site 了解添加低于该级别的信息。 -
@Dan 在我的输出中,numbering 是可以的,但是第一句放错了地方。我在上面添加了我所期望的部分
-
尝试 SubSubSubSection 1 \\
-
@John Kitchin 我试过了,它确实奏效了,但它是一个杂项。请参阅更新 2。
-
我不认为 lualatex 是问题所在。在那个分段级别,我认为它相当于一个段落。