[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Rework org-export-html-preamble/postamble (again)
From: |
Bastien |
Subject: |
Re: [O] Rework org-export-html-preamble/postamble (again) |
Date: |
Thu, 17 Mar 2011 08:08:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Jason,
Jason Dunsmore <address@hidden> writes:
> Set :html-preamble to:
>
> "<div class=\"menu\"> \
> <a href=\"index.html\">index</a> :: \
> <a href=\"changelog.html\">changelog</a> :: \
> <a href=\"sitemap.html\">sitemap</a> \
> </div>"
>
> When I export as HTML with this config, I don't see an <h1>title</h1>.
> Do you?
I don't -- and this is on purpose.
> Previously, :html-preamble could be set to a format string without
> "<h1>%t</h1>" and "<h1>title</h1>" 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 "<h1>title</h1>".
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:
,----
| "<h1 class=\"title\">%t</h1>
|
| <div class=\"menu\"> \
| <a href=\"index.html\">index</a> :: \
| <a href=\"changelog.html\">changelog</a> :: \
| <a href=\"sitemap.html\">sitemap</a> \
| </div>"
`----
HTH,
--
Bastien
- [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/09
- Re: [O] Rework org-export-html-preamble/postamble (again), Jason Dunsmore, 2011/03/09
- Re: [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/10
- Re: [O] Rework org-export-html-preamble/postamble (again), Jason Dunsmore, 2011/03/10
- Re: [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/10
- Re: [O] Rework org-export-html-preamble/postamble (again), Jason Dunsmore, 2011/03/15
- Re: [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/15
- Re: [O] Rework org-export-html-preamble/postamble (again), Jason Dunsmore, 2011/03/15
- Re: [O] Rework org-export-html-preamble/postamble (again),
Bastien <=
- Re: [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/15