emacs - Cryptic message on org-html-publish-to-html -
i trying publish org files html receive error upon trying publish .org file:
org-export-dispatch: wrong number of arguments: #[(&optional force) "
then bunch of weird symbols won't paste... followed by
[wconfig force org-publish-use-timestamps-flag project current-window-configuration ((setwindow-configuration wconfig)) org-publish-get-project-from-filename buffer-file-name error ...] 4 ("/usr/share/emacs/24.1/lisp/org/org-publish.elc" . 31315) "p"], 2
here setup of relevant portions of .emacs file publishing:
(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")) ) )
any suggestions why won't publish?
i having conflict syntax because of recent changes exporter. here code, functioning:
(require 'ox-publish) (require 'ox-html) (setq org-publish-project-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/" :recursive t :publishing-function org-publish-attachment) ("org" :components ("org-html" "org-static"))))
Comments
Post a Comment