From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Jackson Subject: Version 7.5: org-export-html-preamble no longer supports function Date: Tue, 08 Mar 2011 18:12:23 -0800 Message-ID: <4D76E207.5070803@jacksonhost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34695 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px96Z-000672-VF for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 21:26:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px8t0-0000LR-SN for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 21:12:27 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:38940) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Px8t0-0000Ky-FI for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 21:12:26 -0500 Received: from ip68-4-160-44.oc.oc.cox.net ([68.4.160.44] helo=[127.0.0.1]) by box291.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Px8sx-0002K6-Q5 for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 19:12:24 -0700 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org In version 7.4, org-export-html-preamble and org-export-html-postamble could be set to the name of a function that was passed an option plist. This appears to no longer be supported in 7.5. I used this functionality when publishing to generate a preamble and postamble to integrate the generated pages into my website, which included a common page layout, header bar, and footer. I was able to define options in org-export-inbuffer-options-extra, define values for these options in a .org file, and incorporate them into the preamble via the option plist passed to the org-export-html-preamble function. Is there another way in version 7.5 that I can generate custom preambles and postambles incorporating variables from each file at the time of publishing? With much thanks, Bill