Hello,

"Myles English" <mylesengl...@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

Reply via email to