emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: Export to LaTeX and Beamer
Date: Mon, 15 Jul 2013 11:15:16 +0200	[thread overview]
Message-ID: <87txjwi3q3.fsf@free.fr> (raw)
In-Reply-To: 20130713202518.GE11006@kuru.dyndns-at-home.com

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:


> There is none, but you can use filters to achieve this.  Take a look
> here:
> <https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L258>
> Do note, as the comment says, I have not tested it extensively.

I tried it (evaled the following)

(defun jc-ignore-headline (contents backend info)
  "Ignore headlines with tag `ignoreheading'."
  (if (eq backend 'latex) (message contents)
    contents))

(add-to-list 'org-export-filter-headline-functions 'jc-ignore-headline)

and then added the ignoreheading tag (there was already another tag)
to a headline but the headline is still exported. Is there another
variable to configure to ensure that the filter function is indeed run ?

Julien.

  parent reply	other threads:[~2013-07-15  9:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11 21:41 Export to LaTeX and Beamer Julien Cubizolles
2013-07-13 20:25 ` Suvayu Ali
2013-07-15  8:21   ` Julien Cubizolles
2013-07-15  8:55     ` Suvayu Ali
2013-07-15  9:15   ` Julien Cubizolles [this message]
2013-07-15  9:40     ` Suvayu Ali
2013-07-15  9:49       ` Suvayu Ali
     [not found]         ` <87k3koc3sf.fsf@free.fr>
2013-07-17 21:00           ` Suvayu Ali

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=87txjwi3q3.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).