latexpic: use mutool instead of convert

This commit is contained in:
Simon Bruder 2020-03-02 19:13:48 +00:00
parent 9715c1b70f
commit 87ff30582f
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -19,6 +19,7 @@ $(cat $OLDPWD/$1)
EOF
lualatex doc.tex
convert -density 600 doc.pdf $OLDPWD/$2
mutool draw -r 600 -o $OLDPWD/${1}.png doc.pdf
mutool draw -o $OLDPWD/${1}.svg doc.pdf
cd -
rm -rf $tmpdir