#!/bin/bash

pdflatex *.tex
pdflatex *.tex

rm *.aux  *.out *.log  *.toc

open *.pdf