matplotlib, latex to html python parser, executing using python