【发布时间】:2014-03-06 22:18:52
【问题描述】:
我正在尝试找到从导出树中排除多个文件的方法。例如,在org-publish-project-alist 中的以下示例中,我排除了level-0.org,因此不会在/foo/bar/pub 以及站点地图中创建它。
("somewebproject"
:base-directory "/foo/bar/src"
:base-extension "org"
:publishing-directory "/foo/bar/pub"
:recursive t
:exclude "level-0.org"
:publishing-function org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t
:auto-sitemap t
:html-link-up "sitemap.html"
:html-link-home "index.html"
:sitemap-title "My Sitemap"
)
但是,我还有一个名为 level-1.org 的文件,我也想排除它,将文件放入列表中,例如 '("level-0.org" "level-1.org") 似乎也无济于事。
关于使它在这个 sn-p 中工作的任何提示,或者如果有更好的方法来做到这一点,我们将不胜感激!
【问题讨论】: