if latex $1 then dvipdf $1 rm $1.dvi fi grep arning $1.log