emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: LaTeX export - customize own class


From: henry atting
Subject: [Orgmode] Re: LaTeX export - customize own class
Date: Tue, 29 Sep 2009 09:47:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

On Di, Sep 29 2009, Nick Dokos wrote:

> henry atting <address@hidden> wrote:
>
>
>> I pulled the newest git version, reloaded org.el  and tried to load the hook 
>> with
>> 
>> (add-hook 'org-mode-hook 'org-export-latex-final-hook)
>> 
>> but when I am trying to export an org file to LaTeX I get an error message:
>> 
>> run-hooks: Symbol's function definition is void:
>> org-export-latex-final-hook
>> 
>
> org-export-latex-final-hook is just another hook, so you have to use it
> like this:
>
> (defun my-func ()
>        <body>
>        )
>
> (add-hook 'org-export-latex-final-hook (function my-func))
>
> Then your function will be called at the time that the hook is run:
> after the latex export is done.

I see, many thanks

henry

-- 
http://literaturlatenight.de




reply via email to

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