emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Filtering in export hooks


From: Carsten Dominik
Subject: Re: [O] Filtering in export hooks
Date: Tue, 6 Sep 2011 11:49:58 +0200

On Sep 6, 2011, at 11:08 AM, suvayu ali wrote:

> Hi Carsten,
> 
> On Tue, Sep 6, 2011 at 10:58 AM, Carsten Dominik
> <address@hidden> wrote:
>>> 
>>> But this only works when tags: is non-nil. Any hints on how I could
>>> achieve something that "works always"?
>> 
>> May be I do not understand, but how about
>> 
>> (let ((match "tag1|tag2"))
>>  (when match
>>   (org-map-entries (lambda () (my-preprocess-function))
>>                   match)))
>> 
> 
> Sorry after going through my email again I realised it was ambiguous.
> When I say it doesn't work, I don't mean Org throws an error when
> tags:nil is set. The preprocessing gets skipped.

Which of the preprocessing hooks are you using?  I am still confused
by your description, maybe you can make a small example and show exactly what 
works and what does not work?

- Carsten

> 
> To restate my intentions more clearly; I want to preprocess headlines
> that match the tags list "tag1|tag2" during latex export irrespective
> of how the tags: option is setup. If this is not possible by a tags
> match, what are my alternatives?
> 
>> - Carsten
> 
> Thanks a lot. :)
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.

- Carsten






reply via email to

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