mathematical 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -7
  3. data/Rakefile +4 -1
  4. data/ext/mathematical/cairo_callbacks.h +5 -0
  5. data/ext/mathematical/extconf.rb +34 -8
  6. data/ext/mathematical/lasem_overrides.c +32 -3
  7. data/ext/mathematical/lasem_overrides.h +11 -2
  8. data/ext/mathematical/mathematical.c +27 -26
  9. data/ext/mathematical/mathematical.h +5 -1
  10. data/ext/mathematical/mtex2MML/deps/strdup/strdup.c +24 -0
  11. data/ext/mathematical/mtex2MML/deps/strdup/strdup.h +24 -0
  12. data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +1 -0
  13. data/ext/mathematical/mtex2MML/src/{color_definitions.c → colors.c} +2 -3
  14. data/ext/mathematical/mtex2MML/src/colors.h +23 -0
  15. data/ext/mathematical/mtex2MML/src/em.c +99 -0
  16. data/ext/mathematical/mtex2MML/src/em.h +31 -0
  17. data/ext/mathematical/mtex2MML/src/{parse_extras.c → environment.c} +73 -157
  18. data/ext/mathematical/mtex2MML/src/environment.h +85 -0
  19. data/ext/mathematical/mtex2MML/src/{mtex2MML.l → lexer.l} +26 -15
  20. data/ext/mathematical/mtex2MML/src/main.c +31 -10
  21. data/ext/mathematical/mtex2MML/src/mtex2MML.h +19 -7
  22. data/ext/mathematical/mtex2MML/src/{mtex2MML.y → parser.y} +451 -446
  23. data/ext/mathematical/mtex2MML/src/string_extras.c +4 -3
  24. data/ext/mathematical/mtex2MML/src/string_extras.h +7 -7
  25. data/ext/mathematical/mtex2MML/tests/array.c +11 -11
  26. data/ext/mathematical/mtex2MML/tests/basic.c +14 -13
  27. data/ext/mathematical/mtex2MML/tests/clar.c +2 -0
  28. data/ext/mathematical/mtex2MML/tests/clar/fs.h +3 -1
  29. data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +3 -1
  30. data/ext/mathematical/mtex2MML/tests/cornercases.c +3 -2
  31. data/ext/mathematical/mtex2MML/tests/delimiters.c +126 -0
  32. data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +2 -4
  33. data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +151 -0
  34. data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +10 -0
  35. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +4 -1
  36. data/ext/mathematical/mtex2MML/tests/env.c +35 -34
  37. data/ext/mathematical/mtex2MML/tests/functions.c +3 -2
  38. data/ext/mathematical/mtex2MML/tests/helpers.c +6 -4
  39. data/ext/mathematical/mtex2MML/tests/helpers.h +2 -2
  40. data/ext/mathematical/mtex2MML/tests/main.c +1 -1
  41. data/ext/mathematical/mtex2MML/tests/maliciousness.c +35 -9
  42. data/ext/mathematical/mtex2MML/tests/mathjax.c +202 -202
  43. data/ext/mathematical/mtex2MML/tests/numbered_equations.c +6 -6
  44. data/ext/mathematical/mtex2MML/tests/performance.c +39 -0
  45. data/lib/mathematical.rb +38 -5
  46. data/lib/mathematical/configuration.rb +19 -0
  47. data/lib/mathematical/validator.rb +17 -31
  48. data/lib/mathematical/version.rb +1 -1
  49. data/mathematical.gemspec +3 -1
  50. data/test/mathematical/basic_test.rb +60 -7
  51. data/test/mathematical/corrections_test.rb +1 -1
  52. data/test/mathematical/delimiters_test.rb +58 -0
  53. data/test/mathematical/fixtures_test.rb +3 -2
  54. data/test/mathematical/maliciousness_test.rb +19 -27
  55. data/test/mathematical/mathjax_test.rb +6 -5
  56. data/test/mathematical/mathml_test.rb +1 -1
  57. data/test/mathematical/multiples_test.rb +1 -1
  58. data/test/mathematical/performance_test.rb +3 -1
  59. data/test/mathematical/png_test.rb +3 -3
  60. data/test/test_helper.rb +4 -1
  61. metadata +35 -21
  62. data/ext/mathematical/lasem/src/lsmdomenumtypes.c +0 -99
  63. data/ext/mathematical/lasem/src/lsmdomenumtypes.h +0 -26
  64. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +0 -737
  65. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +0 -93
  66. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +0 -1083
  67. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +0 -111
  68. data/ext/mathematical/mtex2MML/Makefile +0 -100
  69. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  70. data/ext/mathematical/mtex2MML/build/mtex2MML.h +0 -73
  71. data/ext/mathematical/mtex2MML/src/lex.yy.c +0 -8845
  72. data/ext/mathematical/mtex2MML/src/parse_extras.h +0 -111
  73. data/ext/mathematical/mtex2MML/src/y.tab.c +0 -10178
  74. data/ext/mathematical/mtex2MML/src/y.tab.h +0 -617
@@ -5,7 +5,7 @@
5
5
 
6
6
  static char *fixture_tex;
7
7
  static char *fixture_mml;
8
- static const char *result;
8
+ static char *result;
9
9
 
10
10
  void test_mathjax__initialize(void)
11
11
  {
@@ -33,7 +33,7 @@ void test_mathjax__abovebelowaccents1(void)
33
33
  {
34
34
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/accents-1.txt");
35
35
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/accents-1.html");
36
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
36
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
37
37
  result = mtex2MML_output();
38
38
 
39
39
  cl_assert_equal_s(fixture_mml, result);
@@ -43,7 +43,7 @@ void test_mathjax__abovebelowaccents2(void)
43
43
  {
44
44
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/accents-2.txt");
45
45
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/accents-2.html");
46
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
46
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
47
47
  result = mtex2MML_output();
48
48
 
49
49
  cl_assert_equal_s(fixture_mml, result);
@@ -53,7 +53,7 @@ void test_mathjax__abovebelowaccents3(void)
53
53
  {
54
54
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/accents-3.txt");
55
55
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/accents-3.html");
56
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
56
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
57
57
  result = mtex2MML_output();
58
58
 
59
59
  cl_assert_equal_s(fixture_mml, result);
@@ -63,7 +63,7 @@ void test_mathjax__abovebelowbuildrel1(void)
63
63
  {
64
64
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/buildrel-1.txt");
65
65
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/buildrel-1.html");
66
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
66
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
67
67
  result = mtex2MML_output();
68
68
 
69
69
  cl_assert_equal_s(fixture_mml, result);
@@ -73,7 +73,7 @@ void test_mathjax__abovebelowissue877(void)
73
73
  {
74
74
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/issue877.txt");
75
75
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/issue877.html");
76
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
76
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
77
77
  result = mtex2MML_output();
78
78
 
79
79
  cl_assert_equal_s(fixture_mml, result);
@@ -83,7 +83,7 @@ void test_mathjax__abovebelowissue937(void)
83
83
  {
84
84
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/issue937.txt");
85
85
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/issue937.html");
86
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
86
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
87
87
  result = mtex2MML_output();
88
88
 
89
89
  cl_assert_equal_s(fixture_mml, result);
@@ -93,7 +93,7 @@ void test_mathjax__abovebelowoverbrace1(void)
93
93
  {
94
94
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/overbrace-1.txt");
95
95
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/overbrace-1.html");
96
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
96
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
97
97
  result = mtex2MML_output();
98
98
 
99
99
  cl_assert_equal_s(fixture_mml, result);
@@ -103,7 +103,7 @@ void test_mathjax__abovebelowoverbracket1(void)
103
103
  {
104
104
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/overbracket-1.txt");
105
105
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/overbracket-1.html");
106
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
106
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
107
107
  result = mtex2MML_output();
108
108
 
109
109
  cl_assert_equal_s(fixture_mml, result);
@@ -113,7 +113,7 @@ void test_mathjax__abovebelowoverset1(void)
113
113
  {
114
114
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/overset-1.txt");
115
115
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/overset-1.html");
116
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
116
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
117
117
  result = mtex2MML_output();
118
118
 
119
119
  cl_assert_equal_s(fixture_mml, result);
@@ -123,7 +123,7 @@ void test_mathjax__abovebelowsideset1(void)
123
123
  {
124
124
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/sideset-1.txt");
125
125
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/sideset-1.html");
126
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
126
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
127
127
  result = mtex2MML_output();
128
128
 
129
129
  cl_assert_equal_s(fixture_mml, result);
@@ -133,7 +133,7 @@ void test_mathjax__abovebelowstackrel1(void)
133
133
  {
134
134
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/stackrel-1.txt");
135
135
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/stackrel-1.html");
136
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
136
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
137
137
  result = mtex2MML_output();
138
138
 
139
139
  cl_assert_equal_s(fixture_mml, result);
@@ -143,7 +143,7 @@ void test_mathjax__abovebelowsubarray1(void)
143
143
  {
144
144
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/subarray-1.txt");
145
145
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/subarray-1.html");
146
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
146
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
147
147
  result = mtex2MML_output();
148
148
 
149
149
  cl_assert_equal_s(fixture_mml, result);
@@ -153,7 +153,7 @@ void test_mathjax__abovebelowsubstack1(void)
153
153
  {
154
154
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/substack-1.txt");
155
155
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/substack-1.html");
156
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
156
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
157
157
  result = mtex2MML_output();
158
158
 
159
159
  cl_assert_equal_s(fixture_mml, result);
@@ -163,7 +163,7 @@ void test_mathjax__abovebelowunderbrace1(void)
163
163
  {
164
164
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/underbrace-1.txt");
165
165
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/underbrace-1.html");
166
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
166
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
167
167
  result = mtex2MML_output();
168
168
 
169
169
  cl_assert_equal_s(fixture_mml, result);
@@ -173,7 +173,7 @@ void test_mathjax__abovebelowunderbracket1(void)
173
173
  {
174
174
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/underbracket-1.txt");
175
175
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/underbracket-1.html");
176
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
176
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
177
177
  result = mtex2MML_output();
178
178
 
179
179
  cl_assert_equal_s(fixture_mml, result);
@@ -183,7 +183,7 @@ void test_mathjax__abovebelowunderset1(void)
183
183
  {
184
184
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/above-below/underset-1.txt");
185
185
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/above-below/underset-1.html");
186
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
186
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
187
187
  result = mtex2MML_output();
188
188
 
189
189
  cl_assert_equal_s(fixture_mml, result);
@@ -193,7 +193,7 @@ void test_mathjax__arrowsarrows1(void)
193
193
  {
194
194
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-1.txt");
195
195
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-1.html");
196
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
196
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
197
197
  result = mtex2MML_output();
198
198
 
199
199
  cl_assert_equal_s(fixture_mml, result);
@@ -203,7 +203,7 @@ void test_mathjax__arrowsarrows2(void)
203
203
  {
204
204
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-2.txt");
205
205
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-2.html");
206
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
206
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
207
207
  result = mtex2MML_output();
208
208
 
209
209
  cl_assert_equal_s(fixture_mml, result);
@@ -213,7 +213,7 @@ void test_mathjax__arrowsarrows3(void)
213
213
  {
214
214
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-3.txt");
215
215
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-3.html");
216
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
216
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
217
217
  result = mtex2MML_output();
218
218
 
219
219
  cl_assert_equal_s(fixture_mml, result);
@@ -223,7 +223,7 @@ void test_mathjax__arrowsarrows4(void)
223
223
  {
224
224
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-4.txt");
225
225
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-4.html");
226
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
226
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
227
227
  result = mtex2MML_output();
228
228
 
229
229
  cl_assert_equal_s(fixture_mml, result);
@@ -233,7 +233,7 @@ void test_mathjax__arrowsarrows5(void)
233
233
  {
234
234
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/arrows/arrows-5.txt");
235
235
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/arrows/arrows-5.html");
236
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
236
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
237
237
  result = mtex2MML_output();
238
238
 
239
239
  cl_assert_equal_s(fixture_mml, result);
@@ -243,7 +243,7 @@ void test_mathjax__atomsmathinner1(void)
243
243
  {
244
244
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathinner-1.txt");
245
245
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathinner-1.html");
246
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
246
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
247
247
  result = mtex2MML_output();
248
248
 
249
249
  cl_assert_equal_s(fixture_mml, result);
@@ -253,7 +253,7 @@ void test_mathjax__atomsmathop1a(void)
253
253
  {
254
254
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathop-1a.txt");
255
255
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathop-1a.html");
256
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
256
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
257
257
  result = mtex2MML_output();
258
258
 
259
259
  cl_assert_equal_s(fixture_mml, result);
@@ -263,7 +263,7 @@ void test_mathjax__atomsmathop1b(void)
263
263
  {
264
264
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathop-1b.txt");
265
265
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathop-1b.html");
266
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
266
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
267
267
  result = mtex2MML_output();
268
268
 
269
269
  cl_assert_equal_s(fixture_mml, result);
@@ -273,7 +273,7 @@ void test_mathjax__atomsmathopenclose1(void)
273
273
  {
274
274
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathopenclose-1.txt");
275
275
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html");
276
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
276
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
277
277
  result = mtex2MML_output();
278
278
 
279
279
  cl_assert_equal_s(fixture_mml, result);
@@ -283,7 +283,7 @@ void test_mathjax__atomsmathord1(void)
283
283
  {
284
284
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathord-1.txt");
285
285
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathord-1.html");
286
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
286
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
287
287
  result = mtex2MML_output();
288
288
 
289
289
  cl_assert_equal_s(fixture_mml, result);
@@ -293,7 +293,7 @@ void test_mathjax__atomsmathpunct1(void)
293
293
  {
294
294
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathpunct-1.txt");
295
295
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html");
296
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
296
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
297
297
  result = mtex2MML_output();
298
298
 
299
299
  cl_assert_equal_s(fixture_mml, result);
@@ -303,7 +303,7 @@ void test_mathjax__atomsmathrel1(void)
303
303
  {
304
304
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/atoms/mathrel-1.txt");
305
305
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/atoms/mathrel-1.html");
306
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
306
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
307
307
  result = mtex2MML_output();
308
308
 
309
309
  cl_assert_equal_s(fixture_mml, result);
@@ -313,7 +313,7 @@ void test_mathjax__basicoperatorsbackslashed1(void)
313
313
  {
314
314
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/basic-operators/backslashed-1.txt");
315
315
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html");
316
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
316
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
317
317
  result = mtex2MML_output();
318
318
 
319
319
  cl_assert_equal_s(fixture_mml, result);
@@ -323,7 +323,7 @@ void test_mathjax__basicoperatorsbasicoperators1(void)
323
323
  {
324
324
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-1.txt");
325
325
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html");
326
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
326
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
327
327
  result = mtex2MML_output();
328
328
 
329
329
  cl_assert_equal_s(fixture_mml, result);
@@ -333,7 +333,7 @@ void test_mathjax__basicoperatorsremap1(void)
333
333
  {
334
334
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/basic-operators/remap-1.txt");
335
335
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/basic-operators/remap-1.html");
336
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
336
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
337
337
  result = mtex2MML_output();
338
338
 
339
339
  cl_assert_equal_s(fixture_mml, result);
@@ -343,7 +343,7 @@ void test_mathjax__colorscolor1(void)
343
343
  {
344
344
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/colors/color-1.txt");
345
345
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/colors/color-1.html");
346
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
346
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
347
347
  result = mtex2MML_output();
348
348
 
349
349
  cl_assert_equal_s(fixture_mml, result);
@@ -353,7 +353,7 @@ void test_mathjax__colorscolorbox1(void)
353
353
  {
354
354
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/colors/colorbox-1.txt");
355
355
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/colors/colorbox-1.html");
356
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
356
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
357
357
  result = mtex2MML_output();
358
358
 
359
359
  cl_assert_equal_s(fixture_mml, result);
@@ -363,7 +363,7 @@ void test_mathjax__colorsnamedcolors1(void)
363
363
  {
364
364
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/colors/namedcolors-1.txt");
365
365
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/colors/namedcolors-1.html");
366
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
366
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
367
367
  result = mtex2MML_output();
368
368
 
369
369
  cl_assert_equal_s(fixture_mml, result);
@@ -373,7 +373,7 @@ void test_mathjax__delimitersbig1(void)
373
373
  {
374
374
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-1.txt");
375
375
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-1.html");
376
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
376
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
377
377
  result = mtex2MML_output();
378
378
 
379
379
  cl_assert_equal_s(fixture_mml, result);
@@ -383,7 +383,7 @@ void test_mathjax__delimitersbig2(void)
383
383
  {
384
384
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-2.txt");
385
385
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-2.html");
386
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
386
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
387
387
  result = mtex2MML_output();
388
388
 
389
389
  cl_assert_equal_s(fixture_mml, result);
@@ -393,7 +393,7 @@ void test_mathjax__delimitersbig3(void)
393
393
  {
394
394
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/big-3.txt");
395
395
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/big-3.html");
396
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
396
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
397
397
  result = mtex2MML_output();
398
398
 
399
399
  cl_assert_equal_s(fixture_mml, result);
@@ -403,7 +403,7 @@ void test_mathjax__delimitersdelimiters1(void)
403
403
  {
404
404
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/delimiters-1.txt");
405
405
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html");
406
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
406
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
407
407
  result = mtex2MML_output();
408
408
 
409
409
  cl_assert_equal_s(fixture_mml, result);
@@ -413,7 +413,7 @@ void test_mathjax__delimitersdelimiters2(void)
413
413
  {
414
414
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/delimiters-2.txt");
415
415
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html");
416
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
416
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
417
417
  result = mtex2MML_output();
418
418
 
419
419
  cl_assert_equal_s(fixture_mml, result);
@@ -423,7 +423,7 @@ void test_mathjax__delimitersissue775(void)
423
423
  {
424
424
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue775.txt");
425
425
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue775.html");
426
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
426
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
427
427
  result = mtex2MML_output();
428
428
 
429
429
  cl_assert_equal_s(fixture_mml, result);
@@ -433,7 +433,7 @@ void test_mathjax__delimitersissue7761a(void)
433
433
  {
434
434
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-1a.txt");
435
435
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html");
436
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
436
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
437
437
  result = mtex2MML_output();
438
438
 
439
439
  cl_assert_equal_s(fixture_mml, result);
@@ -443,7 +443,7 @@ void test_mathjax__delimitersissue7761b(void)
443
443
  {
444
444
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-1b.txt");
445
445
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html");
446
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
446
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
447
447
  result = mtex2MML_output();
448
448
 
449
449
  cl_assert_equal_s(fixture_mml, result);
@@ -453,7 +453,7 @@ void test_mathjax__delimitersissue7762(void)
453
453
  {
454
454
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-2.txt");
455
455
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-2.html");
456
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
456
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
457
457
  result = mtex2MML_output();
458
458
 
459
459
  cl_assert_equal_s(fixture_mml, result);
@@ -463,7 +463,7 @@ void test_mathjax__delimitersissue7763(void)
463
463
  {
464
464
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-3.txt");
465
465
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-3.html");
466
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
466
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
467
467
  result = mtex2MML_output();
468
468
 
469
469
  cl_assert_equal_s(fixture_mml, result);
@@ -473,7 +473,7 @@ void test_mathjax__delimitersissue7764(void)
473
473
  {
474
474
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-4.txt");
475
475
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-4.html");
476
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
476
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
477
477
  result = mtex2MML_output();
478
478
 
479
479
  cl_assert_equal_s(fixture_mml, result);
@@ -483,7 +483,7 @@ void test_mathjax__delimitersissue7765(void)
483
483
  {
484
484
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/issue776-5.txt");
485
485
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/issue776-5.html");
486
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
486
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
487
487
  result = mtex2MML_output();
488
488
 
489
489
  cl_assert_equal_s(fixture_mml, result);
@@ -493,7 +493,7 @@ void test_mathjax__delimitersleftright1(void)
493
493
  {
494
494
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/delimiters/left-right-1.txt");
495
495
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/delimiters/left-right-1.html");
496
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
496
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
497
497
  result = mtex2MML_output();
498
498
 
499
499
  cl_assert_equal_s(fixture_mml, result);
@@ -503,7 +503,7 @@ void test_mathjax__environmentsalign1a(void)
503
503
  {
504
504
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/align-1a.txt");
505
505
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/align-1a.html");
506
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
506
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
507
507
  result = mtex2MML_output();
508
508
 
509
509
  cl_assert_equal_s(fixture_mml, result);
@@ -513,7 +513,7 @@ void test_mathjax__environmentsalign1b(void)
513
513
  {
514
514
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/align-1b.txt");
515
515
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/align-1b.html");
516
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
516
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
517
517
  result = mtex2MML_output();
518
518
 
519
519
  cl_assert_equal_s(fixture_mml, result);
@@ -523,7 +523,7 @@ void test_mathjax__environmentsalignat1a(void)
523
523
  {
524
524
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/alignat-1a.txt");
525
525
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/alignat-1a.html");
526
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
526
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
527
527
  result = mtex2MML_output();
528
528
 
529
529
  cl_assert_equal_s(fixture_mml, result);
@@ -533,7 +533,7 @@ void test_mathjax__environmentsalignat1b(void)
533
533
  {
534
534
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/alignat-1b.txt");
535
535
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/alignat-1b.html");
536
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
536
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
537
537
  result = mtex2MML_output();
538
538
 
539
539
  cl_assert_equal_s(fixture_mml, result);
@@ -543,7 +543,7 @@ void test_mathjax__environmentsaligned1(void)
543
543
  {
544
544
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/aligned-1.txt");
545
545
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/aligned-1.html");
546
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
546
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
547
547
  result = mtex2MML_output();
548
548
 
549
549
  cl_assert_equal_s(fixture_mml, result);
@@ -553,7 +553,7 @@ void test_mathjax__environmentsaligned2(void)
553
553
  {
554
554
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/aligned-2.txt");
555
555
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/aligned-2.html");
556
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
556
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
557
557
  result = mtex2MML_output();
558
558
 
559
559
  cl_assert_equal_s(fixture_mml, result);
@@ -563,7 +563,7 @@ void test_mathjax__environmentsalignedat1(void)
563
563
  {
564
564
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/alignedat-1.txt");
565
565
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/alignedat-1.html");
566
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
566
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
567
567
  result = mtex2MML_output();
568
568
 
569
569
  cl_assert_equal_s(fixture_mml, result);
@@ -573,7 +573,7 @@ void test_mathjax__environmentseqalign1(void)
573
573
  {
574
574
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqalign-1.txt");
575
575
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqalign-1.html");
576
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
576
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
577
577
  result = mtex2MML_output();
578
578
 
579
579
  cl_assert_equal_s(fixture_mml, result);
@@ -583,7 +583,7 @@ void test_mathjax__environmentseqalignno1(void)
583
583
  {
584
584
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqalignno-1.txt");
585
585
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqalignno-1.html");
586
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
586
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
587
587
  result = mtex2MML_output();
588
588
 
589
589
  cl_assert_equal_s(fixture_mml, result);
@@ -593,7 +593,7 @@ void test_mathjax__environmentseqnarray1a(void)
593
593
  {
594
594
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqnarray-1a.txt");
595
595
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html");
596
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
596
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
597
597
  result = mtex2MML_output();
598
598
 
599
599
  cl_assert_equal_s(fixture_mml, result);
@@ -603,7 +603,7 @@ void test_mathjax__environmentseqnarray1b(void)
603
603
  {
604
604
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/eqnarray-1b.txt");
605
605
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html");
606
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
606
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
607
607
  result = mtex2MML_output();
608
608
 
609
609
  cl_assert_equal_s(fixture_mml, result);
@@ -613,7 +613,7 @@ void test_mathjax__environmentsequation1(void)
613
613
  {
614
614
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/equation-1.txt");
615
615
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/equation-1.html");
616
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
616
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
617
617
  result = mtex2MML_output();
618
618
 
619
619
  cl_assert_equal_s(fixture_mml, result);
@@ -623,7 +623,7 @@ void test_mathjax__environmentsequation2(void)
623
623
  {
624
624
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/equation-2.txt");
625
625
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/equation-2.html");
626
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
626
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
627
627
  result = mtex2MML_output();
628
628
 
629
629
  cl_assert_equal_s(fixture_mml, result);
@@ -633,7 +633,7 @@ void test_mathjax__environmentsgather1a(void)
633
633
  {
634
634
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gather-1a.txt");
635
635
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gather-1a.html");
636
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
636
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
637
637
  result = mtex2MML_output();
638
638
 
639
639
  cl_assert_equal_s(fixture_mml, result);
@@ -643,7 +643,7 @@ void test_mathjax__environmentsgather1b(void)
643
643
  {
644
644
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gather-1b.txt");
645
645
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gather-1b.html");
646
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
646
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
647
647
  result = mtex2MML_output();
648
648
 
649
649
  cl_assert_equal_s(fixture_mml, result);
@@ -653,7 +653,7 @@ void test_mathjax__environmentsgathered1(void)
653
653
  {
654
654
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gathered-1.txt");
655
655
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gathered-1.html");
656
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
656
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
657
657
  result = mtex2MML_output();
658
658
 
659
659
  cl_assert_equal_s(fixture_mml, result);
@@ -663,7 +663,7 @@ void test_mathjax__environmentsgathered2(void)
663
663
  {
664
664
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/gathered-2.txt");
665
665
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/gathered-2.html");
666
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
666
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
667
667
  result = mtex2MML_output();
668
668
 
669
669
  cl_assert_equal_s(fixture_mml, result);
@@ -673,7 +673,7 @@ void test_mathjax__environmentsissue9821a(void)
673
673
  {
674
674
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-1a.txt");
675
675
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-1a.html");
676
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
676
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
677
677
  result = mtex2MML_output();
678
678
 
679
679
  cl_assert_equal_s(fixture_mml, result);
@@ -683,7 +683,7 @@ void test_mathjax__environmentsissue9821b(void)
683
683
  {
684
684
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-1b.txt");
685
685
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-1b.html");
686
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
686
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
687
687
  result = mtex2MML_output();
688
688
 
689
689
  cl_assert_equal_s(fixture_mml, result);
@@ -693,7 +693,7 @@ void test_mathjax__environmentsissue9822a(void)
693
693
  {
694
694
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-2a.txt");
695
695
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-2a.html");
696
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
696
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
697
697
  result = mtex2MML_output();
698
698
 
699
699
  cl_assert_equal_s(fixture_mml, result);
@@ -703,7 +703,7 @@ void test_mathjax__environmentsissue9822b(void)
703
703
  {
704
704
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-2b.txt");
705
705
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-2b.html");
706
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
706
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
707
707
  result = mtex2MML_output();
708
708
 
709
709
  cl_assert_equal_s(fixture_mml, result);
@@ -713,7 +713,7 @@ void test_mathjax__environmentsissue9823a(void)
713
713
  {
714
714
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-3a.txt");
715
715
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-3a.html");
716
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
716
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
717
717
  result = mtex2MML_output();
718
718
 
719
719
  cl_assert_equal_s(fixture_mml, result);
@@ -723,7 +723,7 @@ void test_mathjax__environmentsissue9823b(void)
723
723
  {
724
724
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/issue982-3b.txt");
725
725
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/issue982-3b.html");
726
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
726
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
727
727
  result = mtex2MML_output();
728
728
 
729
729
  cl_assert_equal_s(fixture_mml, result);
@@ -733,7 +733,7 @@ void test_mathjax__environmentsmultline1a(void)
733
733
  {
734
734
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/multline-1a.txt");
735
735
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/multline-1a.html");
736
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
736
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
737
737
  result = mtex2MML_output();
738
738
 
739
739
  cl_assert_equal_s(fixture_mml, result);
@@ -743,7 +743,7 @@ void test_mathjax__environmentsmultline1b(void)
743
743
  {
744
744
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/multline-1b.txt");
745
745
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/multline-1b.html");
746
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
746
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
747
747
  result = mtex2MML_output();
748
748
 
749
749
  cl_assert_equal_s(fixture_mml, result);
@@ -753,7 +753,7 @@ void test_mathjax__environmentssplit1(void)
753
753
  {
754
754
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/environments/split-1.txt");
755
755
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/environments/split-1.html");
756
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
756
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
757
757
  result = mtex2MML_output();
758
758
 
759
759
  cl_assert_equal_s(fixture_mml, result);
@@ -763,7 +763,7 @@ void test_mathjax__fracabove1(void)
763
763
  {
764
764
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/above-1.txt");
765
765
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/above-1.html");
766
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
766
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
767
767
  result = mtex2MML_output();
768
768
 
769
769
  cl_assert_equal_s(fixture_mml, result);
@@ -773,7 +773,7 @@ void test_mathjax__fracabovewithdelims1(void)
773
773
  {
774
774
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/abovewithdelims-1.txt");
775
775
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html");
776
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
776
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
777
777
  result = mtex2MML_output();
778
778
 
779
779
  cl_assert_equal_s(fixture_mml, result);
@@ -783,7 +783,7 @@ void test_mathjax__fracatop1(void)
783
783
  {
784
784
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/atop-1.txt");
785
785
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/atop-1.html");
786
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
786
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
787
787
  result = mtex2MML_output();
788
788
 
789
789
  cl_assert_equal_s(fixture_mml, result);
@@ -793,7 +793,7 @@ void test_mathjax__fracatopwithdelims1(void)
793
793
  {
794
794
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/atopwithdelims-1.txt");
795
795
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html");
796
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
796
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
797
797
  result = mtex2MML_output();
798
798
 
799
799
  cl_assert_equal_s(fixture_mml, result);
@@ -803,7 +803,7 @@ void test_mathjax__fracbinom1(void)
803
803
  {
804
804
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/binom-1.txt");
805
805
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/binom-1.html");
806
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
806
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
807
807
  result = mtex2MML_output();
808
808
 
809
809
  cl_assert_equal_s(fixture_mml, result);
@@ -813,7 +813,7 @@ void test_mathjax__fracbrace1(void)
813
813
  {
814
814
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/brace-1.txt");
815
815
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/brace-1.html");
816
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
816
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
817
817
  result = mtex2MML_output();
818
818
 
819
819
  cl_assert_equal_s(fixture_mml, result);
@@ -823,7 +823,7 @@ void test_mathjax__fracbrack1(void)
823
823
  {
824
824
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/brack-1.txt");
825
825
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/brack-1.html");
826
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
826
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
827
827
  result = mtex2MML_output();
828
828
 
829
829
  cl_assert_equal_s(fixture_mml, result);
@@ -833,7 +833,7 @@ void test_mathjax__fraccfrac1(void)
833
833
  {
834
834
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/cfrac-1.txt");
835
835
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/cfrac-1.html");
836
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
836
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
837
837
  result = mtex2MML_output();
838
838
 
839
839
  cl_assert_equal_s(fixture_mml, result);
@@ -843,7 +843,7 @@ void test_mathjax__fracchoose1(void)
843
843
  {
844
844
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/choose-1.txt");
845
845
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/choose-1.html");
846
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
846
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
847
847
  result = mtex2MML_output();
848
848
 
849
849
  cl_assert_equal_s(fixture_mml, result);
@@ -853,7 +853,7 @@ void test_mathjax__fracdbinom1(void)
853
853
  {
854
854
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/dbinom-1.txt");
855
855
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/dbinom-1.html");
856
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
856
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
857
857
  result = mtex2MML_output();
858
858
 
859
859
  cl_assert_equal_s(fixture_mml, result);
@@ -863,7 +863,7 @@ void test_mathjax__fracdfrac1(void)
863
863
  {
864
864
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/dfrac-1.txt");
865
865
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/dfrac-1.html");
866
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
866
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
867
867
  result = mtex2MML_output();
868
868
 
869
869
  cl_assert_equal_s(fixture_mml, result);
@@ -873,7 +873,7 @@ void test_mathjax__fracfrac1a(void)
873
873
  {
874
874
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/frac-1a.txt");
875
875
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/frac-1a.html");
876
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
876
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
877
877
  result = mtex2MML_output();
878
878
 
879
879
  cl_assert_equal_s(fixture_mml, result);
@@ -883,7 +883,7 @@ void test_mathjax__fracfrac1b(void)
883
883
  {
884
884
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/frac-1b.txt");
885
885
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/frac-1b.html");
886
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
886
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
887
887
  result = mtex2MML_output();
888
888
 
889
889
  cl_assert_equal_s(fixture_mml, result);
@@ -893,7 +893,7 @@ void test_mathjax__fracgenfrac1(void)
893
893
  {
894
894
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/genfrac-1.txt");
895
895
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/genfrac-1.html");
896
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
896
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
897
897
  result = mtex2MML_output();
898
898
 
899
899
  cl_assert_equal_s(fixture_mml, result);
@@ -903,7 +903,7 @@ void test_mathjax__fracissue969(void)
903
903
  {
904
904
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/issue969.txt");
905
905
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/issue969.html");
906
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
906
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
907
907
  result = mtex2MML_output();
908
908
 
909
909
  cl_assert_equal_s(fixture_mml, result);
@@ -913,7 +913,7 @@ void test_mathjax__fracoverwithdelims1(void)
913
913
  {
914
914
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/overwithdelims-1.txt");
915
915
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html");
916
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
916
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
917
917
  result = mtex2MML_output();
918
918
 
919
919
  cl_assert_equal_s(fixture_mml, result);
@@ -923,7 +923,7 @@ void test_mathjax__fractbinom1(void)
923
923
  {
924
924
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/tbinom-1.txt");
925
925
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/tbinom-1.html");
926
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
926
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
927
927
  result = mtex2MML_output();
928
928
 
929
929
  cl_assert_equal_s(fixture_mml, result);
@@ -933,7 +933,7 @@ void test_mathjax__fractfrac1(void)
933
933
  {
934
934
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/frac/tfrac-1.txt");
935
935
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/frac/tfrac-1.html");
936
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
936
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
937
937
  result = mtex2MML_output();
938
938
 
939
939
  cl_assert_equal_s(fixture_mml, result);
@@ -943,7 +943,7 @@ void test_mathjax__issuesissue11522(void)
943
943
  {
944
944
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue1152-2.txt");
945
945
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue1152-2.html");
946
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
946
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
947
947
  result = mtex2MML_output();
948
948
 
949
949
  cl_assert_equal_s(fixture_mml, result);
@@ -953,7 +953,7 @@ void test_mathjax__issuesissue375(void)
953
953
  {
954
954
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue375.txt");
955
955
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue375.html");
956
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
956
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
957
957
  result = mtex2MML_output();
958
958
 
959
959
  cl_assert_equal_s(fixture_mml, result);
@@ -963,7 +963,7 @@ void test_mathjax__issuesissue856(void)
963
963
  {
964
964
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue856.txt");
965
965
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue856.html");
966
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
966
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
967
967
  result = mtex2MML_output();
968
968
 
969
969
  cl_assert_equal_s(fixture_mml, result);
@@ -973,7 +973,7 @@ void test_mathjax__issuesissue9011a(void)
973
973
  {
974
974
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1a.txt");
975
975
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1a.html");
976
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
976
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
977
977
  result = mtex2MML_output();
978
978
 
979
979
  cl_assert_equal_s(fixture_mml, result);
@@ -983,7 +983,7 @@ void test_mathjax__issuesissue9011b(void)
983
983
  {
984
984
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1b.txt");
985
985
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1b.html");
986
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
986
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
987
987
  result = mtex2MML_output();
988
988
 
989
989
  cl_assert_equal_s(fixture_mml, result);
@@ -993,7 +993,7 @@ void test_mathjax__issuesissue9011c(void)
993
993
  {
994
994
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1c.txt");
995
995
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1c.html");
996
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
996
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
997
997
  result = mtex2MML_output();
998
998
 
999
999
  cl_assert_equal_s(fixture_mml, result);
@@ -1003,7 +1003,7 @@ void test_mathjax__issuesissue9011d(void)
1003
1003
  {
1004
1004
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/issues/issue901-1d.txt");
1005
1005
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/issues/issue901-1d.html");
1006
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1006
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1007
1007
  result = mtex2MML_output();
1008
1008
 
1009
1009
  cl_assert_equal_s(fixture_mml, result);
@@ -1013,7 +1013,7 @@ void test_mathjax__layoutboxes1(void)
1013
1013
  {
1014
1014
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/boxes-1.txt");
1015
1015
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/boxes-1.html");
1016
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1016
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1017
1017
  result = mtex2MML_output();
1018
1018
 
1019
1019
  cl_assert_equal_s(fixture_mml, result);
@@ -1023,7 +1023,7 @@ void test_mathjax__layoutkern1a(void)
1023
1023
  {
1024
1024
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/kern-1a.txt");
1025
1025
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/kern-1a.html");
1026
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1026
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1027
1027
  result = mtex2MML_output();
1028
1028
 
1029
1029
  cl_assert_equal_s(fixture_mml, result);
@@ -1033,7 +1033,7 @@ void test_mathjax__layoutkern1b(void)
1033
1033
  {
1034
1034
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/kern-1b.txt");
1035
1035
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/kern-1b.html");
1036
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1036
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1037
1037
  result = mtex2MML_output();
1038
1038
 
1039
1039
  cl_assert_equal_s(fixture_mml, result);
@@ -1043,7 +1043,7 @@ void test_mathjax__layoutllap1(void)
1043
1043
  {
1044
1044
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/llap-1.txt");
1045
1045
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/llap-1.html");
1046
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1046
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1047
1047
  result = mtex2MML_output();
1048
1048
 
1049
1049
  cl_assert_equal_s(fixture_mml, result);
@@ -1053,7 +1053,7 @@ void test_mathjax__layoutlower1(void)
1053
1053
  {
1054
1054
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/lower-1.txt");
1055
1055
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/lower-1.html");
1056
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1056
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1057
1057
  result = mtex2MML_output();
1058
1058
 
1059
1059
  cl_assert_equal_s(fixture_mml, result);
@@ -1063,7 +1063,7 @@ void test_mathjax__layoutmathstrut1(void)
1063
1063
  {
1064
1064
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/mathstrut-1.txt");
1065
1065
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/mathstrut-1.html");
1066
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1066
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1067
1067
  result = mtex2MML_output();
1068
1068
 
1069
1069
  cl_assert_equal_s(fixture_mml, result);
@@ -1073,7 +1073,7 @@ void test_mathjax__layoutmoveleft1(void)
1073
1073
  {
1074
1074
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/moveleft-1.txt");
1075
1075
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/moveleft-1.html");
1076
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1076
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1077
1077
  result = mtex2MML_output();
1078
1078
 
1079
1079
  cl_assert_equal_s(fixture_mml, result);
@@ -1083,7 +1083,7 @@ void test_mathjax__layoutmoveright1(void)
1083
1083
  {
1084
1084
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/moveright-1.txt");
1085
1085
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/moveright-1.html");
1086
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1086
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1087
1087
  result = mtex2MML_output();
1088
1088
 
1089
1089
  cl_assert_equal_s(fixture_mml, result);
@@ -1093,7 +1093,7 @@ void test_mathjax__layoutnewline1(void)
1093
1093
  {
1094
1094
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/newline-1.txt");
1095
1095
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/newline-1.html");
1096
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1096
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1097
1097
  result = mtex2MML_output();
1098
1098
 
1099
1099
  cl_assert_equal_s(fixture_mml, result);
@@ -1103,7 +1103,7 @@ void test_mathjax__layoutphantom1(void)
1103
1103
  {
1104
1104
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/phantom-1.txt");
1105
1105
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/phantom-1.html");
1106
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1106
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1107
1107
  result = mtex2MML_output();
1108
1108
 
1109
1109
  cl_assert_equal_s(fixture_mml, result);
@@ -1113,7 +1113,7 @@ void test_mathjax__layoutraise1(void)
1113
1113
  {
1114
1114
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/raise-1.txt");
1115
1115
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/raise-1.html");
1116
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1116
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1117
1117
  result = mtex2MML_output();
1118
1118
 
1119
1119
  cl_assert_equal_s(fixture_mml, result);
@@ -1123,7 +1123,7 @@ void test_mathjax__layoutrlap1(void)
1123
1123
  {
1124
1124
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/rlap-1.txt");
1125
1125
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/rlap-1.html");
1126
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1126
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1127
1127
  result = mtex2MML_output();
1128
1128
 
1129
1129
  cl_assert_equal_s(fixture_mml, result);
@@ -1133,7 +1133,7 @@ void test_mathjax__layoutskip1a(void)
1133
1133
  {
1134
1134
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/skip-1a.txt");
1135
1135
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/skip-1a.html");
1136
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1136
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1137
1137
  result = mtex2MML_output();
1138
1138
 
1139
1139
  cl_assert_equal_s(fixture_mml, result);
@@ -1143,7 +1143,7 @@ void test_mathjax__layoutskip1b(void)
1143
1143
  {
1144
1144
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/skip-1b.txt");
1145
1145
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/skip-1b.html");
1146
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1146
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1147
1147
  result = mtex2MML_output();
1148
1148
 
1149
1149
  cl_assert_equal_s(fixture_mml, result);
@@ -1153,7 +1153,7 @@ void test_mathjax__layoutsmash1(void)
1153
1153
  {
1154
1154
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/smash-1.txt");
1155
1155
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/smash-1.html");
1156
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1156
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1157
1157
  result = mtex2MML_output();
1158
1158
 
1159
1159
  cl_assert_equal_s(fixture_mml, result);
@@ -1163,7 +1163,7 @@ void test_mathjax__layoutspaces1(void)
1163
1163
  {
1164
1164
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/spaces-1.txt");
1165
1165
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/spaces-1.html");
1166
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1166
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1167
1167
  result = mtex2MML_output();
1168
1168
 
1169
1169
  cl_assert_equal_s(fixture_mml, result);
@@ -1173,7 +1173,7 @@ void test_mathjax__layoutstrut1(void)
1173
1173
  {
1174
1174
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/strut-1.txt");
1175
1175
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/strut-1.html");
1176
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1176
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1177
1177
  result = mtex2MML_output();
1178
1178
 
1179
1179
  cl_assert_equal_s(fixture_mml, result);
@@ -1183,7 +1183,7 @@ void test_mathjax__layoutvcenter1(void)
1183
1183
  {
1184
1184
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/layout/vcenter-1.txt");
1185
1185
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/layout/vcenter-1.html");
1186
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1186
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1187
1187
  result = mtex2MML_output();
1188
1188
 
1189
1189
  cl_assert_equal_s(fixture_mml, result);
@@ -1193,7 +1193,7 @@ void test_mathjax__lettersgreek1(void)
1193
1193
  {
1194
1194
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-1.txt");
1195
1195
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-1.html");
1196
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1196
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1197
1197
  result = mtex2MML_output();
1198
1198
 
1199
1199
  cl_assert_equal_s(fixture_mml, result);
@@ -1203,7 +1203,7 @@ void test_mathjax__lettersgreek2(void)
1203
1203
  {
1204
1204
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-2.txt");
1205
1205
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-2.html");
1206
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1206
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1207
1207
  result = mtex2MML_output();
1208
1208
 
1209
1209
  cl_assert_equal_s(fixture_mml, result);
@@ -1213,7 +1213,7 @@ void test_mathjax__lettersgreek3(void)
1213
1213
  {
1214
1214
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-3.txt");
1215
1215
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-3.html");
1216
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1216
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1217
1217
  result = mtex2MML_output();
1218
1218
 
1219
1219
  cl_assert_equal_s(fixture_mml, result);
@@ -1223,7 +1223,7 @@ void test_mathjax__lettersgreek4(void)
1223
1223
  {
1224
1224
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/greek-4.txt");
1225
1225
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/greek-4.html");
1226
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1226
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1227
1227
  result = mtex2MML_output();
1228
1228
 
1229
1229
  cl_assert_equal_s(fixture_mml, result);
@@ -1233,7 +1233,7 @@ void test_mathjax__lettershebrew1(void)
1233
1233
  {
1234
1234
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/letters/hebrew-1.txt");
1235
1235
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/letters/hebrew-1.html");
1236
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1236
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1237
1237
  result = mtex2MML_output();
1238
1238
 
1239
1239
  cl_assert_equal_s(fixture_mml, result);
@@ -1243,7 +1243,7 @@ void test_mathjax__mathvariantBbb1(void)
1243
1243
  {
1244
1244
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/Bbb-1.txt");
1245
1245
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html");
1246
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1246
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1247
1247
  result = mtex2MML_output();
1248
1248
 
1249
1249
  cl_assert_equal_s(fixture_mml, result);
@@ -1253,7 +1253,7 @@ void test_mathjax__mathvariantbf1(void)
1253
1253
  {
1254
1254
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/bf-1.txt");
1255
1255
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/bf-1.html");
1256
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1256
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1257
1257
  result = mtex2MML_output();
1258
1258
 
1259
1259
  cl_assert_equal_s(fixture_mml, result);
@@ -1263,7 +1263,7 @@ void test_mathjax__mathvariantboldsymbol1(void)
1263
1263
  {
1264
1264
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/boldsymbol-1.txt");
1265
1265
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html");
1266
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1266
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1267
1267
  result = mtex2MML_output();
1268
1268
 
1269
1269
  cl_assert_equal_s(fixture_mml, result);
@@ -1273,7 +1273,7 @@ void test_mathjax__mathvariantcal1(void)
1273
1273
  {
1274
1274
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/cal-1.txt");
1275
1275
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/cal-1.html");
1276
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1276
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1277
1277
  result = mtex2MML_output();
1278
1278
 
1279
1279
  cl_assert_equal_s(fixture_mml, result);
@@ -1283,7 +1283,7 @@ void test_mathjax__mathvariantfrak1(void)
1283
1283
  {
1284
1284
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/frak-1.txt");
1285
1285
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/frak-1.html");
1286
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1286
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1287
1287
  result = mtex2MML_output();
1288
1288
 
1289
1289
  cl_assert_equal_s(fixture_mml, result);
@@ -1293,7 +1293,7 @@ void test_mathjax__mathvariantit1(void)
1293
1293
  {
1294
1294
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/it-1.txt");
1295
1295
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/it-1.html");
1296
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1296
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1297
1297
  result = mtex2MML_output();
1298
1298
 
1299
1299
  cl_assert_equal_s(fixture_mml, result);
@@ -1303,7 +1303,7 @@ void test_mathjax__mathvariantmathbb1(void)
1303
1303
  {
1304
1304
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbb-1.txt");
1305
1305
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html");
1306
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1306
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1307
1307
  result = mtex2MML_output();
1308
1308
 
1309
1309
  cl_assert_equal_s(fixture_mml, result);
@@ -1313,7 +1313,7 @@ void test_mathjax__mathvariantmathbf1a(void)
1313
1313
  {
1314
1314
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1a.txt");
1315
1315
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html");
1316
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1316
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1317
1317
  result = mtex2MML_output();
1318
1318
 
1319
1319
  cl_assert_equal_s(fixture_mml, result);
@@ -1323,7 +1323,7 @@ void test_mathjax__mathvariantmathbf1b(void)
1323
1323
  {
1324
1324
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1b.txt");
1325
1325
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html");
1326
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1326
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1327
1327
  result = mtex2MML_output();
1328
1328
 
1329
1329
  cl_assert_equal_s(fixture_mml, result);
@@ -1333,7 +1333,7 @@ void test_mathjax__mathvariantmathbf2(void)
1333
1333
  {
1334
1334
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathbf-2.txt");
1335
1335
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html");
1336
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1336
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1337
1337
  result = mtex2MML_output();
1338
1338
 
1339
1339
  cl_assert_equal_s(fixture_mml, result);
@@ -1343,7 +1343,7 @@ void test_mathjax__mathvariantmathcal1(void)
1343
1343
  {
1344
1344
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathcal-1.txt");
1345
1345
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html");
1346
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1346
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1347
1347
  result = mtex2MML_output();
1348
1348
 
1349
1349
  cl_assert_equal_s(fixture_mml, result);
@@ -1353,7 +1353,7 @@ void test_mathjax__mathvariantmathfrak1(void)
1353
1353
  {
1354
1354
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathfrak-1.txt");
1355
1355
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html");
1356
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1356
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1357
1357
  result = mtex2MML_output();
1358
1358
 
1359
1359
  cl_assert_equal_s(fixture_mml, result);
@@ -1363,7 +1363,7 @@ void test_mathjax__mathvariantmathit1(void)
1363
1363
  {
1364
1364
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathit-1.txt");
1365
1365
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html");
1366
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1366
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1367
1367
  result = mtex2MML_output();
1368
1368
 
1369
1369
  cl_assert_equal_s(fixture_mml, result);
@@ -1373,7 +1373,7 @@ void test_mathjax__mathvariantmathrm1(void)
1373
1373
  {
1374
1374
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathrm-1.txt");
1375
1375
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html");
1376
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1376
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1377
1377
  result = mtex2MML_output();
1378
1378
 
1379
1379
  cl_assert_equal_s(fixture_mml, result);
@@ -1383,7 +1383,7 @@ void test_mathjax__mathvariantmathscr1(void)
1383
1383
  {
1384
1384
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathscr-1.txt");
1385
1385
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html");
1386
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1386
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1387
1387
  result = mtex2MML_output();
1388
1388
 
1389
1389
  cl_assert_equal_s(fixture_mml, result);
@@ -1393,7 +1393,7 @@ void test_mathjax__mathvariantmathsf1(void)
1393
1393
  {
1394
1394
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathsf-1.txt");
1395
1395
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html");
1396
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1396
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1397
1397
  result = mtex2MML_output();
1398
1398
 
1399
1399
  cl_assert_equal_s(fixture_mml, result);
@@ -1403,7 +1403,7 @@ void test_mathjax__mathvariantmathtt1(void)
1403
1403
  {
1404
1404
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mathtt-1.txt");
1405
1405
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html");
1406
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1406
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1407
1407
  result = mtex2MML_output();
1408
1408
 
1409
1409
  cl_assert_equal_s(fixture_mml, result);
@@ -1413,7 +1413,7 @@ void test_mathjax__mathvariantmit1(void)
1413
1413
  {
1414
1414
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/mit-1.txt");
1415
1415
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/mit-1.html");
1416
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1416
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1417
1417
  result = mtex2MML_output();
1418
1418
 
1419
1419
  cl_assert_equal_s(fixture_mml, result);
@@ -1423,7 +1423,7 @@ void test_mathjax__mathvariantpmb1(void)
1423
1423
  {
1424
1424
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/pmb-1.txt");
1425
1425
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html");
1426
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1426
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1427
1427
  result = mtex2MML_output();
1428
1428
 
1429
1429
  cl_assert_equal_s(fixture_mml, result);
@@ -1433,7 +1433,7 @@ void test_mathjax__mathvariantrm1(void)
1433
1433
  {
1434
1434
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/rm-1.txt");
1435
1435
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/rm-1.html");
1436
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1436
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1437
1437
  result = mtex2MML_output();
1438
1438
 
1439
1439
  cl_assert_equal_s(fixture_mml, result);
@@ -1443,7 +1443,7 @@ void test_mathjax__mathvariantscr1(void)
1443
1443
  {
1444
1444
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/scr-1.txt");
1445
1445
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/scr-1.html");
1446
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1446
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1447
1447
  result = mtex2MML_output();
1448
1448
 
1449
1449
  cl_assert_equal_s(fixture_mml, result);
@@ -1453,7 +1453,7 @@ void test_mathjax__mathvariantsf1(void)
1453
1453
  {
1454
1454
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/sf-1.txt");
1455
1455
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/sf-1.html");
1456
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1456
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1457
1457
  result = mtex2MML_output();
1458
1458
 
1459
1459
  cl_assert_equal_s(fixture_mml, result);
@@ -1463,7 +1463,7 @@ void test_mathjax__mathvarianttext1(void)
1463
1463
  {
1464
1464
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/text-1.txt");
1465
1465
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/text-1.html");
1466
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1466
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1467
1467
  result = mtex2MML_output();
1468
1468
 
1469
1469
  cl_assert_equal_s(fixture_mml, result);
@@ -1473,7 +1473,7 @@ void test_mathjax__mathvarianttextbf1(void)
1473
1473
  {
1474
1474
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textbf-1.txt");
1475
1475
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html");
1476
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1476
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1477
1477
  result = mtex2MML_output();
1478
1478
 
1479
1479
  cl_assert_equal_s(fixture_mml, result);
@@ -1483,7 +1483,7 @@ void test_mathjax__mathvarianttextit1(void)
1483
1483
  {
1484
1484
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textit-1.txt");
1485
1485
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textit-1.html");
1486
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1486
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1487
1487
  result = mtex2MML_output();
1488
1488
 
1489
1489
  cl_assert_equal_s(fixture_mml, result);
@@ -1493,7 +1493,7 @@ void test_mathjax__mathvarianttextrm1(void)
1493
1493
  {
1494
1494
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textrm-1.txt");
1495
1495
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html");
1496
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1496
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1497
1497
  result = mtex2MML_output();
1498
1498
 
1499
1499
  cl_assert_equal_s(fixture_mml, result);
@@ -1503,7 +1503,7 @@ void test_mathjax__mathvarianttextsf1(void)
1503
1503
  {
1504
1504
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/textsf-1.txt");
1505
1505
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html");
1506
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1506
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1507
1507
  result = mtex2MML_output();
1508
1508
 
1509
1509
  cl_assert_equal_s(fixture_mml, result);
@@ -1513,7 +1513,7 @@ void test_mathjax__mathvarianttexttt1(void)
1513
1513
  {
1514
1514
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/texttt-1.txt");
1515
1515
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html");
1516
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1516
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1517
1517
  result = mtex2MML_output();
1518
1518
 
1519
1519
  cl_assert_equal_s(fixture_mml, result);
@@ -1523,7 +1523,7 @@ void test_mathjax__mathvarianttt1(void)
1523
1523
  {
1524
1524
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/mathvariant/tt-1.txt");
1525
1525
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/mathvariant/tt-1.html");
1526
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1526
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1527
1527
  result = mtex2MML_output();
1528
1528
 
1529
1529
  cl_assert_equal_s(fixture_mml, result);
@@ -1533,7 +1533,7 @@ void test_mathjax__matricesarray1a(void)
1533
1533
  {
1534
1534
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-1a.txt");
1535
1535
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-1a.html");
1536
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1536
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1537
1537
  result = mtex2MML_output();
1538
1538
 
1539
1539
  cl_assert_equal_s(fixture_mml, result);
@@ -1543,7 +1543,7 @@ void test_mathjax__matricesarray1b(void)
1543
1543
  {
1544
1544
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-1b.txt");
1545
1545
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-1b.html");
1546
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1546
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1547
1547
  result = mtex2MML_output();
1548
1548
 
1549
1549
  cl_assert_equal_s(fixture_mml, result);
@@ -1553,7 +1553,7 @@ void test_mathjax__matricesarray2(void)
1553
1553
  {
1554
1554
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-2.txt");
1555
1555
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-2.html");
1556
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1556
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1557
1557
  result = mtex2MML_output();
1558
1558
 
1559
1559
  cl_assert_equal_s(fixture_mml, result);
@@ -1563,7 +1563,7 @@ void test_mathjax__matricesarray3(void)
1563
1563
  {
1564
1564
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/array-3.txt");
1565
1565
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/array-3.html");
1566
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1566
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1567
1567
  result = mtex2MML_output();
1568
1568
 
1569
1569
  cl_assert_equal_s(fixture_mml, result);
@@ -1573,7 +1573,7 @@ void test_mathjax__matricesbmatrix1(void)
1573
1573
  {
1574
1574
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/bmatrix-1.txt");
1575
1575
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html");
1576
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1576
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1577
1577
  result = mtex2MML_output();
1578
1578
 
1579
1579
  cl_assert_equal_s(fixture_mml, result);
@@ -1583,7 +1583,7 @@ void test_mathjax__matricesbmatrix2(void)
1583
1583
  {
1584
1584
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/bmatrix-2.txt");
1585
1585
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html");
1586
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1586
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1587
1587
  result = mtex2MML_output();
1588
1588
 
1589
1589
  cl_assert_equal_s(fixture_mml, result);
@@ -1593,7 +1593,7 @@ void test_mathjax__matricesmatrix1(void)
1593
1593
  {
1594
1594
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/matrix-1.txt");
1595
1595
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/matrix-1.html");
1596
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1596
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1597
1597
  result = mtex2MML_output();
1598
1598
 
1599
1599
  cl_assert_equal_s(fixture_mml, result);
@@ -1603,7 +1603,7 @@ void test_mathjax__matricesmatrix2(void)
1603
1603
  {
1604
1604
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/matrix-2.txt");
1605
1605
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/matrix-2.html");
1606
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1606
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1607
1607
  result = mtex2MML_output();
1608
1608
 
1609
1609
  cl_assert_equal_s(fixture_mml, result);
@@ -1613,7 +1613,7 @@ void test_mathjax__matricespmatrix1(void)
1613
1613
  {
1614
1614
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/pmatrix-1.txt");
1615
1615
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html");
1616
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1616
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1617
1617
  result = mtex2MML_output();
1618
1618
 
1619
1619
  cl_assert_equal_s(fixture_mml, result);
@@ -1623,7 +1623,7 @@ void test_mathjax__matricespmatrix2(void)
1623
1623
  {
1624
1624
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/pmatrix-2.txt");
1625
1625
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html");
1626
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1626
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1627
1627
  result = mtex2MML_output();
1628
1628
 
1629
1629
  cl_assert_equal_s(fixture_mml, result);
@@ -1633,7 +1633,7 @@ void test_mathjax__matricessmallmatrix1(void)
1633
1633
  {
1634
1634
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/smallmatrix-1.txt");
1635
1635
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html");
1636
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1636
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1637
1637
  result = mtex2MML_output();
1638
1638
 
1639
1639
  cl_assert_equal_s(fixture_mml, result);
@@ -1643,7 +1643,7 @@ void test_mathjax__matricesvmatrix1(void)
1643
1643
  {
1644
1644
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/vmatrix-1.txt");
1645
1645
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html");
1646
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1646
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1647
1647
  result = mtex2MML_output();
1648
1648
 
1649
1649
  cl_assert_equal_s(fixture_mml, result);
@@ -1653,7 +1653,7 @@ void test_mathjax__matricesvmatrix2(void)
1653
1653
  {
1654
1654
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/matrices/vmatrix-2.txt");
1655
1655
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html");
1656
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1656
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1657
1657
  result = mtex2MML_output();
1658
1658
 
1659
1659
  cl_assert_equal_s(fixture_mml, result);
@@ -1663,7 +1663,7 @@ void test_mathjax__nonstandardTiny1(void)
1663
1663
  {
1664
1664
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/non-standard/Tiny-1.txt");
1665
1665
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html");
1666
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1666
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1667
1667
  result = mtex2MML_output();
1668
1668
 
1669
1669
  cl_assert_equal_s(fixture_mml, result);
@@ -1673,7 +1673,7 @@ void test_mathjax__otherbbox1(void)
1673
1673
  {
1674
1674
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/bbox-1.txt");
1675
1675
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/bbox-1.html");
1676
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1676
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1677
1677
  result = mtex2MML_output();
1678
1678
 
1679
1679
  cl_assert_equal_s(fixture_mml, result);
@@ -1683,7 +1683,7 @@ void test_mathjax__otherboxed1(void)
1683
1683
  {
1684
1684
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/boxed-1.txt");
1685
1685
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/boxed-1.html");
1686
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1686
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1687
1687
  result = mtex2MML_output();
1688
1688
 
1689
1689
  cl_assert_equal_s(fixture_mml, result);
@@ -1693,7 +1693,7 @@ void test_mathjax__othercancel1(void)
1693
1693
  {
1694
1694
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/cancel-1.txt");
1695
1695
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/cancel-1.html");
1696
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1696
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1697
1697
  result = mtex2MML_output();
1698
1698
 
1699
1699
  cl_assert_equal_s(fixture_mml, result);
@@ -1703,7 +1703,7 @@ void test_mathjax__othercases1(void)
1703
1703
  {
1704
1704
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/cases-1.txt");
1705
1705
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/cases-1.html");
1706
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1706
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1707
1707
  result = mtex2MML_output();
1708
1708
 
1709
1709
  cl_assert_equal_s(fixture_mml, result);
@@ -1713,7 +1713,7 @@ void test_mathjax__otherenclose1(void)
1713
1713
  {
1714
1714
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/enclose-1.txt");
1715
1715
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/enclose-1.html");
1716
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1716
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1717
1717
  result = mtex2MML_output();
1718
1718
 
1719
1719
  cl_assert_equal_s(fixture_mml, result);
@@ -1723,7 +1723,7 @@ void test_mathjax__otherfunctions1(void)
1723
1723
  {
1724
1724
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/functions-1.txt");
1725
1725
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/functions-1.html");
1726
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1726
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1727
1727
  result = mtex2MML_output();
1728
1728
 
1729
1729
  cl_assert_equal_s(fixture_mml, result);
@@ -1733,7 +1733,7 @@ void test_mathjax__otherLaTeX1(void)
1733
1733
  {
1734
1734
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/LaTeX-1.txt");
1735
1735
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/LaTeX-1.html");
1736
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1736
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1737
1737
  result = mtex2MML_output();
1738
1738
 
1739
1739
  cl_assert_equal_s(fixture_mml, result);
@@ -1743,7 +1743,7 @@ void test_mathjax__otherlimits1(void)
1743
1743
  {
1744
1744
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/limits-1.txt");
1745
1745
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/limits-1.html");
1746
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1746
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1747
1747
  result = mtex2MML_output();
1748
1748
 
1749
1749
  cl_assert_equal_s(fixture_mml, result);
@@ -1753,7 +1753,7 @@ void test_mathjax__otherlimits2(void)
1753
1753
  {
1754
1754
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/limits-2.txt");
1755
1755
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/limits-2.html");
1756
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1756
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1757
1757
  result = mtex2MML_output();
1758
1758
 
1759
1759
  cl_assert_equal_s(fixture_mml, result);
@@ -1763,7 +1763,7 @@ void test_mathjax__otherlimits3(void)
1763
1763
  {
1764
1764
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/limits-3.txt");
1765
1765
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/limits-3.html");
1766
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1766
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1767
1767
  result = mtex2MML_output();
1768
1768
 
1769
1769
  cl_assert_equal_s(fixture_mml, result);
@@ -1773,7 +1773,7 @@ void test_mathjax__othermathsize1(void)
1773
1773
  {
1774
1774
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/mathsize-1.txt");
1775
1775
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/mathsize-1.html");
1776
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1776
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1777
1777
  result = mtex2MML_output();
1778
1778
 
1779
1779
  cl_assert_equal_s(fixture_mml, result);
@@ -1783,7 +1783,7 @@ void test_mathjax__othermod1(void)
1783
1783
  {
1784
1784
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/mod-1.txt");
1785
1785
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/mod-1.html");
1786
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1786
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1787
1787
  result = mtex2MML_output();
1788
1788
 
1789
1789
  cl_assert_equal_s(fixture_mml, result);
@@ -1793,7 +1793,7 @@ void test_mathjax__othernot1(void)
1793
1793
  {
1794
1794
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/not-1.txt");
1795
1795
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/not-1.html");
1796
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1796
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1797
1797
  result = mtex2MML_output();
1798
1798
 
1799
1799
  cl_assert_equal_s(fixture_mml, result);
@@ -1803,7 +1803,7 @@ void test_mathjax__otherpod1(void)
1803
1803
  {
1804
1804
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/pod-1.txt");
1805
1805
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/pod-1.html");
1806
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1806
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1807
1807
  result = mtex2MML_output();
1808
1808
 
1809
1809
  cl_assert_equal_s(fixture_mml, result);
@@ -1813,7 +1813,7 @@ void test_mathjax__otherprimes1(void)
1813
1813
  {
1814
1814
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/primes-1.txt");
1815
1815
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/primes-1.html");
1816
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1816
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1817
1817
  result = mtex2MML_output();
1818
1818
 
1819
1819
  cl_assert_equal_s(fixture_mml, result);
@@ -1823,7 +1823,7 @@ void test_mathjax__otherprimes2(void)
1823
1823
  {
1824
1824
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/primes-2.txt");
1825
1825
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/primes-2.html");
1826
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1826
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1827
1827
  result = mtex2MML_output();
1828
1828
 
1829
1829
  cl_assert_equal_s(fixture_mml, result);
@@ -1833,7 +1833,7 @@ void test_mathjax__otherprimes3(void)
1833
1833
  {
1834
1834
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/primes-3.txt");
1835
1835
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/primes-3.html");
1836
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1836
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1837
1837
  result = mtex2MML_output();
1838
1838
 
1839
1839
  cl_assert_equal_s(fixture_mml, result);
@@ -1843,7 +1843,7 @@ void test_mathjax__otherstyle1(void)
1843
1843
  {
1844
1844
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/style-1.txt");
1845
1845
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/style-1.html");
1846
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1846
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1847
1847
  result = mtex2MML_output();
1848
1848
 
1849
1849
  cl_assert_equal_s(fixture_mml, result);
@@ -1853,7 +1853,7 @@ void test_mathjax__otherverb1(void)
1853
1853
  {
1854
1854
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/verb-1.txt");
1855
1855
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/verb-1.html");
1856
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1856
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1857
1857
  result = mtex2MML_output();
1858
1858
 
1859
1859
  cl_assert_equal_s(fixture_mml, result);
@@ -1863,7 +1863,7 @@ void test_mathjax__otherverb2(void)
1863
1863
  {
1864
1864
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/other/verb-2.txt");
1865
1865
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/other/verb-2.html");
1866
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1866
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1867
1867
  result = mtex2MML_output();
1868
1868
 
1869
1869
  cl_assert_equal_s(fixture_mml, result);
@@ -1873,7 +1873,7 @@ void test_mathjax__referencesnotag1(void)
1873
1873
  {
1874
1874
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/references/notag-1.txt");
1875
1875
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/references/notag-1.html");
1876
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1876
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1877
1877
  result = mtex2MML_output();
1878
1878
 
1879
1879
  cl_assert_equal_s(fixture_mml, result);
@@ -1883,7 +1883,7 @@ void test_mathjax__rootsroot1(void)
1883
1883
  {
1884
1884
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/root-1.txt");
1885
1885
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/root-1.html");
1886
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1886
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1887
1887
  result = mtex2MML_output();
1888
1888
 
1889
1889
  cl_assert_equal_s(fixture_mml, result);
@@ -1893,7 +1893,7 @@ void test_mathjax__rootsroot2(void)
1893
1893
  {
1894
1894
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/root-2.txt");
1895
1895
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/root-2.html");
1896
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1896
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1897
1897
  result = mtex2MML_output();
1898
1898
 
1899
1899
  cl_assert_equal_s(fixture_mml, result);
@@ -1903,7 +1903,7 @@ void test_mathjax__rootsroot3(void)
1903
1903
  {
1904
1904
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/root-3.txt");
1905
1905
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/root-3.html");
1906
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1906
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1907
1907
  result = mtex2MML_output();
1908
1908
 
1909
1909
  cl_assert_equal_s(fixture_mml, result);
@@ -1913,7 +1913,7 @@ void test_mathjax__rootssqrt1(void)
1913
1913
  {
1914
1914
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/sqrt-1.txt");
1915
1915
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/sqrt-1.html");
1916
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1916
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1917
1917
  result = mtex2MML_output();
1918
1918
 
1919
1919
  cl_assert_equal_s(fixture_mml, result);
@@ -1923,7 +1923,7 @@ void test_mathjax__rootssqrt2(void)
1923
1923
  {
1924
1924
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/roots/sqrt-2.txt");
1925
1925
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/roots/sqrt-2.html");
1926
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1926
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1927
1927
  result = mtex2MML_output();
1928
1928
 
1929
1929
  cl_assert_equal_s(fixture_mml, result);
@@ -1933,7 +1933,7 @@ void test_mathjax__symbolsbinaryops1(void)
1933
1933
  {
1934
1934
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/binaryops-1.txt");
1935
1935
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/binaryops-1.html");
1936
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1936
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1937
1937
  result = mtex2MML_output();
1938
1938
 
1939
1939
  cl_assert_equal_s(fixture_mml, result);
@@ -1943,7 +1943,7 @@ void test_mathjax__symbolsdots1(void)
1943
1943
  {
1944
1944
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/dots-1.txt");
1945
1945
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/dots-1.html");
1946
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1946
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1947
1947
  result = mtex2MML_output();
1948
1948
 
1949
1949
  cl_assert_equal_s(fixture_mml, result);
@@ -1953,7 +1953,7 @@ void test_mathjax__symbolslargeops1(void)
1953
1953
  {
1954
1954
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/largeops-1.txt");
1955
1955
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/largeops-1.html");
1956
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1956
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1957
1957
  result = mtex2MML_output();
1958
1958
 
1959
1959
  cl_assert_equal_s(fixture_mml, result);
@@ -1963,7 +1963,7 @@ void test_mathjax__symbolslargeops2(void)
1963
1963
  {
1964
1964
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/largeops-2.txt");
1965
1965
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/largeops-2.html");
1966
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1966
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1967
1967
  result = mtex2MML_output();
1968
1968
 
1969
1969
  cl_assert_equal_s(fixture_mml, result);
@@ -1973,7 +1973,7 @@ void test_mathjax__symbolsrelations1(void)
1973
1973
  {
1974
1974
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/relations-1.txt");
1975
1975
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/relations-1.html");
1976
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1976
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1977
1977
  result = mtex2MML_output();
1978
1978
 
1979
1979
  cl_assert_equal_s(fixture_mml, result);
@@ -1983,7 +1983,7 @@ void test_mathjax__symbolssymbols1(void)
1983
1983
  {
1984
1984
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-1.txt");
1985
1985
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-1.html");
1986
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1986
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1987
1987
  result = mtex2MML_output();
1988
1988
 
1989
1989
  cl_assert_equal_s(fixture_mml, result);
@@ -1993,7 +1993,7 @@ void test_mathjax__symbolssymbols2(void)
1993
1993
  {
1994
1994
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-2.txt");
1995
1995
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-2.html");
1996
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
1996
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
1997
1997
  result = mtex2MML_output();
1998
1998
 
1999
1999
  cl_assert_equal_s(fixture_mml, result);
@@ -2003,7 +2003,7 @@ void test_mathjax__symbolssymbols3(void)
2003
2003
  {
2004
2004
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-3.txt");
2005
2005
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-3.html");
2006
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
2006
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
2007
2007
  result = mtex2MML_output();
2008
2008
 
2009
2009
  cl_assert_equal_s(fixture_mml, result);
@@ -2013,7 +2013,7 @@ void test_mathjax__symbolssymbols4(void)
2013
2013
  {
2014
2014
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-4.txt");
2015
2015
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-4.html");
2016
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
2016
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
2017
2017
  result = mtex2MML_output();
2018
2018
 
2019
2019
  cl_assert_equal_s(fixture_mml, result);
@@ -2023,7 +2023,7 @@ void test_mathjax__symbolssymbols5(void)
2023
2023
  {
2024
2024
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-5.txt");
2025
2025
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-5.html");
2026
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
2026
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
2027
2027
  result = mtex2MML_output();
2028
2028
 
2029
2029
  cl_assert_equal_s(fixture_mml, result);
@@ -2033,7 +2033,7 @@ void test_mathjax__symbolssymbols6(void)
2033
2033
  {
2034
2034
  fixture_tex = read_fixture_tex("MathJax/LaTeXToMathML-tex/symbols/symbols-6.txt");
2035
2035
  fixture_mml = read_fixture_mml("MathJax/LaTeXToMathML-out/symbols/symbols-6.html");
2036
- mtex2MML_filter(fixture_tex, strlen(fixture_tex));
2036
+ mtex2MML_filter(fixture_tex, strlen(fixture_tex), MTEX2MML_DELIMITER_DEFAULT);
2037
2037
  result = mtex2MML_output();
2038
2038
 
2039
2039
  cl_assert_equal_s(fixture_mml, result);