You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description
When converting DOCX files containing mathematical formulas to Markdown, the formulas are currently not properly converted. This limits the utility of MarkItDown for academic and technical documents where mathematical expressions are common.
Current Behavior
Mathematical formulas in DOCX files are either skipped or converted incorrectly
No support for converting Office Math ML (OMML) to LaTeX or other markdown-compatible formats
Expected Behavior
Mathematical formulas should be converted to LaTeX format, which is widely supported in Markdown renderers
The conversion should preserve the mathematical meaning and formatting of the original formulas
Support for both inline and display math modes
Use Cases
Converting academic papers with mathematical content
Converting educational materials with mathematical expressions
Suggested Implementation
Add support for parsing Office Math ML (OMML) from DOCX files
Implement conversion from OMML to LaTeX
Properly handle both inline and display math modes in the output markdown
Consider using existing libraries like omml2mathml for initial conversion to MathML, then convert to LaTeX
Additional Context
This feature would significantly enhance MarkItDown's utility for academic and technical users who frequently work with mathematical content.
Environment
MarkItDown version: [latest]
Python version: 3.x
OS: All platforms
The text was updated successfully, but these errors were encountered:
Issue Description
When converting DOCX files containing mathematical formulas to Markdown, the formulas are currently not properly converted. This limits the utility of MarkItDown for academic and technical documents where mathematical expressions are common.
Current Behavior
Expected Behavior
Use Cases
Suggested Implementation
Additional Context
This feature would significantly enhance MarkItDown's utility for academic and technical users who frequently work with mathematical content.
Environment
The text was updated successfully, but these errors were encountered: