On Sunday, August 16, 2020 at 2:50:51 PM UTC-4, k-hen wrote: > > > I saw there was a tutorial on "Creating Documents from Outlines" but it > seems specific to @rst which isn't my objective. > I haven't located any other tutorials re: documents, but perhaps I'm blind. >
Here's one alternative, depending on what you want to achieve: https://github.com/leo-editor/leo-editor/issues/1611 > > > > > > > > > > > On Sun, 2020-08-16 at 09:13 -0700, Thomas Passin wrote: > > It's what we were saying the other day. If you want to have child nodes, > you need to put a line > > @others > > in the parent where you want the "others" - that is, the child subtree - > to show up in the external file. And, most useful for Python programming, > if the "@others" is indented, then the lines from the child nodes will be > indented that amount when inserted into the external file. > > For example, if you wanted to have an html file, it might go like this - > > @file example.html > - HEAD > - BODY > > Then the top node could contain: > > <html> > @others > </html> > > The HEAD node could contain: > > <head> > <title>Example File</title> > <head> > > The BODY node could contain: > <body> > <p>This is a test</p> > </body> > > Or the BODY node could contain: > <body> > <p>This is a test</p> > @others > </body> > > There would be another subtree as a child of the BODY node. > > I've attached a Leo outline that illustrates. > > > On Friday, August 14, 2020 at 12:48:58 PM UTC-4, k-hen wrote: > > Hi guys, > I'm trying to change and @auto node to an @clean node, but I'm getting and > error writing the file. When I use the @auto then the file writes fine so > it's not the path or anything. > > I'm sorry to keep bothering you, but I really want this to work. > > errors writing: test.txt > Orphan node: does this work > parent node: @clean test.txt > Orphan node: @clean test.txt > parent node: FileTest > not written: test.txt > finished > > -- > You received this message because you are subscribed to a topic in the > Google Groups "leo-editor" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/leo-editor/aLLyvf7PWWA/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > leo-e...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/775f00e3-0ac2-4641-b48a-a9c4eb355315o%40googlegroups.com > > <https://groups.google.com/d/msgid/leo-editor/775f00e3-0ac2-4641-b48a-a9c4eb355315o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/57b2a318-a030-436d-85ab-b38d3ccf44d8o%40googlegroups.com.