Sync with Latest itex2MML and MathML::Entities

Support the latest changes in
http://www.w3.org/TR/2009/WD-xml-entity-names-20091117/
This commit is contained in:
Jacques Distler 2009-11-18 12:04:07 -06:00
parent e678b7e3a2
commit 371aab6f96
3 changed files with 18 additions and 2256 deletions

View file

@ -212,6 +212,13 @@ END_THM
def test_have_latest_itex2mml
assert_markup_parsed_as(
%{<p>equation <math class='maruku-mathml' displa} +
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
%{MathML'><mi>\316\265</mi><mo>\342\211\240</mo>} +
%{<mi>\317\265</mi></math></p>},
"equation $\\varepsilon\\neq\\epsilon$")
assert_markup_parsed_as(
%{<p>equation <math class='maruku-mathml' displa} +
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
@ -244,7 +251,7 @@ END_THM
assert_markup_parsed_as(
%{<p>equation <math class='maruku-mathml' displa} +
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
%{MathML'><munder><mi>A</mi><mo>\314\262</mo></m} +
%{MathML'><munder><mi>A</mi><mo>_</mo></m} +
%{under></math></p>},
"equation $\\underline{A}$")