[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] error when publishing

From: pw
Subject: [O] error when publishing
Date: Fri, 13 Sep 2013 16:29:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130821 Icedove/17.0.8


With org-mode 8.0.7 (emacs 23.4.1), I have some problems to publish a project.

I have this error : "Publishing file /home/xxx/site/org/index.org using `org-publish-org-to-html' find-buffer-visiting: Wrong type argument: stringp, (:base-directory "~/site/org/" :base-extension "org" :publishing-directory "~/site/public_html/" :recursive t :publishing-function org-publish-org-to-html ...)"

I also had once this error : "org-publish-file: Symbol's function definition is void: org-publish-org-to-html"

I have this code into my .emacs :
;; org-mode publishing
(require 'org-publish)
(setq org-publish-project-alist
     :base-directory "~/site/org/"
     :base-extension "org"
     :publishing-directory "~/site/public_html/"
     :recursive t
     :publishing-function org-publish-org-to-html
     :section-numbers nil
     :table-of-contents nil
     :export-creator-info nil
     :export-author-info nil
     :auto-preamble t
     :base-directory "~/site/org/"
     :base-extension "css\\|js\\|png\\|jpg\\|pdf\\|mp3\\|ogg"
     :publishing-directory "~/site/public_html/"
     :recursive t
     :publishing-function org-publish-attachment
    ("site" :components ("org-notes" "org-static"))))

Any ideas ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]