Search code examples
htmlmathjaxmathml

MathJax and MathML displayed 'Unknown node type: declare' on IE


I'm studying on MathML using MathJax since for displaying mathematic expressions on IE and Chrome. Any way... when I try to using 'declare' tag like follwing,

<head>
<meta charset="UTF-8">
<title>Mixed Markup</title>

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
        MathML: {
            extensions: ["content-mathml.js"]
        }
    });
</script>

<script type="text/javascript" async
        src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

<body>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
        <declare>
            <ci> A </ci>
            <vector>
               <ci> a </ci>
               <ci> b </ci>
               <ci> c </ci>
            </vector>
        </declare>
    </math>
</body>

IE shows it as

Unknown node type: declare

So... what can I do to use declare tag??


Solution

  • The <declare> element is deprecated in MathML, cf. the spec and MathJax's Content MathML extension does not support it; the newer <share> element (replacing declare) is supported.