Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
5634f93afc
|
@ -4,6 +4,7 @@
|
||||||
\usepackage{amsfonts}
|
\usepackage{amsfonts}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{amsthm}
|
\usepackage{amsthm}
|
||||||
|
\usepackage{mathtools}
|
||||||
<%- if @tex_content =~ /\\mathbb\{[^}]*[a-z0-9]+[^}]*\}/ -%>
|
<%- if @tex_content =~ /\\mathbb\{[^}]*[a-z0-9]+[^}]*\}/ -%>
|
||||||
\usepackage{mathbbol}
|
\usepackage{mathbbol}
|
||||||
<% end -%>
|
<% end -%>
|
||||||
|
|
|
@ -930,6 +930,7 @@ class WikiControllerTest < ActionController::TestCase
|
||||||
\usepackage{amsfonts}
|
\usepackage{amsfonts}
|
||||||
\usepackage{amssymb}
|
\usepackage{amssymb}
|
||||||
\usepackage{amsthm}
|
\usepackage{amsthm}
|
||||||
|
\usepackage{mathtools}
|
||||||
!
|
!
|
||||||
@tex_header2 = %q!\usepackage{graphicx}
|
@tex_header2 = %q!\usepackage{graphicx}
|
||||||
\usepackage{color}
|
\usepackage{color}
|
||||||
|
|
|
@ -212,6 +212,13 @@ END_THM
|
||||||
|
|
||||||
def test_have_latest_itex2mml
|
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>A</mi><mo>\342\211\224</mo><mi>B</} +
|
||||||
|
%{mi></math></p>},
|
||||||
|
"equation $A \\coloneqq B$")
|
||||||
|
|
||||||
assert_markup_parsed_as(
|
assert_markup_parsed_as(
|
||||||
%{<p>equation <math class='maruku-mathml' displa} +
|
%{<p>equation <math class='maruku-mathml' displa} +
|
||||||
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
||||||
|
|
Loading…
Reference in a new issue