[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [org-e-beamer-export-] Feature request: obey org-inlinetask-expo
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [org-e-beamer-export-] Feature request: obey org-inlinetask-export |
Date: |
Tue, 25 Sep 2012 20:58:05 +0200 |
Hello,
"Myles English" <address@hidden> 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