Made preview.tex come from a template insetad of being generated (duh)