__init__.py 262 B

12345678910
  1. """
  2. ABOUTME: OMML (Office Math Markup Language) to LaTeX conversion
  3. """
  4. from .ommlparser import OMMLParser
  5. def convert_omml_to_latex(omml_element) -> str:
  6. """Convert an m:oMath XML element to a LaTeX string."""
  7. return OMMLParser().parse(omml_element)