LaTeX filter added to templates (bugfix)