A few thoughts, perhaps they're relevant: 1. @clean write errors may be caused by lack of @others or <<section>> references. Child nodes will need one or the other of those to work (or @all in the root node). 2. Yes, you can create xxx.rst files with @clean. However, the headings aren't auto-created as they are with @auto-rst., so you have to manually add them (kind of a pain, IMO). 3. As to your PS question, that's a matter of personal preference and how big the xxx.leo file will become. I prefer external files (most of the time) as I can open and use with other editors and tools (e.g. pandoc).
HTH Rob... On Saturday, September 7, 2019 at 8:39:44 AM UTC-4, Austin(Xu) Wang wrote: > > Dear Leo Users, > > I have one node "@auto filename.rst", under that node, there are a few > chapters of the rst file, which works great when I press save, the > filename.rst will be generated. > If I change the node to "@clean filename.rst", I am not able to save. Leo > complains that: > > The following were not written because of errors: > @clean filename.rst > > > Is it possible to use @clean for generating rst? > I cannot use @auto since the auto node is with no tnode in the .leo file, > which makes LeoVUE failed to load. > https://github.com/kaleguy/leovue/issues/9 > > PS. what's the reason for not keeping the body of @auto node inside the > leo file? > > BR,Austin > > > > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/3adfa5e1-3e50-4609-acc3-21a19eb28425%40googlegroups.com.
