Skip to content

feat(math): implement m:sPre pre-sub-superscript converter#2747

Open
Abdeltoto wants to merge 1 commit intosuperdoc-dev:mainfrom
Abdeltoto:feat/math-pre-sub-superscript-converter
Open

feat(math): implement m:sPre pre-sub-superscript converter#2747
Abdeltoto wants to merge 1 commit intosuperdoc-dev:mainfrom
Abdeltoto:feat/math-pre-sub-superscript-converter

Conversation

@Abdeltoto
Copy link
Copy Markdown

Closes #2609

Summary

  • Implements the \m:sPre\ OMML-to-MathML converter (prescripts on the left of a base)
  • Maps \m:sPre\ to MathML <mmultiscripts>\ with <mprescripts/>\ separator
  • Registers the converter in \MATH_OBJECT_REGISTRY\
  • Adds 2 unit tests covering standard usage and missing sub/sup

Spec reference

ECMA-376 Section 22.1.2.99

Test plan

  • \�itest run\ passes for omml-to-mathml.test.ts
  • Linter and formatter pass (lefthook pre-commit)

Made with Cursor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Math: implement m:sPre pre-sub-superscript converter (community)

2 participants