Replace latex plugin by new render_math