this is indeed a bit confusing.

1.       to get Ditaa to work, you need to download ditaa from here first:
--> I suggest to extract the content of the zipfile rather to c:\tools\ditaa 
then into Program Files….

2.       You need to install Java for Windows (which you probably already have)

3.       As you are using the portable Zim version, Dita seems not be 
activatable in the plugins menu, even if you add c:\tools\ditaa into PATH

You can’t find the ditaaeditor.py file within the portable zim version, as it 
is only available in the source packages.

4.       I attached the ditaeditor.py file, already changed the dotcmd entry 
pointing to c:\tools\ditaa

5.       Save this file into %appdata% \zim\data\zim\plugins\

6.       Activate in plugins within Zim

7.       Start from Insert menu


From: Mario Daniel Carugno [mailto:carug...@gmail.com]
Sent: Montag, 10. August 2015 13:06
To: krisztianmu...@mukli.hu
Cc: Güven, Ugur Murat; Zim
Subject: Re: [Zim-wiki] Where I install ditaa plugin ?

I don't have any 'ditaeditor.py' file ...
I'm using a portable zim desktop, but I think it should be the same, right ?

In some manual page says that plugins should be copied to python's site-package 

If a plugin is distributed as a separate python module, it should be installed
such that zim can find it. For use specific plugins you can install them
Python's "per user site-package directory".

For example for python 2.6 this folder is:
Unix (including Mac OS X): ''~/.local/lib/python2.6/site-packages''
Windows: ''%APPDATA%/Python/Python26/site-packages'

So, do I need to have Python installed for running plugins ?
It's confusing so far ...

2015-08-10 5:19 GMT-03:00 Mukli Krisztián 

Hi, I use this method:

1. Copy ditaa somewhere (e.g. C:\Program Files (x86)\Ditaa) and add that 
directory to the PATH

2. Edit C:\Program Files (x86)\Zim Desktop Wiki\zim\plugins\ditaaeditor.py file 
in a text-editor (notepad, for example):

Find an comment (or delete) next line (somewhere in the top of the file):

dotcmd = ('ditaa')

replace it or add to the next line:

dotcmd = ('java -jar "C:\\Program Files 

3. That's it, restart Zim and check Ditaa-plugin.

Best regards

Mukli Krisztián

On Mon, 10 Aug 2015 09:57:21 +0200, Güven, Ugur Murat 
<murat.gue...@ts.fujitsu.com<mailto:murat.gue...@ts.fujitsu.com>> wrote:

%appdata% then \zim\data\zim\plugins

If the directories do not exist, you need to create them.

I think, I will build a little plugin which helps importing plugins…


From: Zim-wiki 
 On Behalf Of Mario Daniel Carugno
Sent: Montag, 10. August 2015 01:45
To: Zim
Subject: [Zim-wiki] Where I install ditaa plugin ?

Hi there

I'm running Zim on Windows, and want to try the ditaa plugin.
I've downloaded ditaa, which is just a jar file
But I don't know where to copy it in order to be recognized by Zim
First I've put it in the same directory where the book is.
Then I've copied it in a directory in the path variable
Nothing worked.
So, where is the right location for plugins ?


Mukli Krisztián

tel: +3631 313 2094
mail: krisztianmu...@mukli.hu<mailto:krisztianmu...@mukli.hu>
web: www.mukli.hu<http://www.mukli.hu>

Attachment: ditaaeditor.py
Description: ditaaeditor.py

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

Reply via email to