emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Myles English <mylesenglish@gmail.com>
Cc: Emacs-orgmode <Emacs-orgmode@gnu.org>
Subject: Re: [org-e-beamer-export-] Feature request: obey org-inlinetask-export
Date: Tue, 25 Sep 2012 20:58:05 +0200	[thread overview]
Message-ID: <8762729bgi.fsf@gmail.com> (raw)
In-Reply-To: <87r4pqfibi.fsf@ed.ac.uk> (Myles English's message of "Tue, 25 Sep 2012 12:33:21 +0100")

Hello,

"Myles English" <mylesenglish@gmail.com> writes:

> It would be nice to be able to exclude inline tasks from (the new)
> beamer export using:
>
> #+BEGIN_SRC elisp
> (setq org-inlinetask-export nil)
> #+END_SRC

`org-inlinetask-export' support is dropped on purpose in the new
exporter: org-export.el should be the central place to decide what is or
isn't exported.

> After that, it would also be nice to be able to toggle the var using an
> #+OPTION.

The problem is that inlinetasks are not always loaded. In that case, an
"#+OPTION: itask:t" doesn't make much sense.

Though, with filters, you can ignore all inlinetasks for a given
back-end (or all back-ends):

#+begin_src emacs-lisp
(defun my-ignore-inlinetasks (inlinetask backend info)
  (and (memq backend '(e-latex e-beamer)) ""))

(add-to-list 'org-export-filter-inlinetask-functions 'my-ignore-inlinetasks)
#+end_src


Regards,

-- 
Nicolas Goaziou

      parent reply	other threads:[~2012-09-25 19:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 11:33 [org-e-beamer-export-] Feature request: obey org-inlinetask-export Myles English
2012-09-25 12:24 ` Sebastien Vauban
2012-09-25 12:45   ` Myles English
2012-09-25 18:58 ` Nicolas Goaziou [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=8762729bgi.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=mylesenglish@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).