[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: |
Jason Dunsmore |
Subject: |
Re: [O] Rework org-export-html-preamble/postamble (again) |
Date: |
Tue, 15 Mar 2011 15:26:31 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Bastien <address@hidden> writes:
> Hi Jason,
>
> Jason Dunsmore <address@hidden> writes:
>
>>> You mean that, without any :html-preamble and with
>>> ̀org-export-html-preamble' set to `t' (as it is by default in these
>>> patches), you don't see any <h1>title</h1> ?
>>
>> If :html-preamble isn't set, I see an <h1>title</h1>.
>
> When :html-preamble in a publishing project, it falls back on
> org-export-html-preamble, which defaults to `t'.
>
> You need to set :html-preamble to nil so that the HTML export
> doesn't insert <h1>title</h1>.
>
>> If it is set,
>
> (to what?)
>
>> but without explicitly defining "<h1 class=\"title\">%t</h1>" in the
>> :html-preamble string, there is no <h1>title</h1>.
>
> When :html-preamble is set to `t' in a publishing project, and
> org-export-html-preamble-format hasn't been modified, it should
> insert <h1 class=\"title\">%t</h1> -- it does here.
Yes, the same happens for me. The case I'm referring to is
when :html-preamble is set to a string.
> Can you give an example I can test?
Set :html-preamble to:
--8<---------------cut here---------------start------------->8---
"<div class=\"menu\"> \
<a href=\"index.html\">index</a> :: \
<a href=\"changelog.html\">changelog</a> :: \
<a href=\"sitemap.html\">sitemap</a> \
</div>"
--8<---------------cut here---------------end--------------->8---
When I export as HTML with this config, I don't see an <h1>title</h1>.
Do you?
Previously, :html-preamble could be set to a format string without
"<h1>%t</h1>" and "<h1>title</h1>" would still be exported.
Regards,
Jason
- [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 <=
- Re: [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/17
- Re: [O] Rework org-export-html-preamble/postamble (again), Bastien, 2011/03/15