From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Publishing to html With the New Exporter Date: Wed, 13 Mar 2013 11:40:07 +0000 Message-ID: <87r4jj8r54.fsf@ucl.ac.uk> References: <512223BE.80500@wilkesley.net> <87bobhwwvy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFk2j-0003d5-L2 for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 07:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFk2f-0007eC-C2 for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 07:40:25 -0400 Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13]:19900 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFk2f-0007dP-7l for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 07:40:21 -0400 Received: from mail103-va3 (localhost [127.0.0.1]) by mail103-va3-R.bigfish.com (Postfix) with ESMTP id B2BFE4C0160 for ; Wed, 13 Mar 2013 11:40:14 +0000 (UTC) Received: from VA3EHSMHS037.bigfish.com (unknown [10.7.14.229]) by mail103-va3.bigfish.com (Postfix) with ESMTP id 31774C0051 for ; Wed, 13 Mar 2013 11:40:13 +0000 (UTC) In-Reply-To: <87bobhwwvy.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 18 Feb 2013 14:54:09 +0100") 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: emacs-orgmode@gnu.org 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)