Support for \tooltip{}{} and \statusline{}{}
itex2MML 1.3.16 add a \tooltip{}{} command which, like \statusline{}{}, produces an <maction> element. Neither of these is natively supported by Mozilla/Firefox. Add some Javascript to work around that weakness.
This commit is contained in:
parent
c99ca26a8d
commit
977da29f68
4 changed files with 27 additions and 3 deletions
|
@ -212,6 +212,14 @@ 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>A</mi><mo>=</mo><maction actiontyp} +
|
||||
%{e='tooltip'><mi>B</mi><mtext>Spoons!</mtext></} +
|
||||
%{maction></math></p>},
|
||||
"equation $A=\\tooltip{Spoons!}{B}$")
|
||||
|
||||
assert_markup_parsed_as(
|
||||
%{<p>equation <math class='maruku-mathml' displa} +
|
||||
%{y='inline' xmlns='http://www.w3.org/1998/Math/} +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue