From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] Inline tasks are exported, even with noexport tag Date: Wed, 27 Feb 2013 15:44:19 +0100 Message-ID: <877gltstoc.fsf@gmail.com> References: <867glt4zd2.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAiQE-0006Lo-M2 for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 09:55:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAiFa-0002or-Bb for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 09:44:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:37813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAiFa-0002o6-59 for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 09:44:54 -0500 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAiFq-000692-7G for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 15:45:10 +0100 In-Reply-To: <867glt4zd2.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 27 Feb 2013 15:15: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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "Sebastien Vauban" writes: > The following ECM fails on 2 fronts: > > - the `noexport' tag on the inline task is not respected; Should it? Inlinetasks are not headlines, even though they use a somewhat similar syntax. :noexport: tag applies to trees. Inlinetasks do not define a tree. More generally, `org-export-with-tasks', `org-export-select-tags' and `org-export-exclude-tags' only apply on headlines. On the other hand, `org-export-with-inlinetasks' allows you to ignore inlinetasks completely during export. For conditional export, you may also want to look at drawers, which can be included/excluded by their name. > - the exported contents (because of the previous item) is not compilable in > LaTeX (maybe the default in `org-latex-inlinetask' is not generic enough for > handling such a content, or there are restrictions on the contents of inline > tasks which I did not respect?) >From the Org POV, you can put anything in an inlinetask excepted another inlinetask and a headline. `latex' backend puts contents within \fbox and a \minipage environments. It's possible that verbatim is not allowed within one of them, I didn't check. It's quite difficult to come up with something visually different and yet general enough. You can also use `org-latex-format-inlinetask-function'. Regards, -- Nicolas Goaziou