From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Function for html-preamble and html-postamble in org-publish Date: Mon, 12 Dec 2011 16:30:19 +0100 Message-ID: <874nx5u7sk.fsf@gnu.org> References: <4EE53EE5.7040103@jacksonhost.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra7om-0006S9-3d for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 10:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra7oh-0003Ds-0z for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 10:29:28 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:64764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra7og-0003Dg-RY for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 10:29:22 -0500 Received: by vbbfn1 with SMTP id fn1so4523154vbb.0 for ; Mon, 12 Dec 2011 07:29:22 -0800 (PST) In-Reply-To: <4EE53EE5.7040103@jacksonhost.com> (Bill Jackson's message of "Sun, 11 Dec 2011 15:38:13 -0800") 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: Bill Jackson Cc: emacs-orgmode@gnu.org Hi Bill, Bill Jackson writes: > In version 7.7, a function provided to org-publish via :html-preamble or > :html-postamble no longer accepts a property list of export options. I do > not know if this change is a bug, or if it is deliberate. This is deliberate: I think the average user should not worry about handling opt-plist if she doesn't know what it is for. Still, as the manual says, you can use opt-plist within your function. Can you use it so? There was a problem with inserting the output string of the function, I just fixed this. Let me know if things are fine on your side. > I was able to restore the previous behavior simply by editing org-html.el > to again pass opt-plist on the two lines, but am interested in what the > future direction is for customizing the HTML output for org-publish. Was > this change unintentional, a deliberate minor change, or is org-publish or > org-html undergoing significant re-design? If this was deliberate, is > there an alternate method for customization functions to access the > property list? Well, this area is definitely going to evolve in the next few months. I try not to break anything in the meantime. Best, -- Bastien