emacs org mode 的publish的导航问题

Vim、Emacs配置和使用
回复
Mazenvoy
帖子: 306
注册时间: 2010-04-02 21:17

emacs org mode 的publish的导航问题

#1

帖子 Mazenvoy » 2012-03-04 17:35

代码: 全选

(require 'org-publish)
(setq org-publish-project-alist
      '(
("org-notes"
 :base-directory "~/org/"
 :base-extension "org"
 :publishing-directory "~/public_html/"
 :recursive t
 :publishing-function org-publish-org-to-html
 :headline-levels 4             ; Just the default for this project.
 :auto-preamble t
 :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/worg.css\">" 
 :makeindex "testindex.org"
 :email "[email protected]"
 :author "fengya90"
 :auto-sitemap t                ; Generate sitemap.org automagically...
 :sitemap-filename "sitemap.org"  ; ... call it sitemap.org (it's the default)...
 :sitemap-title "Sitemap"         ; ... with title 'Sitemap'.
 )
("org-static"
 xxxxxxxxxxxxx
xxxxxxxx
 )

("org" :components ("org-notes" "org-static")).

      ))
上面代码关键是这三句

代码: 全选

:auto-sitemap t                ; Generate sitemap.org automagically...
 :sitemap-filename "sitemap.org"  ; ... call it sitemap.org (it's the default)...
 :sitemap-title "Sitemap"         ; ... with title 'Sitemap'.
来源是http://orgmode.org/worg/org-tutorials/o ... html#sec-8
这难道不是导航的正确配置么,可是我publish后没有出现导航页面的样子
Mazenvoy
帖子: 306
注册时间: 2010-04-02 21:17

Re: emacs org mode 的publish的导航问题

#2

帖子 Mazenvoy » 2012-03-05 10:57

我的emacs org mode出错的关键在于,emacs自带的org mode版本落后,我按照新手册来做,就出错了
回复