I have a working setup with ox-publish and now i am trying to organize it. My problem is that i cannot assign a variable to the keyword-symbols like in the snippet below.
(setq my-org-base-dir "~/documents/todo")
(setq my-org-exp-dir "~/documents/todo_html")
(require 'ox-publish)
(setq org-publish-project-alist
'(
("org-notes"
:base-directory my-org-base-dir
:base-extension "org"
; ....
)
("org-static"
:base-directory my-org-base-dir
; ....
)
("org" :components ("org-notes" "org-static"))
))
Using :base-directory "~/documents/todo"
works just fine but if i try to use the value from a variable (:base-directory my-org-base-dir
) emacs gives me Wrong type argument: stringp, org-base-dir
when i try to export.
How do i assign a value to a Keyword?