From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: org-export-latex-final-hook not working Date: Fri, 24 Jun 2016 11:11:15 +0200 Message-ID: <87ziqbhryk.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGN9h-0005g3-1o for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 05:12:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGN9d-0001Td-So for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 05:12:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:46208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGN9d-0001TW-Lr for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 05:12:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bGN9Y-0000OH-4e for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 11:11:56 +0200 Received: from 5.63.150.76 ([5.63.150.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 11:11:56 +0200 Received: from rasmus by 5.63.150.76 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 11:11:56 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Giacomo M 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