From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Jackson Subject: Re: Version 7.5: org-export-html-preamble no longer supports function Date: Tue, 08 Mar 2011 19:48:17 -0800 Message-ID: <4D76F881.6060507@jacksonhost.com> References: <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=49315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxANr-0001cK-Na for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 22:48:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxANq-0008Jc-Ex for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 22:48:23 -0500 Received: from oproxy2-pub.bluehost.com ([67.222.39.60]:55377) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PxANq-0008Is-8e for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 22:48:22 -0500 In-Reply-To: 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: Jeff Horn Cc: emacs-orgmode@gnu.org I had read this discussion thread (more than once!), but have not been able to figure out how to accomplish what I was doing under 7.4 without support for passing a function in org-export-html-preamble. I know how to generate a preamble, but not how to generate one customized for each .org source file. Am I missing something? Jeff Horn wrote, On 3/8/2011 7:35 PM: > See http://article.gmane.org/gmane.emacs.orgmode/37360/match=preamble > > On Tue, Mar 8, 2011 at 9:12 PM, Bill Jackson wrote: >> 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 >> >> > >