Use PrinceXML to generate a PDF of an HTML page with Latex equations.