new plugin and better support for latex