[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-e-latex: ignoreheading is not working any more.
From: |
Sebastian Hofer |
Subject: |
Re: [O] org-e-latex: ignoreheading is not working any more. |
Date: |
Thu, 10 Jan 2013 20:04:51 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.1.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
At Thu, 10 Jan 2013 19:44:32 +0100,
Nicolas Goaziou wrote:
>
> Hello,
>
> Sebastian Hofer <address@hidden> 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