From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: new LaTeX exporter hook Date: Wed, 23 May 2012 23:36:12 +0200 Message-ID: <87wr42wpf7.fsf@med.uni-goettingen.de> References: <87aa0zxpmy.fsf@med.uni-goettingen.de> <81ipfnb0dt.fsf@gmail.com> <87wr43axj1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXJHv-0005uB-14 for emacs-orgmode@gnu.org; Wed, 23 May 2012 17:40:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXJHt-0004Bj-8e for emacs-orgmode@gnu.org; Wed, 23 May 2012 17:40:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:44784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXJHt-0004BK-2A for emacs-orgmode@gnu.org; Wed, 23 May 2012 17:40:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SXJHo-00077T-ND for emacs-orgmode@gnu.org; Wed, 23 May 2012 23:40:04 +0200 Received: from vpn-2010.gwdg.de ([134.76.2.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 May 2012 23:40:04 +0200 Received: from andreas.leha by vpn-2010.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 May 2012 23:40:04 +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-orgmode@gnu.org Hi Jambunathan and Nicolas, >>> the new LaTeX exporter does not seem to "run" the >>> org-export-latex-final-hook. Is there an equivalent? >> >> You are looking for `:filter-final-output' within >> `org-export-filters-alist'. >> [...] > > Example follows: > > #+begin_src emacs-lisp > (defun my-e-latex-final-filter (contents backend info) > (if (not (eq backend 'e-latex)) contents > ... > modify contents > ... > new-contents)) > #+end_src > Thank you for your input! Works nicely now (even if the hook system was slightly easier to use...). Cheers, Andreas