From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: suggestion for the manual: mention the "#+BEGIN_SRC org" trick when describing drawers and plainlists Date: Thu, 08 Mar 2012 06:14:43 -0700 Message-ID: <87wr6vxmik.fsf@gmx.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5dBh-0002RG-JP for emacs-orgmode@gnu.org; Thu, 08 Mar 2012 08:15:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5dBK-0003vd-7m for emacs-orgmode@gnu.org; Thu, 08 Mar 2012 08:15:21 -0500 Received: from mailout-us.gmx.com ([74.208.5.67]:47356) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S5dBK-0003vO-15 for emacs-orgmode@gnu.org; Thu, 08 Mar 2012 08:14:58 -0500 In-Reply-To: (Ilya Shlyakhter's message of "Wed, 7 Mar 2012 20:58:51 -0500") 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: Ilya Shlyakhter Cc: emacs-orgmode Ilya Shlyakhter writes: > p.s. it _would_ be good to have an option, when exporting a > "#+BEGIN_SRC org" block, to use the Org export settings from the main > Org file, rather than exporting a fontified copy of the Org buffer for > the block. Is there a way to do that currently? > Try exporting the results of the block rather than the code with ":exports results". You may need to play with some results headings as well, see the manual for the possibilities. Cheers, > > On Wed, Mar 7, 2012 at 8:13 PM, Ilya Shlyakhter wrote: > >> In Org, entry text can't have substructure (other than drawers and plain >> lists): you can't have an entry that >> has some text, then a subtree, then more text. >> I just (re-)discovered that you can get around that by using "#+BEGIN_SRC >> org" to include arbitrary org >> subtrees in the middle of entry text. That's useful not just when >> writing in Org about Org, but anytime you want >> to insert an extended sidenote in the middle of an entry. As with all >> source blocks, you edit it in its native (Org) >> mode and it exports correctly. You can copy links from the main Org and >> past them into the nested Org. >> >> Just wish I'd learned this sooner :) So, maybe mention this in the manual >> in the sections on drawers and plainlists. >> >> ilya >> >> -- Eric Schulte http://cs.unm.edu/~eschulte/