all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: org-export-latex-final-hook not working
Date: Fri, 24 Jun 2016 11:11:15 +0200	[thread overview]
Message-ID: <87ziqbhryk.fsf@gmx.us> (raw)
In-Reply-To: a5306a31-45c0-6652-5703-999f7cb52112@gmail.com

Giacomo M <jackjackk@gmail.com> writes:



> Dear all,
>
> I am using emacs with this configuration file:
>
> #+BEGIN_SRC emacs-lisp
> (setq load-path (append (file-expand-wildcards "~/.emacs.d/elpa/*") load-path))
> (require 'org)
> (require 'org-ref)
> (require 'ox-extra)
> (ox-extras-activate '(ignore-headlines))
> (defun remove-orgmode-latex-labels ()
>    "Remove labels generated by org-mode"
>    (interactive)
>    (let ((case-fold-search nil))
>     (goto-char 1)
>     (replace-regexp "\\\\label{sec.*}" "")
>     )
> )
> (add-hook 'org-export-latex-final-hook 'remove-orgmode-latex-labels)
> #+END_SRC

There's no such hook.

See org-export-filter-body-functions and
org-export-filter-final-output-functions.

-- 
Evidence suggests Snowden used a powerful tool called monospaced fonts

  reply	other threads:[~2016-06-24  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24  9:01 org-export-latex-final-hook not working Giacomo M
2016-06-24  9:11 ` Rasmus [this message]
2016-06-24  9:22   ` Giacomo M
2016-06-24  9:33     ` Nicolas Goaziou
2016-06-24 11:02       ` Giacomo M
2016-06-24  9:11 ` Nicolas Goaziou

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=87ziqbhryk.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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.