Debian Codegraph @

texmf-dist/doc/generic/pst-kepler/images/tex2gif.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2 # tex->pdf
3 echoscip-shell system . . echo. "converting all tex-files to a gif image:"
4 for file in *.tex ; do
5 STEM=`basenamescip-shell system . . basename. $file .tex`
6 echoscip-shell system . . echo. "convert $file ..."
7 latex $file
8 dvips $STEM.dvi
9 ps2pdf $STEM.ps
10 magick convert -delay 5 -density 100x100 -alpha remove $STEM.pdf -loop 0 $STEM.gif
11 echoscip-shell system . . echo. "... done $STEM.gif"
12 done
13 rmscip-shell system . . rm. *.aux
14 rmscip-shell system . . rm. *.log
15 rmscip-shell system . . rm. *.ps
16 rmscip-shell system . . rm. *.pdf
17 rmscip-shell system . . rm. *.dvi