From: Jason Dunsmore <emacs-orgmode@dunsmor.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Rework org-export-html-preamble/postamble (again)
Date: Tue, 15 Mar 2011 15:26:31 -0500 [thread overview]
Message-ID: <87aagwuo3s.fsf@riotblast.dunsmor.com> (raw)
In-Reply-To: <87ei68dzk7.fsf@gnu.org> (Bastien's message of "Tue, 15 Mar 2011 19:11:04 +0100")
Bastien <bzg@altern.org> writes:
> Hi Jason,
>
> Jason Dunsmore <emacs-orgmode@dunsmor.com> 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
next prev parent reply other threads:[~2011-03-15 20:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 16:17 Rework org-export-html-preamble/postamble (again) Bastien
2011-03-09 20:21 ` Jason Dunsmore
2011-03-10 9:27 ` Bastien
2011-03-10 14:46 ` Jason Dunsmore
2011-03-10 18:29 ` Bastien
2011-03-15 15:55 ` Jason Dunsmore
2011-03-15 18:11 ` Bastien
2011-03-15 20:26 ` Jason Dunsmore [this message]
2011-03-17 7:08 ` Bastien
2011-03-15 15:25 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aagwuo3s.fsf@riotblast.dunsmor.com \
--to=emacs-orgmode@dunsmor.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.