I am having some trouble setting my org-publish blog. Basically I have the following config, but when I try to publish I get the following error:
Wrong type argument: stringp, (\, publish-directory-path)
So what this means to me is that, the :publishing-directory property is expecting a string, and I am not giving it a string, even though clearly the variable publish-directory-path is a string.
I have been going crazy with this. Any idea on what is happening?
(defvar publish-directory-path "~/Projects/Public/")
(setq org-publish-project-alist
'(("org-notes"
:base-directory "~/Projects/blog/"
:base-extendion "org"
:publishing-directory ,publish-directory-path
:recursive t
:makeindex t
:html-postamble nil
:publishing-function org-html-publish-to-html
:auto-sitemap t
:html-link-home "theindex.html"
:html-link-up "theindex.html"
:sitemap-filename "theindex.org"
)
("org-static"
:base-directory "~/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/Projects/Public/"
:recursive t
:publishing-function org-publish-attachment
)
("org" :components ("org-notes" "org-static"))
))