DEV Community

Discussion on: Quick Hack: Converting MathML to LaTeX

Collapse
 
gateragael profile image
Gael Ruta Gatera • Edited

Hello Furkan, Ignore my previous comment as the code works fine besides a small mistake. Right where you are transforming ----> mmldom = transform(mml_dom) you passed in the same variable "mmldom" into the convert to string function ----> latex_code = str(mml_dom)

Collapse
 
gateragael profile image
Gael Ruta Gatera
  • mmldom = transform(mml_dom)
  • latex_code = str(mmldom)