From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [org-e-beamer-export-] Feature request: obey org-inlinetask-export Date: Tue, 25 Sep 2012 20:58:05 +0200 Message-ID: <8762729bgi.fsf@gmail.com> References: <87r4pqfibi.fsf@ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGaOf-00037L-RA for Emacs-orgmode@gnu.org; Tue, 25 Sep 2012 15:02:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGaOe-0007PR-PA for Emacs-orgmode@gnu.org; Tue, 25 Sep 2012 15:02:17 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:56098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGaOe-0007PG-JT for Emacs-orgmode@gnu.org; Tue, 25 Sep 2012 15:02:16 -0400 Received: by wibhn17 with SMTP id hn17so5562333wib.12 for ; Tue, 25 Sep 2012 12:02:15 -0700 (PDT) In-Reply-To: <87r4pqfibi.fsf@ed.ac.uk> (Myles English's message of "Tue, 25 Sep 2012 12:33:21 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Myles English Cc: Emacs-orgmode Hello, "Myles English" 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