Installing Inkscape2Tikz extension

Post questions on how to use or achieve an effect in Inkscape.
Oskar-
Posts: 3
Joined: Tue Oct 14, 2014 12:39 am

Installing Inkscape2Tikz extension

Postby Oskar- » Tue Oct 14, 2014 12:47 am

Hi,

I am having trouble installing the Inkscape2Tikz extension. I downloaded all three files (tikz_export.py, tikz_export_effect.inx and tikz_export_output.inx) and saved them into the Program Files (x86)\inkscape\shared\extensions folder. The extension didn't appear in the Extensions menu. I also attempted downloading the dependencies (inkex.py, simplepath.py and simplestyle.py) into the same folder (although they were already present), but that didn't help. I am using Inkscape version 0.48.5.

Any help is appreciated

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Installing Inkscape2Tikz extension

Postby brynn » Tue Oct 14, 2014 2:45 am

You've tried restarting Inkscape?

Oskar-
Posts: 3
Joined: Tue Oct 14, 2014 12:39 am

Re: Installing Inkscape2Tikz extension

Postby Oskar- » Tue Oct 14, 2014 6:52 pm

Hi Brynn,

Yes. I copied the extensions without Inkscape running, then launched it. Closed it and ran it again. The extension was still not there. Any ideas?

Thanks

EDIT: I also tried doing this over a clean install of Inkscape to no avail.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Installing Inkscape2Tikz extension

Postby brynn » Wed Oct 15, 2014 10:27 am

Well, I'm certainly no expert on installing extensions. But it sounds like you did everything right.

On the Extensions Repository page (http://wiki.inkscape.org/wiki/index.php ... Z_exporter) it says "Export SVG paths as TikZ/PGF code for use with LaTeX." I wonder if it needs LaTex to make it work? Although, to be honest, that's a pretty wild guess....and probably wrong.

Besides double-checking that the files are where they are supposed to be, all I could suggest is -- maybe you could contact someone from the project via https://github.com/kjellmf/svg2tikz ?

Sorry, I wish I could be more help.

Oskar-
Posts: 3
Joined: Tue Oct 14, 2014 12:39 am

Re: Installing Inkscape2Tikz extension

Postby Oskar- » Wed Oct 15, 2014 8:37 pm

Hi Brynn,

Thank you for trying to help me. I have LaTeX installed and it runs correctly, I doubt this is an issue as inkscape itself wouldn't compile the output latex file. I will try contacting the github project developer.

Cheers,
Oskar

Paul.Linford
Posts: 1
Joined: Tue Oct 20, 2015 2:33 am

Re: Installing Inkscape2Tikz extension

Postby Paul.Linford » Tue Oct 20, 2015 9:15 pm

Hi All,

I seem to have the same problem as Oskar - I have installed 0.91 on Win7 64bit and no combination of the extension files, locations etc makes any difference. Nothing in the save as or in the extensions menu.

Could it be the 64bit installation? Anyone else made this work? Many thanks, Paul

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Installing Inkscape2Tikz extension

Postby brynn » Tue Oct 20, 2015 11:18 pm

If you suspect the problem might be the 64-bit version, you could always try the 32-bit version. [Edit - You wouldn't have to uninstall the 64 bit to install the 32-bit. But you'll have to install the extensions into the 32-bit Inkscape directory.

Or you could try the User directory (which is User > AppData > Roaming > Inkscape > extensions). If there isn't an extensions folder, you can add it. Note that AppData may be hidden. Let me know if you can't find it.]

But like I suggested for Oskar, I would suggest trying to contact the author. If you solve the problem, please let us know.

styxlawyer
Posts: 38
Joined: Tue Aug 11, 2015 5:53 am

Re: Installing Inkscape2Tikz extension

Postby styxlawyer » Wed Oct 21, 2015 12:14 am

Oskar- wrote:... and saved them into the Program Files (x86)\inkscape\shared\extensions folder.
.
.
brynn wrote:If you suspect the problem might be the 64-bit version, you could always try the 32-bit version. [Edit - You wouldn't have to uninstall the 64 bit to install the 32-bit. But you'll have to install the extensions into the 32-bit Inkscape directory.


... but the OP already saved the extensions in the 32-bit Windows directory even though the default installation for 0.91 on Windows is 64-bit.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Installing Inkscape2Tikz extension

Postby hulf2012 » Wed Oct 21, 2015 1:35 am

Hello,

In Linux, there is an "extension-errors.log" file. In my case it is in:
/home/user/.config/inkscape/extension-errors.log

near the place where I put other new extensions not bundled with Inkscape.

Anyway, open it with notepad or wordpad, and find the "Tikz" chain. Hopefully It will inform something...
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.


Return to “Help with using Inkscape”