pretty $1 > $1.tex; mv $1.tex . echo "\documentclass{article}" > pretty.tex echo "\input pretty.mac" >> pretty.tex echo "\usepackage{fullpage}" >> pretty.tex echo "\begin{document}" >> pretty.tex echo "\input" >> pretty.tex echo $1.tex >> pretty.tex echo "\end{document}" >> pretty.tex latex pretty.tex