[Top][All Lists]

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

Re: [Orgmode] annotations (not the remember kind)

From: Adam Spiers
Subject: Re: [Orgmode] annotations (not the remember kind)
Date: Wed, 11 Jun 2008 11:57:33 +0100
User-agent: Mutt/1.5.14 (2007-02-12)

On Wed, Jun 11, 2008 at 07:36:43AM +0200, Dominik, C. wrote:
> Hi Adam.
> hmm, I can see nothing that would help you directly with this.
> However, there is org-export-preprocess-hook.
> This hook runs before the export conversion of a buffer is attempted.
> If you add a function to this hook it will be called in a temporary
> buffer containing the entire file or section to be exported.
> There will be a variable `htmlp' telling you if export
> is to HTML, and similarly variables `latexp' and `asciip'.
> Your function could go through the buffer, find sections with
> the ANNOTATION keyword and/or tags, and convert them to raw
> HTML, surrounded by #+BEGIN_HTML ... #+END_HTML

Yes, that would do perfectly ... if only I had a headline iteration
API to make it easy to go through the buffer looking for ANNOTATION
keywords ;-)

reply via email to

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