From: Bastien <bzg@altern.org>
To: Robert Klein <roklein@roklein.de>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: new org-export-html-preamble
Date: Wed, 02 Mar 2011 18:31:17 +0100 [thread overview]
Message-ID: <874o7l5t0a.fsf@gnu.org> (raw)
In-Reply-To: <4D6BD420.7090403@roklein.de> (Robert Klein's message of "Mon, 28 Feb 2011 17:58:08 +0100")
Hi Robert,
Robert Klein <roklein@roklein.de> writes:
>> I think you just need to change
>>
>> :preamble "my preamble"
>>
>> to
>>
>> :html-preamble "my preamble"
>>
>> and similarly for postamble, so no elisp necessary.
Yes, that's it.
> Your suggestion works, but I had to polish my escapes in the format string,
> e.g.
> width=\"20\%\"
> now has to be
> width=\"20\%%\"
>
> because of the format-spec function used instead of org-replace-escapes.
>
> Probably will have to be careful with the sitemap also; there was a patch
> on Feb. 11, which also uses format-spec.
I've added explanations on how to escape the % character in such
variables, thanks for spotting this.
--
Bastien
prev parent reply other threads:[~2011-03-02 17:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-28 16:29 new org-export-html-preamble Robert Klein
2011-02-28 16:35 ` Nick Dokos
2011-02-28 16:58 ` Robert Klein
2011-03-02 17:31 ` Bastien [this message]
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874o7l5t0a.fsf@gnu.org \
--to=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
--cc=roklein@roklein.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).