From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Simplifying the handling of HTML preamble/postamble Date: Thu, 10 Feb 2011 16:47:23 +0100 Message-ID: <87y65nvqlw.fsf@gnu.org> References: <87d3n0rqkn.fsf@altern.org> <87hbcc3p87.fsf@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=35241 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnYjv-0007JY-7O for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 10:47:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnYjn-0007Le-Am for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 10:47:20 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:60796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnYjn-0007LT-0O for emacs-orgmode@gnu.org; Thu, 10 Feb 2011 10:47:19 -0500 Received: by fxm12 with SMTP id 12so1663124fxm.0 for ; Thu, 10 Feb 2011 07:47:18 -0800 (PST) In-Reply-To: <87hbcc3p87.fsf@univ-nantes.fr> (Manuel Giraud's message of "Thu, 10 Feb 2011 16:04:40 +0100") 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: Manuel Giraud Cc: emacs-orgmode@gnu.org Manuel Giraud writes: > Bastien writes: > >> Would people welcome such a simplification? > > I've tried it and find it better (and simpler) then with > :auto-preamble/:preamble. Thanks for the feedback! > Some comments: > > + example in info file is not the same as before because postamble > is on by default (maybe we could put a formated string as example > here) I'll put two examples, one with :html-preamble t and another one with :html-postamble using a format string. As for org-export-html-preamble and -postamble being t by default, it's a mistake I made. I think they should default to nil. But I'd welcome another opinion! > + I was confused by /html/ in :html-preamble but since only html > exports use it I guess that makes sense. Yes, I think it clarifies things. -- Bastien