Re: @clean orphan node error

2020-08-16 Thread Thomas Passin
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, d

Re: @clean orphan node error

2020-08-16 Thread Edward K. Ream
On Sun, Aug 16, 2020 at 1:50 PM wrote: > ... 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 :-( > You're welcome. Maybe I'll add some recent words to

Re: @clean orphan node error

2020-08-16 Thread Edward K. Ream
On Sun, Aug 16, 2020 at 2:03 PM Félix wrote: > If I remember correctly, there are *some instances* where @others are > facultative (all child's content appended after content of current node) > but I can't recall them offhand specifically. > Iirc, that would be @asis. Don't use @asis unless you

Re: @clean orphan node error

2020-08-16 Thread Félix
If I remember correctly, there are *some instances* where @others are facultative (all child's content appended after content of current node) but I can't recall them offhand specifically. Sometimes its better to chose a directive combination over another (@file, @auto, @clean, ..., with @oth

Re: @clean orphan node error

2020-08-16 Thread perceptiblelogic
... 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 *require

Re: @clean orphan node error

2020-08-16 Thread Thomas Passin
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 li

Re: @clean orphan node error

2020-08-15 Thread Edward K. Ream
On Sat, Aug 15, 2020 at 10:03 AM Thomas Passin wrote: > Something I still don't quite understand - what is different between @auto and @file trees once an @auto tree has been imported? Good question. @clean is also involved. @auto: Always import the file, creating nodes each time. Does not sav

Re: @clean orphan node error

2020-08-15 Thread Thomas Passin
On Saturday, August 15, 2020 at 9:26:09 AM UTC-4, Edward K. Ream wrote: > > On Fri, Aug 14, 2020 at 11:49 AM 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. > > > Make sure the root node (@auto, @file, @clean)

Re: @clean orphan node error

2020-08-15 Thread Edward K. Ream
On Fri, Aug 14, 2020 at 11:49 AM 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. Make sure the root node (@auto, @file, @clean) contains an @others directive in the body. Some background. When Leo writes any kind of

Re: @clean orphan node error

2020-08-15 Thread Edward K. Ream
On Fri, Aug 14, 2020 at 3:24 PM k-hen wrote: > I've attached the Leo file ... couldn't really be more basic. @file > doesn't isn't working either. > As Félix says, this is an empty file. Changing @clean to @file works for me. Edward -- You received this message because you are subscribed to t

Re: @clean orphan node error

2020-08-15 Thread Edward K. Ream
On Fri, Aug 14, 2020 at 2:34 PM Thomas Passin wrote: > I've done that a few times without trouble. First thing I would try is to > change to @file and save. Once that works, try the change to @clean. > > If it still doesn't work, create a new @clean node, copy the subtree to > it, delete the (n

Re: @clean orphan node error

2020-08-14 Thread Thomas Passin
For an @file tree, you have to have the external file available in the right place, or Leo won't have anything to read. All the structure (and text) is stored in the external file, and it all has to be read for Leo to (re)create the tree. With an @clean tree, the structure and text is stored

Re: @clean orphan node error

2020-08-14 Thread Félix
uh, the file nodes are empty... On Friday, August 14, 2020 at 4:24:17 PM UTC-4, k-hen wrote: > > I've attached the Leo file ... couldn't really be more basic. @file > doesn't isn't working either. > > If I create a *new* @file node then it does seem to create the file and > work, > but it's lik

Re: @clean orphan node error

2020-08-14 Thread k-hen
I've attached the Leo file ... couldn't really be more basic. @file doesn't isn't working either. If I create a *new* @file node then it does seem to create the file and work, but it's like that particular filename is corrupted or cached or something now, because even turning @file off & on ag

Re: @clean orphan node error

2020-08-14 Thread Thomas Passin
I've done that a few times without trouble. First thing I would try is to change to @file and save. Once that works, try the change to @clean. If it still doesn't work, create a new @clean node, copy the subtree to it, delete the (now empty) @auto node, and see if it saves. If not, there mig

@clean orphan node error

2020-08-14 Thread k-hen
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: do