From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Export filters question Date: Mon, 15 Sep 2014 14:01:00 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb1f0a2a07df0050319649b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTUyI-0007zg-FW for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 08:01:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTUyC-0006TU-Iw for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 08:01:30 -0400 Received: from mail-oa0-x231.google.com ([2607:f8b0:4003:c02::231]:63518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTUyC-0006TF-Ei for emacs-orgmode@gnu.org; Mon, 15 Sep 2014 08:01:24 -0400 Received: by mail-oa0-f49.google.com with SMTP id m19so2432795oag.36 for ; Mon, 15 Sep 2014 05:01:22 -0700 (PDT) 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: "emacs-orgmode@gnu.org" --e89a8fb1f0a2a07df0050319649b Content-Type: text/plain; charset=UTF-8 Hi, This is probably a very basic question, but what is the right way to access properties of the element in a filter ? Admit I want to define my own filter: (defun my-latex-filter-headline (text backend info) ... ) And I want to access the relative level of the current headline. How should I do it? Thanks for your help, Fabrice --e89a8fb1f0a2a07df0050319649b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

This is probably a very basic quest= ion,
but what is the right way to access properties of the elemen= t in a filter ?

Admit I want to define my own filt= er:

(defun my-latex-filter-headline (text backend = info)
=C2=A0... )

And I want to access t= he relative level of the current headline. How should I do it?
Thanks for your help,

Fabrice

--e89a8fb1f0a2a07df0050319649b--