Skip to content

Math: implement m:eqArr equation array converter (community) #2607

@caio-pizzol

Description

@caio-pizzol

What

Implement the m:eqArr (equation array) OMML → MathML converter. A vertical array of equations with alignment.

OMML: m:eqArrm:eqArrPr (baseJc, spacing) + multiple m:e (one per equation row)
MathML: with per equation
Spec: §22.1.2.34
Difficulty: Hard

Details

  • Each m:e is one row in the array
  • m:eqArrPr/m:baseJc — vertical alignment of the array
  • Alignment points within equations use m:aln elements

How to implement

  1. Create converters/equation-array.ts
  2. Each m:e<mtr><mtd> in a <mtable>
  3. Register as 'm:eqArr': convertEquationArray

Test Document

Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:

sd-2388-eqarray.docx


Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.

Ref: SD-2388

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions