Open cristianpjensen opened 3 years ago
Had the same problem. Unfortunately the automatic save does not work for me on ubuntu as well.
Just ran the debug option that i found in the closed issues.
My inkscape version is Inkscape 0.92.5 (2060ec1f9f, 2020-04-08), which resulted in the wrong savecode in the script. Manually fixing the command worked, but I am unsure why the inkscape_version_number < [1, 0, 0]:
did not work in my case.
I am running inkscape on the 1.1 beta version, I am getting [1, 1, 0]
correctly as output. I don't know why the autosave function isn't working for me. Does the autosave only work on < 1.0
or maybe only on linux? I am using inkscape-figures watch
before going into vim.
@cristianpjensen @pstaerk Did you install fswatch, e.g. via $ brew install fswatch
?
It is used by main.py
for non-linux systems:
You should find a running background job with
❯ pgrep fswatch
39997
see also https://github.com/gillescastel/inkscape-figures/issues/31
When saving the figure on macOS, using cmd+S, the figure is not automatically saved as a pdf and pdf_tex file. I have to manually use cmd+shift+S to save it as pdf. The file is only saved as SVG when using cmd+S.
Shouldn't the file be automatically saved as pdf when saving the file, according to the README?