[Zim-wiki] zim crash Gtk-ERROR **: Char offset 99 is off the end of the line

2016-07-19 Thread Sylvain Viart
Hi, I updated the bug https://bugs.launchpad.net/zim/+bug/1598138 What about the spellchecker can we have a more verbose error? Is the bug on the side of the spellchecker? Regards, Sylvain. ___ Mailing list: https://launchpad.net/~zim-wiki Post

[Zim-wiki] zim crash Gtk-ERROR **: Char offset 99 is off the end of the line

2016-07-19 Thread Sylvain Viart
Hi, I've a permanent crash, on the same page. (zim:9557): Gtk-ERROR **: Char offset 99 is off the end of the line What should I look into the page to fix it? Regards, Sylvain. ___ Mailing list: https://launchpad.net/~zim-wiki Post to :

[Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
Hi, I've a link in a page ~/somfile.ods (inserted with ctrl-L) When I click on in, zim still continue to open gnumeric instead of Calc? I modified my mine types and it works in Thunar, xfce filemanager under GNU/Linux. Zim 0.65 I've both Gnumeric and Clac installed. How does Zim handle

Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
Jaap, Le 12/02/2016 13:20, Jaap Karssenberg a écrit : > On Fri, Feb 12, 2016 at 12:12 PM, Sylvain Viart > <launch...@ledragon.net <mailto:launch...@ledragon.net>> wrote: > > How does Zim handle mime types? > > > > Zim follows the XDG spec, so

Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
On 12/02/2016 16:25, Jaap Karssenberg wrote: > Sure, go ahead > > On Fri, Feb 12, 2016 at 4:24 PM, Sylvain Viart <launch...@ledragon.net > <mailto:launch...@ledragon.net>> wrote: > > Do you want I create an issue for this on launchpad? > https://bugs.launch

Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
On 12/02/2016 15:42, Jaap Karssenberg wrote: > Not a bug perse, as zim works as intended. However it follows the 2012 > implementation of the xdg tools. In the meantime they seem to have > adopted another file for storing defaults, so zim could be updated > accordingly. Seems like something

Re: [Zim-wiki] How to send text input to Zim editor from outside? (Linux)

2015-02-10 Thread Sylvain Viart
Hi, Is it not what this zim plugin do? Name Quick Note Description This plugin adds a dialog to quickly drop some text or clipboard content into a zim page. Another way is to do a custom tools, reread the txt buffer.

[Zim-wiki] zim search speedup

2014-10-05 Thread Sylvain Viart
Hi, My notebook is becoming a bit slow (may be my laptop is slow too) find Notes/ -name \*.txt -print0| wc --files0-from=- |tail -1 20516 164033 1200426 total Could you point me where is the search code of zim, so I can have a look at which algorithm it uses. Regards, Sylvain.

Re: [Zim-wiki] Small spreadsheets

2014-08-18 Thread Sylvain Viart
Hi, On 17/08/2014 19:44, Syv Ritch wrote: On Sun, 17 Aug 2014 07:57:40 +0200 Sylvain Viart wrote: Is it possible to include small spreadsheets just like I do for images? You can do a screenshot, paste it, and link to the local document… I was hoping for actual small spreadsheets Which OS

Re: [Zim-wiki] Modifying selected text bbcode…

2014-06-18 Thread Sylvain Viart
Le 18/06/2014 05:07, Jaap Karssenberg a écrit : sort lines plugin can be an example how to do[…] [start hacking to perform our own custom modification on selected text] Another option is to patch the code calling custom tools and allow a custom tool to filter the selected text from stdin to

Re: [Zim-wiki] Modifying selected text bbcode…

2014-06-18 Thread Sylvain Viart
Le 18/06/2014 09:00, Jaap Karssenberg a écrit : The quick hack would be to modify _exec_custom_tool() in zim/gui/__init__.py If this works, also the custom tool dialog (defined in zim/gui/customtools.py) should be updated to add that key as a checkbox. I can also imagine a similar key to

Re: [Zim-wiki] Modifying custom tool to handle selected text

2014-06-18 Thread Sylvain Viart
Dev post with a lot of code. Bug during Tools Custom Tools If the tool entry as no comment it fails… Not with the Zim packaged. Here is a basic stdin custom tool: $ cat ~/bin/zim-stdin #!/bin/bash tee -a ~/tmp/zim-custom.log | cat -n nothing happen for now. the if branch of the don't go

Re: [Zim-wiki] change default unchecked option insert link on move selected text

2014-06-16 Thread Sylvain Viart
Le 13/06/2014 21:38, Jaap Karssenberg a écrit : It is not hard-coded. THe code you refer is the default value, but after you use it, the dialog *should* remember your last choice. The first choice I would guess… So the default, may be is this case. I unchecked many dozen of times. Have a look

Re: [Zim-wiki] page path in clipboard?

2014-06-13 Thread Sylvain Viart
Le 12/06/2014 22:53, hans...@gmail.com a écrit : Right-click on the left outline nav, select copy Great… I missed that, Thanks a lot. Sylvain. ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe

[Zim-wiki] change default unchecked option insert link on move selected text

2014-06-13 Thread Sylvain Viart
Hi, I'm trying to use Zim for GTD (Geting Things Done) The right click move selected text is quite a good tool, moving a task to some other page. But the popup have a default option selected. Leave link to new page. Could be useful, but for my own usage I'd rather prefer to have this option

Re: [Zim-wiki] change default unchecked option insert link on move selected text

2014-06-13 Thread Sylvain Viart
On 13/06/2014 11:10, Sylvain Viart wrote: The right click move selected text is quite a good tool, moving a task to some other page. But the popup have a default option selected. Leave link to new page. [...] If not could you point me the code, and I'm gonna try to make a patch. Seems hard

[Zim-wiki] page path in clipboard?

2014-06-12 Thread Sylvain Viart
Hi Is it possible to have the current page fullpath in the clipboard? Is there any keyboard shortcut ? Could be a right click trick like rename or something. The doc said: So the name Foo:Bar refers to a page names Bar that is nested below a page Foo. + Foo `--- Bar I would like to get

Re: [Zim-wiki] export template

2014-06-08 Thread Sylvain Viart
Hi, Le 07/06/2014 12:12, Paulo van Breugel a écrit : Why don't you pull the files to a temporary folder, and copy the ecodiv.html and ecodiv folder to the ~/.local/share/zim/templates/html? If you want to give it a try, check out this blogpost:

Re: [Zim-wiki] export template

2014-06-06 Thread Sylvain Viart
Hi Paulo, Le 06/06/2014 20:46, Paulo van Breugel a écrit : I created an export template for Zim that creates pages with a responsive design Looks good. If you want to give it a try, check out this blogpost:

Re: [Zim-wiki] way slow on Ubuntu

2014-05-09 Thread Sylvain Viart
Hi Hans, I guess… Le 09/05/2014 16:03, hans...@gmail.com a écrit : Just created a new notebook and WOW is that nice and snappy. Confirmed it wasn't the fact it was on an encfs filesystem, nor that dropbox is sync'ing while things are unencrypted I guess I just let my main tree get too large?

Re: [Zim-wiki] sharing: custom tools to stat word count in novel writing with zim

2014-05-05 Thread Sylvain Viart
On 03/05/2014 16:41, Sylvain Viart wrote: I will probably share it on some website... Some times ago I written a small shell script which performs some stats useful for novel writer... I put it here: https://github.com/Sylvain303/zim-wiki/tree/master/custom_tools/count_words Sylvain

[Zim-wiki] Zim dokuwiki syntax, pandoc converting latex and pdf with line number!

2014-05-04 Thread Sylvain Viart
Hi, Do you know the amazing pandoc? A multi text format converter. http://johnmacfarlane.net/pandoc/ But it doesn't support dokuwiki yet... Zim's manual said: Most of this syntax is inspired by the dokuwiki syntax I'm playing to auto build a PDF passing a filter with Latex's magic inside.

Re: [Zim-wiki] insert a comment or an annotation about the content of a page

2014-04-29 Thread Sylvain Viart
Hi, Le 29/04/2014 22:34, Jaap Karssenberg a écrit : Have a look at this bug report for a similar request: https://bugs.launchpad.net/zim/+bug/1108760 On Tue, Apr 22, 2014 at 8:43 AM, Sylvain Viart launch...@ledragon.net mailto:launch...@ledragon.net wrote: I there a trick to insert

[Zim-wiki] insert a comment or an annotation about the content of a page

2014-04-22 Thread Sylvain Viart
Hi, I there a trick to insert a comment or an annotation about the content of a page? Or a way to make a margin or a column may be. It could also be a new tab on the left, but one for each page... Regards, Sylvain. ___ Mailing list:

Re: [Zim-wiki] detection of repetitions highlighter?

2014-04-10 Thread Sylvain Viart
Thank you, Le 09/04/2014 08:49, Jaap Karssenberg a écrit : Well, you would have to implement the detection algorithm itself. Probably not too hard as long as you look for literal matches. I'll also look at LanguageTool Development https://languagetool.org/development/ Could it be

Re: [Zim-wiki] screen capture toolbar button (feature request)

2014-01-12 Thread Sylvain Viart
Hi Eric, Did you manage to produce some nice hack to share? Any idea about « hand drawing » with some apps and a tablet? Regards, Sylvain. On 23/12/2013 01:28, Qiang Fang wrote: I used to use my note keeper in windows, the screen capture button is very handy. Eg. if you want to capture a

Re: [Zim-wiki] Multiple Locations

2014-01-09 Thread Sylvain Viart
Le 09/01/2014 17:31, Johannes Ernst a écrit : You could use Owncloud's WebDAV functionality to mount a directory on all machines you want to use Zim on, and have Zim store its files there. Downside: only works when you have network access. Upside: no third party in the loop, open-source.

Re: [Zim-wiki] screen capture toolbar button (feature request)

2013-12-22 Thread Sylvain Viart
Hi, On 23/12/2013 01:28, Qiang Fang wrote: I used to use my note keeper in windows, the screen capture button is very handy. Eg. if you want to capture a picture in pdf files, you can open the file in the background, click the button, zim minimise then let you select the screen area, once a

[Zim-wiki] test mail zim-wiki

2013-11-05 Thread Sylvain Viart
Hi, Do you receive this mail? Regards Sylvain. ___ 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] Using bash scripts as custom tools

2013-11-05 Thread Sylvain Viart
Hi, Le 30/10/2013 08:52, Jaap Karssenberg a écrit : bash -c 'for i in %d/*.JPG; do echo {{./$i?width=700}} %s; done Could you put, some lines of what output you expect? %d and %s and, even %letter, is not a bash feature… What does this %% means to you? A small script (read: save the