Move edition vars to separate python script, add TOC.
Remove some unneeded biblio stuff from the tex template.