Re: Mozilla 1.9 MathML status and notes - mathvariant
William F Hammond <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Message-ID | <[email protected]> |
>> 2. I trust that font casting via "mathvariant" will remain supported.
>> ( For example, '<mi mathvariant="fraktur">A</mi>' )
>> Don't forget legacy MathML, v.2, content.
>
> Unfortunately this hasn't yet been implemented in Mozilla.
> (I don't think this ever was supported in Mozilla.)
Yes, I think you are correct. Sorry about my lapse.
I've been running with something in userContent.css like:
[mathvariant="script"] {
font-family: "Euclid Math One", serif;
}
[mathvariant="fraktur"] {
font-family: "Euclid Fraktur", serif;
}
[mathvariant="double-struck"] {
font-family: "Euclid Math Two", serif;
}
Modulo font availability and distributability I suppose this kind
of arrangement could be the default.
The W3 Math WG still has not said much about authoring. But, for
example, let me suggest that most of what's out there comes, one way
or another from the world of LaTeX, and in that world I believe
font casting is the most common way of marking up for fraktur,
calligraphic, and double-struck. The sensible thing in this case for
a program like tex4ht (when called for XHTML+MathML generation) is
to use the "mathvariant" technique for font casting.
-- Bill