Standards

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • MathML-in-HTML5

    13 answers - 5746 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    In the context of HTML5 the term "tag soup" is meaningless,
    since there is no UA-defined handling anymore
    Error handling comes naturally and developers are not supposed to
    put all resources into area that provides no real functionality.
    It is UA defined and I don't know how HTML5 is suupposed to
    change it if the UA that defines error handling today does not
    participate in the process and due to its share faces no error
    handling problems in the way others face them.
    In the case of HTML5 (like in CSS, for that matter), error handling is
    *not* UA-defined -- it is strictly defined by the specification
    Well, following your definition of HTML5 (= everything that is served as text/html) it is clear that HTML5 UA is everything that processes text/html And how text/html is processes by UAs we all know.
    But this is actually offtopic issue because we don't discuss here whether HTML5 is better then XHTML5 or HTML4 is better then XHTML2, or whether IS HTML is better then XHTML 1.1 etc.
    What we say is that having two versions of MathML will not help us to consolidate efforts, instead it will dissipate already small resources that we have today. For example your proposal breaks compatibility with MSIE/MathPlayer, compatibility which was achived only recently, it took several years for them to recognize application/xhtml+xml and give people opportunity to serve the same markup to Mozilla and MSIE. There are tools that process XML only and not HTML. But the problem is not just compatibility. The kind of differences between HTML(always add 5 if you'd like) and XHTML(5) that you use to promote MathML in HTML are minor, they are to small to justify having two versions of MathML. While fundamental differences, such as being part of extensible framework, being able to reuse other standards that are primary targeted to XML and not HTML that W3C basically abandoned several years ago, being able to easily extend/revise/depricate some parts of MathML without affecting parsers and many other issues incline us to think that we should stick to one MathML and that MathML should remain to be XML based.
    If all do their own thing today then how HTML5 parsing rules
    could could be compatible with the way how browsers handle
    incorrect ("tag soup") documents today.
    I did a lot of extensive research before documenting the HTML5 parsing
    rules, to ensure that the common aspects, which documents depend on, were
    carried forward, while the more unique aspects, which documents did not
    depend on, were simplified and unified.
    Well we don't have this kind of problems in MathML. Stuff like <mfrac><mi>1<msup><MN>5</mfrAC>+3</mrow></msup></MN></miis not present in current MathML documents as wellformadness restriction eliminates them automatically (it does not ensure that markup is valid, but wellformadness is enough to ensure that you have the same DM across browsers). In addition it forces authoring tools and convertors to pay attention to what they produce, because if they will make mistake that leads to non-wellformed output it will immidiately break the page and they will have to ensure that markup that they produce is well formed by design. It is not the case for HTML authoring tools where problem can be just ignored (and is often ignored).
    And once again let me note that MathML community does not have tagsoup
    parsing problems today
    If we go with the HTML5 route, it will continue not having such problems,
    This is theory that I would not follow and it is far from reality.
    since HTML5 strictly defines how all content is parsed.
    SGML defined it a long long time ago (either you follow DTD or get error message), no one followed it when implementing HTML.
    at the moment I see only one UA that wants to go in this way,
    I don't think that others will follow it, in case of MathML tag
    soup at least. HTML tag soup as such may be different issue as
    here browsers have motivation coming from the large amount of
    legacy content so if HTML5 will reverse engineer MSIE error
    handling and document it others may find it useful, but once gain
    this is not an issue for MathML implementations where we lack
    implementations in browsers (so even absolutely valid markup is
    not treated properly) and are talking about specifying
    comprehensive error handling that people are supposed to devote
    time and resources to.
    The parsing (and error handling) rules for the proposed math-in-HTML5 is a
    _subset_ of the general HTML5 parsing (and error handling) rules,
    We don't want to inherit HTML legacy through parsing rules or otherwise.
    We managed to avoid it for a price that appeared to be quite high, but it is payed already and is not refundable. Today you can serve the same XHTML+MathML to MSIE and Mozilla and use a lot of XML tools, following your proposal we will loose this and gain nothing valuable instead (more tag soup).
    such
    that any browser that implements HTML5 parsing automatically is compatible
    with HTML5+Math parsing.
    We already use the same parsing rules for MathML and all other XML applications (I assume including XHTML5 unless you will invent something new).
    (The only requirement then is that the UA also
    implement MathML itself, so that the resulting DM is handled per MathML
    rules.)
    Yep once one implements tagsoup parser then he/she can also start implementing MathML itself. Thanks for permission. Some would go other way round and provide functionality first and then maybe error handling (and maybe not, who cares?).
  • No.1 | | 1263 bytes | |

    Fri, 6 2006, White Lynx wrote:

    What we say is that having two versions of MathML will not help us to
    consolidate efforts, instead it will dissipate already small resources
    that we have today.

    The proposal doesn't create a new version of MathML, it just provides a
    new way of serialising MathML content, and generating a DM from that
    content (deserialising it). The MathML language is left intact -- the DM
    is the same, the rules for processing the DM are the same, and the
    semantics for such a DM are the same.

    For example your proposal breaks compatibility with MSIE/MathPlayer,
    compatibility which was achived only recently, it took several years for
    them to recognize application/xhtml+xml and give people opportunity to
    serve the same markup to Mozilla and MSIE.

    That will continue to work and continue to be just as conformant. The
    proposal just seems to be adding a new serialisation/deserialisation
    format, it doesn't stop people from using XHTML.

    Anyway, I'm not the one you have to convince. If you don't want Roger to
    experiment, convince him, not me. I'm just looking for implementation
    experience so that, going forward, I can make educated decisions.
  • No.2 | | 2816 bytes | |

    I am all for for MathML-in-HTML5, retaining the <mathsyntax as we have
    come to know and enjoy it. But what I gather so far is that
    IE+MathPlayer only supports prefixed tags, with the prefix declared in
    the <html>. (If I understand it correctly, it doesn't even work with
    <math xmlns="mathml-namespace"></mathwhen served as text/html. Do
    clarify if this isn't the case.) I also gather that MathPlayer can't do
    much about this, as IE only hands them the MathML-island, right?

    Hence, either I go off and add support for the plain <math></math>,
    which will only work in Mozilla out-of-the-box and wouldn't be quite an
    overture to IE+MathPlayer (without yet again content negotiation or some
    JS trickeries by authors), or to get seamless interoperability, HTML5
    may need a provision for prefixed tags (at least in the case of MathML),
    and this is where we have got so far in the discussion.

    The starting patch that I indicated in the opening already supports
    prefixed tags, i.e., <html xmlns:m="mathml-namespace">, with
    <m:math></m:mathin the document,

    as well as the typical

    <math xmlns="mathml-namespace"></math>
    with no need for a declaration in the <htmltag.

    RBS

    11/10/2006 7:26 AM, Ian Hickson wrote:

    Fri, 6 2006, White Lynx wrote:

    >>What we say is that having two versions of MathML will not help us to
    >>consolidate efforts, instead it will dissipate already small resources
    >>that we have today.


    The proposal doesn't create a new version of MathML, it just provides a
    new way of serialising MathML content, and generating a DM from that
    content (deserialising it). The MathML language is left intact -- the DM
    is the same, the rules for processing the DM are the same, and the
    semantics for such a DM are the same.


    >>For example your proposal breaks compatibility with MSIE/MathPlayer,
    >>compatibility which was achived only recently, it took several years for
    >>them to recognize application/xhtml+xml and give people opportunity to
    >>serve the same markup to Mozilla and MSIE.


    That will continue to work and continue to be just as conformant. The
    proposal just seems to be adding a new serialisation/deserialisation
    format, it doesn't stop people from using XHTML.

    Anyway, I'm not the one you have to convince. If you don't want Roger to
    experiment, convince him, not me. I'm just looking for implementation
    experience so that, going forward, I can make educated decisions.
  • No.3 | | 1316 bytes | |

    "Roger B. Sidje" <rbs (AT) maths (DOT) uq.edu.auwrites:

    I also gather that MathPlayer can't do much about this, as IE only
    hands them the MathML-island, right?

    Are we to understand that WHATWG is running without cooperation on
    HTML5 development from the IE folk?

    The starting patch that I indicated in the opening already supports
    prefixed tags, i.e., <html xmlns:m="mathml-namespace">, with
    <m:math></m:mathin the document,

    as well as the typical

    <math xmlns="mathml-namespace"></math>
    with no need for a declaration in the <htmltag.

    It's great that you have that.

    However:

    While in text/html the attribute markup xmlns="something" will at the
    worst be taken by a user agent as a (relatively harmless) unknown
    attribute, the use of xmlns:m="something" -- with a forbidden
    character in an attribute name -- is a problem unless there is broad
    acceptance that it should be allowed.

    Furthermore:

    In application/xhtml+xml there seems to be more than one understanding
    among current user agents on the question (given the use of namespace
    prefixing) of whether or not inside an "m:math" element unprefixed
    subelements (at all depths) are mathml.

    -- Bill
  • No.4 | | 2744 bytes | |

    Roger

    But what I gather so far is that
    IE+MathPlayer only supports prefixed tags, with the prefix declared in
    the <html>. (If I understand it correctly, it doesn't even work with
    <math xmlns="mathml-namespace">.

    unfortunately this is true, although you can have everything _except_
    the outer math element being prefixed
    see the third example in
    #interf.namespace
    which probably had this use in mind

    The outer level math tag has to be prefixed as that is the hook that
    allows the rendering behaviour to kick in.

    Hence, either I go off and add support for the plain <math></math>,
    which will only work in Mozilla out-of-the-box and wouldn't be quite an
    overture to IE+MathPlayer (without yet again content negotiation or some
    JS trickeries by authors), or to get seamless interoperability, HTML5
    may need a provision for prefixed tags (at least in the case of MathML),
    and this is where we have got so far in the discussion.

    yes

    The starting patch that I indicated in the opening already supports
    prefixed tags, i.e., <html xmlns:m="mathml-namespace">, with
    <m:math></m:mathin the document,

    as well as the typical

    <math xmlns="mathml-namespace"></math>

    If we're experimenting with mathml in html, I think that is what you
    should do. It's true that the second form doesn't currently work in IE
    but it's not beyond possibility that it could be made to work in IE 7.x
    (or 8.x or whatever) and it _allows_ a form that works on both systems,
    with the prefix, which is good.

    As for the general discussion of whethe XML syntax would be enforced, I
    think the most important point is that XML syntax (including namespaces)
    be _allowed_ otherwise as others have pointed out, MathML authoring
    systems have a real problem: DM level compatibility of the parsed tree
    doesn't really help if MathML is moving from MSWord to maple to
    mathematica to the Web as _serialised_ MathML document fragments.

    If implementation-wise MathML in HTML is going to be parsed by the HTML
    parser rather than an XML one then it's presumably not feasible to
    demand that all XML parsing rules are enforced. This is something that
    personally I could live with especially if it were described as "error
    recovery" rather than a different serialisation syntax. It would also be
    good to have a specified algorithm for this (a la html5) rather than
    just leaving it up to the browser (at least at the specification level,
    even if implementations use existing parser stratgeies for the immediate
    future)

    David
  • No.5 | | 2324 bytes | |

    In application/xhtml+xml there seems to be more than one understanding
    among current user agents on the question (given the use of namespace
    prefixing) of whether or not inside an "m:math" element unprefixed
    subelements (at all depths) are mathml.

    As far as the specification goes (which is, I think what Mozilla does)
    the situation is clear: Elements in the MathML namespace (whether
    prefixed or not) are MathML, elements that are not in the MathML
    namespace (whether prefixed or not) are not MathML.

    Mozilla actually implements a compound document format where mathml, xhtml
    (and probably svg) can be nested in ways that are not individually
    sanctioned by the respective specs but in ways that could be sanctioned
    by schema languages designed for the purpose, such as
    IS/IEC 19757-4 NVDL (Namespace-based Validation Dispatching Language)
    http://www.nvdl.org/

    This doesn't work in IE+MathPlayer (and the Math expression, once
    extracted, would not work in any other MathML application, as it is
    MathML+XHTML, not just MathML).

    This difference in behaviour though is due to implementing (or not) a
    compound document format that allows the various languages to be
    extended, it isn't a difference in understanding which elements are
    mathml.

    I think actually that that is the way it should be.

    Rather than start adding html-like elements such as <b<ito <mtext>
    which might look natural in mathml-in-xhtml but would look distinctly
    odd in mathml-in-xslfo or mathml-in-docbook, I think we should keep the
    leaf elements in "pure" mathml as more or less just pcdata, but
    encourage larger fromats to use nvdl (or the W3C's CDI compound document
    by Inclusion format's once that has been specified) to allow richer
    markup at mtext and perhaps other token elements. This then makes it
    clear that the richer markup is not "mathml" and there is no obligation
    on CA systmems, etc to implement it, yet it does allow (at least the
    specification of) documents with commutative diagrams marked up as
    xhtml (for the document) containing
    svg (for the diagram arcs) containing
    mathml (for the diagram nodes) containing
    xhtml (for marked up text in the formulae)

    David
  • No.6 | | 1566 bytes | |

    Wed, 11 2006, Roger B. Sidje wrote:

    Hence, either I go off and add support for the plain <math></math>, which
    will only work in Mozilla out-of-the-box and wouldn't be quite an overture to
    IE+MathPlayer (without yet again content negotiation or some JS trickeries by
    authors),

    (Though there's no reason MathPlayer in a future version couldn't support
    this themselves.)

    or to get seamless interoperability, HTML5 may need a provision for
    prefixed tags (at least in the case of MathML),

    Note that this wouldn't get us interoperability just like that. We'd have
    to reverse engineer the entire IE extension mechanism and specify a
    compatible version. From what people have said so far, it sounds to me
    like that would be a lot of work.

    Given how little the namespace-prefix syntax has taken off, and the number
    of people who are confused by namespace syntax of any kind, and the large
    amount of content on the Web that uses namespace-like syntax in a way that
    would break renderings if it was interpreted according to namespace-like
    parsing rules, however, I would strongly recommend against any sort of
    namespace-based parsing extensions to HTML. As I mentioned before, I've
    worked with an implementor in the past who tried to do this, and they
    ended up wasting months of intense work trying to be compatible with the
    large amounts of legacy content before eventually backing out the whole
    thing and ignoring namespaces in text/html content.
  • No.7 | | 1560 bytes | |

    12/10/2006 2:25 AM, Ian Hickson wrote:

    Given how little the namespace-prefix syntax has taken off, and the number
    of people who are confused by namespace syntax of any kind, and the large
    amount of content on the Web that uses namespace-like syntax in a way that
    would break renderings if it was interpreted according to namespace-like
    parsing rules, however, I would strongly recommend against any sort of
    namespace-based parsing extensions to HTML. As I mentioned before, I've
    worked with an implementor in the past who tried to do this, and they
    ended up wasting months of intense work trying to be compatible with the
    large amounts of legacy content before eventually backing out the whole
    thing and ignoring namespaces in text/html content.

    I can technically restrict the implementation to only support the plain
    <math></math>, while authors will effectively use <math
    xmlns=""></mathfor IE+MathPlayer. (That is, Mozilla wouldn't
    actually require the xmlns attribute for the MathML rendering to kick
    in. Authors only put the attribute there for interoperability.) The
    issues now become:
    - can IE+MathPlayer be made to at least support <math
    xmlns=""></math>? (from David's recent post, it seems possible in
    IE7.x?)
    - what is the implication for HTML5? Just one of those random attributes
    that people put in their HTML document? (which wll be fine with me, BTW).
    - what about generators that emit prefixed tags?

    RBS
  • No.8 | | 2016 bytes | |

    David Carlisle <davidc (AT) nag (DOT) co.ukwrites:

    >In application/xhtml+xml there seems to be more than one understanding
    >among current user agents on the question (given the use of namespace
    >prefixing) of whether or not inside an "m:math" element unprefixed
    >subelements (at all depths) are mathml.
    >

    As far as the specification goes (which is, I think what Mozilla does)
    the situation is clear: Elements in the MathML namespace (whether
    prefixed or not) are MathML, elements that are not in the MathML
    namespace (whether prefixed or not) are not MathML.

    For application/xhtml+xml my impression is that Mozilla does _not_
    recognize, for example, unprefixed MathML leaf elements inside an
    <m:math>, while it does recognize them inside <math xmlns

    Mozilla actually implements a compound document format where mathml, xhtml
    (and probably svg) can be nested in ways that are not individually
    sanctioned by the respective specs but in ways that could be sanctioned
    by schema languages designed for the purpose, such as
    IS/IEC 19757-4 NVDL (Namespace-based Validation Dispatching Language)
    http://www.nvdl.org/

    Might one not have user agent internal security concerns about this
    unless validation by user agents is mandated? My impression is that
    browser-class user agents don't want to touch validation at all.

    Rather than start adding html-like elements such as <b<ito <mtext>
    which might look natural in mathml-in-xhtml but would look distinctly
    odd in mathml-in-xslfo or mathml-in-docbook, I think we should keep the
    leaf elements in "pure" mathml as more or less just pcdata,

    So let's go with <mspan(for pcdata, allowed only in <mtext>) for
    text styling via CSS and <mlink(attribute href, content pcdata,
    allowed only in <mtext>) for "web page anchors" with text/html
    compatibility.

    -- Bill
  • No.9 | | 2617 bytes | |

    For application/xhtml+xml my impression is that Mozilla does _not_
    recognize, for example, unprefixed MathML leaf elements inside an
    <m:math>, while it does recognize them inside <math xmlns

    It doesn't matter if they are prefied or not, just what namespace they
    are in.

    <m:math
    xmlns:m=""
    xmlns=""
    xmlns:math="">
    <m:mn>1</m:mn>
    <mo>+</mo>
    <math:mi>a</math:mi>
    </m:math>

    etc is fine.If you use unprefixed elements inside m:math without
    declaring the default namespace to be mathml then that's an error, the
    elements will be either in no namespace or in the xhtml namespace
    (depending what's outside the math)

    Might one not have user agent internal security concerns about this
    unless validation by user agents is mandated?

    Any plugin architecture (or any browser) or any software at all, really,
    has some security implications. I don't see that the issues here are any
    different than any other web page browsing. If I install firefox (for
    example) on my machine then basically I need to trust that it, itself, is
    not malicious. the fact that it can execute mathml-in-svg-in-xhtml
    doesn't really pose any extra security issues. The fact that these are
    specified as a compound document format is just really a specification
    issue. If the browser (as in IE) is using external components to render
    teh various fragments, then its true you do need to trust each
    component. But these are rendering engines, it's not like running
    arbitrary executable code embedded in a random web page.

    So let's go with <mspan(for pcdata, allowed only in <mtext>) for
    text styling via CSS and <mlink(attribute href, content pcdata,
    allowed only in <mtext>) for "web page anchors" with text/html
    compatibility.

    But is that really an improvement over the status quo for say mathml in
    docbook? If we are going to open up mtext (and I'm not sure we should at
    all) I still think I'd rather allow some (or all) of the "host language"
    elements into mtext so that the result is explictly contstrained to work
    in those environments.

    an mtext containing an xhtml <a href="" is explictly a mathml+xhtml
    construct and only usable in mathml+xhtml systems.

    If you add mlink to mtext, or css-styled mspan then you have to specify
    what that means in docbook, or maple etc where there is no css, and the
    linking models are rather different.

    David
  • No.10 | | 2359 bytes | |

    David Carlisle wrote:
    It doesn't matter if they are prefied or not, just what namespace they
    are in.

    <m:math
    xmlns:m=""
    xmlns=""
    xmlns:math="">
    <m:mn>1</m:mn>
    <mo>+</mo>
    <math:mi>a</math:mi>
    </m:math>

    But David, you're _assuming_ XML rules for interpretting
    namespaces! :course, you have to assume at least
    some subset of XML rules for current IE to work.

    Part of this discussion seems to be what, if any, namespace
    rules will apply to HTML5. If I've correctly followed
    the discussion, there seems to be 3 alternatives:
    (1) XML Rules
    There seems to be some resistance to this.
    (2) Namespaces are meaningless/ignored in HTML5,
    but are necessary for IE's xml islands.
    There are two subcases:
    (a) <math xmlns="">, with HTML5 ignoring the
    "xmlns" attribute.
    (b) MathML names are defined by HTML5 as "m:math", etc.
    (or whatever pseudo-prefix you like)
    <m:math xmlns:m=""
    with HTML5 ignoring the "xmlns:m" attribute.
    In either case, "portable" HTML5+MathML would be
    invalid HTML5, having unknown attributes.
    And both would require MathML tools to generate
    only a very specific form of XML, hurting interoperability
    (3) Any other special interpretation seems to
    assume that an IE8 will come out soon and implement it.
    Moreover, if namespaces confuses authors now, just imagine!

    []
    >So let's go with <mspan(for pcdata, allowed only in <mtext>) for
    >text styling via CSS and <mlink(attribute href, content pcdata,
    >allowed only in <mtext>) for "web page anchors" with text/html
    >compatibility.


    But is that really an improvement over the status quo for say mathml in
    docbook? If we are going to open up mtext (and I'm not sure we should at
    all) I still think I'd rather allow some (or all) of the "host language"
    elements into mtext so that the result is explictly contstrained to work
    in those environments.

    While I certainly sympathize with Bill on wanting to
    have such nesting possibilities, I'm not fond of adding
    in little bits here & there. I'd much rather push for
    a proper solution at the level of compound documents.
  • No.11 | | 860 bytes | |

    But David, you're _assuming_ XML rules for interpretting
    namespaces! :

    yes but I was answering Bill Hammond's question about
    >In application/xhtml+xml there seems to be more than one understanding

    so xml is implied here (despite the subject line)

    While I certainly sympathize with Bill on wanting to
    have such nesting possibilities, I'm not fond of adding
    in little bits here & there. I'd much rather push for
    a proper solution at the level of compound documents.

    We're in total agreement here, although whether that's because we've
    independently come to a naturally correct conclusion or if it's just
    that we've both been fully absorbed into the collective group-think of
    the working group, it's hard to tell

    David
  • No.12 | | 1475 bytes | |

    David Carlisle wrote:
    >But David, you're _assuming_ XML rules for interpretting
    >namespaces! :


    yes but I was answering Bill Hammond's question about

    course, I understood. I was just taking the opportunity
    to tease, and also the opportunity to summarize
    (as I understand it) that we currently seem wedged
    between a desire to simplify (and avoid namespaces)
    and a desire for IE to work as is (w/o waiting \infty for IE8).

    I guess I'll take that as a further opportunity
    to reiterate that point :>

    In application/xhtml+xml there seems to be more than one understanding
    so xml is implied here (despite the subject line)

    >While I certainly sympathize with Bill on wanting to
    >have such nesting possibilities, I'm not fond of adding
    >in little bits here & there. I'd much rather push for
    >a proper solution at the level of compound documents.


    We're in total agreement here, although whether that's because we've
    independently come to a naturally correct conclusion or if it's just
    that we've both been fully absorbed into the collective group-think of
    the working group, it's hard to tell

    A third possibility is that I've simply come under the
    sway of your overwhelmingly domineering personality

    (sorry, I'm in a kind of jokey mood today).
  • No.13 | | 3439 bytes | |

    David Carlisle <davidc (AT) nag (DOT) co.ukwrites:

    If you use unprefixed elements inside m:math without declaring
    the default namespace to be mathml then that's an error,

    Yes, but some user agents nonetheless recognize MathML names inside an
    instance of <m:mathwhen it has no default namespace declaration.
    This is where we have a current lack of inter-operability with
    application/xhtml+xml.

    Moreover, <math xmlns="mathml-namespace"should be workable in
    "html5", while any use of prefixed elements in html5 (text/html)
    is a non-starter for inter-operability, Mozilla experiments not
    withstanding.

    About compound documents under NVDL:

    >Might one not have user agent internal security concerns about this
    >unless validation by user agents is mandated?
    >

    Any plugin architecture (or any browser) or any software at all,
    really, has some security implications. I don't see that the issues
    here are any different than any other web page browsing. If I
    install firefox (for example) on my machine then basically I need to
    trust that it, itself, is not malicious.

    course. My point was about user-agent-internal-security, e.g.,
    browser crashing, rather than user platform security (other than
    possible loss of user time or "work" inside the browser).

    >So let's go with <mspan(for pcdata, allowed only in <mtext>) for
    >text styling via CSS and <mlink(attribute href, content pcdata,
    >allowed only in <mtext>) for "web page anchors" with text/html
    >compatibility.


    But is that really an improvement over the status quo for say mathml
    in docbook? If we are going to open up mtext (and I'm not sure we
    should at all) I still think I'd rather allow some (or all) of the
    "host language" elements into mtext so that the result is explictly
    constrained to work in those environments.

    My original suggestions about content in mtext were limited to the
    XHTML+MathML document type.

    But for that matter, what might "work in those environments" mean for
    mtext content in MathML in DocBook beyond surviving an XSLT flow
    toward XHTML+MathML or a translation toward PDF via, say, \text{}
    inside math in LaTeX?

    I think most of us would use \emph{}, \textbf{}, and \href{}{} inside
    \text{}. Maybe a few other things, but not many. I think it needs to
    be controlled to be sane. How, if at all, should <mtextcontent
    found in MathML in DocBook relate to CAS systems? It's certainly not
    semantic, but might there be some use?

    If you add mlink to mtext, or css-styled mspan then you have to
    specify what that means in docbook, or maple etc where there is no
    css, and the linking models are rather different.

    Is it specified at all in either DocBook or Maple what <mtextitself
    means beyond the obvious point that it's not semantic?

    <mspanas a MathML element could be given various attributes for
    the names of up-translations to various host languages. Also mspan,
    which would by boilerplate carry the "class" attribute could carry
    also a math utility attribute called "mclass". For simplicity an
    <mspanwithout any attribute could be said in the specification to
    represent emphasis.

    -- Bill

Re: MathML-in-HTML5


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 3 =
QUESTION ON "Standards"

EMSDN.COM