[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble
From: |
Bastien |
Subject: |
[Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble |
Date: |
Thu, 10 Feb 2011 14:01:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Here is a patch against latest git Org that tries to simplify the
handling of HTML preamble/postamble: I find the interaction between
:preamble and :auto-preamble a bit confusing and a recent questions by
Jeff on customizing org-export-html-preamble raised this issue.
So here is what I suggest:
- `org-export-html-preamble' is a custom variable to tell whether a HTML
preamble should be included or not;
- `org-export-html-preamble-format' is a format string controlling what
is included in the preamble;
- In publishing project, everything is done from :html-preamble:
+ when `t', inserts a preamble with the default formatting
+ when an alist, insert a preamble with this alist formatting
+ when nil, no preamble is inserted.
(Same for postamble).
This also let people use their own HTML classes, language-based
preamble/postamble, etc.
Would people welcome such a simplification?
Thanks!
0001-Rewrite-the-handling-of-HTML-preamble-postamble.patch
Description: Text Data
--
Bastien
- [Orgmode] [PATCH] Simplifying the handling of HTML preamble/postamble,
Bastien <=