Rewrite the handling of HTML preamble/postamble.
commitda8dc7bba72613131f97a28f1c4a912b8d85d7cc
authorBastien Guerry <bzg@altern.org>
Thu, 10 Feb 2011 12:19:37 +0000 (10 13:19 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 11 Feb 2011 00:27:15 +0000 (11 01:27 +0100)
treecb6a454af84de64ccd7d20efd95380d5807c83af
parentf9c833dad015b7847f659e06bac8690b9d7d3794
Rewrite the handling of HTML preamble/postamble.

* org-html.el (org-export-html-auto-preamble)
(org-export-html-auto-postamble): Remove.
(org-export-html-preamble, org-export-html-postamble): Turn
into custom variables.  Update the docstrings.
(org-export-html-preamble-format)
(org-export-html-postamble-format): New custom variables.
(org-export-as-html): Use org-export-html-postamble-format and
org-export-html-preamble-format.
(org-export-html-title-format): delete.

* org-exp.el (org-export-plist-vars): Remove
:auto-preamble and :auto-postamble.  Rename :preamble and
:postamble to :html-preamble and :html-postamble.

* org-publish.el (org-publish-project-alist): Remove
:auto-preamble and :auto-postamble.  Rename :preamble and
:postamble to :html-preamble and :html-postamble.

* org.texi (Publishing options): replace :preamble and
:auto-preamble by :html-preamble (same for postamble.)
doc/org.texi
lisp/org-exp.el
lisp/org-html.el
lisp/org-publish.el