automatically generate the _template.tex files ... also in the Makefile