emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] suggestion for the manual: mention the "#+BEGIN_SRC org" trick w


From: Eric Schulte
Subject: Re: [O] suggestion for the manual: mention the "#+BEGIN_SRC org" trick when describing drawers and plainlists
Date: Thu, 08 Mar 2012 06:14:43 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Ilya Shlyakhter <address@hidden> 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 <address@hidden>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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]