[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] new org-export-html-preamble
From: |
Bastien |
Subject: |
Re: [O] new org-export-html-preamble |
Date: |
Wed, 02 Mar 2011 18:31:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Hi Robert,
Robert Klein <address@hidden> 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 in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] new org-export-html-preamble,
Bastien <=