What
Implement the m:acc (accent/diacritical mark) OMML → MathML converter.
OMML: m:acc → m:accPr (chr, default U+0302 circumflex) + m:e (base)
MathML: basechr
Spec: §22.1.2.1
Difficulty: Medium
Details
m:accPr/m:chr@m:val — accent character (default ^ / U+0302)
- Common accents: hat (^), dot (˙), double dot (¨), tilde (~), arrow (→)
How to implement
- Create
converters/accent.ts
- Read chr from
m:accPr (default U+0302)
- Build
<mover accent="true"> with base + <mo>chr</mo>
- Register as
'm:acc': convertAccent
Test Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
sd-2382-accent.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-2382
What
Implement the
m:acc(accent/diacritical mark) OMML → MathML converter.OMML:
m:acc→m:accPr(chr, default U+0302 circumflex) +m:e(base)MathML:
basechrSpec: §22.1.2.1
Difficulty: Medium
Details
m:accPr/m:chr@m:val— accent character (default ^ / U+0302)How to implement
converters/accent.tsm:accPr(default U+0302)<mover accent="true">with base +<mo>chr</mo>'m:acc': convertAccentTest Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
sd-2382-accent.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-2382