latexpic.sh: Crop to content
This commit is contained in:
parent
83e88d682b
commit
9f4cdab346
|
@ -19,6 +19,8 @@ $(cat $OLDPWD/$1)
|
|||
EOF
|
||||
|
||||
lualatex doc.tex
|
||||
mutool draw -o doc.svg doc.pdf
|
||||
inkscape -D -A doc.pdf doc.svg
|
||||
mutool draw -r 600 -o $OLDPWD/${1}.png doc.pdf
|
||||
mutool draw -o $OLDPWD/${1}.svg doc.pdf
|
||||
cd -
|
||||
|
|
Loading…
Reference in a new issue