diff --git a/latexpic.sh b/latexpic.sh index 558ab72..f273ec6 100755 --- a/latexpic.sh +++ b/latexpic.sh @@ -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