gillescastel / inkscape-figures

Inkscape figure manager
MIT License
557 stars 119 forks source link

Inkscape Unknown option --export-filename #25

Closed Veetikki closed 4 years ago

Veetikki commented 4 years ago

Newest version doesn't support --export-file, it should be --export-filename=FILENAME.

SoptikHa2 commented 4 years ago

Inkscape version? I encountered this problem while inkscape was in beta and sent merge request which seemed to fix this.

See https://github.com/gillescastel/inkscape-figures/blob/master/inkscapefigures/main.py#L144

SoptikHa2 commented 4 years ago

Nevermind, I just found out I have the same problem. It looks like inkscape simply changed it's CLI once again. This is the same sort of problem that was in #18 .

Inkscape 1.0 (4035a4fb49, 2020-05-01)
    Pango version: 1.44.7

I quickly hacked together a patch, I'll create a pull request. It works for me, but someone should look into it more closely to make sure this won't break with other versions of inkscape.