I've made the changes I mentioned - the commands now work under PyQt6 as 
well as PyQt5, and the central image displays just the file name if it's 
something with a directive and a path, like *@file ../plugins/plugin.py*.

I also adjusted the Viewrendered3 plugin so that it works without an error 
if the PyQtWebEngine is not installed.  In that case it won't be able to 
actually render the diagram, but you can still export it to a browser.

Both sets of changes are in the most recent changeset in the *devel* branch.

On Monday, August 9, 2021 at 9:07:28 AM UTC-4 [email protected] wrote:

> Here is a screen shot of an indented list in a node, with the rendering 
> being done by Freewin.
>
> Back in the days when the Mind Manager program was simpler and less 
> expensive, it could output a mind map as an indented list, and turn an 
> indented list into a bare bones mind map.  Maybe its successor still can, 
> but these days it's too complex and expensive for me to get just to fool 
> around with.
>
> On Monday, August 9, 2021 at 1:22:26 AM UTC-4 lewis wrote:
>
>> I've read your first post Progress Report - Mind Maps for Leo 
>> <https://groups.google.com/g/leo-editor/c/eAOvXZGK1-o/m/Nw0X2pY8AwAJ> 
>> and am trying to understand the difference between mmap-tree and mmap-list 
>> commands. It says: 
>> *The mind mapping system now works via a set of minibuffer commands.  You 
>> can put an indented list into a node and display it as a mind map.  Or you 
>> can display an entire subtree as a mind map.*
>> ....
>> *One of these scripts takes an indented list in the selected node and 
>> feeds it to the monkey-patched script.  The other one converts a tree 
>> starting at the selected node to an indented list and then feeds it to the 
>> monkey-patched script.* 
>>
>> I see how mmap-tree command works on an entitre subtree and creates the 
>> svg tree.
>> I'm not sure how mmap-list command works taking an indented list from a 
>> node. Can you give an example of an 'indented list' and an example of the 
>> output?
>>
>>
>> On Monday, August 9, 2021 at 1:41:28 PM UTC+10 [email protected] wrote:
>>
>>> I'm not sure what you mean by rendering a list.  The mmap output would 
>>> be svg, not a text list.  When FW opens, it will show the svg source.  When 
>>> the render toggle is pressed, it should show the diagram, or possibly 
>>> something indecipherable if the fallback widget is being used, but I don't 
>>> know how it could show a "list".
>>>
>>> Maybe you mean something different than I am thinking of.  Would you 
>>> please post a screen shot of the FW rendered output?
>>>
>>> There is a setting to force FW to use the fallback rendering widget.  
>>> The advantage is that the F9 and F7 keys work the same as they do when the 
>>> Zettlekasten commands are installed.  The disadvantage is that that widget 
>>> can't render svg diagrams or other complex html.  The default is to use the 
>>> normal widget, which can render svg diagrams.  The setting is @string 
>>> fw-render-pane. You can only get the fallback widget if the value of 
>>> the setting is exactly *nav-view*.
>>>
>>> FW would also have been affected by not having the PyQtWebEngine, but I 
>>> assume you tested FW after installing it.  One thing to remember is that 
>>> after making a change to a mmap setting, then in the outline you want to 
>>> work in, all settings must be reloaded *and* the mmap-monkeypatch 
>>> command must be run - or Leo must be restarted.  I may be able to simplify 
>>> that in the future, we'll see...
>>>
>>> Oh yes, and thank you for doing this testing and for your patience!
>>> On Sunday, August 8, 2021 at 10:40:21 PM UTC-4 lewis wrote:
>>>
>>>> Installing PyQtWebEngine fixed the problem. Thanks for the tip.
>>>> The rendering works well for both browser and vr3.
>>>>
>>>> However with setting *@string mmap_render_dev = freewin*
>>>> the freewin window launches but pressing the [Rendered<-->Plain] toggle 
>>>> renders a list not a tree. This behavior occurs on 2 machines.
>>>>
>>>> Regards
>>>> Lewis
>>>>
>>>>
>>>>

-- 
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/cd997266-f8c5-4261-8c2e-559a6ed39cc9n%40googlegroups.com.

Reply via email to