Tried out the Mindmap scripts and they are excellent! Thanks for all the 
work.

I have not used @commands before so it took me a while to realise the 3 
scripts had to be children of the @commands node. It may help users if this 
is made clear in README>The Commands.

Running the mmap-tree command worked and created the @clean mmap.html node. 
I'm not sure this is actually a problem with the Mindmap script but I get 
this error in the log pane:


























*Leo Log WindowLeo 6.4-devel2, devel branch, build 27d3615ab22021-08-03 
16:08:35 -0500Python 3.9.6, PyQt version 5.15.2Windows 10 AMD64 (build 
10.0.19042) SP0read outline in 3.24 secondsVR3 stylesheet: 
N:/git/leo-editor/leo/plugins/viewrendered3/vr3_rst.cssTraceback (most 
recent call last):  File "N:\git\leo-editor\leo\core\leoCommands.py", line 
2203, in doCommandreturn_value = command_func(event)  File 
"N:\git\leo-editor\leo\plugins\viewrendered3.py", line 1242, in 
update_rendering_panevr3.update(tag='view', keywords={'c': c, 'force': 
True})  File "N:\git\leo-editor\leo\plugins\viewrendered3.py", line 1908, 
in updatef(_tree, keywords)  File 
"N:\git\leo-editor\leo\plugins\viewrendered3.py", line 2753, in 
update_rstself.set_html(h, w)  File 
"N:\git\leo-editor\leo\plugins\viewrendered3.py", line 3649, in 
set_htmlw.setHtml(s, url_base)TypeError: setHtml(self, str): too many 
arguments*

Regards
Lewis
On Wednesday, August 4, 2021 at 11:45:39 AM UTC+10 [email protected] wrote:

> The Mind mapping commands are now available in scripts.leo, in this 
> afternoon's commit of Leo's *devel* branch on GitHub.  The three scripts 
> are in the new *Mind Maps* node, plus a README that tells how to use them.
>
> A node that contains an indented list can be turned into a mind map.  The 
> subtree headed by a selected node can be displayed as a depth-2 mind map.
>
> The mind maps are in the form of SVG diagrams, and can be displayed by the 
> Viewrendered3 or Freewin plugins, or by the system web browser.
>
> Give it a try.
>

-- 
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/8e4f1298-f2ac-4cb9-9450-55cd49fffcaan%40googlegroups.com.

Reply via email to