emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: ian@manor-farm.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Publishing to html With the New Exporter
Date: Mon, 18 Feb 2013 14:54:09 +0100	[thread overview]
Message-ID: <87bobhwwvy.fsf@gmail.com> (raw)
In-Reply-To: <512223BE.80500@wilkesley.net> (Ian Barton's message of "Mon, 18 Feb 2013 12:51:10 +0000")

Hello,

Ian Barton <lists@wilkesley.net> 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	other threads:[~2013-02-18 13:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 12:51 Publishing to html With the New Exporter Ian Barton
2013-02-18 13:54 ` Nicolas Goaziou [this message]
2013-02-18 14:58   ` Ian Barton
2013-02-18 17:25     ` Nicolas Goaziou
2013-02-18 17:45       ` Ian Barton
2013-03-13 11:40   ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bobhwwvy.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian@manor-farm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).