gillescastel / inkscape-figures

Inkscape figure manager
MIT License
557 stars 119 forks source link

watch not working on macOS #31

Closed roman-dusek closed 3 years ago

roman-dusek commented 3 years ago

Hey, I can't get "watch" working by saving .svg in Inkscape. Have anyone had the same issue on macOS and got it working? Is there any package I need or change I can make? I am using macOS Catalina 10.15.7 and Inkscape 1.0.1.

I have actually found a way by adding mapping to vim to call terminal, but I would like to automate it. nnoremap <C-s>: ! for FILE in ./figures/*.svg; do inkscape -D $FILE -o .pdf --export-latex; done

I also tried this but didnt work at all.

I am quite new into vim, Latex and working with terminal, will be very happy for any advice.

UlrichVestuche commented 3 years ago

Hey, Try to Brew install fswatch I got mine working this way.

cxdorn commented 3 years ago

@zighj74 thanks this worked for me!