From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Publishing to html With the New Exporter
Date: Wed, 13 Mar 2013 11:40:07 +0000 [thread overview]
Message-ID: <87r4jj8r54.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87bobhwwvy.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 18 Feb 2013 14:54:09 +0100")
Hello,
I had to update my web site [1] today, a site which is written in
org. This was the first attempt at using the new exporter for
publishing for a site written with the old exporter in mind. I thought
I would summarise the changes I had to make to have them all in one
place:
1. change #+SETUPFILE: to #+INCLUDE: and add quotes to the file name.
2. change all configuration lines that I had previously commented out by
adding a # (to get "##+") at the start to just "# +" as comment lines
now must start with "# ". This is not a change due to the new
exporter but one that came in a while ago -- you can tell how often I
update my web site! :(
3. add ":publishing-function" to all of my entries in
org-publish-project-alist. Before, no such entry was required. The
value of this setting is "org-html-publish-to-html" and this entry
appears to be required in each element in the alist even for entries
that are referred to by other entries.
4. change all #+STYLE: directives to #+HTML_HEAD:
After this, everything worked perfectly fine (well, except for some
ditaa related export issues which I will address later). I am
summarising this here as it took me a while to track down the various
bits by trawling the mailing list and Worg.
Again, thanks to all involved and Nicolas in particular for the new exporter.
eric
Footnotes:
[1] http://www.homepages.ucl.ac.uk/~ucecesf/
--
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
prev parent reply other threads:[~2013-03-13 11:40 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
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 [this message]
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=87r4jj8r54.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.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).