From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Hofer Subject: Re: org-e-latex: ignoreheading is not working any more. Date: Thu, 10 Jan 2013 20:04:51 +0100 Message-ID: <877gnkyi3w.wl%sebastian.hofer@univie.ac.at> References: <8739032640.fsf@yagnesh.org> <87a9ubi134.fsf@gmail.com> <87r4nndrca.fsf@gmail.com> <874niq4c99.fsf@gmail.com> <87fw2axizz.wl%sebhofer@gmail.com> <87bocw3mjz.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtNQy-0002cq-5e for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 14:05:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtNQt-0001ur-8Z for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 14:05:00 -0500 Received: from mail-ea0-f172.google.com ([209.85.215.172]:60942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtNQt-0001ue-2a for emacs-orgmode@gnu.org; Thu, 10 Jan 2013 14:04:55 -0500 Received: by mail-ea0-f172.google.com with SMTP id f13so372498eaa.17 for ; Thu, 10 Jan 2013 11:04:54 -0800 (PST) In-Reply-To: <87bocw3mjz.fsf@gmail.com> 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: Nicolas Goaziou Cc: Sebastian Hofer , emacs-orgmode@gnu.org At Thu, 10 Jan 2013 19:44:32 +0100, Nicolas Goaziou wrote: > > Hello, > > Sebastian Hofer writes: > > > #+BEGIN_SRC emacs-lisp > > (defun my-e-latex-headline (headline contents info) > > (if (member "ignoreheading" (org-element-property :tags headline)) contents > > (org-e-latex-headline headline contents info))) > > #+END_SRC > > I suggest to use: > > (org-export-with-backend 'e-latex headline contents info) > > instead of > > (org-e-latex-headline headline contents info) > > to not depend on the name of the translator function used by the e-latex > back-end. > > > #+BEGIN_SRC emacs-lisp > > (org-export-define-derived-backend dissertation e-latex > > :translate-alist ((template . my-e-latex-headline))) > > There's a typo here. It should be: > > :translate-alist ((headline . my-e-latex-headline)) That worked perfectly! Thanks! Regards, Sebastian