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: Wed, 09 Mar 2011 10:53:13 -0800 Message-ID: <4D77CC99.6040803@jacksonhost.com> References: <4D76E207.5070803@jacksonhost.com> <87hbbc8dxd.fsf@gnu.org> 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=33463 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxOVc-0006bB-9v for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:53:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxOVZ-00053l-AT for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:53:20 -0500 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:55418) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PxOVZ-00053V-3S for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:53:17 -0500 In-Reply-To: <87hbbc8dxd.fsf@gnu.org> 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: Bastien , emacs-orgmode@gnu.org Bastien wrote, On 3/9/2011 8:19 AM: > Bill Jackson writes: >> 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. > See my last patch. It allows to set org-export-html-pre/postamble to a > function that will return a string. The function take opt-plist as its > only argument -- as org-export-html-preamble used to do. > > Let me know if it works for you! This works for me. I have not tested it _carefully_, but I did apply your patch and my setup now works as it did before. (Of course :preamble and :postamble needed to be changed to :html-preamble :html-postamble for org-publish.) I must say that I am impressed by the work of everyone involved with org-mode. I have been using the package for over a year and I love the simplicity, power, and flexibility. To receive responses so quickly, and to questions regarding undocumented features no less, is amazing. Many thanks!