From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Re: HTML export options are being ignored Date: Fri, 04 Mar 2011 17:06:45 +0100 Message-ID: <8062ryg99m.fsf@somewhere.org> References: <877hcmyiqu.fsf@riotblast.dunsmor.com> <8739nayhp7.fsf@riotblast.dunsmor.com> <87sjv2ant4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Bastien, Bastien wrote: > Hi Jason, > > Jason Dunsmore writes: > >> http://orgmode.org/w/org-mode.git/commitdiff/da8dc7bba7261 >> >> 1) :preamble was renamed :html-preamble >> 2) :postamble was renamed :html-postamble >> 3) org-export-email-info is no longer checked before attempting export >> of email address. >> >> For the first two, the manual needs to be updated.=20=20 > > Done, thanks. > >> The third change seems like a bug. > > Yes. I've changed the default of org-export-html-preamble (and > postamble) to nil, so that the default behavior reproduce the old=20 > one, and author/email/creator-info options will be honored. You meant to `t' (not to `nil'), as shown by lines 346--388 of `org-html.el= ': #+begin_src emacs-lisp (defcustom org-export-html-preamble t "Non-nil means insert a preamble in HTML export. The format of the preamble is set as `org-export-html-preamble-format'. Setting :html-preamble in publishing projects will override this." :group 'org-export-html :type 'boolean) (defcustom org-export-html-preamble-format '(("en" "

%t

")) "The format for the HTML preamble. %t stands for the title. If you need to use a \"%\" character, you need to escape it like that: \"%%\"." :group 'org-export-html :type 'string) (defcustom org-export-html-postamble t "Non-nil means insert a postamble in HTML export. The format of the postamble is set as `org-export-html-postamble-format'. Setting :html-postamble in publishing projects will override this." :group 'org-export-html :type 'boolean) (defcustom org-export-html-postamble-format '(("en" "

Author: %a (%e)

Date: %d

Generated by %c

%v

")) "The format for the HTML postamble. %a stands for the author. %e stands for the email(s). %d stands for the date. %c will be replaced by information about Org/Emacs. %v will be replaced by `org-export-html-validation-link'. If you need to use a \"%\" character, you need to escape it like that: \"%%\"." :group 'org-export-html :type 'string) #+end_src Best regards, Seb --=20 S=C3=A9bastien Vauban