#!/bin/sh
rm $1.ps.gz ; \
latex $1.tex > latex.log; latex $1.tex > latex.log; latex $1.tex > latex.log; dvips -t letter -o $1.ps $1.dvi; \
echo ; \
echo Distilling PDF file... ; \
ps2pdf -dPDFSETTINGS=/printer -r600x600 $1.ps; rm -f *.log *.dvi *.aux *.lof *.lot *.toc; \
echo ; \
#echo Compressing Postscript file... ; \
#gzip $1.ps ; \
rm $1.ps ; \
echo ; \
echo Done! ; \
echo ;
