From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Filtering in export hooks Date: Wed, 7 Sep 2011 00:39:56 +0200 Message-ID: References: <62F4E48A-A0B3-48B0-8180-471EE93F187A@gmail.com> <74E04FF8-94AD-4A44-AEC1-9D5217317269@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0015175cf848f0e08f04ac4d8241 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R14Ja-0006sT-Tx for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 18:40:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R14JV-0003Kc-T7 for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 18:40:22 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:36104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R14JV-0003KY-EG for emacs-orgmode@gnu.org; Tue, 06 Sep 2011 18:40:17 -0400 Received: by bkbzt12 with SMTP id zt12so14847bkb.0 for ; Tue, 06 Sep 2011 15:40:16 -0700 (PDT) In-Reply-To: <74E04FF8-94AD-4A44-AEC1-9D5217317269@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: org-mode mailing list --0015175cf848f0e08f04ac4d8241 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Carsten, On Tue, Sep 6, 2011 at 11:49 AM, Carsten Dominik wrote: > > Which of the preprocessing hooks are you using? =A0I am still confused > by your description, maybe you can make a small example and show > exactly what works and what does not work? I finally managed to isolate the issue and construct a working example. To replicate, in a minimal session evaluating the code blocks in the attached org file should be sufficient. The issue is described in the org file. Thanks a lot, --=20 Suvayu Open source is the future. It sets us free. --0015175cf848f0e08f04ac4d8241 Content-Type: text/x-org; charset=UTF-8; name="test.org" Content-Disposition: attachment; filename="test.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gs9gp6bl1 IytPUFRJT05TOiAgIEg6NCBudW06bmlsIHRvYzp0IFxuOm5pbCBAOm5pbCA6OnQgfDp0IF46dCAt OnQgZjp0ICo6dCA8Om5pbAojK09QVElPTlM6ICAgVGVYOnQgTGFUZVg6dCBza2lwOm5pbCBkOm5p bCB0b2RvOnQgcHJpOm5pbCB0YWdzOm5pbAoKIytMYVRlWF9IRUFERVI6IFx1c2VwYWNrYWdlW2Jh Y2tncm91bmRjb2xvcj1ncmVlbiE0MF17dG9kb25vdGVzfQojK0xhVGVYX0hFQURFUjogXHVzZXBh Y2thZ2V7bWFrZXJvYnVzdH0KIytMYVRlWF9IRUFERVI6IFxNYWtlUm9idXN0Q29tbWFuZFxiZWdp bgojK0xhVGVYX0hFQURFUjogXE1ha2VSb2J1c3RDb21tYW5kXGVuZAojK0xhVGVYX0hFQURFUjog XE1ha2VSb2J1c3RDb21tYW5kXGl0ZW0KCgoqIENPTU1FTlQgU2V0dXAKClRoZSBmb2xsb3dpbmcg Y29kZSBpcyBzdXBwb3NlZCB0byB3cmFwIHRoZSBoZWFkbGluZXMgbWF0Y2hlZCBieSB0aGUKdGFn cyBzZWFyY2ggIlFuQXxRbiIgd2l0aCBhID1cdG9kb1tpbmxpbmVdey4ufT0gTGF0ZXggbWFjcm8u IEkgYW0KdXNpbmcgdGhlIHRhZ3MgdG8gZGV0ZXJtaW5lIHRoZSBjb2xvdXIgb2YgdGhlIHRvZG8g YmxvY2suCgoqKiBDYXNlIDEKClRoaXMgZ2V0cyBleHBvcnRlZCBmb3IgYWxsIHZhbHVlcyBvZiB0 aGUgPXRhZ3M6PSBvcHRpb24uIEJ1dCBtYXJrdXAKbGlrZSAvaXRhbGljcy8sICpib2xkKiBvciAr c3RyaWtld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