latex pretex dvips pretex.dvi -o pretex.ps rm pretex.log rm pretex.aux rm pretex.dvi chmod g+w pretex.ps echo opening ghostview ghostview pretex.ps