From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: [new exporter] ignoring a headline on export to PDF via latex Date: Tue, 5 Mar 2013 14:43:30 +0000 Message-ID: <87zjyh7vql.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCt5s-0001am-6Q for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 09:43:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCt5l-0008Ge-2z for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 09:43:52 -0500 Received: from co1ehsobe003.messaging.microsoft.com ([216.32.180.186]:25961 helo=co1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCt5k-0008GF-Td for emacs-orgmode@gnu.org; Tue, 05 Mar 2013 09:43:45 -0500 Received: from mail165-co1 (localhost [127.0.0.1]) by mail165-co1-R.bigfish.com (Postfix) with ESMTP id 475559800E2 for ; Tue, 5 Mar 2013 14:43:42 +0000 (UTC) Received: from CO1EHSMHS012.bigfish.com (unknown [10.243.78.242]) by mail165-co1.bigfish.com (Postfix) with ESMTP id E54843800BB for ; Tue, 5 Mar 2013 14:43:39 +0000 (UTC) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, I used to use the following to ignore a headline when exporting to PDF: #+begin_src emacs-lisp (defun my-e-latex-headline (headline contents info) (if (member "ignoreheading" (org-element-property :tags headline)) contents (org-latex-headline headline contents info))) (add-to-list 'org-latex-translate-alist '(headline . my-e-latex-headline)) #+end_src With the new exporter, this no longer works. On the mailing list, I found this thread from a couple of months ago: http://comments.gmane.org/gmane.emacs.orgmode/62742 but I do not want to create a new backend just for this. Is there an equivalent solution to the above with the new exporter? Nicolas, you do imply that there is but you leave it as an exercise for the reader. As much as I appreciate the pedagogical nature of your response, this reader is not up to the task and a solution would be greatly appreciated! Thanks, eric -- Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)