【发布时间】:2015-09-01 14:45:27
【问题描述】:
我正在编写文档,而我的一份文档开始变得非常庞大。我决定将其分解为多个部分并将它们全部包含在一个主要部分中,但我意识到这样做时我无法正确导出 html 文件。
示例:
我有一个主 org 文件:
#+TITLE: SO Example
#+LaTeX_CLASS: memoir
#+OPTIONS: ^:nil LaTeX:nil TeX:nil
* 1st Level
This is the first level.
#+INCLUDE: "nested_includes.org"
nested_includes.org 看起来像:
** 2nd Level
This is the second level
#+INCLUDE: "single_include.org"
single_include.org 看起来像:
*** 3rd Level
This is the third level
我使用以下命令构建我的 HTML 文件:
C:\...\emacs\bin\emacs.exe parent.org --batch -q --no-site-file --load C:\...\site-lisp\org-html-so.el -f org-export-as-html --kill
这就是我的 org-html-so.el 的样子:
(setq org-export-author-info nil)
(setq org-export-creator-info nil)
(setq org-export-time-stamp-file nil)
(setq org-export-with-timestamps nil)
当我构建时,我最终会得到这样的东西:
与此同时,我期待这样的事情:
这是 emacs org 模式的已知问题/限制吗? 有没有办法增加包含深度?
谢谢!
【问题讨论】: