From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX filter for captions Date: Sun, 28 Jun 2015 23:52:06 +0200 Message-ID: <87zj3jlcvt.fsf@nicolasgoaziou.fr> References: <20150628214043.GA26960@chitra.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9KTH-0004W0-Cc for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 17:50:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9KTG-0007tp-Al for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 17:50:39 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9KTG-0007tV-5u for emacs-orgmode@gnu.org; Sun, 28 Jun 2015 17:50:38 -0400 Received: from selenimh (unknown [IPv6:2a01:6600:8080:9601::2de]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 14DA8A80B4 for ; Sun, 28 Jun 2015 23:50:36 +0200 (CEST) In-Reply-To: <20150628214043.GA26960@chitra.no-ip.org> (Suvayu Ali's message of "Sun, 28 Jun 2015 23:40:43 +0200") 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 Org mode Hello, Suvayu Ali writes: > I wanted to apply a filter to normal text and captions. So I initially > used org-export-filter-body-functions, however this also applies on the > section title. Handling that case would make my filter a bit more > complicated. So I switched to using > org-export-filter-paragraph-functions. However I can't find what would > be the corresponding filter list for captions (both figures and > tables). There is no such filter. By the time filters are called, captions have already been merged with their element. IOW, `org-export-filter-paragraph-functions' is applied to a string containing both the caption and the paragraph. Regards, -- Nicolas Goaziou