- Install Inkspace
/Applications/Inkscape.app/Contents/Resources/bin/inkscape \
--without-gui --export-width={{ WIDTH }} \
--file {{ INPUT }}.svg --export-png={{ OUTPUT }}.png
Note: In the inkspace
command, current working directory will be set to /Applications/Inkscape.app
.
- Install TeX
convert -background white -layers merge {{ INPUT }}.png {{ OUTPUT }}.eps