latexpic: use mutool instead of convert
This commit is contained in:
parent
9715c1b70f
commit
87ff30582f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue