On 28.02.2011 17:35, Nick Dokos wrote:
Robert Klein<rokl...@roklein.de>  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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to