On Nov 19, 11:01 am, Rob Sheppard <[email protected]> wrote:

> FWIW, what brought me to Leo was the ability to integrate outline
> structure with my documents/notes.  With Leo, Instead of maintaining
> separate outlines with docs (tables of contents for example), the
> document *is* the outline/the outline *is* the document.

I know somebody truly understand Leo when they make comments like
this.

> In a perfect
> world, Leo would be able to give me, starting at an arbitrary node,
> all the headlines in the form of an outline followed by the document
> (all the body text in outline order), or either one of those
> independently.

I suspect less than 20 lines of Python code should be able to do
this.  Something like:

    for p in all_unique_positions():
       << output p.h >>
    for p in all_unique_positions()
        << output p.b >>

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to