emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] new LaTeX exporter hook


From: Andreas Leha
Subject: Re: [O] new LaTeX exporter hook
Date: Wed, 23 May 2012 23:36:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]