Skip to content

Extend LaTeX Math Support in mathPlugin #2

@mayank1513

Description

@mayank1513

The mathPlugin currently does a great job of converting math nodes (generated by remark-math) into DOCX format. However, it has limitations when handling:

Supported: Standard inline and block math expressions.
Missing Support For:

  • LaTeX environments (matrix, cases, align, etc.)
  • Equation alignments

🔗 Blocking Issue in docx Library: [dolanmiu/docx#2993](dolanmiu/docx#2993)
🔗 Proposed Feature in docx Library: [dolanmiu/docx#2994](dolanmiu/docx#2994)

Why This Matters:

  • Many Markdown users rely on LaTeX-style formatting for advanced math.
  • Alignments and matrix structures are critical for academic/scientific documents.

Next Steps (After docx Update):

  • Extend mathPlugin to support these missing features.
  • Ensure proper DOCX rendering without breaking existing functionality.

📌 Temporary Workaround: Users can manually adjust equations post-export, but a native fix would greatly improve usability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions