← Back to team overview

zim-wiki team mailing list archive

Re: Can Text2mindmap insert a figure directly into the zim page?


Dear NorfCran, dear zim list,

pragmatic way to change the size of a treemap created with the new plugin:

- Insert > TreeMap, enter treemap code, click OK => treemap is inserted into page
- open Tools > Edit Source
- replace {{./treemap.png?type=treemap}} with {{./treemap.png?width=200}}
- => figure is adapted to 200px width, and the normal right click > Edit Properties now works as for other graphics
- to get tree map editing back, reverse the change
- switch back and forth as necessary (just don't delete the *.dot file if further treemap editing is planned)

Even though it may involve some source editing, the plugin is a huge gain in comparison to the custom tool, because the figure is created in the local attachment directory and thus very easily accessible.

Thank you again - I also enjoy the line sorter,

On 01/10/14 01:35, NorfCran wrote:
Dear Hella,

I just finished conversion of the custom tool Text2mindmap and now it
follows your example. Previously, I thought that it will be sufficient to
have only the custom tool, but your feedback made me reconsider Hope some
other users can take advantage of this plugin.

All the best, NorfCran

On 30 September 2014 14:17, Hella Riede <hella_riede@xxxxxx> wrote:

Dear zim mailing list,

Jaap encouraged me to send my question concerning Text2mindmap here:

Dear Jaap, dear zim community,

I appreciate zim a lot. To try out the custom tools, I downloaded
Text2mindmap from

In the "command" field of the zim custom tool dialogue, I entered
'~/bin/zim_mindmap.py %s', without the apostrophes.

The correct figure is produced from a certain page, but not inserted into
that page automatically. I can then insert it via the "insert > image"
dialogue, but I am relatively sure that the embedding of the figure was
meant to be automatic (?).

- I write the mindmap "code" into a page in the path /my/zim/test.txt
- then I save, refresh, and call the Text2mindmap custom tool
- result: the expected figure is written to /my/zim/test.png, but it is
not automatically embedded into the page

Thank you in advance for your help.

Ixtos (Linux Mint Maya, zim version 0.61)

Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp