2017-02-21 9 views
0

IE와 Chrome에서 수학 표현식을 표시하기 때문에 MathJax를 사용하여 MathML을 연구하고 있습니다. 어떤 방법 ... 내가 follwing을 같은 '선언'태그를 사용하려고MathJax와 MathML이 IE에 'Unknown node type : declare'를 표시했습니다.

<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가 할 수있는 무엇을

Unknown node type: declare

로 보여줍니다 그래서 ... 나는 declare 태그를 사용합니까 ??

+0

미래의 메모 : cdn.mathjax.org의 수명이 다해 가고 있습니다. 마이그레이션 팁은 https://www.mathjax.org/cdn-shutting-down/에서 확인하십시오. –

답변

1

<declare> 요소는 MathML에서 더 이상 사용되지 않습니다. the spec 및 MathJax의 콘텐츠 MathML 확장은 지원하지 않습니다. 새로운 <share> 요소 (대체 declare)가 지원됩니다.

+0

감사합니다. 그 주소를 줄 수 있습니까? 나는 MathML의 Content Markup 페이지에서 그것을 볼 수 없었습니다 ... http://www.w3.org/TR/MathML2/chapter4.html#contm.declare – wallah

+1

제 답변에있는 동안 당신은 MathML 2 스펙에 링크하고 있습니다. 현재의 MathML 3 스펙 (편집자 초안) –

+1

다른 링크는 https://www.w3.org/TR/MathML/chapter4.html#contm.declare입니다. –