0

Inkscape is a graphics program that has several extensions. One of this tool for exporting SVG pciture is TikZ/PGF. From this page https://github.com/kjellmf/svg2tikz SVG2TikZ, there are a set of tools for converting SVG graphics to TikZ/PGF code.

Could someone please explain to me how to correctly install svg2tikz in InkScape and how to export the code to TikZ?

I have seen this link https://github.com/kjellmf/svg2tikz/blob/master/docs/install.rst#automatic-installation-via-a-package-manager but not having installed InkScape on my computer I can't imagine how to install it correctly.

closed as off-topic by Wrzlprmft Jun 9 at 13:29

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Important data: What operating system are you using? First guess, based on "via-a-package-manager" is that you are using some form of Linux? – fred_dot_u May 3 at 21:58
  • @fred_dot_u OS Windows 10. I did not understand very well how to install it even if there is a question here about TeXstack: tex.stackexchange.com/questions/98594/… – Sebastiano May 4 at 9:23
  • 1
    Why do you expect the extension to work, if you don't even have Inkscape installed? – user unknown May 4 at 20:25
  • 1
    @Sebastiano I edited your post because requesting a video will likely attract downvotes and decreases searchability for our other members. Answerers will try to help you in ways they see fit. As it stands, I'm not sure your question is on-topic. – Emilie May 5 at 14:51
  • @Emilie You did very well to edit my matter and I thank you. I don't come here often. I like to ask and know, but not be insulted. – Sebastiano May 5 at 15:48
5

According to the instructions, all you need to do is to copy the .inx and .py files from here: https://github.com/kjellmf/svg2tikz/tree/master/svg2tikz/extensions

into your user extensions directory (which is listed in Edit > Preferences > System : User extensions).

Then restart (or start) Inkscape.

The extension should be available in the export dialog (as a selectable file type) and in the Extensions menu, under Export.

  • 1
    Since he hasn't installed Inkscape (hard to understand, because hard to believe), he will not have an user extension directory. – user unknown May 4 at 20:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.