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.
- checksums.yaml +4 -4
- data/README.md +14 -7
- data/Rakefile +4 -1
- data/ext/mathematical/cairo_callbacks.h +5 -0
- data/ext/mathematical/extconf.rb +34 -8
- data/ext/mathematical/lasem_overrides.c +32 -3
- data/ext/mathematical/lasem_overrides.h +11 -2
- data/ext/mathematical/mathematical.c +27 -26
- data/ext/mathematical/mathematical.h +5 -1
- data/ext/mathematical/mtex2MML/deps/strdup/strdup.c +24 -0
- data/ext/mathematical/mtex2MML/deps/strdup/strdup.h +24 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +1 -0
- data/ext/mathematical/mtex2MML/src/{color_definitions.c → colors.c} +2 -3
- data/ext/mathematical/mtex2MML/src/colors.h +23 -0
- data/ext/mathematical/mtex2MML/src/em.c +99 -0
- data/ext/mathematical/mtex2MML/src/em.h +31 -0
- data/ext/mathematical/mtex2MML/src/{parse_extras.c → environment.c} +73 -157
- data/ext/mathematical/mtex2MML/src/environment.h +85 -0
- data/ext/mathematical/mtex2MML/src/{mtex2MML.l → lexer.l} +26 -15
- data/ext/mathematical/mtex2MML/src/main.c +31 -10
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +19 -7
- data/ext/mathematical/mtex2MML/src/{mtex2MML.y → parser.y} +451 -446
- data/ext/mathematical/mtex2MML/src/string_extras.c +4 -3
- data/ext/mathematical/mtex2MML/src/string_extras.h +7 -7
- data/ext/mathematical/mtex2MML/tests/array.c +11 -11
- data/ext/mathematical/mtex2MML/tests/basic.c +14 -13
- data/ext/mathematical/mtex2MML/tests/clar.c +2 -0
- data/ext/mathematical/mtex2MML/tests/clar/fs.h +3 -1
- data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +3 -1
- data/ext/mathematical/mtex2MML/tests/cornercases.c +3 -2
- data/ext/mathematical/mtex2MML/tests/delimiters.c +126 -0
- data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +2 -4
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +151 -0
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +10 -0
- data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +4 -1
- data/ext/mathematical/mtex2MML/tests/env.c +35 -34
- data/ext/mathematical/mtex2MML/tests/functions.c +3 -2
- data/ext/mathematical/mtex2MML/tests/helpers.c +6 -4
- data/ext/mathematical/mtex2MML/tests/helpers.h +2 -2
- data/ext/mathematical/mtex2MML/tests/main.c +1 -1
- data/ext/mathematical/mtex2MML/tests/maliciousness.c +35 -9
- data/ext/mathematical/mtex2MML/tests/mathjax.c +202 -202
- data/ext/mathematical/mtex2MML/tests/numbered_equations.c +6 -6
- data/ext/mathematical/mtex2MML/tests/performance.c +39 -0
- data/lib/mathematical.rb +38 -5
- data/lib/mathematical/configuration.rb +19 -0
- data/lib/mathematical/validator.rb +17 -31
- data/lib/mathematical/version.rb +1 -1
- data/mathematical.gemspec +3 -1
- data/test/mathematical/basic_test.rb +60 -7
- data/test/mathematical/corrections_test.rb +1 -1
- data/test/mathematical/delimiters_test.rb +58 -0
- data/test/mathematical/fixtures_test.rb +3 -2
- data/test/mathematical/maliciousness_test.rb +19 -27
- data/test/mathematical/mathjax_test.rb +6 -5
- data/test/mathematical/mathml_test.rb +1 -1
- data/test/mathematical/multiples_test.rb +1 -1
- data/test/mathematical/performance_test.rb +3 -1
- data/test/mathematical/png_test.rb +3 -3
- data/test/test_helper.rb +4 -1
- metadata +35 -21
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c +0 -99
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h +0 -26
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +0 -737
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +0 -93
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +0 -1083
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +0 -111
- data/ext/mathematical/mtex2MML/Makefile +0 -100
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/mtex2MML.h +0 -73
- data/ext/mathematical/mtex2MML/src/lex.yy.c +0 -8845
- data/ext/mathematical/mtex2MML/src/parse_extras.h +0 -111
- data/ext/mathematical/mtex2MML/src/y.tab.c +0 -10178
- data/ext/mathematical/mtex2MML/src/y.tab.h +0 -617
@@ -1,617 +0,0 @@
|
|
1
|
-
/* A Bison parser, made by GNU Bison 2.3. */
|
2
|
-
|
3
|
-
/* Skeleton interface for Bison's Yacc-like parsers in C
|
4
|
-
|
5
|
-
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
6
|
-
Free Software Foundation, Inc.
|
7
|
-
|
8
|
-
This program is free software; you can redistribute it and/or modify
|
9
|
-
it under the terms of the GNU General Public License as published by
|
10
|
-
the Free Software Foundation; either version 2, or (at your option)
|
11
|
-
any later version.
|
12
|
-
|
13
|
-
This program is distributed in the hope that it will be useful,
|
14
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
-
GNU General Public License for more details.
|
17
|
-
|
18
|
-
You should have received a copy of the GNU General Public License
|
19
|
-
along with this program; if not, write to the Free Software
|
20
|
-
Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
21
|
-
Boston, MA 02110-1301, USA. */
|
22
|
-
|
23
|
-
/* As a special exception, you may create a larger work that contains
|
24
|
-
part or all of the Bison parser skeleton and distribute that work
|
25
|
-
under terms of your choice, so long as that work isn't itself a
|
26
|
-
parser generator using the skeleton or a modified version thereof
|
27
|
-
as a parser skeleton. Alternatively, if you modify or redistribute
|
28
|
-
the parser skeleton itself, you may (at your option) remove this
|
29
|
-
special exception, which will cause the skeleton and the resulting
|
30
|
-
Bison output files to be licensed under the GNU General Public
|
31
|
-
License without this special exception.
|
32
|
-
|
33
|
-
This special exception was added by the Free Software Foundation in
|
34
|
-
version 2.2 of Bison. */
|
35
|
-
|
36
|
-
/* Tokens. */
|
37
|
-
#ifndef YYTOKENTYPE
|
38
|
-
# define YYTOKENTYPE
|
39
|
-
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
40
|
-
know about them. */
|
41
|
-
enum yytokentype {
|
42
|
-
TEXABOVEWITHDELIMS = 258,
|
43
|
-
TEXABOVE = 259,
|
44
|
-
TEXATOPWITHDELIMS = 260,
|
45
|
-
TEXATOP = 261,
|
46
|
-
TEXOVERWITHDELIMS = 262,
|
47
|
-
TEXOVER = 263,
|
48
|
-
CHAR = 264,
|
49
|
-
STARTMATH = 265,
|
50
|
-
STARTDMATH = 266,
|
51
|
-
ENDMATH = 267,
|
52
|
-
MTEXT = 268,
|
53
|
-
MI = 269,
|
54
|
-
MIB = 270,
|
55
|
-
MN = 271,
|
56
|
-
MO = 272,
|
57
|
-
LIMITS = 273,
|
58
|
-
NOLIMITS = 274,
|
59
|
-
SUP = 275,
|
60
|
-
SUB = 276,
|
61
|
-
MROWOPEN = 277,
|
62
|
-
MROWCLOSE = 278,
|
63
|
-
MATHOPEN = 279,
|
64
|
-
MATHCLOSE = 280,
|
65
|
-
MATHORD = 281,
|
66
|
-
MATHPUNCT = 282,
|
67
|
-
VCENTER = 283,
|
68
|
-
LEFT = 284,
|
69
|
-
RIGHT = 285,
|
70
|
-
BIG = 286,
|
71
|
-
BBIG = 287,
|
72
|
-
BIGG = 288,
|
73
|
-
BBIGG = 289,
|
74
|
-
BIGL = 290,
|
75
|
-
BBIGL = 291,
|
76
|
-
BIGGL = 292,
|
77
|
-
BBIGGL = 293,
|
78
|
-
BIGM = 294,
|
79
|
-
BBIGM = 295,
|
80
|
-
BIGGM = 296,
|
81
|
-
BBIGGM = 297,
|
82
|
-
FRAC = 298,
|
83
|
-
TFRAC = 299,
|
84
|
-
DFRAC = 300,
|
85
|
-
CFRAC = 301,
|
86
|
-
GENFRAC = 302,
|
87
|
-
OPERATORNAME = 303,
|
88
|
-
MATHOP = 304,
|
89
|
-
MATHBIN = 305,
|
90
|
-
MATHREL = 306,
|
91
|
-
MATHINNER = 307,
|
92
|
-
MOP = 308,
|
93
|
-
MOL = 309,
|
94
|
-
MOLL = 310,
|
95
|
-
MOF = 311,
|
96
|
-
MOR = 312,
|
97
|
-
PERIODDELIM = 313,
|
98
|
-
COMMADELIM = 314,
|
99
|
-
OTHERDELIM = 315,
|
100
|
-
LEFTDELIM = 316,
|
101
|
-
RIGHTDELIM = 317,
|
102
|
-
MOS = 318,
|
103
|
-
MOB = 319,
|
104
|
-
SQRT = 320,
|
105
|
-
ROOT = 321,
|
106
|
-
OF = 322,
|
107
|
-
LEFTROOT = 323,
|
108
|
-
UPROOT = 324,
|
109
|
-
BINOM = 325,
|
110
|
-
TBINOM = 326,
|
111
|
-
BRACE = 327,
|
112
|
-
BRACK = 328,
|
113
|
-
CHOOSE = 329,
|
114
|
-
DBINOM = 330,
|
115
|
-
UNDER = 331,
|
116
|
-
BUILDREL = 332,
|
117
|
-
OVER = 333,
|
118
|
-
OVERBRACE = 334,
|
119
|
-
OVERBRACKET = 335,
|
120
|
-
UNDERLINE = 336,
|
121
|
-
UNDERBRACE = 337,
|
122
|
-
UNDERBRACKET = 338,
|
123
|
-
UNDEROVER = 339,
|
124
|
-
TENSOR = 340,
|
125
|
-
MULTI = 341,
|
126
|
-
ALIGNATVALUE = 342,
|
127
|
-
ARRAYALIGN = 343,
|
128
|
-
COLUMNALIGN = 344,
|
129
|
-
ARRAY = 345,
|
130
|
-
SPACECUBE = 346,
|
131
|
-
HSPACE = 347,
|
132
|
-
MOVELEFT = 348,
|
133
|
-
MOVERIGHT = 349,
|
134
|
-
RAISE = 350,
|
135
|
-
LOWER = 351,
|
136
|
-
PXSTRING = 352,
|
137
|
-
COLSEP = 353,
|
138
|
-
ROWSEP = 354,
|
139
|
-
ARRAYOPTS = 355,
|
140
|
-
COLLAYOUT = 356,
|
141
|
-
COLALIGN = 357,
|
142
|
-
ROWALIGN = 358,
|
143
|
-
ALIGN = 359,
|
144
|
-
EQROWS = 360,
|
145
|
-
EQCOLS = 361,
|
146
|
-
ROWLINES = 362,
|
147
|
-
COLLINES = 363,
|
148
|
-
FRAME = 364,
|
149
|
-
PADDING = 365,
|
150
|
-
ATTRLIST = 366,
|
151
|
-
ITALICS = 367,
|
152
|
-
SANS = 368,
|
153
|
-
TT = 369,
|
154
|
-
ENCLOSE = 370,
|
155
|
-
ENCLOSENOTATION = 371,
|
156
|
-
ENCLOSEATTR = 372,
|
157
|
-
ENCLOSETEXT = 373,
|
158
|
-
BOLD = 374,
|
159
|
-
BOXED = 375,
|
160
|
-
FBOX = 376,
|
161
|
-
HBOX = 377,
|
162
|
-
MBOX = 378,
|
163
|
-
BCANCELED = 379,
|
164
|
-
XCANCELED = 380,
|
165
|
-
CANCELEDTO = 381,
|
166
|
-
NOT = 382,
|
167
|
-
SLASHED = 383,
|
168
|
-
PMB = 384,
|
169
|
-
SCR = 385,
|
170
|
-
RM = 386,
|
171
|
-
BB = 387,
|
172
|
-
ST = 388,
|
173
|
-
END = 389,
|
174
|
-
BBLOWERCHAR = 390,
|
175
|
-
BBUPPERCHAR = 391,
|
176
|
-
BBDIGIT = 392,
|
177
|
-
CALCHAR = 393,
|
178
|
-
FRAKCHAR = 394,
|
179
|
-
CAL = 395,
|
180
|
-
FRAK = 396,
|
181
|
-
CLAP = 397,
|
182
|
-
LLAP = 398,
|
183
|
-
RLAP = 399,
|
184
|
-
ROWOPTS = 400,
|
185
|
-
TEXTSIZE = 401,
|
186
|
-
OLDSTYLE = 402,
|
187
|
-
SCSTY = 403,
|
188
|
-
SCSIZE = 404,
|
189
|
-
SCSCSIZE = 405,
|
190
|
-
TINY = 406,
|
191
|
-
TTINY = 407,
|
192
|
-
SMALL = 408,
|
193
|
-
NORMALSIZE = 409,
|
194
|
-
LARGE = 410,
|
195
|
-
LLARGE = 411,
|
196
|
-
LLLARGE = 412,
|
197
|
-
HUGE = 413,
|
198
|
-
HHUGE = 414,
|
199
|
-
DISPLAY = 415,
|
200
|
-
TEXTSTY = 416,
|
201
|
-
TEXTBOX = 417,
|
202
|
-
TEXTSTRING = 418,
|
203
|
-
COLORSTRING = 419,
|
204
|
-
STYLESTRING = 420,
|
205
|
-
VERBBOX = 421,
|
206
|
-
VERBSTRING = 422,
|
207
|
-
ACUTE = 423,
|
208
|
-
GRAVE = 424,
|
209
|
-
BREVE = 425,
|
210
|
-
MATHRING = 426,
|
211
|
-
XMLSTRING = 427,
|
212
|
-
CELLOPTS = 428,
|
213
|
-
ROWSPAN = 429,
|
214
|
-
COLSPAN = 430,
|
215
|
-
THINSPACE = 431,
|
216
|
-
ENSPACE = 432,
|
217
|
-
MEDSPACE = 433,
|
218
|
-
THICKSPACE = 434,
|
219
|
-
QUAD = 435,
|
220
|
-
QQUAD = 436,
|
221
|
-
NEGSPACE = 437,
|
222
|
-
NEGMEDSPACE = 438,
|
223
|
-
NEGTHICKSPACE = 439,
|
224
|
-
STRUT = 440,
|
225
|
-
MATHSTRUT = 441,
|
226
|
-
SMASH = 442,
|
227
|
-
PHANTOM = 443,
|
228
|
-
HPHANTOM = 444,
|
229
|
-
VPHANTOM = 445,
|
230
|
-
HREF = 446,
|
231
|
-
UNKNOWNCHAR = 447,
|
232
|
-
EMPTYMROW = 448,
|
233
|
-
STATLINE = 449,
|
234
|
-
TOOLTIP = 450,
|
235
|
-
TOGGLE = 451,
|
236
|
-
TOGGLESTART = 452,
|
237
|
-
TOGGLEEND = 453,
|
238
|
-
FGHIGHLIGHT = 454,
|
239
|
-
BGHIGHLIGHT = 455,
|
240
|
-
COLORBOX = 456,
|
241
|
-
SPACE = 457,
|
242
|
-
NUMBER = 458,
|
243
|
-
INTONE = 459,
|
244
|
-
INTTWO = 460,
|
245
|
-
INTTHREE = 461,
|
246
|
-
OVERLEFTARROW = 462,
|
247
|
-
OVERLEFTRIGHTARROW = 463,
|
248
|
-
OVERRIGHTARROW = 464,
|
249
|
-
UNDERLEFTARROW = 465,
|
250
|
-
UNDERLEFTRIGHTARROW = 466,
|
251
|
-
UNDERRIGHTARROW = 467,
|
252
|
-
BAR = 468,
|
253
|
-
WIDEBAR = 469,
|
254
|
-
SKEW = 470,
|
255
|
-
VEC = 471,
|
256
|
-
WIDEVEC = 472,
|
257
|
-
HAT = 473,
|
258
|
-
WIDEHAT = 474,
|
259
|
-
CHECK = 475,
|
260
|
-
WIDECHECK = 476,
|
261
|
-
TILDE = 477,
|
262
|
-
WIDETILDE = 478,
|
263
|
-
DOT = 479,
|
264
|
-
DDOT = 480,
|
265
|
-
DDDOT = 481,
|
266
|
-
DDDDOT = 482,
|
267
|
-
UNARYMINUS = 483,
|
268
|
-
UNARYPLUS = 484,
|
269
|
-
BEGINENV = 485,
|
270
|
-
ENDENV = 486,
|
271
|
-
EQUATION = 487,
|
272
|
-
EQUATION_STAR = 488,
|
273
|
-
EQALIGN = 489,
|
274
|
-
EQALIGNNO = 490,
|
275
|
-
MATRIX = 491,
|
276
|
-
PMATRIX = 492,
|
277
|
-
BMATRIX = 493,
|
278
|
-
BBMATRIX = 494,
|
279
|
-
VMATRIX = 495,
|
280
|
-
VVMATRIX = 496,
|
281
|
-
SUBARRAY = 497,
|
282
|
-
SVG = 498,
|
283
|
-
ENDSVG = 499,
|
284
|
-
SMALLMATRIX = 500,
|
285
|
-
CASES = 501,
|
286
|
-
ALIGNED = 502,
|
287
|
-
ALIGNENV = 503,
|
288
|
-
ALIGNENV_STAR = 504,
|
289
|
-
ALIGNAT = 505,
|
290
|
-
ALIGNAT_STAR = 506,
|
291
|
-
ALIGNEDAT = 507,
|
292
|
-
GATHERED = 508,
|
293
|
-
EQNARRAY = 509,
|
294
|
-
EQNARRAY_STAR = 510,
|
295
|
-
MULTLINE = 511,
|
296
|
-
MULTLINE_STAR = 512,
|
297
|
-
GATHER_STAR = 513,
|
298
|
-
GATHER = 514,
|
299
|
-
SUBSTACK = 515,
|
300
|
-
SIDESET = 516,
|
301
|
-
BMOD = 517,
|
302
|
-
PMOD = 518,
|
303
|
-
POD = 519,
|
304
|
-
RMCHAR = 520,
|
305
|
-
SCRCHAR = 521,
|
306
|
-
PMBCHAR = 522,
|
307
|
-
COLOR = 523,
|
308
|
-
BGCOLOR = 524,
|
309
|
-
BBOX = 525,
|
310
|
-
XARROW = 526,
|
311
|
-
OPTARGOPEN = 527,
|
312
|
-
OPTARGCLOSE = 528,
|
313
|
-
MTEXNUM = 529,
|
314
|
-
RAISEBOX = 530,
|
315
|
-
NEG = 531,
|
316
|
-
LATEXSYMBOL = 532,
|
317
|
-
TEXSYMBOL = 533,
|
318
|
-
VARINJLIM = 534,
|
319
|
-
VARLIMINF = 535,
|
320
|
-
VARLIMSUP = 536,
|
321
|
-
VARPROJLIM = 537
|
322
|
-
};
|
323
|
-
#endif
|
324
|
-
/* Tokens. */
|
325
|
-
#define TEXABOVEWITHDELIMS 258
|
326
|
-
#define TEXABOVE 259
|
327
|
-
#define TEXATOPWITHDELIMS 260
|
328
|
-
#define TEXATOP 261
|
329
|
-
#define TEXOVERWITHDELIMS 262
|
330
|
-
#define TEXOVER 263
|
331
|
-
#define CHAR 264
|
332
|
-
#define STARTMATH 265
|
333
|
-
#define STARTDMATH 266
|
334
|
-
#define ENDMATH 267
|
335
|
-
#define MTEXT 268
|
336
|
-
#define MI 269
|
337
|
-
#define MIB 270
|
338
|
-
#define MN 271
|
339
|
-
#define MO 272
|
340
|
-
#define LIMITS 273
|
341
|
-
#define NOLIMITS 274
|
342
|
-
#define SUP 275
|
343
|
-
#define SUB 276
|
344
|
-
#define MROWOPEN 277
|
345
|
-
#define MROWCLOSE 278
|
346
|
-
#define MATHOPEN 279
|
347
|
-
#define MATHCLOSE 280
|
348
|
-
#define MATHORD 281
|
349
|
-
#define MATHPUNCT 282
|
350
|
-
#define VCENTER 283
|
351
|
-
#define LEFT 284
|
352
|
-
#define RIGHT 285
|
353
|
-
#define BIG 286
|
354
|
-
#define BBIG 287
|
355
|
-
#define BIGG 288
|
356
|
-
#define BBIGG 289
|
357
|
-
#define BIGL 290
|
358
|
-
#define BBIGL 291
|
359
|
-
#define BIGGL 292
|
360
|
-
#define BBIGGL 293
|
361
|
-
#define BIGM 294
|
362
|
-
#define BBIGM 295
|
363
|
-
#define BIGGM 296
|
364
|
-
#define BBIGGM 297
|
365
|
-
#define FRAC 298
|
366
|
-
#define TFRAC 299
|
367
|
-
#define DFRAC 300
|
368
|
-
#define CFRAC 301
|
369
|
-
#define GENFRAC 302
|
370
|
-
#define OPERATORNAME 303
|
371
|
-
#define MATHOP 304
|
372
|
-
#define MATHBIN 305
|
373
|
-
#define MATHREL 306
|
374
|
-
#define MATHINNER 307
|
375
|
-
#define MOP 308
|
376
|
-
#define MOL 309
|
377
|
-
#define MOLL 310
|
378
|
-
#define MOF 311
|
379
|
-
#define MOR 312
|
380
|
-
#define PERIODDELIM 313
|
381
|
-
#define COMMADELIM 314
|
382
|
-
#define OTHERDELIM 315
|
383
|
-
#define LEFTDELIM 316
|
384
|
-
#define RIGHTDELIM 317
|
385
|
-
#define MOS 318
|
386
|
-
#define MOB 319
|
387
|
-
#define SQRT 320
|
388
|
-
#define ROOT 321
|
389
|
-
#define OF 322
|
390
|
-
#define LEFTROOT 323
|
391
|
-
#define UPROOT 324
|
392
|
-
#define BINOM 325
|
393
|
-
#define TBINOM 326
|
394
|
-
#define BRACE 327
|
395
|
-
#define BRACK 328
|
396
|
-
#define CHOOSE 329
|
397
|
-
#define DBINOM 330
|
398
|
-
#define UNDER 331
|
399
|
-
#define BUILDREL 332
|
400
|
-
#define OVER 333
|
401
|
-
#define OVERBRACE 334
|
402
|
-
#define OVERBRACKET 335
|
403
|
-
#define UNDERLINE 336
|
404
|
-
#define UNDERBRACE 337
|
405
|
-
#define UNDERBRACKET 338
|
406
|
-
#define UNDEROVER 339
|
407
|
-
#define TENSOR 340
|
408
|
-
#define MULTI 341
|
409
|
-
#define ALIGNATVALUE 342
|
410
|
-
#define ARRAYALIGN 343
|
411
|
-
#define COLUMNALIGN 344
|
412
|
-
#define ARRAY 345
|
413
|
-
#define SPACECUBE 346
|
414
|
-
#define HSPACE 347
|
415
|
-
#define MOVELEFT 348
|
416
|
-
#define MOVERIGHT 349
|
417
|
-
#define RAISE 350
|
418
|
-
#define LOWER 351
|
419
|
-
#define PXSTRING 352
|
420
|
-
#define COLSEP 353
|
421
|
-
#define ROWSEP 354
|
422
|
-
#define ARRAYOPTS 355
|
423
|
-
#define COLLAYOUT 356
|
424
|
-
#define COLALIGN 357
|
425
|
-
#define ROWALIGN 358
|
426
|
-
#define ALIGN 359
|
427
|
-
#define EQROWS 360
|
428
|
-
#define EQCOLS 361
|
429
|
-
#define ROWLINES 362
|
430
|
-
#define COLLINES 363
|
431
|
-
#define FRAME 364
|
432
|
-
#define PADDING 365
|
433
|
-
#define ATTRLIST 366
|
434
|
-
#define ITALICS 367
|
435
|
-
#define SANS 368
|
436
|
-
#define TT 369
|
437
|
-
#define ENCLOSE 370
|
438
|
-
#define ENCLOSENOTATION 371
|
439
|
-
#define ENCLOSEATTR 372
|
440
|
-
#define ENCLOSETEXT 373
|
441
|
-
#define BOLD 374
|
442
|
-
#define BOXED 375
|
443
|
-
#define FBOX 376
|
444
|
-
#define HBOX 377
|
445
|
-
#define MBOX 378
|
446
|
-
#define BCANCELED 379
|
447
|
-
#define XCANCELED 380
|
448
|
-
#define CANCELEDTO 381
|
449
|
-
#define NOT 382
|
450
|
-
#define SLASHED 383
|
451
|
-
#define PMB 384
|
452
|
-
#define SCR 385
|
453
|
-
#define RM 386
|
454
|
-
#define BB 387
|
455
|
-
#define ST 388
|
456
|
-
#define END 389
|
457
|
-
#define BBLOWERCHAR 390
|
458
|
-
#define BBUPPERCHAR 391
|
459
|
-
#define BBDIGIT 392
|
460
|
-
#define CALCHAR 393
|
461
|
-
#define FRAKCHAR 394
|
462
|
-
#define CAL 395
|
463
|
-
#define FRAK 396
|
464
|
-
#define CLAP 397
|
465
|
-
#define LLAP 398
|
466
|
-
#define RLAP 399
|
467
|
-
#define ROWOPTS 400
|
468
|
-
#define TEXTSIZE 401
|
469
|
-
#define OLDSTYLE 402
|
470
|
-
#define SCSTY 403
|
471
|
-
#define SCSIZE 404
|
472
|
-
#define SCSCSIZE 405
|
473
|
-
#define TINY 406
|
474
|
-
#define TTINY 407
|
475
|
-
#define SMALL 408
|
476
|
-
#define NORMALSIZE 409
|
477
|
-
#define LARGE 410
|
478
|
-
#define LLARGE 411
|
479
|
-
#define LLLARGE 412
|
480
|
-
#define HUGE 413
|
481
|
-
#define HHUGE 414
|
482
|
-
#define DISPLAY 415
|
483
|
-
#define TEXTSTY 416
|
484
|
-
#define TEXTBOX 417
|
485
|
-
#define TEXTSTRING 418
|
486
|
-
#define COLORSTRING 419
|
487
|
-
#define STYLESTRING 420
|
488
|
-
#define VERBBOX 421
|
489
|
-
#define VERBSTRING 422
|
490
|
-
#define ACUTE 423
|
491
|
-
#define GRAVE 424
|
492
|
-
#define BREVE 425
|
493
|
-
#define MATHRING 426
|
494
|
-
#define XMLSTRING 427
|
495
|
-
#define CELLOPTS 428
|
496
|
-
#define ROWSPAN 429
|
497
|
-
#define COLSPAN 430
|
498
|
-
#define THINSPACE 431
|
499
|
-
#define ENSPACE 432
|
500
|
-
#define MEDSPACE 433
|
501
|
-
#define THICKSPACE 434
|
502
|
-
#define QUAD 435
|
503
|
-
#define QQUAD 436
|
504
|
-
#define NEGSPACE 437
|
505
|
-
#define NEGMEDSPACE 438
|
506
|
-
#define NEGTHICKSPACE 439
|
507
|
-
#define STRUT 440
|
508
|
-
#define MATHSTRUT 441
|
509
|
-
#define SMASH 442
|
510
|
-
#define PHANTOM 443
|
511
|
-
#define HPHANTOM 444
|
512
|
-
#define VPHANTOM 445
|
513
|
-
#define HREF 446
|
514
|
-
#define UNKNOWNCHAR 447
|
515
|
-
#define EMPTYMROW 448
|
516
|
-
#define STATLINE 449
|
517
|
-
#define TOOLTIP 450
|
518
|
-
#define TOGGLE 451
|
519
|
-
#define TOGGLESTART 452
|
520
|
-
#define TOGGLEEND 453
|
521
|
-
#define FGHIGHLIGHT 454
|
522
|
-
#define BGHIGHLIGHT 455
|
523
|
-
#define COLORBOX 456
|
524
|
-
#define SPACE 457
|
525
|
-
#define NUMBER 458
|
526
|
-
#define INTONE 459
|
527
|
-
#define INTTWO 460
|
528
|
-
#define INTTHREE 461
|
529
|
-
#define OVERLEFTARROW 462
|
530
|
-
#define OVERLEFTRIGHTARROW 463
|
531
|
-
#define OVERRIGHTARROW 464
|
532
|
-
#define UNDERLEFTARROW 465
|
533
|
-
#define UNDERLEFTRIGHTARROW 466
|
534
|
-
#define UNDERRIGHTARROW 467
|
535
|
-
#define BAR 468
|
536
|
-
#define WIDEBAR 469
|
537
|
-
#define SKEW 470
|
538
|
-
#define VEC 471
|
539
|
-
#define WIDEVEC 472
|
540
|
-
#define HAT 473
|
541
|
-
#define WIDEHAT 474
|
542
|
-
#define CHECK 475
|
543
|
-
#define WIDECHECK 476
|
544
|
-
#define TILDE 477
|
545
|
-
#define WIDETILDE 478
|
546
|
-
#define DOT 479
|
547
|
-
#define DDOT 480
|
548
|
-
#define DDDOT 481
|
549
|
-
#define DDDDOT 482
|
550
|
-
#define UNARYMINUS 483
|
551
|
-
#define UNARYPLUS 484
|
552
|
-
#define BEGINENV 485
|
553
|
-
#define ENDENV 486
|
554
|
-
#define EQUATION 487
|
555
|
-
#define EQUATION_STAR 488
|
556
|
-
#define EQALIGN 489
|
557
|
-
#define EQALIGNNO 490
|
558
|
-
#define MATRIX 491
|
559
|
-
#define PMATRIX 492
|
560
|
-
#define BMATRIX 493
|
561
|
-
#define BBMATRIX 494
|
562
|
-
#define VMATRIX 495
|
563
|
-
#define VVMATRIX 496
|
564
|
-
#define SUBARRAY 497
|
565
|
-
#define SVG 498
|
566
|
-
#define ENDSVG 499
|
567
|
-
#define SMALLMATRIX 500
|
568
|
-
#define CASES 501
|
569
|
-
#define ALIGNED 502
|
570
|
-
#define ALIGNENV 503
|
571
|
-
#define ALIGNENV_STAR 504
|
572
|
-
#define ALIGNAT 505
|
573
|
-
#define ALIGNAT_STAR 506
|
574
|
-
#define ALIGNEDAT 507
|
575
|
-
#define GATHERED 508
|
576
|
-
#define EQNARRAY 509
|
577
|
-
#define EQNARRAY_STAR 510
|
578
|
-
#define MULTLINE 511
|
579
|
-
#define MULTLINE_STAR 512
|
580
|
-
#define GATHER_STAR 513
|
581
|
-
#define GATHER 514
|
582
|
-
#define SUBSTACK 515
|
583
|
-
#define SIDESET 516
|
584
|
-
#define BMOD 517
|
585
|
-
#define PMOD 518
|
586
|
-
#define POD 519
|
587
|
-
#define RMCHAR 520
|
588
|
-
#define SCRCHAR 521
|
589
|
-
#define PMBCHAR 522
|
590
|
-
#define COLOR 523
|
591
|
-
#define BGCOLOR 524
|
592
|
-
#define BBOX 525
|
593
|
-
#define XARROW 526
|
594
|
-
#define OPTARGOPEN 527
|
595
|
-
#define OPTARGCLOSE 528
|
596
|
-
#define MTEXNUM 529
|
597
|
-
#define RAISEBOX 530
|
598
|
-
#define NEG 531
|
599
|
-
#define LATEXSYMBOL 532
|
600
|
-
#define TEXSYMBOL 533
|
601
|
-
#define VARINJLIM 534
|
602
|
-
#define VARLIMINF 535
|
603
|
-
#define VARLIMSUP 536
|
604
|
-
#define VARPROJLIM 537
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
610
|
-
typedef int YYSTYPE;
|
611
|
-
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
612
|
-
# define YYSTYPE_IS_DECLARED 1
|
613
|
-
# define YYSTYPE_IS_TRIVIAL 1
|
614
|
-
#endif
|
615
|
-
|
616
|
-
extern YYSTYPE mtex2MML_yylval;
|
617
|
-
|