From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Publishing to html With the New Exporter Date: Mon, 18 Feb 2013 12:51:10 +0000 Message-ID: <512223BE.80500@wilkesley.net> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7QBh-0006MC-VG for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 07:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7QBd-0004nd-Ud for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 07:51:17 -0500 Received: from mail2.wilkesley.net ([109.74.196.44]:53079 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7QBd-0004my-P0 for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 07:51:13 -0500 Received: from [192.168.0.58] (unknown [46.33.134.31]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 9EB0E3A14BE for ; Mon, 18 Feb 2013 12:51:10 +0000 (GMT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I am trying to change my publishing setup over to use the new exporter. With the recent merge and change of names from -e-backend to -ox-backend I am a bit confused as to how I should set up my publishing alist. I have tried: #+begin_example (require 'ox-html) (require 'ox-publish) ;;(require 'org-publish) (setq org-publish-project-alist '( ("org-static-ian" :base-directory "~/Dropbox/web_sites/ianbarton/org/_posts" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php" :publishing-directory "~/Dropbox/web_sites/ianbarton/pelican/blog/content" :recursive t :publishing-function org-ox-publish-attachment) ("org-ianbarton" :base-directory "~/Dropbox/web_sites/ianbarton/org/_posts" :base-extension "org" :publishing-directory "~/Dropbox/web_sites/ianbarton/pelican/blog/content" :recursive t :publishing-function org-ox-html-publish-to-html :headline-levels 4 ; Just the default for this project. :auto-preamble t :auto-index f :html-extension "yml" :auto-preamble t :body-only t ) ("ianbarton" :components ("org-ianbarton" "org-static-ian")) )) #+end_example However, org-ox-html-publish-to-html isn't defined anywhere. Browsing through ox-publish.el it seems I should be using org-publish-org-to to with a symbol, but I can't seem to manage to find the correct syntax. Can anyone enlighten me? Ian.