-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove/Deprecate mglyph element #25
Comments
discussed in the telco on 2019-02-25:
|
There was apparently a technology proposed for CJK gaiji that would do just fine for supplemental math characters: SING and replace . I have no idea if this is viewed as a current technology. Anyone know?
|
That should read SING could replace |
@pdfion Thanks for the information. I think someone should investigate more, maybe contact people from CSS / Font WG to see if that's the kind of features already available in browsers ( https://drafts.csswg.org/css-fonts-3/ ). In any case, that aligns with the idea that this is something that has to be provided by CSS/font so we should just rely on it instead of defining our own feature in MathML. (PS: I've fixed the formatting in your comment) |
While it is somehow acceptable that MathML4 is MathML3 + CSS - deprecation of attributes, if we remove the I suggested Stand-alone MathML profile #58. Just in case we forgot that MathML should also exist outside web pages. Maybe you are referring to MathML core. In which case the issue should be relaveled to |
@dani31415: is WIRIS using mglyph? If so, can you elaborate on the use case? |
@dani31415 I agree that we should ensure that mathml is usable in non css environments and that this means we should keep elements such as mglyph in full (not core) unless there is an alternative available. |
I'm interested in removing it from core (it is already not present, but just to confirm). Then I'll let others decide what to do in other specs, whether to write a polyfill etc |
From https://lists.w3.org/Archives/Public/public-mathml4/2019Mar/0026.html For now, nobody reported any use of mglyph in #55 |
I think mglyh should definitely be in full (despite the unfortunate "mglyph" name denoting its original motivation) it's needed for image inclusion on non html contexts. But I agree it can go from core (and so the references to it in html5 can go as well). |
This was discussed in the Core CG meeting today.
After the call, @bkardell noted that neither Firefox nor Safari support mglyph. In #55, no one reports using it. Given non-support and minuscule(?) usage, I don't see a reason to move toward adding The CG agreed to come back to this next week and see if anyone comes up with other info. |
Adding an example, and a mention of In the TeX-authoring paradigm, authors sometimes interleave diagram code with equation code. For those inputs, tools such as latexml and tex4ht can at times attempt to map both math syntax and diagram syntax into transparent textual formats. Namely, by generating interleaved MathML+SVG (with possibly nested SVG+MathML, and vice versa). latexml's current preference is to generate an That is probably "good enough", but not particularly "clean" in the Presentation MathML sense, as indeed sometimes we have clear indications from the authors that the SVG content stands for an I am uncertain if We could likely reorganize to use <svg>
<!-- ... diagram code ... -->
<foreignObject>
<math>
<mover>
<mo>⇒</mo>
<mtext>
<a href="#mytheorem">Thm 2.3</a>
</mtext>
</mover>
<!-- ... further math and diagram code ... -->
</svg> Edit: To make my comment mildly more forward-facing, maybe the point I would bring up for consideration is that if a change is made to allow |
For your final "Edit" note, in mathml-in-html The main justification for |
Deprecating
We had a straw poll: 4 people were in favor of deprecating it; 2 people were neutral. |
At the 12-9-2024 meeting, there was not consensus to deprecate or remove The conclusion was to add some text to discourage its use and suggest using This issue can be closed once that text is added. |
Currently this is not defined in MathML Core, only MathML 4.
In any case, I think the idea of mglyph is a rather hacky temporary workaround. Ideally, people use characters defined in Unicode. These days, they should have enough characters available to write math.
The text was updated successfully, but these errors were encountered: