1

I am trying to turn an .svg file to a LaTeX document. I cloned the github repo for avg2tikz and followed the installation instuctions. After not getting this to work with inkscape I tried to use it with the command line on Windows. This question says that the command I need is

 python tikz_export.py Tux.svg -o tux.tex

After typing this into cmd in the correct directory I get this error:

>python tikz_export.py myfile.svg -o myfile.tex

Traceback (most recent call last): File "filepath", line 1482, in <module> main_inkscape() File "filepath", line 1465, in main_inkscape effect = TikZPathExporter(inkscape_mode=True) File "filepath", line 630, in init self.svg.unittouu = inkex.unittouu AttributeError: 'TikZPathExporter' object has no attribute 'svg'

Is it possible that I need to change inkscape_mode=True to inkscape_mode=False since I am not using it with inkscape. I really appreciate any help.

0 Answers0