compatibility with latexing plugin