Re: [Zim-wiki] Where I install ditaa plugin ?
Thanks, it worked ! I don't know what you mean by I suggest to extract the content of the zipfile rather to c:\tools\ditaa then into Program Files…. I've just copied ditaa to c:\tools (doing nothing in Program Files), and followed the remaining steps. Now ditaa plugin is 'checkable' Thanks !!! 2015-08-10 8:40 GMT-03:00 Güven, Ugur Murat : > Hi, > > > > this is indeed a bit confusing. > > > > 1. to get Ditaa to work, you need to download ditaa from here first: > http://sourceforge.net/projects/ditaa/ > à 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 > > > > Regards, > > Murat > > > > > > > > > > *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 folder > > > > *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 (x86)\\Ditaa\\ditaa0_9.jar"') > > 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> wrote: > > Hi, > > > > %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… > > > > Regards, > > Murat > > > > > > *From:* Zim-wiki [mailto:zim-wiki-bounces+murat.gueven= > ts.fujitsu@lists.launchpad.net] *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 ? > > > > Thanks > > -- > > *Mukli Krisztián* > > *tel: +3631 313 2094* > *mail: krisztianmu...@mukli.hu * > *web: www.mukli.hu <http://www.mukli.hu>* > > > ___ 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] Where I install ditaa plugin ?
Hi, this is indeed a bit confusing. 1. to get Ditaa to work, you need to download ditaa from here first: http://sourceforge.net/projects/ditaa/ --> 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 Regards, Murat 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 folder 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 mailto:krisztianmu...@mukli.hu>>: 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 (x86)\\Ditaa\\ditaa0_9.jar"') 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 mailto:murat.gue...@ts.fujitsu.com>> wrote: Hi, %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… Regards, Murat From: Zim-wiki [mailto:zim-wiki-bounces+murat.gueven<mailto:zim-wiki-bounces%2Bmurat.gueven>=ts.fujitsu@lists.launchpad.net<mailto:ts.fujitsu....@lists.launchpad.net>] 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 ? Thanks -- Mukli Krisztián tel: +3631 313 2094 mail: krisztianmu...@mukli.hu<mailto:krisztianmu...@mukli.hu> web: www.mukli.hu<http://www.mukli.hu> 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
Re: [Zim-wiki] Where I install ditaa plugin ?
I see, compiled version doesn't contain this file... Maybe it compiled to binary format. You may use Zim from source, here is a step-by-step description for previous version (it works for actual version too): https://lists.launchpad.net/zim-wiki/msg03080.html [1] On Mon, 10 Aug 2015 08:05:36 -0300, Mario Daniel Carugno wrote: 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 folder 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 Wikizimpluginsditaaeditor.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 (x86)\Ditaa\ditaa0_9.jar"') 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 wrote: Hi, %appdata% then zimdatazimplugins If the directories do not exist, you need to create them. I think, I will build a little plugin which helps importing plugins… Regards, Murat FROM: Zim-wiki [mailto:zim-wiki-bounces+murat.gueven [4]=ts.fujitsu....@lists.launchpad.net [5]] 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 ? Thanks -- MUKLI KRISZTIÁN _tel: +3631 313 2094_ _mail: krisztianmu...@mukli.hu [6]_ _web: www.mukli.hu [7]_ -- MUKLI KRISZTIÁN _tel: +3631 313 2094_ _mail: krisztianmu...@mukli.hu [8]_ _web: www.mukli.hu [9]_ Links: -- [1] https://lists.launchpad.net/zim-wiki/msg03080.html [2] mailto:krisztianmu...@mukli.hu [3] mailto:murat.gue...@ts.fujitsu.com [4] mailto:zim-wiki-bounces%2Bmurat.gueven [5] mailto:ts.fujitsu@lists.launchpad.net [6] mailto:krisztianmu...@mukli.hu [7] http://www.mukli.hu [8] mailto:krisztianmu...@mukli.hu [9] http://www.mukli.hu ___ 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] 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 folder *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 (x86)\\Ditaa\\ditaa0_9.jar"') > > 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> wrote: > > Hi, > > > > %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… > > > > Regards, > > Murat > > > > > > *From:* Zim-wiki [mailto:zim-wiki-bounces+murat.gueven= > ts.fujitsu@lists.launchpad.net] *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 ? > > > > Thanks > > -- > > *Mukli Krisztián* > > *tel: +3631 313 2094* > *mail: krisztianmu...@mukli.hu * > *web: www.mukli.hu <http://www.mukli.hu>* > ___ 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] Where I install ditaa plugin ?
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 Wikizimpluginsditaaeditor.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 (x86)\Ditaa\ditaa0_9.jar"') 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 wrote: Hi, %appdata% then zimdatazimplugins If the directories do not exist, you need to create them. I think, I will build a little plugin which helps importing plugins… Regards, Murat FROM: Zim-wiki [mailto:zim-wiki-bounces+murat.gueven=ts.fujitsu@lists.launchpad.net] 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 ? Thanks -- MUKLI KRISZTIÁN _tel: +3631 313 2094_ _mail: krisztianmu...@mukli.hu [1]_ _web: www.mukli.hu [2]_ Links: -- [1] mailto:krisztianmu...@mukli.hu [2] http://www.mukli.hu ___ 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] Where I install ditaa plugin ?
Hi, %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… Regards, Murat From: Zim-wiki [mailto:zim-wiki-bounces+murat.gueven=ts.fujitsu@lists.launchpad.net] 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 ? 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] 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 ? 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