emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Publishing to html With the New Exporter
Date: Mon, 18 Feb 2013 12:51:10 +0000	[thread overview]
Message-ID: <512223BE.80500@wilkesley.net> (raw)

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.

             reply	other threads:[~2013-02-18 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 12:51 Ian Barton [this message]
2013-02-18 13:54 ` Publishing to html With the New Exporter Nicolas Goaziou
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=512223BE.80500@wilkesley.net \
    --to=lists@wilkesley.net \
    --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).