add support for LaTeX plugin