[Zim-wiki] Can Text2mindmap insert a figure directly into the zim page?
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 https://github.com/jaap-karssenberg/zim-wiki/wiki/Text2mindmap-custom-tool. 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 (?). Example: - 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] Installing additional plugin (example new treemap plugin)
Continued from topic 'Can Text2mindmap insert a figure directly into the zim page?' Dear NorfCran / Jaap, thanks a lot! I still have an issue with the installation - sorry for bothering with the installation. What I did: - copy the contents of the plugin to local file treemap.py - copy file to the following directories, just to be sure: 1) /usr/share/pyshared/zim/plugins/ (existed) 2) ~/.local/lib/python2.6/site-packages/. (had to create from lib on, based on http://www.zim-wiki.org/manual/Plugins.html) 3) ~/.local/lib/python2.7/site-packages/. (had to create it) 4) /usr/local/lib/python2.7/site-packages - chmod go+rxw treemap.py in all directories, then rehash - close and open zim - go to Edit Preferences Plugins == couldn't find name 'Insert TreeMap' 'python --version' says Python 2.7.3. Do I have to manually import it into python somehow before zim sees it? On the recommended page http://legacy.python.org/dev/peps/pep-0370/, only python 2.6 and 3.0 are mentioned. Any help greatly appreciated. Cheers, Hella 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. https://github.com/jaap-karssenberg/zim-wiki/wiki/TreeMap-plugin-%28converted-Text2mindmap-custom-tool%29 All the best, NorfCran On 30 September 2014 14:17, Hella Riede hella_ri...@gmx.de 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 https://github.com/jaap-karssenberg/zim-wiki/wiki/Text2mindmap-custom-tool. 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 (?). Example: - 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] 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, Hella 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. https://github.com/jaap-karssenberg/zim-wiki/wiki/TreeMap-plugin-%28converted-Text2mindmap-custom-tool%29 All the best, NorfCran On 30 September 2014 14:17, Hella Riede hella_ri...@gmx.de 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 https://github.com/jaap-karssenberg/zim-wiki/wiki/Text2mindmap-custom-tool. 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 (?). Example: - 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Installing additional plugin (example new treemap plugin)
Dear Jaap, dear zims, today I got a zim update via Ubuntu/Mint to 0.62, and the new plugin in the directory 'for zim 0.62 and above' worked perfectly. zim -D gave me at least one error about the 'treepath', but nothing related to treemap. The error may be related to the fact that I sometimes have to 'Update Index' as it seems that pages disappear from the index in the left side bar. It doesn't disturb me really - refreshing the index is just 2 clicks. If anyone is interested in looking at/fixing the error, please mail me. Thank you again! Best wishes, Hella On 01/10/14 11:28, Jaap Karssenberg wrote: Hi Hella, For zim 0.61 and older: Any zim/plugins folder that is in the python search path. I believe in your case ~/.local/lib/python2.7/site-packages/zim/plugins should work. For zim 0.62 and newer: ~/.local/share/zim/plugins I would also run zim in debug mode (zim -D) and check if there is an error when you open the preferences dialog. Maybe the plugin is found, but an error occurred loading it. Hope this helps, Jaap On Wed, Oct 1, 2014 at 2:39 AM, Hella Riede hella_ri...@gmx.de wrote: Continued from topic 'Can Text2mindmap insert a figure directly into the zim page?' Dear NorfCran / Jaap, thanks a lot! I still have an issue with the installation - sorry for bothering with the installation. What I did: - copy the contents of the plugin to local file treemap.py - copy file to the following directories, just to be sure: 1) /usr/share/pyshared/zim/plugins/ (existed) 2) ~/.local/lib/python2.6/site-packages/. (had to create from lib on, based on http://www.zim-wiki.org/manual/Plugins.html) 3) ~/.local/lib/python2.7/site-packages/. (had to create it) 4) /usr/local/lib/python2.7/site-packages - chmod go+rxw treemap.py in all directories, then rehash - close and open zim - go to Edit Preferences Plugins == couldn't find name 'Insert TreeMap' 'python --version' says Python 2.7.3. Do I have to manually import it into python somehow before zim sees it? On the recommended page http://legacy.python.org/dev/peps/pep-0370/, only python 2.6 and 3.0 are mentioned. Any help greatly appreciated. Cheers, Hella 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. https://github.com/jaap-karssenberg/zim-wiki/wiki/ TreeMap-plugin-%28converted-Text2mindmap-custom-tool%29 All the best, NorfCran On 30 September 2014 14:17, Hella Riede hella_ri...@gmx.de 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 https://github.com/jaap-karssenberg/zim-wiki/wiki/ Text2mindmap-custom-tool. 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 (?). Example: - 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@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] [fixed] looks like you found a bug
Hi all, in my shell, I moved page by page and folder by folder out of the misbehaving zim subtree. It turned out that after I had moved one of those pages and its folder out of the zim folder, the page was still shown in zim (and not virtual / italic), but I could not find it in the actual folder on my computer in the shell. I deleted that strange real-in-zim but not-existing-in-shell page from within zim, moved the actually existing counterpart back into the zim folder by shell, and the index was behaving again. Sorry for disturbing you all - it seems Murphy wanted me to mail to all of just before I found a solution. Maybe it helps someone else in the same situation. Best wishes, Hella On 15/04/15 19:34, Hella Riede wrote: Hi all, my zim index went a little crazy (showing large gaps, partially filled when my mouse hovers over them, shifting entries so they are not alphabetical anymore, duplicating entries, showing them in a different level of the hierarchy). Updating the index multiple times failed to resolve it, and then this popped up: This is zim 0.62 Platform: posix Locale: en_US UTF-8 FS encoding: UTF-8 Python: (2, 7, 3, 'final', 0) Gtk: (2, 24, 10) Pygtk: (2, 24, 0) No bzr version-info found === Traceback === File /usr/lib/pymodules/python2.7/zim/gui/__init__.py, line 911, in _action_handler method(*arg) File /usr/lib/pymodules/python2.7/zim/gui/__init__.py, line 1742, in delete_page self.notebook.trash_page(path, update_links, callback) File /usr/lib/pymodules/python2.7/zim/notebook.py, line 1767, in trash_page return self._delete_page(path, update_links, callback, trash=True) File /usr/lib/pymodules/python2.7/zim/notebook.py, line 1795, in _delete_page self.flush_page_cache(path) File /usr/lib/pymodules/python2.7/zim/notebook.py, line 1395, in flush_page_cache assert not page.modified, 'BUG: Flushing page with unsaved changes' AssertionError: BUG: Flushing page with unsaved changes I do have virtual pages (links that don't have a page yet). Up to now, that was not a problem, however. Ideas? Best wishes, Hella ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] Additional states for checkboxes
Hi all, that sounds similar to a state "in progress" that I would find very convenient. Alternatively, a hint about how / where to define these states and icons would be very much appreciated as well. Thanks and best wishes, Hella On 18/01/16 14:38, Steve Chadsey wrote: Hello, Zim checkbox states can be "open" (not checked), "OK" (checked, green checkmark) or "Not OK" (checked, red X). With my Zim workflow, it would be incredibly convenient to have an additional checkbox state. I would use it to indicate a state of "Not completed". It would be differentiated from "open" in that 1) it would use some new indicator/icon (like a yellow triangle), and 2) the item with this new state would not appear in the Task list. I'd like to request an enhancement to allow for this additional checkbox state. Ideally, the user would be able to configure multiple different checkbox states, and clicking on the checkbox would cycle through all configured states. Thanks, ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] Delete old zim backups (versioning plugin + git)
Dear Zim list, I use the versioning plugin with git and automatic backups. Is it possible to select and delete some old versions? Thanks in advance! Best wishes, Hella ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
[Zim-wiki] mouse copy problems (Linux)
Hey all, I use zim every day on my Linux PC - I like it a lot! I also use mouse copy a lot (marking text somewhere, inserting it by middle mouse button somewhere else). There are two issue with mouse copy: 1) Mouse copy does not work inside zim If I mark text in zim, and then try to insert it somewhere else in zim, nothing happens. 2) Mouse copy contents is lost when clicking on a page in the ToC tab Usually, mouse copy works fine from any application outside of zim to a zim page. However, the mouse copy contents is lost after I click on a page in the table of contents (ToC) tab. (Clicking on a page in the "Index" tab, any page in the last pages list, or navigating backward/forward leaves the mouse copy contents intact.) Any ideas if these 2 points can be improved or fixed? Thanks in advance! Hella ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] mouse copy problems (Linux)
P.S. Adding to point 2) below: Also formatting actions like hitting Strg+2 to make a headline deletes the mouse copy contents. On 09/05/16 12:03, Hella Riede wrote: Hey all, I use zim every day on my Linux PC - I like it a lot! I also use mouse copy a lot (marking text somewhere, inserting it by middle mouse button somewhere else). There are two issue with mouse copy: 1) Mouse copy does not work inside zim If I mark text in zim, and then try to insert it somewhere else in zim, nothing happens. 2) Mouse copy contents is lost when clicking on a page in the ToC tab Usually, mouse copy works fine from any application outside of zim to a zim page. However, the mouse copy contents is lost after I click on a page in the table of contents (ToC) tab. (Clicking on a page in the "Index" tab, any page in the last pages list, or navigating backward/forward leaves the mouse copy contents intact.) Any ideas if these 2 points can be improved or fixed? Thanks in advance! Hella ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] X11 primary selection availability
Update: I have the same problem on LaTeXila (https://wiki.gnome.org/Apps/LaTeXila). Mouse copy from outside of LaTeXila into a LaTeXila page works, but marking something inside a page and trying to directly insert it elsewhere on the same page doesn't. Insert also doesn't work anymore after pressing a button, e.g., to bolden a word. So it seems the same behavior as for zim. Don't know anything about the implementation of zim or LaTeXila so I can't make conclusions what causes this behavior. The code for LaTeXila is here, https://git.gnome.org/browse/latexila, and they also have a copy on github, https://github.com/GNOME/latexila. Maybe someone else sees the parallels between zim and LaTeXila. Best, Hella On 02/12/16 05:44, Karthik Tayur wrote: I've observed this happening only in case I format text on a page. Jumping to a new page, primary click to place cursor doesn't seem to empty the clipboard. It's limited to Hella's 2nd instance alone for me. (Arch Linux: XFCE) On 1 December 2016 at 14:09, mc <m...@alienheartbeat.com> wrote: Thanks Hella, you are right. To clarify, my experience is the same as Hella's except in 2) I can select something on a page, then middle click, and it will be inserted AS LONG AS I don't do anything else. eg if I even just left click to mark the place the buffer gets emptied. It seems most actions within zim (eg left click, changing pages, 'Strg+2') cause the buffer to be emptied. mc On 2016-12-01 20:43, Hella Riede wrote: Hi all, this is Hella (mentioned by mc). I use Linux Mint Maya (based long-term support version Ubuntu Precise) with Cinnamon. For me, mouse copy (mark, then insert by middle click) into zim ... 1) works when marking something somewhere outside of zim (e.g., terminal, vim, browser) then change to zim and directly use the middle button on the already opened k, then insert by middle click) into zim ... 1) works when marking something somewhere outside of zim (e.g., terminal, vim, browser) then change to zim and directly use the middle button on the already opened page 2) does *not* work within zim, e.g., marking something on a page, then middle click somewhere on the same page won't insert anything 3) does *not* work when marking something outside of zim, then go to zim, format something first, for example use 'Strg+2' to make a headline or change to another page, then press the middle button somewhere -> nothing So it seems when I am already in zim, the buffer is never filled. When I am outside of zim, the buffer is filled, but emptied when doing something in zim like formatting a headline or change to another page. I never experienced problems with the mouse copy anywhere else on Linux besides zim. Best wishes, Hella On 01/12/16 09:23, mc wrote: (I hope hope this is the right way to post to a mailing list!!) As another datapoint, I have the same problem in Zim on kde in Kubuntu 14.04 on multiple machines. I notice that Hella Reide raised the same problem 19/May this year, but I didn't see any reply or solution. Middle-click works correctly in everything else. For me, and I suspect for Hella middle-click works within the same Zim page and it works pasting from Zim to an outside kate/kwrite page, but when you try to paste into another Zim page nothing happens, AND the buffer is cleared. How do I know the buffer is cleared? Because after trying to paste to another Zim page, I can no longer paste to an external kate/kwrite page. I don't think this is Jaap's problem - it is very platform specific. But I have been trying to find a solution for a few year and haven’t found one yet. regards mc On 2016-12-01 02:16, Chris Habasinski wrote: Works for me too - xubuntu 16.04 On 11/30/2016 12:58 PM, Steffen Schuldenzucker wrote: Hi Marco, this works for me (ubuntu, xmonad/LXDE) without any problems. (just to point out that it's not broken for /everyone/ /all/ the time) Best, Steffen On 11/30/16 02:09, arkilho arkilho wrote: Hello everybody, this is Marco from Italy, just subscribed with the purpose of asking you whether there is some internal use of the primary selection that forbids me (and maybe some of us) to just paste the selected text by middle mouse click. This is the good (or at least simple) old cutbuffer, now became X11 primary selection. I use Debian Jessie with XFCE4, and Zim is my most useful way of storing my infos, and the primary selection to middle click is my most useful and fast way to cut, expecially from terminals like rxvt, but also from firefox selected text.. Did you ever missed this? Do you have something to suggest me that differs from (for ex) "throw xfce, use gnome, and write gsettings set org.gnome.settings-daemon.peripherals.mouse middle-button-enabled true" As far as I've seen until now, except from some virtual machines, Zim is really the only software I use that cannot benefit from this nice feature, so I'm at least wondering if there are some constrains
Re: [Zim-wiki] X11 primary selection availability
Hi all, this is Hella (mentioned by mc). I use Linux Mint Maya (based long-term support version Ubuntu Precise) with Cinnamon. For me, mouse copy (mark, then insert by middle click) into zim ... 1) works when marking something somewhere outside of zim (e.g., terminal, vim, browser) then change to zim and directly use the middle button on the already opened page 2) does *not* work within zim, e.g., marking something on a page, then middle click somewhere on the same page won't insert anything 3) does *not* work when marking something outside of zim, then go to zim, format something first, for example use 'Strg+2' to make a headline or change to another page, then press the middle button somewhere -> nothing So it seems when I am already in zim, the buffer is never filled. When I am outside of zim, the buffer is filled, but emptied when doing something in zim like formatting a headline or change to another page. I never experienced problems with the mouse copy anywhere else on Linux besides zim. Best wishes, Hella On 01/12/16 09:23, mc wrote: (I hope hope this is the right way to post to a mailing list!!) As another datapoint, I have the same problem in Zim on kde in Kubuntu 14.04 on multiple machines. I notice that Hella Reide raised the same problem 19/May this year, but I didn't see any reply or solution. Middle-click works correctly in everything else. For me, and I suspect for Hella middle-click works within the same Zim page and it works pasting from Zim to an outside kate/kwrite page, but when you try to paste into another Zim page nothing happens, AND the buffer is cleared. How do I know the buffer is cleared? Because after trying to paste to another Zim page, I can no longer paste to an external kate/kwrite page. I don't think this is Jaap's problem - it is very platform specific. But I have been trying to find a solution for a few year and haven’t found one yet. regards mc On 2016-12-01 02:16, Chris Habasinski wrote: Works for me too - xubuntu 16.04 On 11/30/2016 12:58 PM, Steffen Schuldenzucker wrote: Hi Marco, this works for me (ubuntu, xmonad/LXDE) without any problems. (just to point out that it's not broken for /everyone/ /all/ the time) Best, Steffen On 11/30/16 02:09, arkilho arkilho wrote: Hello everybody, this is Marco from Italy, just subscribed with the purpose of asking you whether there is some internal use of the primary selection that forbids me (and maybe some of us) to just paste the selected text by middle mouse click. This is the good (or at least simple) old cutbuffer, now became X11 primary selection. I use Debian Jessie with XFCE4, and Zim is my most useful way of storing my infos, and the primary selection to middle click is my most useful and fast way to cut, expecially from terminals like rxvt, but also from firefox selected text.. Did you ever missed this? Do you have something to suggest me that differs from (for ex) "throw xfce, use gnome, and write gsettings set org.gnome.settings-daemon.peripherals.mouse middle-button-enabled true" As far as I've seen until now, except from some virtual machines, Zim is really the only software I use that cannot benefit from this nice feature, so I'm at least wondering if there are some constrains that will break Zim, internals, boh Thank you! Marco ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp