refactoring to LaTeXML 0.7.99