emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Mark Elston <m_elston@comcast.net>
Cc: org-mode emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Selective Export Question
Date: Sun, 3 Jan 2010 18:52:35 +0100	[thread overview]
Message-ID: <98964D9F-00AB-4B7D-9C1C-D1865DB80116@gmail.com> (raw)
In-Reply-To: <4B40C2BB.6040808@comcast.net>

Hi Mark,

there are about 100 hooks, see

http://orgmode.org/worg/org-configs/org-hooks.php

And I am very happy to add more, wherever these is a use for it.

- Carsten

On Jan 3, 2010, at 5:15 PM, Mark Elston wrote:

> Carsten Dominik wrote:
>> On Dec 22, 2009, at 7:24 AM, Mark Elston wrote:
>>> I have been making progress on my use of org-mode to manage both
>>> my teaching notes and handouts in a single document.  However, there
>>> is something I still have not been able to make happen.  That is
>>> selective exporting of text *without* exporting a headline along  
>>> with
>>> it.
>>>
>>> Here is a sample of what I would like.  In this example I have  
>>> sections
>>> with "common" text (should be in both teaching notes and handouts)  
>>> and
>>> sections that are specific to each individual output format.  What I
>>> have below is set up to export the notes.  What I would like is to
>>> have the text (only) of the non-excluded sections and not the  
>>> headlines.
>> Hi Mark,
>> I think the right path for this is a function that you write and  
>> install
>> in org-export-preprocess-hook.  Then you can set your own  
>> conditions and
>> remove those headlines before Org even tries to look at them.
>> HTH
>> - Carsten
>
> Thanks, Carsten.
>
> It is amazing how much infrastructure there is to support so many
> features.  I wasn't aware of all the hooks available and this one
> escaped my attention.  I will look into it.  My elisp isn't as good
> as my C++ (or Python, or Perl...) but it is probably good enough to
> make use of this.
>
> Mark

- Carsten

      reply	other threads:[~2010-01-03 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-22  6:24 Selective Export Question Mark Elston
2009-12-24 18:43 ` Mark Elston
2009-12-24 19:10   ` Thomas S. Dye
2010-01-03 13:20 ` Carsten Dominik
2010-01-03 16:15   ` Mark Elston
2010-01-03 17:52     ` Carsten Dominik [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=98964D9F-00AB-4B7D-9C1C-D1865DB80116@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=m_elston@comcast.net \
    /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).