Update for itex2MML 1.38

Add support, in the LaTeX export, for blackboard bold
digits and lowercase latin letters. If these are
present, LaTeX will
   \usepackage{mathbbol}
N.B.: this uses the stmaryrd font for blackboard bold
letters, instead of the msbm font.
Tests included. (Yes, you need to update itex2MML as well.)
This commit is contained in:
Jacques Distler 2009-03-24 22:37:58 -05:00
parent e2ccdfd812
commit c85ce458ce
3 changed files with 38 additions and 7 deletions

View file

@ -213,6 +213,12 @@ END_THM
%{display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>} +
%{<mi>A</mi><mo>\342\205\213</mo><mi>B</mi></math></p>},
"equation $A \\invamp B$")
assert_markup_parsed_as(
%{<p>blackboard digits: <math class='maruku-mathml' display='} +
%{inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>math} +
%{bb</mi><mn>123 </mn></math></p>},
"blackboard digits: $\mathbb{123}$")
end
def test_blahtex