Add dot2tex \usepackage statements to template.