From: Nick Dokos <nicholas.dokos@hp.com>
To: henry atting <nsmp_01@online.de>
Cc: emacs-orgmode@gnu.org, Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Re: LaTeX export - customize own class
Date: Tue, 29 Sep 2009 01:55:13 -0400 [thread overview]
Message-ID: <4704.1254203713@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from henry atting <nsmp_01@online.de> of "Tue, 29 Sep 2009 07:32:48 +0200." <8763b2e2nz.fsf@online.de>
henry atting <nsmp_01@online.de> 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.
HTH,
Nick
next prev parent reply other threads:[~2009-09-29 5:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-28 14:41 LaTeX export - customize own class henry atting
2009-09-29 3:02 ` Carsten Dominik
2009-09-29 5:32 ` henry atting
2009-09-29 5:55 ` Nick Dokos [this message]
2009-09-29 7:47 ` henry atting
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4704.1254203713@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=nsmp_01@online.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.