From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Shlyakhter Subject: Re: suggestion for the manual: mention the "#+BEGIN_SRC org" trick when describing drawers and plainlists Date: Wed, 7 Mar 2012 20:58:51 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec51965091c286204bab19eed Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Sd5-0000bb-KZ for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 20:58:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5Sd3-0008Oi-Gx for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 20:58:55 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:42300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Sd3-0008O1-9X for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 20:58:53 -0500 Received: by vcbfk14 with SMTP id fk14so3019vcb.0 for ; Wed, 07 Mar 2012 17:58:51 -0800 (PST) In-Reply-To: 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: emacs-orgmode --bcaec51965091c286204bab19eed Content-Type: text/plain; charset=ISO-8859-1 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? 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 > > --bcaec51965091c286204bab19eed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable p.s. it _would_ be good to have an option, when exporting a "#+BEGIN_S= RC org" block, to use the Org export settings
from the main Org fil= e, rather than exporting a fontified copy of the Org buffer for the block.= =A0 Is there a way to do that currently?

On Wed, Mar 7, 2012 at 8:13 PM, Ilya Shlyakh= ter <ilya_shl= @alum.mit.edu> wrote:
In Org, entry text can't have substructure (other than drawers and plai= n 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.=A0=A0 That's useful not just when= writing in Org about Org, but anytime you want
to insert an extended si= denote in the middle of an entry.=A0 As with all source blocks, you edit it= in its native (Org)
mode and it exports correctly.=A0 You can copy links from the main Org and = past them into the nested Org.

Just wish I'd learned this sooner= :)=A0 So, maybe mention this in the manual in the sections on drawers and = plainlists.

ilya


--bcaec51965091c286204bab19eed--