From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Publishing to html With the New Exporter Date: Mon, 18 Feb 2013 14:54:09 +0100 Message-ID: <87bobhwwvy.fsf@gmail.com> References: <512223BE.80500@wilkesley.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7RAy-0001SN-I2 for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 08:54:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7RAw-0005g2-RO for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 08:54:36 -0500 Received: from mail-we0-x234.google.com ([2a00:1450:400c:c03::234]:65094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7RAw-0005fp-KO for emacs-orgmode@gnu.org; Mon, 18 Feb 2013 08:54:34 -0500 Received: by mail-we0-f180.google.com with SMTP id k14so4616521wer.39 for ; Mon, 18 Feb 2013 05:54:33 -0800 (PST) In-Reply-To: <512223BE.80500@wilkesley.net> (Ian Barton's message of "Mon, 18 Feb 2013 12:51:10 +0000") 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: ian@manor-farm.org Cc: emacs-orgmode@gnu.org Hello, Ian Barton writes: > 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) FWIW, (require 'ox-html) also requires '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) This should be `org-html-publish-to-html'. > > > ("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 Regards, -- Nicolas Goaziou