Unix style end lines and emacs line in template.tex