emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Publishing to html With the New Exporter


From: Nicolas Goaziou
Subject: Re: [O] Publishing to html With the New Exporter
Date: Mon, 18 Feb 2013 14:54:09 +0100

Hello,

Ian Barton <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]