From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Selective Export Question Date: Sun, 3 Jan 2010 18:52:35 +0100 Message-ID: <98964D9F-00AB-4B7D-9C1C-D1865DB80116@gmail.com> References: <4B30662A.4010302@comcast.net> <73AED298-3401-48FC-B38E-0085B6E4FC2D@gmail.com> <4B40C2BB.6040808@comcast.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRUdA-0000Ep-W3 for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 12:52:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRUd6-0000Cw-Jp for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 12:52:44 -0500 Received: from [199.232.76.173] (port=59383 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRUd6-0000Cm-CT for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 12:52:40 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:38664) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRUd5-0007j3-SE for emacs-orgmode@gnu.org; Sun, 03 Jan 2010 12:52:40 -0500 Received: by ewy24 with SMTP id 24so17241508ewy.26 for ; Sun, 03 Jan 2010 09:52:37 -0800 (PST) In-Reply-To: <4B40C2BB.6040808@comcast.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mark Elston Cc: org-mode emacs-orgmode 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