What
Implement the m:sPre (pre-sub-superscript) OMML → MathML converter. Places subscript and superscript to the LEFT of the base.
OMML: m:sPre → m:sPrePr + m:sub + m:sup + m:e (base)
MathML: with separator
Spec: §22.1.2.99
Difficulty: Medium
Details
MathML <mmultiscripts> structure:
<mmultiscripts>
base
<mprescripts/>
pre-subscript
pre-superscript
</mmultiscripts>
How to implement
- Create
converters/pre-sub-superscript.ts
- Build
<mmultiscripts> with base, <mprescripts/>, then sub and sup
- Register as
'm:sPre': convertPreSubSuperscript
Test Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
sd-2385-prescript.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-2385
What
Implement the
m:sPre(pre-sub-superscript) OMML → MathML converter. Places subscript and superscript to the LEFT of the base.OMML:
m:sPre→m:sPrePr+m:sub+m:sup+m:e(base)MathML:
withseparatorSpec: §22.1.2.99
Difficulty: Medium
Details
MathML
<mmultiscripts>structure:How to implement
converters/pre-sub-superscript.ts<mmultiscripts>with base,<mprescripts/>, then sub and sup'm:sPre': convertPreSubSuperscriptTest Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
sd-2385-prescript.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-2385