/usr/bin/latex2gif is in tth-common 4.01-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
#latex2gif script by Ian Hutchinson 1998; use at your own risk.
#You need latex, dvips and ps2gif.
if [ $# != 1 ] ; then
echo " Usage: latex2gif <file> (no extension)" 1>&2
exit 1
else
echo "Calling latex, dvips, and ps2gif, please wait ..." >&2
latex $1 >&2
dvips -o $1.ps $1 >&2
ps2gif $1.ps $1.gif
# rm $1.tex
rm $1.aux
rm $1.dvi
rm $1.log
rm $1.ps
fi
|