Hi,

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
      '(("org-notes"
     :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
     )
    ("org-static"
     :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 ?

pw

Reply via email to