SMPTE Github Repo renders mathematical formulas to PDF this way:
vs
Chrome PDF rendering of HTML pages:
The Chrome rendering of mathematical formulas is much more readable and will cause less confusion during complex translations of mathematical formulas.
Chrome PDF rendering is available via command line syntax which may make it useable for this function (or maybe there's a better PDF renderer for the tooling functions.