On Mon, Aug 20, 2018 at 3:54 AM Sapphira Armageddos <
shadowkyogre.pub...@gmail.com> wrote:

Is there a cleaner way, file type agnostic way to do this without using a
> write-only @auto node? I'm not sure how to handle node inclusion with
> @others to control output of the headline.
>

It sounds like you are comfortable writing scripts, so I would suggest a
script that would write a selected tree to a file.  Some tips:

1. g.getScript(p) will create the script as though p were the root node,
expanding section references, etc. This has several kwargs that you will
want to set appropriately.

2. g.findRootsWithPredicate will search up and down the tree for desired
roots, just like the rst3 and pylint commands.

HTH.  Please feel free to ask more questions.

Edward

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to