From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Berry, Charles" Subject: Re: Feature Request: allow export yes/no for blocks that are valid babel inputs Date: Sun, 24 Mar 2019 16:30:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h860s-0007oP-17 for emacs-orgmode@gnu.org; Sun, 24 Mar 2019 12:30:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h860q-0006jT-3o for emacs-orgmode@gnu.org; Sun, 24 Mar 2019 12:30:21 -0400 Received: from iport-bcv2-out.ucsd.edu ([132.239.0.73]:55608) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1h860n-0006gA-4J for emacs-orgmode@gnu.org; Sun, 24 Mar 2019 12:30:18 -0400 In-Reply-To: Content-Language: en-US Content-ID: <9B55C7F6064F9045B4A9499CFCDC141F@AD.UCSD.EDU> 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" To: Carlos Pita Cc: emacs-orgmode AFAICS, the functionality you seek already exists, although it is not heavi= ly advertised. `C-c C-x t' will insert an inline task. Within such a `task' you can put te= xt, tables, src blocks and other objects. Setting option `inline:nil' will prevent export, but leave the content visi= ble to src blocks etc. Alternatively, you can tag inlinetasks as with headlines to control their e= xport. Browse the commentary in org-inlinetask.el for more details. HTH, Chuck > On Mar 23, 2019, at 2:20 PM, Carlos Pita wrote= : >=20 > Hi all, >=20 > when using lists, tables and example blocks as inputs to babel src > blocks sometimes the inputs are just... inputs. There is some > inconsistency in the fact that src blocks can be selectively exported > but not their inputs. Commenting these inputs out makes them invisible > to the block referencing them (apparently this method worked a time > ago but it's not working now). OTOH using the noexport tag introduces > spurious sections that interrupt the flow of the document and might be > hard to close afterwards (similar to the boilerplate introduced by > beamer blocks). >=20 > What do you think of adding an :export yes/no parameter to these > blocks? Or to blocks in general. >=20 > Best regards > -- > Carlos >=20 >=20