snippets and latex2 fix