make midterm.tex compile.