Re: [Zim-wiki] Markup; conversion embedded image <--> link

2015-04-30 Thread Jaap Karssenberg
Afraid not. Jaap On Tue, Apr 21, 2015 at 8:35 AM, WEHLER Andreas < andreas.weh...@thalesgroup.com> wrote: > Hi. > > Is there a way to convert >a) an embedded image {{./foobar.png}} >b) to a link [[./foobar.png]] > > and vice versa via some dialog without jumping into the source?

Re: [Zim-wiki] change notebooks.list

2015-04-30 Thread Jaap Karssenberg
It is intended that the list is re-orderable in the dialog. At least on my windows system that is broken, would need to test at home on linux. If it does not allow to re-order I consider that a bug. REgards, Jaap On Mon, Apr 20, 2015 at 12:11 PM, Ecodiv email wrote: > Dear Jaap, > > I tried

[Zim-wiki] Getting external tools to work?

2015-04-30 Thread Graham Foster
Hi I do a lot of SQL and use Zim for keeping notes on client issues / the SQL used to investigate issues. I have the source code plugin, which does nice highlighting, but I would like to do reformatting too. I have a command line reformatter, but it expects SQL text in - not wiki format text. I

Re: [Zim-wiki] Getting external tools to work?

2015-04-30 Thread Jaap Karssenberg
Hi Graham, The custom tool really only takes a command, not a shell expression. So in your example "echo %t | sqlformatter.exe" the "|" doesn't do what you think it does - instead it is just passed on as a literal to the "echo" command. What you should do is put the commands in a ".bat" file, th

Re: [Zim-wiki] Getting external tools to work?

2015-04-30 Thread Graham Foster
That was quick! – Thanks echo select * from tables order bv 1 desc | sqlformatter.exe works in the command shell, and I get reformatted text back out onto the console of select * from tables order by 1 desc I was hoping to keep this simple without having to write parsers for wiki te

Re: [Zim-wiki] Close notebook (or quit zim) from the command line? (Linux)

2015-04-30 Thread Jaap Karssenberg
Hi John, I do not believe it this is necessary to close zim in this case. Zim checks the mtime on files when reading and writing, so will not easily overwrite your edits. Assume zim is open and you edit the page in some other process, then come back to zim, you will get an error on the first auto-