From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Rework org-export-html-preamble/postamble (again) Date: Thu, 17 Mar 2011 08:08:58 +0100 Message-ID: <87d3lqp30o.fsf@altern.org> References: <87pqq08e0e.fsf@gnu.org> <87d3m0dozi.fsf@riotblast.dunsmor.com> <874o7bgwa4.fsf@gnu.org> <87aah3c9t3.fsf@riotblast.dunsmor.com> <87ipvqrfrf.fsf@gnu.org> <87wrk0z8dm.fsf@riotblast.dunsmor.com> <87ei68dzk7.fsf@gnu.org> <87aagwuo3s.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58123 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q08Wi-00012o-GJ for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:25:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q08Wh-00012L-16 for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:25:47 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:38445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q08Wg-00012B-PV for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:25:46 -0400 Received: by wyf19 with SMTP id 19so2772921wyf.0 for ; Thu, 17 Mar 2011 01:25:46 -0700 (PDT) In-Reply-To: <87aagwuo3s.fsf@riotblast.dunsmor.com> (Jason Dunsmore's message of "Tue, 15 Mar 2011 15:26:31 -0500") 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: Jason Dunsmore Cc: emacs-orgmode@gnu.org Hi Jason, Jason Dunsmore writes: > Set :html-preamble to: > > "
\ > index :: \ > changelog :: \ > sitemap \ >
" > > When I export as HTML with this config, I don't see an

title

. > Do you? I don't -- and this is on purpose. > Previously, :html-preamble could be set to a format string without > "

%t

" and "

title

" would still be exported. Previously, we had two variables controlling preamble(s): `org-export-html-preamble' `org-export-html-auto-preamble' the first one defaulted to nil, the last one to "

title

". So setting `org-export-html-preamble' in any fashing would add a preamble to the default one (controlled by :auto-preamble in a publishing project). You need to set :html-preamble to this: ,---- | "

%t

| |
\ | index :: \ | changelog :: \ | sitemap \ |
" `---- HTH, -- Bastien