summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/bash/dvipngproof.sh
blob: 47f334daaf003ed3a8d39a9afbdb161096a14da9 (plain)
1
2
3
4
5
6
7
8
9
echo \\documentclass{minimal}\
     \\usepackage{graphicx}\
     \\begin{document}\
     \\includegraphics{$1}\
     \\end{document} > ZZZtemporarygarbage.tex
latex ZZZtemporarygarbage.tex
dvipng -v -D 100 -T tight -bg Transparent -o ZZZtemporarygarbage.png ZZZtemporarygarbage.dvi
display ZZZtemporarygarbage.png &
#rm ZZZtemporarygarbage.*