WIP: LaTeX templating