On Sun, Jun 28, 2015 at 11:52:06PM +0200, Nicolas Goaziou wrote: > Suvayu Ali <fatkasuvayu+li...@gmail.com> 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.
Indeed, this makes sense. I was mistaken about what I was looking at. When I noticed my filter was not being applied to captions, I had forgotten those particular figures were exported via latex blocks, not as usual figures! Adding my filter to org-export-filter-export-block-functions solved my issue. Thanks! -- Suvayu Open source is the future. It sets us free.