I am using org-mode for generating a static website for my notes. For this, I followed the tutoriala at:
And this is the relevant part on my .emacs file:
;; Org-mode html publish (require 'ox-publish) (setq org-publish-project-alist '( ("org-notes" :base-directory "~/org/" :base-extension "org" :publishing-directory "~/public_html/" :recursive t :publishing-function org-html-publish-to-html :headline-levels 4 ; Just the default for this project. :auto-preamble t ) ("org-static" :base-directory "~/org/" :base-extension "css\\|js\\|php\\|jpg\\|png\\" :publishing-directory "~/public_html/" :recursive t :publishing-function org-publish-attachment ) ("org" :components ("org-notes" "org-static")) ))
And I used this one for quite some time now. But lately, when I do
M-x org-publish-project and pick
org-static, it fails with the error message
Invalid regexp: "Unmatched ( or \\(". I wonder where is the problem in my config and how this started failing all of a sudden. The project
org-notes still works fine.