-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
feat: math-mlgood first issueGood for newcomersGood for newcomersproduct: superdocsource: githubstage: to-doPrioritized and ready to be picked upPrioritized and ready to be picked up
Description
What
Implement the m:func (function apply) OMML → MathML converter. Used for named functions like sin, cos, log applied to an argument.
OMML: m:func → m:funcPr + m:fName (function name) + m:e (argument)
MathML: sinargument
Spec: §22.1.2.39
Difficulty: Medium
Details
m:fNamecontainsm:rruns with the function name (e.g. "sin", "cos", "log")- The invisible function application operator
(U+2061) separates name from argument - Function names should use
mathvariant="normal"(upright, not italic)
How to implement
- Create
converters/function.ts - Convert
m:fNamechildren, then append<mo></mo>, then convertm:e - Register as
'm:func': convertFunction
Test Document
Download the test file and upload it to the SuperDoc dev app to verify your implementation renders correctly:
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-2384
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feat: math-mlgood first issueGood for newcomersGood for newcomersproduct: superdocsource: githubstage: to-doPrioritized and ready to be picked upPrioritized and ready to be picked up