expose insertmath function of math-plugin