小编Pse*_*ist的帖子

org-html-publish-to-html上的隐秘消息

我试图将组织文件发布到html但是在尝试发布我的.org文件时收到此错误:

org-export-dispatch: Wrong number of arguments: #[(&optional force) "
Run Code Online (Sandbox Code Playgroud)

然后是一堆奇怪的符号,不会粘贴......后面跟着

[wconfig force org-publish-use-timestamps-flag project current-window-configuration     ((setwindow-configuration wconfig)) org-publish-get-project-from-filename buffer-file-name up     error ...] 4 ("/usr/share/emacs/24.1/lisp/org/org-publish.elc" . 31315) "P"], 2
Run Code Online (Sandbox Code Playgroud)

以下是我的.emacs文件的相关部分的设置:

(require 'org-publish)
(setq org-publish-alist
  '(("org-html" 
 :base-directory "~/org/"
 :base-extension "org"
 :publishing-directory "~/public_html/"
 :recursive t
 :publishing-function org-html-publish-to-html
 :table-of-contents: nil
 :auto-postamble nil
 )
("org-static"
 :base-directory "~/org/"
 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
 :publishing-directory "~/public_html/files"
 :recursive t
 :publishing-function org-publish-attachment
 )
   ("org" :components ("org-html" "org-static"))
   )
  )
Run Code Online (Sandbox Code Playgroud)

有关为什么不发布的任何建议?

html emacs org-mode

4
推荐指数
1
解决办法
557
查看次数

标签 统计

emacs ×1

html ×1

org-mode ×1