emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] new org-export-html-preamble


From: Robert Klein
Subject: Re: [O] new org-export-html-preamble
Date: Mon, 28 Feb 2011 17:58:08 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 28.02.2011 17:35, Nick Dokos wrote:
Robert Klein<address@hidden>  wrote:

Hi everyone,

does anyone have by chance a working example of the
org-export-html-preamble, introduced on February, 10?

Up to now I used

    :preamble "my preamble"

Now I'm lost in not knowing lisp enough.

Thank you very much for your help!


I think you just need to change

   :preamble "my preamble"

to

   :html-preamble "my preamble"

and similarly for postamble, so no elisp necessary.

Nick

PS. ...but I have not tried it.

Hi Nick,

thanks for the help. Actually I probably had a typo at first and descended into lisp then.

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.

Thanks again and best regards
Robert




reply via email to

[Prev in Thread] Current Thread [Next in Thread]