emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <roklein@roklein.de>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: new org-export-html-preamble
Date: Mon, 28 Feb 2011 17:58:08 +0100	[thread overview]
Message-ID: <4D6BD420.7090403@roklein.de> (raw)
In-Reply-To: <25248.1298910946@alphaville.dokosmarshall.org>

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

  reply	other threads:[~2011-02-28 16:58 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 [this message]
2011-03-02 17:31     ` 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

  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=4D6BD420.7090403@roklein.de \
    --to=roklein@roklein.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /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).