emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: annotations (not the remember kind)
Date: Wed, 11 Jun 2008 11:57:33 +0100	[thread overview]
Message-ID: <20080611105733.GB19396@atlantic.linksys.moosehall> (raw)
In-Reply-To: <9592BB6CDB1CEB48826BE86ACD71FA996ABF8B@kwik.ic.uva.nl>

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	other threads:[~2008-06-11 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 21:31 annotations (not the remember kind) Adam Spiers
2008-06-11  5:36 ` Dominik, C.
2008-06-11 10:57   ` Adam Spiers [this message]

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=20080611105733.GB19396@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --cc=emacs-orgmode@gnu.org \
    /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).