I'm using inkscape to draw a simple picture and i saved with svg extension I want to convert this svg file to Tikz code for latex I download the extensions from github https://github.com/paaguti/svg2tikz and i Extract the files tikz_export.py, tikz_export_effect.inx, and tikz_export_output.inx from svg2tikz-master/svg2tikz/extensions and put them in the share/extension directory inside the Inkscape installation directory. when i chose extension->exporter->export to tikz path i get this message and nothing happen;
- Inscape a reçu des données additionnelles du script exécuté. Le script n’a pas retourné d’erreur, mais ceci peut indiquer que les résultats ne sont pas ceux attendus.
- tikz_export.py:645: DeprecationWarning: Effect.OptionParser or
optparsehas been deprecated and replaced withargparser.You must changeself.OptionParser.add_optiontoself.arg_parser.add_argument; the arguments are similar. - parser = self.OptionParser
- Traceback (most recent call last):
- File "tikz_export.py", line 1478, in
main_inkscape()
File "tikz_export.py", line 1461, in main_inkscape
- effect = TikZPathExporter(inkscape_mode=True) File "tikz_export.py", line 629, in init self._set_up_options()
- File "tikz_export.py", line 646, in _set_up_options parser.set_defaults(codeoutput='standalone', crop=False, clipboard=False, AttributeError: 'TikZPathExporter' object has no attribute 'set_defaults'
svgpackage? You can read about how to set it up in this answer. – schtandard Jun 07 '20 at 17:01svg2tikzbut suceeded withSVGPathy(see https://tex.stackexchange.com/a/427568). – Thérèse Aug 15 '23 at 23:27