mathematical 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/lexer.c +2894 -2884
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/parser.c +3101 -3059
- data/ext/mathematical/mtex2MML/build/parser.h +30 -26
- data/ext/mathematical/mtex2MML/build/parser.output +63098 -61854
- data/ext/mathematical/mtex2MML/src/parser.y +6 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbrace-1.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html +1 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html +1 -1
- data/lib/mathematical/version.rb +1 -1
- metadata +2 -2
@@ -2218,12 +2218,13 @@ underrightarrow: UNDERRIGHTARROW closedTerm {
|
|
2218
2218
|
mtex2MML_free_string($2);
|
2219
2219
|
};
|
2220
2220
|
|
2221
|
+
/* TODO: can't seem to get Lasem to render the entity name; hardcode hex code */
|
2221
2222
|
munderbrace: UNDERBRACE closedTerm {
|
2222
|
-
$$ = mtex2MML_copy3("<munder>", $2, "<mo
|
2223
|
+
$$ = mtex2MML_copy3("<munder>", $2, "<mo>⏟</mo></munder>");
|
2223
2224
|
mtex2MML_free_string($2);
|
2224
2225
|
}
|
2225
2226
|
| UNDERBRACE closedTerm SUB closedTerm {
|
2226
|
-
char * s1 = mtex2MML_copy3("<munder><munder>", $2, "<mo
|
2227
|
+
char * s1 = mtex2MML_copy3("<munder><munder>", $2, "<mo>⏟</mo></munder>");
|
2227
2228
|
$$ = mtex2MML_copy3(s1, $4, "</munder>");
|
2228
2229
|
|
2229
2230
|
mtex2MML_free_string(s1);
|
@@ -2231,7 +2232,7 @@ munderbrace: UNDERBRACE closedTerm {
|
|
2231
2232
|
mtex2MML_free_string($4);
|
2232
2233
|
}
|
2233
2234
|
| UNDERBRACE closedTerm LIMITS SUB closedTerm {
|
2234
|
-
char * s1 = mtex2MML_copy3("<munder><munder>", $2, "<mo
|
2235
|
+
char * s1 = mtex2MML_copy3("<munder><munder>", $2, "<mo>⏟</mo></munder>");
|
2235
2236
|
$$ = mtex2MML_copy3(s1, $5, "</munder>");
|
2236
2237
|
|
2237
2238
|
mtex2MML_free_string(s1);
|
@@ -2239,7 +2240,7 @@ munderbrace: UNDERBRACE closedTerm {
|
|
2239
2240
|
mtex2MML_free_string($5);
|
2240
2241
|
}
|
2241
2242
|
| UNDERBRACE closedTerm NOLIMITS SUB closedTerm {
|
2242
|
-
char * s1 = mtex2MML_copy3("<msub><munder>", $2, "<mo
|
2243
|
+
char * s1 = mtex2MML_copy3("<msub><munder>", $2, "<mo>⏟</mo></munder>");
|
2243
2244
|
$$ = mtex2MML_copy3(s1, $5, "</msub>");
|
2244
2245
|
|
2245
2246
|
mtex2MML_free_string(s1);
|
@@ -2258,7 +2259,7 @@ munderline: UNDERLINE closedTerm {
|
|
2258
2259
|
};
|
2259
2260
|
|
2260
2261
|
moverbrace: OVERBRACE closedTerm {
|
2261
|
-
$$ = mtex2MML_copy3("<mover>", $2, "<mo>&
|
2262
|
+
$$ = mtex2MML_copy3("<mover>", $2, "<mo>&x23DE;</mo></mover>");
|
2262
2263
|
mtex2MML_free_string($2);
|
2263
2264
|
};
|
2264
2265
|
|
data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><msup><mover><mn>123</mn><mo>&
|
1
|
+
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><msup><mover><mn>123</mn><mo>&x23DE;</mo></mover> <mi>x</mi></msup></mrow><annotation encoding='application/x-tex'>
|
2
2
|
\overbrace{123}^x
|
3
3
|
</annotation></semantics></math>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><munder><munder><mn>123</mn><mo
|
1
|
+
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><munder><munder><mn>123</mn><mo>⏟</mo></munder><mi>x</mi></munder></mrow><annotation encoding='application/x-tex'>
|
2
2
|
\underbrace{123}_x
|
3
3
|
</annotation></semantics></math>
|
data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><munder><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo
|
1
|
+
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><munder><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo>⏟</mo></munder><mi>x</mi></munder><mspace width="1em"/><msub><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo>⏟</mo></munder><mi>x</mi></msub><mspace width="1em"/><munder><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo>⏟</mo></munder><mi>x</mi></munder></mrow><annotation encoding='application/x-tex'>
|
2
2
|
\underbrace{abcdef}\limits_x \quad
|
3
3
|
\underbrace{abcdef}\nolimits_x \quad
|
4
4
|
\underbrace{abcdef}_x
|
data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><munder><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo
|
1
|
+
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><munder><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo>⏟</mo></munder><mi>x</mi></munder><mspace width="1em"/><msub><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo>⏟</mo></munder><mi>x</mi></msub><mspace width="1em"/><munder><munder><mrow><mi>a</mi><mi>b</mi><mi>c</mi><mi>d</mi><mi>e</mi><mi>f</mi></mrow><mo>⏟</mo></munder><mi>x</mi></munder></mrow><annotation encoding='application/x-tex'>
|
2
2
|
\underbrace{abcdef}\limits_x \quad
|
3
3
|
\underbrace{abcdef}\nolimits_x \quad
|
4
4
|
\underbrace{abcdef}_x
|
data/lib/mathematical/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mathematical
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-enum
|