Files
hkuds--lightrag/lightrag/parser/docx/omml/__init__.py
T
2026-07-13 12:08:54 +08:00

11 lines
262 B
Python

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