... Ohhh .... Thank you Thomas, that explains it (feeling rather foolish). And thank you too Edward, you stated it quite clearly in your message, I was just too thick-headed to pick up on it :-( I knew the @others directive was an *option* (like the others), just didn't seem like it was a *requirement*. But 20/20 hindsight. FWIW, I don't mind plowing through words, I've been reading this one extensively: https://leoeditor.com/directives.html (and I'm using the LeoDocs.leo file for this). But it wasn't clear to me from reading this (many times) that it was necessary, and that it was working without them (for good reasons) for @auto files was adding to my confusion.
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. It's maybe worth a quick note or column in the @file kind comparison table to say if it requires these or not. I'd definitely be interested in simple walk-through tutorials for how to do these basic tasks, I hope to become proficient enough to contribute to these as well :-) Thanks again, I really appreciate it, Kevin 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-editor+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/775f00e3-0ac2-4641-b48a-a9c4eb355315o%40googlegroups.com > . > -- 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/88a4d0c2d200c7c7f456a89b37b1ea1d3b6ab4bb.camel%40gmail.com.