emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Hofer <sebhofer@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Sebastian Hofer <sebhofer@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-e-latex: ignoreheading is not working any more.
Date: Thu, 10 Jan 2013 20:04:51 +0100	[thread overview]
Message-ID: <877gnkyi3w.wl%sebastian.hofer@univie.ac.at> (raw)
In-Reply-To: <87bocw3mjz.fsf@gmail.com>

At Thu, 10 Jan 2013 19:44:32 +0100,
Nicolas Goaziou wrote:
> 
> Hello,
> 
> Sebastian Hofer <sebhofer@gmail.com> 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

      reply	other threads:[~2013-01-10 19:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-20 23:43 org-e-latex: ignoreheading is not working any more Yagnesh Raghava Yakkala
2012-11-21 12:37 ` Myles English
2012-11-21 13:21   ` Nicolas Goaziou
2012-11-21 15:15     ` Myles English
2013-01-08 15:40     ` Sebastian Hofer
2013-01-09 15:17       ` Nicolas Goaziou
2013-01-09 19:18         ` Sebastian Hofer
2013-01-10 18:44           ` Nicolas Goaziou
2013-01-10 19:04             ` Sebastian Hofer [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gnkyi3w.wl%sebastian.hofer@univie.ac.at \
    --to=sebhofer@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).