From mboxrd@z Thu Jan 1 00:00:00 1970 From: henry atting Subject: Re: LaTeX export - customize own class Date: Tue, 29 Sep 2009 09:47:21 +0200 Message-ID: <87fxa6kx9y.fsf@online.de> References: <87my4fyvvy.fsf@online.de> <81B98B42-372E-4CB9-B430-10DDE96A994E@gmail.com> <8763b2e2nz.fsf@online.de> <4704.1254203713@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsXQr-00078V-3I for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 03:47:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsXQm-00078D-3u for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 03:47:32 -0400 Received: from [199.232.76.173] (port=43327 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsXQl-00078A-V4 for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 03:47:27 -0400 Received: from mx20.gnu.org ([199.232.41.8]:5974) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsXQl-0008Vh-Bi for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 03:47:27 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MsXQk-0004NA-7g for emacs-orgmode@gnu.org; Tue, 29 Sep 2009 03:47:26 -0400 In-Reply-To: <4704.1254203713@gamaville.dokosmarshall.org> (Nick Dokos's message of "Tue, 29 Sep 2009 01:55:13 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, henry atting , Carsten Dominik On Di, Sep 29 2009, Nick Dokos wrote: > henry atting 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 () > > ) > > (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