Closed xworld21 closed 9 months ago
I am still wondering how to make the decision which piece of LaTeXML should carry the information, since we have so many possible points of intervention. Just above your change there is a commented out line:
# Redefine, if we want Unicode minus
#DefMathI('-', undef, "\x{2212}", role => 'ADDOP', meaning => 'minus');
In that case the Unicode minus is instead "stylized" during the MathML post-processing here.
Were we/Are we trying to keep some of these assumptions out of XMath?
Were we/Are we trying to keep some of these assumptions out of XMath?
I was puzzled by that U+2212, now I get it. In that case, it seems more consistent to make the change in MathML.pm, I guess. The PR is trivial in either case.
Fix #2318 the 'right way' by patching the existing
DefMathI
call.