mathematical 1.6.14 → 1.6.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/Rakefile +31 -21
- data/ext/mathematical/extconf.rb +71 -69
- data/lib/mathematical/configuration.rb +8 -4
- data/lib/mathematical/corrections.rb +3 -1
- data/lib/mathematical/validator.rb +11 -8
- data/lib/mathematical/version.rb +3 -1
- data/lib/mathematical.rb +21 -19
- data/mathematical.gemspec +21 -22
- metadata +14 -1494
- data/ext/mathematical/lasem/AUTHORS +0 -1
- data/ext/mathematical/lasem/COPYING +0 -483
- data/ext/mathematical/lasem/ChangeLog +0 -0
- data/ext/mathematical/lasem/MAINTAINERS +0 -3
- data/ext/mathematical/lasem/Makefile.am +0 -34
- data/ext/mathematical/lasem/Makefile.decl +0 -57
- data/ext/mathematical/lasem/NEWS +0 -136
- data/ext/mathematical/lasem/README +0 -28
- data/ext/mathematical/lasem/RELEASING +0 -85
- data/ext/mathematical/lasem/TODO +0 -50
- data/ext/mathematical/lasem/autogen.sh +0 -180
- data/ext/mathematical/lasem/configure.ac +0 -139
- data/ext/mathematical/lasem/docs/Makefile.am +0 -14
- data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +0 -106
- data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
- data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
- data/ext/mathematical/lasem/itex2mml/COPYING.itex2MML +0 -3
- data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
- data/ext/mathematical/lasem/itex2mml/README.itex2MML +0 -13
- data/ext/mathematical/lasem/itex2mml/itex2MML.h +0 -63
- data/ext/mathematical/lasem/itex2mml/itex2MML.l +0 -1084
- data/ext/mathematical/lasem/itex2mml/itex2MML.y +0 -1945
- data/ext/mathematical/lasem/lasem.doap +0 -21
- data/ext/mathematical/lasem/lasem.pc.in +0 -11
- data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
- data/ext/mathematical/lasem/po/ChangeLog +0 -0
- data/ext/mathematical/lasem/po/LINGUAS +0 -33
- data/ext/mathematical/lasem/po/POTFILES.in +0 -195
- data/ext/mathematical/lasem/po/POTFILES.skip +0 -1
- data/ext/mathematical/lasem/po/bs.po +0 -65
- data/ext/mathematical/lasem/po/cs.po +0 -102
- data/ext/mathematical/lasem/po/da.po +0 -99
- data/ext/mathematical/lasem/po/de.po +0 -104
- data/ext/mathematical/lasem/po/el.po +0 -73
- data/ext/mathematical/lasem/po/es.po +0 -107
- data/ext/mathematical/lasem/po/eu.po +0 -102
- data/ext/mathematical/lasem/po/fr.po +0 -65
- data/ext/mathematical/lasem/po/fur.po +0 -101
- data/ext/mathematical/lasem/po/gl.po +0 -64
- data/ext/mathematical/lasem/po/hu.po +0 -105
- data/ext/mathematical/lasem/po/id.po +0 -102
- data/ext/mathematical/lasem/po/it.po +0 -104
- data/ext/mathematical/lasem/po/lt.po +0 -106
- data/ext/mathematical/lasem/po/lv.po +0 -109
- data/ext/mathematical/lasem/po/nb.po +0 -62
- data/ext/mathematical/lasem/po/nl.po +0 -102
- data/ext/mathematical/lasem/po/oc.po +0 -65
- data/ext/mathematical/lasem/po/pl.po +0 -102
- data/ext/mathematical/lasem/po/pt.po +0 -77
- data/ext/mathematical/lasem/po/pt_BR.po +0 -105
- data/ext/mathematical/lasem/po/ro.po +0 -64
- data/ext/mathematical/lasem/po/ru.po +0 -66
- data/ext/mathematical/lasem/po/sl.po +0 -117
- data/ext/mathematical/lasem/po/sr.po +0 -105
- data/ext/mathematical/lasem/po/sr@latin.po +0 -105
- data/ext/mathematical/lasem/po/sv.po +0 -105
- data/ext/mathematical/lasem/po/tg.po +0 -64
- data/ext/mathematical/lasem/po/tr.po +0 -105
- data/ext/mathematical/lasem/po/zh_CN.po +0 -100
- data/ext/mathematical/lasem/src/Makefile.am +0 -349
- data/ext/mathematical/lasem/src/lasemrender.c +0 -362
- data/ext/mathematical/lasem/src/lsm.c +0 -31
- data/ext/mathematical/lasem/src/lsm.h +0 -39
- data/ext/mathematical/lasem/src/lsmattributes.c +0 -279
- data/ext/mathematical/lasem/src/lsmattributes.h +0 -75
- data/ext/mathematical/lasem/src/lsmcairo.c +0 -598
- data/ext/mathematical/lasem/src/lsmcairo.h +0 -51
- data/ext/mathematical/lasem/src/lsmdebug.c +0 -185
- data/ext/mathematical/lasem/src/lsmdebug.h +0 -73
- data/ext/mathematical/lasem/src/lsmdom.h +0 -43
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +0 -131
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +0 -59
- data/ext/mathematical/lasem/src/lsmdomdocument.c +0 -272
- data/ext/mathematical/lasem/src/lsmdomdocument.h +0 -75
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +0 -81
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +0 -55
- data/ext/mathematical/lasem/src/lsmdomelement.c +0 -148
- data/ext/mathematical/lasem/src/lsmdomelement.h +0 -62
- data/ext/mathematical/lasem/src/lsmdomentities.c +0 -2166
- data/ext/mathematical/lasem/src/lsmdomentities.h +0 -35
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmdomimplementation.c +0 -82
- data/ext/mathematical/lasem/src/lsmdomimplementation.h +0 -41
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +0 -118
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +0 -64
- data/ext/mathematical/lasem/src/lsmdomnode.c +0 -737
- data/ext/mathematical/lasem/src/lsmdomnode.h +0 -122
- data/ext/mathematical/lasem/src/lsmdomnodelist.c +0 -70
- data/ext/mathematical/lasem/src/lsmdomnodelist.h +0 -58
- data/ext/mathematical/lasem/src/lsmdomparser.c +0 -523
- data/ext/mathematical/lasem/src/lsmdomparser.h +0 -54
- data/ext/mathematical/lasem/src/lsmdomtext.c +0 -82
- data/ext/mathematical/lasem/src/lsmdomtext.h +0 -55
- data/ext/mathematical/lasem/src/lsmdomtypes.h +0 -44
- data/ext/mathematical/lasem/src/lsmdomview.c +0 -423
- data/ext/mathematical/lasem/src/lsmdomview.h +0 -94
- data/ext/mathematical/lasem/src/lsmitex.c +0 -79
- data/ext/mathematical/lasem/src/lsmitex.h +0 -36
- data/ext/mathematical/lasem/src/lsmmathml.h +0 -66
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +0 -93
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +0 -57
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +0 -102
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +0 -56
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +0 -102
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +0 -56
- data/ext/mathematical/lasem/src/lsmmathmlattributes.c +0 -219
- data/ext/mathematical/lasem/src/lsmmathmlattributes.h +0 -126
- data/ext/mathematical/lasem/src/lsmmathmldocument.c +0 -307
- data/ext/mathematical/lasem/src/lsmmathmldocument.h +0 -61
- data/ext/mathematical/lasem/src/lsmmathmlelement.c +0 -491
- data/ext/mathematical/lasem/src/lsmmathmlelement.h +0 -107
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +0 -142
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +0 -64
- data/ext/mathematical/lasem/src/lsmmathmlenums.c +0 -500
- data/ext/mathematical/lasem/src/lsmmathmlenums.h +0 -224
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +0 -58
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +0 -56
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +0 -180
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +0 -65
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +0 -253
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +0 -62
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +0 -597
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +0 -45
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +0 -187
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +0 -191
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +0 -58
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +0 -212
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +0 -81
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +0 -3332
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +0 -54
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +0 -309
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +0 -73
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +0 -137
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +0 -61
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +0 -71
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +0 -56
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +0 -43
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +0 -54
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +0 -303
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +0 -83
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +0 -266
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +0 -71
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +0 -58
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +0 -56
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +0 -282
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +0 -78
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +0 -84
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +0 -56
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +0 -156
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +0 -123
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +0 -58
- data/ext/mathematical/lasem/src/lsmmathmlstyle.c +0 -130
- data/ext/mathematical/lasem/src/lsmmathmlstyle.h +0 -89
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +0 -391
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +0 -94
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +0 -122
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +0 -62
- data/ext/mathematical/lasem/src/lsmmathmltableelement.c +0 -572
- data/ext/mathematical/lasem/src/lsmmathmltableelement.h +0 -78
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +0 -120
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +0 -64
- data/ext/mathematical/lasem/src/lsmmathmltraits.c +0 -867
- data/ext/mathematical/lasem/src/lsmmathmltraits.h +0 -129
- data/ext/mathematical/lasem/src/lsmmathmltypes.h +0 -67
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +0 -485
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +0 -82
- data/ext/mathematical/lasem/src/lsmmathmlutils.c +0 -170
- data/ext/mathematical/lasem/src/lsmmathmlutils.h +0 -57
- data/ext/mathematical/lasem/src/lsmmathmlview.c +0 -1325
- data/ext/mathematical/lasem/src/lsmmathmlview.h +0 -179
- data/ext/mathematical/lasem/src/lsmproperties.c +0 -418
- data/ext/mathematical/lasem/src/lsmproperties.h +0 -85
- data/ext/mathematical/lasem/src/lsmstr.c +0 -231
- data/ext/mathematical/lasem/src/lsmstr.h +0 -114
- data/ext/mathematical/lasem/src/lsmsvg.h +0 -67
- data/ext/mathematical/lasem/src/lsmsvgaelement.c +0 -73
- data/ext/mathematical/lasem/src/lsmsvgaelement.h +0 -55
- data/ext/mathematical/lasem/src/lsmsvgattributes.h +0 -168
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +0 -153
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +0 -59
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +0 -134
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +0 -59
- data/ext/mathematical/lasem/src/lsmsvgcolors.c +0 -212
- data/ext/mathematical/lasem/src/lsmsvgcolors.h +0 -39
- data/ext/mathematical/lasem/src/lsmsvgdefselement.c +0 -74
- data/ext/mathematical/lasem/src/lsmsvgdefselement.h +0 -55
- data/ext/mathematical/lasem/src/lsmsvgdocument.c +0 -306
- data/ext/mathematical/lasem/src/lsmsvgdocument.h +0 -64
- data/ext/mathematical/lasem/src/lsmsvgelement.c +0 -371
- data/ext/mathematical/lasem/src/lsmsvgelement.h +0 -80
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +0 -158
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgenums.c +0 -674
- data/ext/mathematical/lasem/src/lsmsvgenums.h +0 -416
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +0 -105
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +0 -58
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +0 -115
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +0 -58
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +0 -109
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +0 -58
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +0 -206
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +0 -64
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +0 -124
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +0 -266
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +0 -66
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +0 -86
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +0 -55
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +0 -114
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +0 -57
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +0 -169
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +0 -61
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +0 -98
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +0 -55
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +0 -87
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +0 -57
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +0 -116
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +0 -58
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +0 -112
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +0 -58
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +0 -168
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +0 -66
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +0 -134
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +0 -1537
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +0 -92
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +0 -102
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +0 -57
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +0 -142
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +0 -61
- data/ext/mathematical/lasem/src/lsmsvggelement.c +0 -73
- data/ext/mathematical/lasem/src/lsmsvggelement.h +0 -55
- data/ext/mathematical/lasem/src/lsmsvggradientelement.c +0 -151
- data/ext/mathematical/lasem/src/lsmsvggradientelement.h +0 -68
- data/ext/mathematical/lasem/src/lsmsvgimageelement.c +0 -261
- data/ext/mathematical/lasem/src/lsmsvgimageelement.h +0 -67
- data/ext/mathematical/lasem/src/lsmsvglength.c +0 -152
- data/ext/mathematical/lasem/src/lsmsvglength.h +0 -65
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +0 -271
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvglineelement.c +0 -153
- data/ext/mathematical/lasem/src/lsmsvglineelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +0 -266
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +0 -74
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +0 -232
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +0 -64
- data/ext/mathematical/lasem/src/lsmsvgmatrix.c +0 -221
- data/ext/mathematical/lasem/src/lsmsvgmatrix.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgpathelement.c +0 -115
- data/ext/mathematical/lasem/src/lsmsvgpathelement.h +0 -59
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +0 -398
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +0 -69
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +0 -106
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +0 -57
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +0 -106
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +0 -57
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +0 -323
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +0 -61
- data/ext/mathematical/lasem/src/lsmsvgrectelement.c +0 -184
- data/ext/mathematical/lasem/src/lsmsvgrectelement.h +0 -62
- data/ext/mathematical/lasem/src/lsmsvgstopelement.c +0 -106
- data/ext/mathematical/lasem/src/lsmsvgstopelement.h +0 -57
- data/ext/mathematical/lasem/src/lsmsvgstyle.c +0 -546
- data/ext/mathematical/lasem/src/lsmsvgstyle.h +0 -217
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +0 -266
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +0 -71
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +0 -103
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +0 -55
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +0 -148
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +0 -58
- data/ext/mathematical/lasem/src/lsmsvgtextelement.c +0 -203
- data/ext/mathematical/lasem/src/lsmsvgtextelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +0 -1481
- data/ext/mathematical/lasem/src/lsmsvgtraits.h +0 -122
- data/ext/mathematical/lasem/src/lsmsvgtransformable.c +0 -106
- data/ext/mathematical/lasem/src/lsmsvgtransformable.h +0 -54
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +0 -174
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +0 -60
- data/ext/mathematical/lasem/src/lsmsvgtypes.h +0 -83
- data/ext/mathematical/lasem/src/lsmsvguseelement.c +0 -238
- data/ext/mathematical/lasem/src/lsmsvguseelement.h +0 -69
- data/ext/mathematical/lasem/src/lsmsvgview.c +0 -2797
- data/ext/mathematical/lasem/src/lsmsvgview.h +0 -203
- data/ext/mathematical/lasem/src/lsmtraits.c +0 -171
- data/ext/mathematical/lasem/src/lsmtraits.h +0 -51
- data/ext/mathematical/lasem/src/lsmtypes.h +0 -36
- data/ext/mathematical/lasem/src/lsmutils.c +0 -54
- data/ext/mathematical/lasem/src/lsmutils.h +0 -56
- data/ext/mathematical/lasem/tests/Makefile.am +0 -34
- data/ext/mathematical/lasem/tests/data/mathml/gtkmathview/README +0 -5
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-02.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03-inline.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/closed.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/multiples.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/standard.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/matrices/matrix-01.tex +0 -5
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-cr.tex +0 -7
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-space.tex +0 -7
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases.tex +0 -7
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/color.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-2.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-inline.tex +0 -7
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex.tex +0 -7
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic-inline.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-01.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-02.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/accents.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/script.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/stack.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/subscript.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums-inline.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript-inline.tex +0 -1
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript.tex +0 -1
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/bmpCursor.bmp +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/brushedMetal.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpeg.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpegCursor.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaBridge.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaSteps.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaWalk.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors.tif +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb.tif +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb_tile.tif +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_tile.tif +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tde.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tiffCursor.tif +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/image1.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-01.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-02.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/CNN.3gp +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/SVG-1.1-monolithic-fixed.dtd +0 -1622
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/TraitAccess.common.es +0 -672
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/advice.wav +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/beep.wav +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/boing_x.wav +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/clock.mp4 +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud-ps411q4app.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q25s.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q65float.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75o.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75p.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75s.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud444q65o.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudgsq75s.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudoddq65o.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudqllo.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/copyright-documents-19990405.html +0 -89
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/disco.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.3gp +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.mov +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.3gp +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.mov +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/excuse_me.wav +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/externalscript.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton1.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton2.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton3.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton4.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/heroesLanding.3gp +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image1.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image2_b.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/myimage.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pacman.wav +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/plant.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image0.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image1.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image2.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image3.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image4.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image5.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image6.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image7.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image8.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image9.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script1.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script10.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script2.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script3.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script4.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script5.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script6.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script7.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script8.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script9.js +0 -1
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.3gp +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-01.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-02.jpg +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/svgRef4.css +0 -4
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/welcome.wav +0 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/xmltree.xml +0 -4
- data/ext/mathematical/lasem/tests/dom.c +0 -272
- data/ext/mathematical/lasem/tests/filter.c +0 -152
- data/ext/mathematical/lasem/tests/fuzztest.sh +0 -12
- data/ext/mathematical/lasem/tests/lsmtest.c +0 -599
- data/ext/mathematical/lasem/tests/str.c +0 -48
- data/ext/mathematical/lasem/tests/suite.c +0 -144
- data/ext/mathematical/lasem/tests/suite.ini +0 -27
- data/ext/mathematical/lasem/tools/change-license +0 -3
- data/ext/mathematical/lasem/tools/charlist.dtd +0 -73
- data/ext/mathematical/lasem/tools/entities-to-c.xsl +0 -1067
- data/ext/mathematical/lasem/tools/fuzzxml +0 -243
- data/ext/mathematical/lasem/tools/generate-entity-array.c +0 -2136
- data/ext/mathematical/lasem/tools/unicode.xml +0 -44303
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/CMakeLists.txt +0 -255
- data/ext/mathematical/mtex2MML/CONTRIBUTING.md +0 -22
- data/ext/mathematical/mtex2MML/README.md +0 -143
- data/ext/mathematical/mtex2MML/SUPPORTED.md +0 -1216
- data/ext/mathematical/mtex2MML/appveyor.yml +0 -35
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -512
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCCompiler.cmake +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCXXCompiler.cmake +0 -88
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeSystem.cmake +0 -15
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdC/CMakeCCompilerId.c +0 -671
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -660
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +0 -22
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -351
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1033
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
- data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
- data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
- data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
- data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
- data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
- data/ext/mathematical/mtex2MML/build/parser.h +0 -625
- data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
- data/ext/mathematical/mtex2MML/cmake/Modules/astyle.cmake +0 -12
- data/ext/mathematical/mtex2MML/deps/uthash/package.json +0 -27
- data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +0 -239
- data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +0 -1074
- data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +0 -895
- data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +0 -108
- data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +0 -398
- data/ext/mathematical/mtex2MML/script/bootstrap +0 -39
- data/ext/mathematical/mtex2MML/script/cibuild +0 -58
- data/ext/mathematical/mtex2MML/script/tag +0 -27
- data/ext/mathematical/mtex2MML/src/colors.c +0 -44
- data/ext/mathematical/mtex2MML/src/colors.h +0 -23
- data/ext/mathematical/mtex2MML/src/em.c +0 -99
- data/ext/mathematical/mtex2MML/src/em.h +0 -31
- data/ext/mathematical/mtex2MML/src/environment.c +0 -515
- data/ext/mathematical/mtex2MML/src/environment.h +0 -85
- data/ext/mathematical/mtex2MML/src/lexer.l +0 -1594
- data/ext/mathematical/mtex2MML/src/libmtex2MML.pc.in +0 -10
- data/ext/mathematical/mtex2MML/src/main.c +0 -187
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +0 -89
- data/ext/mathematical/mtex2MML/src/parser.y +0 -3817
- data/ext/mathematical/mtex2MML/src/string_dup.c +0 -23
- data/ext/mathematical/mtex2MML/src/string_dup.h +0 -23
- data/ext/mathematical/mtex2MML/src/string_extras.c +0 -47
- data/ext/mathematical/mtex2MML/src/string_extras.h +0 -30
- data/ext/mathematical/mtex2MML/src/win32-shims/unistd.h +0 -51
- data/ext/mathematical/mtex2MML/tests/array.c +0 -127
- data/ext/mathematical/mtex2MML/tests/basic.c +0 -96
- data/ext/mathematical/mtex2MML/tests/clar/fixtures.h +0 -38
- data/ext/mathematical/mtex2MML/tests/clar/fs.h +0 -335
- data/ext/mathematical/mtex2MML/tests/clar/print.h +0 -66
- data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +0 -141
- data/ext/mathematical/mtex2MML/tests/clar.c +0 -644
- data/ext/mathematical/mtex2MML/tests/clar.h +0 -163
- data/ext/mathematical/mtex2MML/tests/clar_test.h +0 -20
- data/ext/mathematical/mtex2MML/tests/cornercases.c +0 -46
- data/ext/mathematical/mtex2MML/tests/debug/mtex2MML_debug.cc +0 -21
- data/ext/mathematical/mtex2MML/tests/delimiters.c +0 -242
- data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +0 -62
- data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.h +0 -12
- data/ext/mathematical/mtex2MML/tests/deps/file2str/package.json +0 -9
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +0 -151
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +0 -10
- data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +0 -7
- data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +0 -27
- data/ext/mathematical/mtex2MML/tests/deps/trim/trim.h +0 -7
- data/ext/mathematical/mtex2MML/tests/env.c +0 -334
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-1.html +0 -86
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-2.html +0 -148
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-3.html +0 -188
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/arrows-2.html +0 -156
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-1.html +0 -45
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-2.html +0 -35
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-1.html +0 -16
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-3.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/buildrel-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue490.html +0 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue877.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue937.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbracket-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overset-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/sideset-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/stackrel-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/subarray-1.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/substack-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbrace-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbracket-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underset-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/mathtip-1.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/texttip-1.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/toggle-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/Newextarrow-1.html +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-1.html +0 -34
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-2.html +0 -30
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-3.html +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-4.html +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-5.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathbin-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathinner-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1a.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1b.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-2.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathord-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathrel-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html +0 -16
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-2.html +0 -25
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/remap-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/color-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/colorbox-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-1.html +0 -37
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-2.html +0 -79
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/fcolorbox-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/issue446.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/namedcolors-1.html +0 -70
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-3.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue775.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-2.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-3.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-4.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-5.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/left-right-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1a.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1b.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1a.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1b.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-1.html +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-2.html +0 -14
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignedat-1.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalign-1.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalignno-1.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-2.html +0 -64
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-2.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1a.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1b.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-2.html +0 -12
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1a.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1b.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2a.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2b.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3a.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3b.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/leqalignno-1.html +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1a.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1b.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/split-1.html +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noErrors-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noUndefined-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/above-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atop-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/binom-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brace-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brack-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/cfrac-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/choose-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dbinom-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dfrac-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1a.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1b.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/genfrac-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/issue969.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tbinom-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tfrac-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-1.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-2.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue375.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue856.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1a.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1c.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/boxes-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1a.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1b.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/llap-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/lower-1.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/mathstrut-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveleft-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveright-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/newline-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/phantom-1.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/raise-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/rlap-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/shove-1.html +0 -19
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1a.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1b.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/smash-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/spaces-1.html +0 -18
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/vcenter-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-1.html +0 -32
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-2.html +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-3.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-4.html +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/hebrew-1.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/begingroup-1.html +0 -15
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/def-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/let-1.html +0 -14
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-2.html +0 -25
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-3.html +0 -50
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-5.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-6.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-7.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/bf-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/it-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mit-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/sf-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/text-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textit-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/tt-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1a.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1b.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-3.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-2.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-1.html +0 -120
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-2.html +0 -35
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-3.html +0 -138
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/amounts-1.html +0 -46
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-1.html +0 -235
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-2.html +0 -159
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/basics-1.html +0 -139
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/bonds-1.html +0 -256
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/environments-1.html +0 -81
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/isotopes-1.html +0 -30
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/math-1.html +0 -101
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/special_symbols-1.html +0 -176
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Rule-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/class-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/cssId-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/require-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/style-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/unicode-1.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/LaTeX-1.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/bbox-1.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/boxed-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cancel-1.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cases-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/displaylines-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/enclose-1.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/functions-1.html +0 -34
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-2.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-3.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mathsize-1.html +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mod-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/pod-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-1.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-2.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-3.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-2.html +0 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/eqref-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-1.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-2.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/notag-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-1.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-2.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-3.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-3.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-1.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/binaryops-1.html +0 -32
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/dots-1.html +0 -26
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-1.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-2.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +0 -39
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-1.html +0 -25
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-2.html +0 -31
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-3.html +0 -40
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-4.html +0 -39
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-5.html +0 -56
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-6.html +0 -49
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-1.no_tex +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-2.no_tex +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-3.no_tex +0 -23
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-1.no_tex +0 -23
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-2.no_tex +0 -26
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-1.no_tex +0 -14
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-2.no_tex +0 -14
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-1.txt +0 -16
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-3.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/buildrel-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue490.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue877.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue937.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbrace-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbracket-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overset-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/sideset-1.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/stackrel-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/subarray-1.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/substack-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbrace-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbracket-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underset-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/mathtip-1.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/texttip-1.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/toggle-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/Newextarrow-1.xtex +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-1.txt +0 -34
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-2.txt +0 -30
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-3.txt +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-4.txt +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-5.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathbin-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathinner-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1a.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1b.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-2.xtex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathopenclose-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathord-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathpunct-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathrel-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/backslashed-1.txt +0 -16
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-2.xtex +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/remap-1.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/color-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/colorbox-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1a.xtex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1b.xtex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1c.xtex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-2.xtex +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/fcolorbox-1.xtex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/issue446.xtex +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/namedcolors-1.txt +0 -70
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-3.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-2.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue775.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1a.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1b.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-2.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-3.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-4.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-5.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/left-right-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1a.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1b.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1a.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1b.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-1.txt +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-2.txt +0 -14
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignedat-1.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalign-1.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalignno-1.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1a.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1b.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1c.no_tex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-2a.no_tex +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-1.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-2.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1a.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1b.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-2.txt +0 -12
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1a.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1b.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2a.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2b.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3a.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3b.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/leqalignno-1.xtex +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1a.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1b.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/split-1.txt +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noErrors-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noUndefined-1.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/above-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/abovewithdelims-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atop-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atopwithdelims-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/binom-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brace-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brack-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/cfrac-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/choose-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dbinom-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dfrac-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1a.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1b.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/genfrac-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/issue969.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/overwithdelims-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tbinom-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tfrac-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1151.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-1.xtex +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-2.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue375.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue856.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1a.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1b.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1c.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1d.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-1.xtex +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-2.xtex +0 -16
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/boxes-1.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1a.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1b.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/llap-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/lower-1.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/mathstrut-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveleft-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveright-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/newline-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/phantom-1.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/raise-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/rlap-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/shove-1.xtex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1a.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1b.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/smash-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/spaces-1.txt +0 -18
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/strut-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/vcenter-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-1.txt +0 -32
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-2.txt +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-3.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-4.txt +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/hebrew-1.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/begingroup-1.no_tex +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/def-1.no_tex +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/let-1.no_tex +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1a.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1b.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-2.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-3.no_tex +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-5.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-6.no_tex +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-7.no_tex +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/Bbb-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/bf-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/boldsymbol-1.txt +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/cal-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/frak-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/it-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbb-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1a.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1b.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathcal-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathfrak-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathit-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathrm-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathscr-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathsf-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathtt-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mit-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/pmb-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/rm-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/scr-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/sf-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/text-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textbf-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textit-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textrm-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textsf-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/texttt-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/tt-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1a.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1b.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-3.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-2.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-2.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-2.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/smallmatrix-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-2.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-1.no_tex +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-2.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-3.no_tex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/amounts-1.no_tex +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-1.no_tex +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-2.no_tex +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/basics-1.no_tex +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/bonds-1.no_tex +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/environments-1.no_tex +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/isotopes-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/math-1.no_tex +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/special_symbols-1.no_tex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Rule-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Tiny-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/class-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/cssId-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-2.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/require-1.no_tex +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/style-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/unicode-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/LaTeX-1.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/bbox-1.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/boxed-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cancel-1.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cases-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/displaylines-1.xtex +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/enclose-1.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/functions-1.txt +0 -34
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-2.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-3.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mathsize-1.txt +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mod-1.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/not-1.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/pod-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-1.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-2.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-3.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-1.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-2.no_tex +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/eqref-1.no_tex +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-1.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-2.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/notag-1.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1a.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1b.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-2.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-3.no_tex +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-1.no_tex +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-2.no_tex +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-3.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-4.no_tex +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-3.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-1.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/binaryops-1.txt +0 -32
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/dots-1.txt +0 -26
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-1.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-2.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/relations-1.txt +0 -39
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-1.txt +0 -25
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-2.txt +0 -31
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-3.txt +0 -40
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-4.txt +0 -39
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-5.txt +0 -56
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-6.txt +0 -49
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/TODO.md +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.html +0 -32
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.txt +0 -32
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.html +0 -12
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.txt +0 -12
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.html +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.txt +0 -9
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.html +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.txt +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.html +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.txt +0 -10
- data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.html +0 -23
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.txt +0 -23
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.html +0 -24
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.txt +0 -24
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/brackets.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.html +0 -2
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.txt +0 -27
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.html +0 -27
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.txt +0 -27
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/double_dollar.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping.txt +0 -35
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_brackets.html +0 -35
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_dollars.html +0 -35
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_parens.html +0 -35
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.txt +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/parens.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_dollar.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.html +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.txt +0 -8
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.html +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.txt +0 -4
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/excess_parsing.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.html +0 -11
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.txt +0 -13
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.html +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.txt +0 -7
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.html +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.txt +0 -5
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.html +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.txt +0 -6
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.html +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.txt +0 -3
- data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +0 -12
- data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.txt +0 -1755
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.html +0 -1
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.txt +0 -1
- data/ext/mathematical/mtex2MML/tests/functions.c +0 -55
- data/ext/mathematical/mtex2MML/tests/generate.py +0 -244
- data/ext/mathematical/mtex2MML/tests/helpers.c +0 -29
- data/ext/mathematical/mtex2MML/tests/helpers.h +0 -8
- data/ext/mathematical/mtex2MML/tests/main.c +0 -35
- data/ext/mathematical/mtex2MML/tests/maliciousness.c +0 -107
- data/ext/mathematical/mtex2MML/tests/mathjax.c +0 -2040
- data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +0 -72
- data/ext/mathematical/mtex2MML/tests/numbered_equations.c +0 -92
- data/ext/mathematical/mtex2MML/tests/performance.c +0 -39
- data/ext/mathematical/mtex2MML/tests/symbols.c +0 -69
- data/test/mathematical/basic_test.rb +0 -89
- data/test/mathematical/corrections_test.rb +0 -16
- data/test/mathematical/delimiters_test.rb +0 -69
- data/test/mathematical/fixtures/after/backslashes.html +0 -5
- data/test/mathematical/fixtures/after/brackets_display.html +0 -1
- data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
- data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
- data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
- data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
- data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
- data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
- data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
- data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
- data/test/mathematical/fixtures/after/equation_display.html +0 -1
- data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
- data/test/mathematical/fixtures/after/parens_inline.html +0 -1
- data/test/mathematical/fixtures/before/backslashes.text +0 -17
- data/test/mathematical/fixtures/before/brackets_display.text +0 -1
- data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
- data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
- data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
- data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
- data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
- data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
- data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
- data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
- data/test/mathematical/fixtures/before/equation_display.text +0 -1
- data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
- data/test/mathematical/fixtures/before/parens_inline.text +0 -1
- data/test/mathematical/fixtures/performance/big_file.text +0 -1755
- data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
- data/test/mathematical/fixtures/png/pmatrix.png +0 -0
- data/test/mathematical/fixtures_test.rb +0 -51
- data/test/mathematical/maliciousness_test.rb +0 -152
- data/test/mathematical/mathjax_test.rb +0 -26
- data/test/mathematical/mathml_test.rb +0 -21
- data/test/mathematical/multiples_test.rb +0 -71
- data/test/mathematical/performance_test.rb +0 -15
- data/test/mathematical/png_test.rb +0 -30
- data/test/test_helper.rb +0 -72
@@ -1,1481 +0,0 @@
|
|
1
|
-
/* Lasem
|
2
|
-
*
|
3
|
-
* Copyright © 2009 Emmanuel Pacaud
|
4
|
-
*
|
5
|
-
* This library is free software; you can redistribute it and/or
|
6
|
-
* modify it under the terms of the GNU Lesser General Public
|
7
|
-
* License as published by the Free Software Foundation; either
|
8
|
-
* version 2 of the License, or (at your option) any later version.
|
9
|
-
*
|
10
|
-
* This library is distributed in the hope that it will be useful,
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
-
* Lesser General Public License for more details.
|
14
|
-
*
|
15
|
-
* You should have received a copy of the GNU Lesser General
|
16
|
-
* Public License along with this library; if not, write to the
|
17
|
-
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
18
|
-
* Boston, MA 02110-1335, USA.
|
19
|
-
*
|
20
|
-
* Author:
|
21
|
-
* Emmanuel Pacaud <emmanuel@gnome.org>
|
22
|
-
*/
|
23
|
-
|
24
|
-
#include <lsmsvgtraits.h>
|
25
|
-
#include <lsmstr.h>
|
26
|
-
#include <lsmsvgcolors.h>
|
27
|
-
#include <math.h>
|
28
|
-
#include <string.h>
|
29
|
-
#include <stdlib.h>
|
30
|
-
|
31
|
-
const LsmSvgColor lsm_svg_color_null = {0.0, 0.0, 0.0};
|
32
|
-
const LsmSvgDashArray lsm_svg_dash_array_null = {0, NULL};
|
33
|
-
|
34
|
-
static gboolean
|
35
|
-
lsm_svg_blending_mode_trait_from_string (LsmTrait *abstract_trait, char *string)
|
36
|
-
{
|
37
|
-
LsmSvgBlendingMode *trait = (LsmSvgBlendingMode *) abstract_trait;
|
38
|
-
|
39
|
-
*trait = lsm_svg_blending_mode_from_string (string);
|
40
|
-
|
41
|
-
return *trait >= 0;
|
42
|
-
}
|
43
|
-
|
44
|
-
static char *
|
45
|
-
lsm_svg_blending_mode_trait_to_string (LsmTrait *abstract_trait)
|
46
|
-
{
|
47
|
-
LsmSvgBlendingMode *trait = (LsmSvgBlendingMode *) abstract_trait;
|
48
|
-
|
49
|
-
return g_strdup (lsm_svg_blending_mode_to_string (*trait));
|
50
|
-
}
|
51
|
-
|
52
|
-
const LsmTraitClass lsm_svg_blending_mode_trait_class = {
|
53
|
-
.size = sizeof (LsmSvgBlendingMode),
|
54
|
-
.from_string = lsm_svg_blending_mode_trait_from_string,
|
55
|
-
.to_string = lsm_svg_blending_mode_trait_to_string
|
56
|
-
};
|
57
|
-
|
58
|
-
static gboolean
|
59
|
-
lsm_svg_comp_op_trait_from_string (LsmTrait *abstract_trait, char *string)
|
60
|
-
{
|
61
|
-
LsmSvgCompOp *trait = (LsmSvgCompOp *) abstract_trait;
|
62
|
-
|
63
|
-
*trait = lsm_svg_comp_op_from_string (string);
|
64
|
-
|
65
|
-
return *trait >= 0;
|
66
|
-
}
|
67
|
-
|
68
|
-
static char *
|
69
|
-
lsm_svg_comp_op_trait_to_string (LsmTrait *abstract_trait)
|
70
|
-
{
|
71
|
-
LsmSvgCompOp *trait = (LsmSvgCompOp *) abstract_trait;
|
72
|
-
|
73
|
-
return g_strdup (lsm_svg_comp_op_to_string (*trait));
|
74
|
-
}
|
75
|
-
|
76
|
-
const LsmTraitClass lsm_svg_comp_op_trait_class = {
|
77
|
-
.size = sizeof (LsmSvgCompOp),
|
78
|
-
.from_string = lsm_svg_comp_op_trait_from_string,
|
79
|
-
.to_string = lsm_svg_comp_op_trait_to_string
|
80
|
-
};
|
81
|
-
|
82
|
-
static gboolean
|
83
|
-
lsm_svg_enable_background_trait_from_string (LsmTrait *abstract_trait, char *string)
|
84
|
-
{
|
85
|
-
LsmSvgEnableBackground *trait = (LsmSvgEnableBackground *) abstract_trait;
|
86
|
-
|
87
|
-
*trait = lsm_svg_enable_background_from_string (string);
|
88
|
-
|
89
|
-
return *trait >= 0;
|
90
|
-
}
|
91
|
-
|
92
|
-
static char *
|
93
|
-
lsm_svg_enable_background_trait_to_string (LsmTrait *abstract_trait)
|
94
|
-
{
|
95
|
-
LsmSvgEnableBackground *trait = (LsmSvgEnableBackground *) abstract_trait;
|
96
|
-
|
97
|
-
return g_strdup (lsm_svg_enable_background_to_string (*trait));
|
98
|
-
}
|
99
|
-
|
100
|
-
const LsmTraitClass lsm_svg_enable_background_trait_class = {
|
101
|
-
.size = sizeof (LsmSvgEnableBackground),
|
102
|
-
.from_string = lsm_svg_enable_background_trait_from_string,
|
103
|
-
.to_string = lsm_svg_enable_background_trait_to_string
|
104
|
-
};
|
105
|
-
|
106
|
-
static gboolean
|
107
|
-
lsm_svg_vector_trait_from_string (LsmTrait *abstract_trait, char *string)
|
108
|
-
{
|
109
|
-
LsmSvgVector *vector = (LsmSvgVector *) abstract_trait;
|
110
|
-
unsigned int n_values = 1;
|
111
|
-
gboolean success = FALSE;
|
112
|
-
char *iter = (char *) string;
|
113
|
-
|
114
|
-
g_free (vector->values);
|
115
|
-
vector->n_values = 0;
|
116
|
-
vector->values = NULL;
|
117
|
-
|
118
|
-
while (*iter != '\0') {
|
119
|
-
if (*iter == ',' ||
|
120
|
-
*iter == ' ') {
|
121
|
-
n_values++;
|
122
|
-
do {
|
123
|
-
iter++;
|
124
|
-
} while (*iter == ',' ||
|
125
|
-
*iter == ' ');
|
126
|
-
} else
|
127
|
-
iter++;
|
128
|
-
}
|
129
|
-
|
130
|
-
vector->values = g_new (double, n_values);
|
131
|
-
vector->n_values = n_values;
|
132
|
-
|
133
|
-
iter = (char *)string;
|
134
|
-
n_values = lsm_str_parse_double_list (&iter, vector->n_values, vector->values);
|
135
|
-
success = n_values == vector->n_values;
|
136
|
-
|
137
|
-
if (!success) {
|
138
|
-
g_free (vector->values);
|
139
|
-
vector->values = NULL;
|
140
|
-
vector->n_values = 0;
|
141
|
-
}
|
142
|
-
|
143
|
-
return success;
|
144
|
-
}
|
145
|
-
|
146
|
-
static char *
|
147
|
-
lsm_svg_vector_trait_to_string (LsmTrait *abstract_trait)
|
148
|
-
{
|
149
|
-
g_assert_not_reached ();
|
150
|
-
|
151
|
-
return NULL;
|
152
|
-
}
|
153
|
-
|
154
|
-
static void
|
155
|
-
lsm_svg_vector_trait_finalize (LsmTrait *abstract_trait)
|
156
|
-
{
|
157
|
-
LsmSvgVector *svg_vector = (LsmSvgVector *) abstract_trait;
|
158
|
-
|
159
|
-
g_free (svg_vector->values);
|
160
|
-
svg_vector->n_values = 0;
|
161
|
-
svg_vector->values = NULL;
|
162
|
-
}
|
163
|
-
|
164
|
-
const LsmTraitClass lsm_svg_vector_trait_class = {
|
165
|
-
.size = sizeof (LsmSvgVector),
|
166
|
-
.from_string = lsm_svg_vector_trait_from_string,
|
167
|
-
.to_string = lsm_svg_vector_trait_to_string,
|
168
|
-
.finalize = lsm_svg_vector_trait_finalize
|
169
|
-
};
|
170
|
-
|
171
|
-
static gboolean
|
172
|
-
lsm_svg_length_trait_from_string (LsmTrait *abstract_trait, char *string)
|
173
|
-
{
|
174
|
-
LsmSvgLength *svg_length = (LsmSvgLength *) abstract_trait;
|
175
|
-
char *length_type_str;
|
176
|
-
|
177
|
-
svg_length->value_unit = g_ascii_strtod (string, &length_type_str);
|
178
|
-
svg_length->type = lsm_svg_length_type_from_string (length_type_str);
|
179
|
-
|
180
|
-
return length_type_str != string && svg_length->type >= 0;
|
181
|
-
}
|
182
|
-
|
183
|
-
static char *
|
184
|
-
lsm_svg_length_trait_to_string (LsmTrait *abstract_trait)
|
185
|
-
{
|
186
|
-
LsmSvgLength *svg_length = (LsmSvgLength *) abstract_trait;
|
187
|
-
|
188
|
-
return g_strdup_printf ("%g%s",
|
189
|
-
svg_length->value_unit,
|
190
|
-
lsm_svg_length_type_to_string (svg_length->type));
|
191
|
-
}
|
192
|
-
|
193
|
-
const LsmTraitClass lsm_svg_length_trait_class = {
|
194
|
-
.size = sizeof (LsmSvgLength),
|
195
|
-
.from_string = lsm_svg_length_trait_from_string,
|
196
|
-
.to_string = lsm_svg_length_trait_to_string
|
197
|
-
};
|
198
|
-
|
199
|
-
static gboolean
|
200
|
-
lsm_svg_length_list_trait_from_string (LsmTrait *abstract_trait, char *string)
|
201
|
-
{
|
202
|
-
LsmSvgLengthList *length_list = (LsmSvgLengthList *) abstract_trait;
|
203
|
-
unsigned int n_lengths = 1;
|
204
|
-
unsigned int i;
|
205
|
-
gboolean success = FALSE;
|
206
|
-
char *iter = (char *) string;
|
207
|
-
|
208
|
-
g_free (length_list->lengths);
|
209
|
-
length_list->n_lengths = 0;
|
210
|
-
length_list->lengths = NULL;
|
211
|
-
|
212
|
-
while (*iter != '\0') {
|
213
|
-
if (*iter == ',' ||
|
214
|
-
*iter == ' ') {
|
215
|
-
n_lengths++;
|
216
|
-
do {
|
217
|
-
iter++;
|
218
|
-
} while (*iter == ',' ||
|
219
|
-
*iter == ' ');
|
220
|
-
} else
|
221
|
-
iter++;
|
222
|
-
}
|
223
|
-
|
224
|
-
length_list->lengths = g_new (LsmSvgLength, n_lengths);
|
225
|
-
length_list->n_lengths = n_lengths;
|
226
|
-
iter = (char *)string;
|
227
|
-
lsm_str_skip_spaces (&iter);
|
228
|
-
|
229
|
-
for (i = 0; i < n_lengths; i++) {
|
230
|
-
success = lsm_svg_parse_length (&iter, &length_list->lengths[i]);
|
231
|
-
|
232
|
-
if (!success)
|
233
|
-
break;
|
234
|
-
lsm_str_skip_comma_and_spaces (&iter);
|
235
|
-
}
|
236
|
-
|
237
|
-
if (!success) {
|
238
|
-
g_free (length_list->lengths);
|
239
|
-
length_list->lengths = NULL;
|
240
|
-
length_list->n_lengths = 0;
|
241
|
-
}
|
242
|
-
|
243
|
-
return TRUE;
|
244
|
-
}
|
245
|
-
|
246
|
-
static char *
|
247
|
-
lsm_svg_length_list_trait_to_string (LsmTrait *abstract_trait)
|
248
|
-
{
|
249
|
-
g_assert_not_reached ();
|
250
|
-
|
251
|
-
return NULL;
|
252
|
-
}
|
253
|
-
|
254
|
-
static void
|
255
|
-
lsm_svg_length_list_trait_finalize (LsmTrait *abstract_trait)
|
256
|
-
{
|
257
|
-
LsmSvgLengthList *svg_length_list = (LsmSvgLengthList *) abstract_trait;
|
258
|
-
|
259
|
-
g_free (svg_length_list->lengths);
|
260
|
-
svg_length_list->n_lengths = 0;
|
261
|
-
svg_length_list->lengths = NULL;
|
262
|
-
}
|
263
|
-
|
264
|
-
const LsmTraitClass lsm_svg_length_list_trait_class = {
|
265
|
-
.size = sizeof (LsmSvgLengthList),
|
266
|
-
.from_string = lsm_svg_length_list_trait_from_string,
|
267
|
-
.to_string = lsm_svg_length_list_trait_to_string,
|
268
|
-
.finalize = lsm_svg_length_list_trait_finalize
|
269
|
-
};
|
270
|
-
|
271
|
-
static void
|
272
|
-
_init_matrix (LsmSvgMatrix *matrix, LsmSvgTransformType transform, unsigned int n_values, double values[])
|
273
|
-
{
|
274
|
-
switch (transform) {
|
275
|
-
case LSM_SVG_TRANSFORM_TYPE_SCALE:
|
276
|
-
if (n_values == 1) {
|
277
|
-
lsm_svg_matrix_init_scale (matrix, values[0], values[0]);
|
278
|
-
return;
|
279
|
-
} else if (n_values == 2) {
|
280
|
-
lsm_svg_matrix_init_scale (matrix, values[0], values[1]);
|
281
|
-
return;
|
282
|
-
}
|
283
|
-
break;
|
284
|
-
case LSM_SVG_TRANSFORM_TYPE_TRANSLATE:
|
285
|
-
if (n_values == 1) {
|
286
|
-
lsm_svg_matrix_init_translate (matrix, values[0], values[0]);
|
287
|
-
return;
|
288
|
-
} else if (n_values == 2) {
|
289
|
-
lsm_svg_matrix_init_translate (matrix, values[0], values[1]);
|
290
|
-
return;
|
291
|
-
}
|
292
|
-
break;
|
293
|
-
case LSM_SVG_TRANSFORM_TYPE_MATRIX:
|
294
|
-
if (n_values == 6) {
|
295
|
-
lsm_svg_matrix_init (matrix,
|
296
|
-
values[0], values[1],
|
297
|
-
values[2], values[3],
|
298
|
-
values[4], values[5]);
|
299
|
-
return;
|
300
|
-
}
|
301
|
-
break;
|
302
|
-
case LSM_SVG_TRANSFORM_TYPE_ROTATE:
|
303
|
-
if (n_values == 1) {
|
304
|
-
lsm_svg_matrix_init_rotate (matrix, values[0] * M_PI / 180.0);
|
305
|
-
return;
|
306
|
-
} else if (n_values == 3) {
|
307
|
-
LsmSvgMatrix matrix_b;
|
308
|
-
|
309
|
-
lsm_svg_matrix_init_translate (matrix, values[1], values[2]);
|
310
|
-
lsm_svg_matrix_init_rotate (&matrix_b, values[0] * M_PI / 180.0);
|
311
|
-
lsm_svg_matrix_multiply (matrix, &matrix_b, matrix);
|
312
|
-
lsm_svg_matrix_init_translate (&matrix_b, -values[1], -values[2]);
|
313
|
-
lsm_svg_matrix_multiply (matrix, &matrix_b, matrix);
|
314
|
-
return;
|
315
|
-
}
|
316
|
-
break;
|
317
|
-
case LSM_SVG_TRANSFORM_TYPE_SKEW_X:
|
318
|
-
if (n_values == 1) {
|
319
|
-
lsm_svg_matrix_init_skew_x (matrix, values[0] * M_PI / 180.0);
|
320
|
-
return;
|
321
|
-
}
|
322
|
-
break;
|
323
|
-
case LSM_SVG_TRANSFORM_TYPE_SKEW_Y:
|
324
|
-
if (n_values == 1) {
|
325
|
-
lsm_svg_matrix_init_skew_y (matrix, values[0] * M_PI / 180.0);
|
326
|
-
return;
|
327
|
-
}
|
328
|
-
default:
|
329
|
-
break;
|
330
|
-
}
|
331
|
-
|
332
|
-
lsm_svg_matrix_init_identity (matrix);
|
333
|
-
}
|
334
|
-
|
335
|
-
static gboolean
|
336
|
-
lsm_svg_matrix_trait_from_string (LsmTrait *abstract_trait, char *string)
|
337
|
-
{
|
338
|
-
LsmSvgMatrix *matrix = (LsmSvgMatrix *) abstract_trait;
|
339
|
-
|
340
|
-
lsm_svg_matrix_init_identity (matrix);
|
341
|
-
|
342
|
-
while (*string != '\0') {
|
343
|
-
LsmSvgTransformType transform;
|
344
|
-
double values[6];
|
345
|
-
|
346
|
-
lsm_str_skip_spaces (&string);
|
347
|
-
|
348
|
-
if (strncmp (string, "translate", 9) == 0) {
|
349
|
-
transform = LSM_SVG_TRANSFORM_TYPE_TRANSLATE;
|
350
|
-
string += 9;
|
351
|
-
} else if (strncmp (string, "scale", 5) == 0) {
|
352
|
-
transform = LSM_SVG_TRANSFORM_TYPE_SCALE;
|
353
|
-
string += 5;
|
354
|
-
} else if (strncmp (string, "rotate", 6) == 0) {
|
355
|
-
transform = LSM_SVG_TRANSFORM_TYPE_ROTATE;
|
356
|
-
string += 6;
|
357
|
-
} else if (strncmp (string, "matrix", 6) == 0) {
|
358
|
-
transform = LSM_SVG_TRANSFORM_TYPE_MATRIX;
|
359
|
-
string += 6;
|
360
|
-
} else if (strncmp (string, "skewX", 5) == 0) {
|
361
|
-
transform = LSM_SVG_TRANSFORM_TYPE_SKEW_X;
|
362
|
-
string += 5;
|
363
|
-
} else if (strncmp (string, "skewY", 5) == 0) {
|
364
|
-
transform = LSM_SVG_TRANSFORM_TYPE_SKEW_Y;
|
365
|
-
string += 5;
|
366
|
-
} else
|
367
|
-
return FALSE;
|
368
|
-
|
369
|
-
lsm_str_skip_spaces (&string);
|
370
|
-
|
371
|
-
if (*string == '(') {
|
372
|
-
unsigned int n_values = 0;
|
373
|
-
|
374
|
-
string++;
|
375
|
-
|
376
|
-
while (*string != ')' && *string != '\0' && n_values < 6) {
|
377
|
-
lsm_str_skip_comma_and_spaces (&string);
|
378
|
-
|
379
|
-
if (!lsm_str_parse_double (&string, &values[n_values]))
|
380
|
-
break;
|
381
|
-
|
382
|
-
n_values++;
|
383
|
-
}
|
384
|
-
|
385
|
-
lsm_str_skip_comma_and_spaces (&string);
|
386
|
-
|
387
|
-
if (*string == ')') {
|
388
|
-
LsmSvgMatrix new_matrix;
|
389
|
-
|
390
|
-
string++;
|
391
|
-
|
392
|
-
_init_matrix (&new_matrix, transform, n_values, values);
|
393
|
-
|
394
|
-
lsm_svg_matrix_multiply (matrix, &new_matrix, matrix);
|
395
|
-
} else
|
396
|
-
return FALSE;
|
397
|
-
} else
|
398
|
-
return FALSE;
|
399
|
-
}
|
400
|
-
|
401
|
-
return TRUE;
|
402
|
-
}
|
403
|
-
|
404
|
-
static char *
|
405
|
-
lsm_svg_matrix_trait_to_string (LsmTrait *abstract_trait)
|
406
|
-
{
|
407
|
-
LsmSvgMatrix *matrix = (LsmSvgMatrix *) abstract_trait;
|
408
|
-
|
409
|
-
/* TODO smarter serialization, checking for zeros */
|
410
|
-
return g_strdup_printf ("matrix(%g,%g,%g,%g,%g,%g)",
|
411
|
-
matrix->a,
|
412
|
-
matrix->b,
|
413
|
-
matrix->c,
|
414
|
-
matrix->d,
|
415
|
-
matrix->e,
|
416
|
-
matrix->f);
|
417
|
-
}
|
418
|
-
|
419
|
-
const LsmTraitClass lsm_svg_matrix_trait_class = {
|
420
|
-
.size = sizeof (LsmSvgMatrix),
|
421
|
-
.from_string = lsm_svg_matrix_trait_from_string,
|
422
|
-
.to_string = lsm_svg_matrix_trait_to_string
|
423
|
-
};
|
424
|
-
|
425
|
-
static double
|
426
|
-
_hue_to_rgb (double m1, double m2, double h)
|
427
|
-
{
|
428
|
-
if (h < 0)
|
429
|
-
h = h + 1.0;
|
430
|
-
if (h > 1)
|
431
|
-
h = h - 1.0;
|
432
|
-
if (h * 6.0 < 1.0)
|
433
|
-
return m1 + (m2 - m1 ) * h * 6.0;
|
434
|
-
if (h * 2.0 < 1.0)
|
435
|
-
return m2;
|
436
|
-
if (h * 3.0 < 2.0)
|
437
|
-
return m1 + (m2 - m1) * (2.0 / 3.0 - h) * 6.0;
|
438
|
-
|
439
|
-
return m1;
|
440
|
-
}
|
441
|
-
|
442
|
-
static char *
|
443
|
-
_parse_color (char *string,
|
444
|
-
LsmSvgColor *svg_color,
|
445
|
-
LsmSvgPaintType *paint_type)
|
446
|
-
{
|
447
|
-
unsigned int color = 0;
|
448
|
-
|
449
|
-
lsm_str_skip_spaces (&string);
|
450
|
-
|
451
|
-
if (g_strcmp0 (string, "currentColor") == 0) {
|
452
|
-
svg_color->red = -1.0;
|
453
|
-
svg_color->green = -1.0;
|
454
|
-
svg_color->blue = -1.0;
|
455
|
-
|
456
|
-
*paint_type = LSM_SVG_PAINT_TYPE_CURRENT_COLOR;
|
457
|
-
|
458
|
-
string += 12; /* strlen ("current_color") */
|
459
|
-
|
460
|
-
return string;
|
461
|
-
}
|
462
|
-
|
463
|
-
if (*string == '#') {
|
464
|
-
int value, i;
|
465
|
-
string++;
|
466
|
-
|
467
|
-
for (i = 0; i < 6; i++) {
|
468
|
-
if (*string >= '0' && *string <= '9')
|
469
|
-
value = *string - '0';
|
470
|
-
else if (*string >= 'A' && *string <= 'F')
|
471
|
-
value = *string - 'A' + 10;
|
472
|
-
else if (*string >= 'a' && *string <= 'f')
|
473
|
-
value = *string - 'a' + 10;
|
474
|
-
else
|
475
|
-
break;
|
476
|
-
|
477
|
-
color = (color << 4) + value;
|
478
|
-
string++;
|
479
|
-
}
|
480
|
-
|
481
|
-
if (i == 3) {
|
482
|
-
color = ((color & 0xf00) << 8) | ((color & 0x0f0) << 4) | (color & 0x00f);
|
483
|
-
color |= color << 4;
|
484
|
-
} else if (i != 6)
|
485
|
-
color = 0;
|
486
|
-
|
487
|
-
*paint_type = LSM_SVG_PAINT_TYPE_RGB_COLOR;
|
488
|
-
} else if (strncmp (string, "rgb(", 4) == 0) {
|
489
|
-
int i;
|
490
|
-
double value;
|
491
|
-
|
492
|
-
|
493
|
-
string += 4; /* strlen ("rgb(") */
|
494
|
-
|
495
|
-
lsm_str_skip_spaces (&string);
|
496
|
-
|
497
|
-
for (i = 0; i < 3; i++) {
|
498
|
-
if (!lsm_str_parse_double (&string, &value))
|
499
|
-
break;
|
500
|
-
|
501
|
-
if (*string == '%') {
|
502
|
-
value = value * 255.0 / 100.0;
|
503
|
-
string++;
|
504
|
-
}
|
505
|
-
|
506
|
-
if (i < 2)
|
507
|
-
lsm_str_skip_comma_and_spaces (&string);
|
508
|
-
|
509
|
-
color = (color << 8) + (int) (0.5 + CLAMP (value, 0.0, 255.0));
|
510
|
-
}
|
511
|
-
|
512
|
-
lsm_str_skip_spaces (&string);
|
513
|
-
|
514
|
-
if (*string != ')' || i != 3)
|
515
|
-
color = 0;
|
516
|
-
|
517
|
-
*paint_type = LSM_SVG_PAINT_TYPE_RGB_COLOR;
|
518
|
-
} else if (strncmp (string, "hsl(", 4) == 0) {
|
519
|
-
double value[3];
|
520
|
-
int i;
|
521
|
-
|
522
|
-
string += 4; /* strlen ("hsl(") */
|
523
|
-
|
524
|
-
lsm_str_skip_spaces (&string);
|
525
|
-
|
526
|
-
for (i = 0; i < 3; i++) {
|
527
|
-
if (!lsm_str_parse_double (&string, &value[i]))
|
528
|
-
break;
|
529
|
-
|
530
|
-
if (i > 0) {
|
531
|
-
if (*string != '%')
|
532
|
-
break;
|
533
|
-
string++;
|
534
|
-
}
|
535
|
-
|
536
|
-
lsm_str_skip_comma_and_spaces (&string);
|
537
|
-
}
|
538
|
-
|
539
|
-
lsm_str_skip_spaces (&string);
|
540
|
-
|
541
|
-
if (*string == ')' && i == 3) {
|
542
|
-
double m1, m2;
|
543
|
-
double h,s,l;
|
544
|
-
|
545
|
-
h = value[0] / 360.0;
|
546
|
-
s = value[1] / 100.0;
|
547
|
-
l = value[2] / 100.0;
|
548
|
-
|
549
|
-
if (l <= 0.5)
|
550
|
-
m2 = l*(s + 1.0);
|
551
|
-
else
|
552
|
-
m2 = l + s - l * s;
|
553
|
-
m1 = l * 2.0 - m2;
|
554
|
-
|
555
|
-
svg_color->red = _hue_to_rgb (m1, m2, h + 1.0/3.0);
|
556
|
-
svg_color->green = _hue_to_rgb (m1, m2, h);
|
557
|
-
svg_color->blue = _hue_to_rgb (m1, m2, h - 1.0/3.0);
|
558
|
-
|
559
|
-
*paint_type = LSM_SVG_PAINT_TYPE_RGB_COLOR;
|
560
|
-
|
561
|
-
return string;
|
562
|
-
}
|
563
|
-
} else if (g_strcmp0 (string, "none") != 0) {
|
564
|
-
color = lsm_svg_color_from_string (string);
|
565
|
-
|
566
|
-
*paint_type = LSM_SVG_PAINT_TYPE_RGB_COLOR;
|
567
|
-
} else {
|
568
|
-
*paint_type = LSM_SVG_PAINT_TYPE_NONE;
|
569
|
-
}
|
570
|
-
|
571
|
-
svg_color->red = (double) ((color & 0xff0000) >> 16) / 255.0;
|
572
|
-
svg_color->green = (double) ((color & 0x00ff00) >> 8) / 255.0;
|
573
|
-
svg_color->blue = (double) (color & 0x0000ff) / 255.0;
|
574
|
-
|
575
|
-
return string;
|
576
|
-
}
|
577
|
-
|
578
|
-
static gboolean
|
579
|
-
lsm_svg_paint_trait_from_string (LsmTrait *abstract_trait, char *string)
|
580
|
-
{
|
581
|
-
LsmSvgPaint *paint = (LsmSvgPaint *) abstract_trait;
|
582
|
-
LsmSvgPaintType paint_type;
|
583
|
-
|
584
|
-
g_free (paint->url);
|
585
|
-
|
586
|
-
if (strncmp (string, "url(#", 5) == 0) {
|
587
|
-
unsigned int length;
|
588
|
-
|
589
|
-
length = 5;
|
590
|
-
while (string[length] != ')')
|
591
|
-
length++;
|
592
|
-
length++;
|
593
|
-
|
594
|
-
paint->url = g_new (char, length);
|
595
|
-
if (paint->url != NULL) {
|
596
|
-
memcpy (paint->url, string, length - 1);
|
597
|
-
paint->url[length - 1] = '\0';
|
598
|
-
}
|
599
|
-
string += length;
|
600
|
-
} else {
|
601
|
-
paint->url = NULL;
|
602
|
-
}
|
603
|
-
|
604
|
-
string = _parse_color (string, &paint->color, &paint_type);
|
605
|
-
|
606
|
-
if (paint->url != NULL)
|
607
|
-
switch (paint_type) {
|
608
|
-
case LSM_SVG_PAINT_TYPE_RGB_COLOR:
|
609
|
-
paint_type = LSM_SVG_PAINT_TYPE_URI_RGB_COLOR;
|
610
|
-
break;
|
611
|
-
case LSM_SVG_PAINT_TYPE_CURRENT_COLOR:
|
612
|
-
paint_type = LSM_SVG_PAINT_TYPE_URI_CURRENT_COLOR;
|
613
|
-
break;
|
614
|
-
case LSM_SVG_PAINT_TYPE_NONE:
|
615
|
-
paint_type = LSM_SVG_PAINT_TYPE_URI;
|
616
|
-
break;
|
617
|
-
case LSM_SVG_PAINT_TYPE_RGB_COLOR_ICC_COLOR:
|
618
|
-
paint_type = LSM_SVG_PAINT_TYPE_URI_RGB_COLOR_ICC_COLOR;
|
619
|
-
break;
|
620
|
-
default:
|
621
|
-
paint_type = LSM_SVG_PAINT_TYPE_URI;
|
622
|
-
break;
|
623
|
-
}
|
624
|
-
|
625
|
-
paint->type = paint_type;
|
626
|
-
|
627
|
-
/* TODO better syntax error check */
|
628
|
-
|
629
|
-
return TRUE;
|
630
|
-
}
|
631
|
-
|
632
|
-
static char *
|
633
|
-
lsm_svg_paint_trait_to_string (LsmTrait *abstract_trait)
|
634
|
-
{
|
635
|
-
LsmSvgPaint *paint = (LsmSvgPaint *) abstract_trait;
|
636
|
-
|
637
|
-
if (paint->color.red < 0.0 || paint->color.green < 0.0 || paint->color.blue < 0.0)
|
638
|
-
return g_strdup ("currentColor");
|
639
|
-
|
640
|
-
/* FIXME */
|
641
|
-
if (paint->url != NULL)
|
642
|
-
return g_strdup (paint->url);
|
643
|
-
|
644
|
-
return g_strdup_printf ("rgb(%g%%,%g%%,%g%%)",
|
645
|
-
100.0 * paint->color.red,
|
646
|
-
100.0 * paint->color.green,
|
647
|
-
100.0 * paint->color.blue);
|
648
|
-
}
|
649
|
-
|
650
|
-
const LsmTraitClass lsm_svg_paint_trait_class = {
|
651
|
-
.size = sizeof (LsmSvgPaint),
|
652
|
-
.from_string = lsm_svg_paint_trait_from_string,
|
653
|
-
.to_string = lsm_svg_paint_trait_to_string
|
654
|
-
};
|
655
|
-
|
656
|
-
static gboolean
|
657
|
-
lsm_svg_fill_rule_trait_from_string (LsmTrait *abstract_trait, char *string)
|
658
|
-
{
|
659
|
-
LsmSvgFillRule *trait = (LsmSvgFillRule *) abstract_trait;
|
660
|
-
|
661
|
-
*trait = lsm_svg_fill_rule_from_string (string);
|
662
|
-
|
663
|
-
return *trait >= 0;
|
664
|
-
}
|
665
|
-
|
666
|
-
static char *
|
667
|
-
lsm_svg_fill_rule_trait_to_string (LsmTrait *abstract_trait)
|
668
|
-
{
|
669
|
-
LsmSvgFillRule *trait = (LsmSvgFillRule *) abstract_trait;
|
670
|
-
|
671
|
-
return g_strdup (lsm_svg_fill_rule_to_string (*trait));
|
672
|
-
}
|
673
|
-
|
674
|
-
const LsmTraitClass lsm_svg_fill_rule_trait_class = {
|
675
|
-
.size = sizeof (LsmSvgFillRule),
|
676
|
-
.from_string = lsm_svg_fill_rule_trait_from_string,
|
677
|
-
.to_string = lsm_svg_fill_rule_trait_to_string
|
678
|
-
};
|
679
|
-
|
680
|
-
static gboolean
|
681
|
-
lsm_svg_font_style_trait_from_string (LsmTrait *abstract_trait, char *string)
|
682
|
-
{
|
683
|
-
LsmSvgFontStyle *trait = (LsmSvgFontStyle *) abstract_trait;
|
684
|
-
|
685
|
-
*trait = lsm_svg_font_style_from_string (string);
|
686
|
-
|
687
|
-
return *trait >= 0;
|
688
|
-
}
|
689
|
-
|
690
|
-
static char *
|
691
|
-
lsm_svg_font_style_trait_to_string (LsmTrait *abstract_trait)
|
692
|
-
{
|
693
|
-
LsmSvgFontStyle *trait = (LsmSvgFontStyle *) abstract_trait;
|
694
|
-
|
695
|
-
return g_strdup (lsm_svg_font_style_to_string (*trait));
|
696
|
-
}
|
697
|
-
|
698
|
-
const LsmTraitClass lsm_svg_font_style_trait_class = {
|
699
|
-
.size = sizeof (LsmSvgFontStyle),
|
700
|
-
.from_string = lsm_svg_font_style_trait_from_string,
|
701
|
-
.to_string = lsm_svg_font_style_trait_to_string
|
702
|
-
};
|
703
|
-
|
704
|
-
static gboolean
|
705
|
-
lsm_svg_font_stretch_trait_from_string (LsmTrait *abstract_trait, char *string)
|
706
|
-
{
|
707
|
-
LsmSvgFontStretch *trait = (LsmSvgFontStretch *) abstract_trait;
|
708
|
-
|
709
|
-
*trait = lsm_svg_font_stretch_from_string (string);
|
710
|
-
|
711
|
-
return *trait >= 0;
|
712
|
-
}
|
713
|
-
|
714
|
-
static char *
|
715
|
-
lsm_svg_font_stretch_trait_to_string (LsmTrait *abstract_trait)
|
716
|
-
{
|
717
|
-
LsmSvgFontStretch *trait = (LsmSvgFontStretch *) abstract_trait;
|
718
|
-
|
719
|
-
return g_strdup (lsm_svg_font_stretch_to_string (*trait));
|
720
|
-
}
|
721
|
-
|
722
|
-
const LsmTraitClass lsm_svg_font_stretch_trait_class = {
|
723
|
-
.size = sizeof (LsmSvgFontStretch),
|
724
|
-
.from_string = lsm_svg_font_stretch_trait_from_string,
|
725
|
-
.to_string = lsm_svg_font_stretch_trait_to_string
|
726
|
-
};
|
727
|
-
|
728
|
-
static gboolean
|
729
|
-
lsm_svg_font_weight_trait_from_string (LsmTrait *abstract_trait, char *string)
|
730
|
-
{
|
731
|
-
LsmSvgFontWeight *trait = (LsmSvgFontWeight *) abstract_trait;
|
732
|
-
|
733
|
-
*trait = lsm_svg_font_weight_from_string (string);
|
734
|
-
|
735
|
-
if (*trait < 0)
|
736
|
-
*trait = strtol (string, NULL, 10);
|
737
|
-
|
738
|
-
return *trait >= 100 && *trait <= 1000;
|
739
|
-
}
|
740
|
-
|
741
|
-
static char *
|
742
|
-
lsm_svg_font_weight_trait_to_string (LsmTrait *abstract_trait)
|
743
|
-
{
|
744
|
-
LsmSvgFontWeight *trait = (LsmSvgFontWeight *) abstract_trait;
|
745
|
-
const char *string;
|
746
|
-
|
747
|
-
string = lsm_svg_font_weight_to_string (*trait);
|
748
|
-
|
749
|
-
if (string != NULL)
|
750
|
-
return g_strdup (string);
|
751
|
-
|
752
|
-
return g_strdup_printf ("%d", *trait);
|
753
|
-
}
|
754
|
-
|
755
|
-
const LsmTraitClass lsm_svg_font_weight_trait_class = {
|
756
|
-
.size = sizeof (LsmSvgFontWeight),
|
757
|
-
.from_string = lsm_svg_font_weight_trait_from_string,
|
758
|
-
.to_string = lsm_svg_font_weight_trait_to_string
|
759
|
-
};
|
760
|
-
|
761
|
-
static gboolean
|
762
|
-
lsm_svg_line_join_trait_from_string (LsmTrait *abstract_trait, char *string)
|
763
|
-
{
|
764
|
-
LsmSvgLineJoin *trait = (LsmSvgLineJoin *) abstract_trait;
|
765
|
-
|
766
|
-
*trait = lsm_svg_line_join_from_string (string);
|
767
|
-
|
768
|
-
return *trait >= 0;
|
769
|
-
}
|
770
|
-
|
771
|
-
static char *
|
772
|
-
lsm_svg_line_join_trait_to_string (LsmTrait *abstract_trait)
|
773
|
-
{
|
774
|
-
LsmSvgLineJoin *trait = (LsmSvgLineJoin *) abstract_trait;
|
775
|
-
|
776
|
-
return g_strdup (lsm_svg_line_join_to_string (*trait));
|
777
|
-
}
|
778
|
-
|
779
|
-
const LsmTraitClass lsm_svg_line_join_trait_class = {
|
780
|
-
.size = sizeof (LsmSvgLineJoin),
|
781
|
-
.from_string = lsm_svg_line_join_trait_from_string,
|
782
|
-
.to_string = lsm_svg_line_join_trait_to_string
|
783
|
-
};
|
784
|
-
|
785
|
-
static gboolean
|
786
|
-
lsm_svg_line_cap_trait_from_string (LsmTrait *abstract_trait, char *string)
|
787
|
-
{
|
788
|
-
LsmSvgLineCap *trait = (LsmSvgLineCap *) abstract_trait;
|
789
|
-
|
790
|
-
*trait = lsm_svg_line_cap_from_string (string);
|
791
|
-
|
792
|
-
return *trait >= 0;
|
793
|
-
}
|
794
|
-
|
795
|
-
static char *
|
796
|
-
lsm_svg_line_cap_trait_to_string (LsmTrait *abstract_trait)
|
797
|
-
{
|
798
|
-
LsmSvgLineCap *trait = (LsmSvgLineCap *) abstract_trait;
|
799
|
-
|
800
|
-
return g_strdup (lsm_svg_line_cap_to_string (*trait));
|
801
|
-
}
|
802
|
-
|
803
|
-
const LsmTraitClass lsm_svg_line_cap_trait_class = {
|
804
|
-
.size = sizeof (LsmSvgLineCap),
|
805
|
-
.from_string = lsm_svg_line_cap_trait_from_string,
|
806
|
-
.to_string = lsm_svg_line_cap_trait_to_string
|
807
|
-
};
|
808
|
-
|
809
|
-
LsmSvgDashArray *
|
810
|
-
lsm_svg_dash_array_new (unsigned int n_dashes)
|
811
|
-
{
|
812
|
-
LsmSvgDashArray *array;
|
813
|
-
|
814
|
-
g_return_val_if_fail (n_dashes > 0, (LsmSvgDashArray *) &lsm_svg_dash_array_null);
|
815
|
-
|
816
|
-
array = g_new (LsmSvgDashArray, 1);
|
817
|
-
array->n_dashes = n_dashes;
|
818
|
-
array->dashes = g_new (LsmSvgLength, n_dashes);
|
819
|
-
|
820
|
-
return array;
|
821
|
-
}
|
822
|
-
|
823
|
-
void
|
824
|
-
lsm_svg_dash_array_free (LsmSvgDashArray *array)
|
825
|
-
{
|
826
|
-
if (array == NULL || array == &lsm_svg_dash_array_null)
|
827
|
-
return;
|
828
|
-
|
829
|
-
g_free (array->dashes);
|
830
|
-
g_free (array);
|
831
|
-
}
|
832
|
-
|
833
|
-
LsmSvgDashArray *
|
834
|
-
lsm_svg_dash_array_duplicate (const LsmSvgDashArray *origin)
|
835
|
-
{
|
836
|
-
LsmSvgDashArray *duplicate;
|
837
|
-
|
838
|
-
if (origin == NULL || origin == &lsm_svg_dash_array_null)
|
839
|
-
return (LsmSvgDashArray *) &lsm_svg_dash_array_null;
|
840
|
-
|
841
|
-
duplicate = lsm_svg_dash_array_new (origin->n_dashes);
|
842
|
-
|
843
|
-
if (duplicate != &lsm_svg_dash_array_null)
|
844
|
-
memcpy (duplicate->dashes, origin->dashes, sizeof (LsmSvgLength) * origin->n_dashes);
|
845
|
-
|
846
|
-
return duplicate;
|
847
|
-
}
|
848
|
-
|
849
|
-
static gboolean
|
850
|
-
lsm_svg_dash_array_trait_from_string (LsmTrait *abstract_trait, char *string)
|
851
|
-
{
|
852
|
-
LsmSvgDashArray *dash_array = (LsmSvgDashArray *) abstract_trait;
|
853
|
-
unsigned int n_dashes = 1;
|
854
|
-
double value;
|
855
|
-
double sum = 0.0;
|
856
|
-
gboolean is_error = FALSE;
|
857
|
-
|
858
|
-
g_free (dash_array->dashes);
|
859
|
-
dash_array->n_dashes = 0;
|
860
|
-
dash_array->dashes = NULL;
|
861
|
-
|
862
|
-
if (strcmp (string, "none") != 0 &&
|
863
|
-
strcmp (string, "inherit")) {
|
864
|
-
char *iter = (char *) string;
|
865
|
-
unsigned int i;
|
866
|
-
|
867
|
-
while (*iter != '\0') {
|
868
|
-
if (*iter == ',' ||
|
869
|
-
*iter == ' ') {
|
870
|
-
n_dashes++;
|
871
|
-
do {
|
872
|
-
iter++;
|
873
|
-
} while (*iter == ',' ||
|
874
|
-
*iter == ' ');
|
875
|
-
} else
|
876
|
-
iter++;
|
877
|
-
}
|
878
|
-
|
879
|
-
if (n_dashes > 0) {
|
880
|
-
LsmSvgLength length;
|
881
|
-
|
882
|
-
dash_array->n_dashes = n_dashes;
|
883
|
-
dash_array->dashes = g_new (LsmSvgLength, n_dashes);
|
884
|
-
|
885
|
-
iter = (char *)string;
|
886
|
-
lsm_str_skip_spaces (&iter);
|
887
|
-
|
888
|
-
for (i = 0; i < n_dashes; i++) {
|
889
|
-
if (lsm_str_parse_double (&iter, &length.value_unit)) {
|
890
|
-
length.type = lsm_svg_length_type_from_string (iter);
|
891
|
-
dash_array->dashes[i] = length;
|
892
|
-
while (*iter != '\0' && *iter != ' ' && *iter != ',')
|
893
|
-
iter ++;
|
894
|
-
} else {
|
895
|
-
dash_array->dashes[i].value_unit = 0.0;
|
896
|
-
dash_array->dashes[i].type = LSM_SVG_LENGTH_TYPE_NUMBER;
|
897
|
-
}
|
898
|
-
lsm_str_skip_comma_and_spaces (&iter);
|
899
|
-
|
900
|
-
value = dash_array->dashes[i].value_unit;
|
901
|
-
if (value < 0.0) {
|
902
|
-
is_error = TRUE;
|
903
|
-
break;
|
904
|
-
}
|
905
|
-
sum += value;
|
906
|
-
}
|
907
|
-
}
|
908
|
-
|
909
|
-
if (is_error || sum <= 0.0) {
|
910
|
-
g_free (dash_array->dashes);
|
911
|
-
dash_array->n_dashes = 0;
|
912
|
-
dash_array->dashes = NULL;
|
913
|
-
|
914
|
-
return !is_error;
|
915
|
-
}
|
916
|
-
}
|
917
|
-
|
918
|
-
return TRUE;
|
919
|
-
}
|
920
|
-
|
921
|
-
static char *
|
922
|
-
lsm_svg_dash_array_trait_to_string (LsmTrait *abstract_trait)
|
923
|
-
{
|
924
|
-
g_assert_not_reached ();
|
925
|
-
|
926
|
-
return NULL;
|
927
|
-
}
|
928
|
-
|
929
|
-
static void
|
930
|
-
lsm_svg_dash_array_trait_finalize (LsmTrait *abstract_trait)
|
931
|
-
{
|
932
|
-
LsmSvgDashArray *dash_array = (LsmSvgDashArray *) abstract_trait;
|
933
|
-
|
934
|
-
g_free (dash_array->dashes);
|
935
|
-
dash_array->n_dashes = 0;
|
936
|
-
dash_array->dashes = NULL;
|
937
|
-
}
|
938
|
-
|
939
|
-
const LsmTraitClass lsm_svg_dash_array_trait_class = {
|
940
|
-
.size = sizeof (LsmSvgDashArray),
|
941
|
-
.from_string = lsm_svg_dash_array_trait_from_string,
|
942
|
-
.to_string = lsm_svg_dash_array_trait_to_string,
|
943
|
-
.finalize = lsm_svg_dash_array_trait_finalize
|
944
|
-
};
|
945
|
-
|
946
|
-
static gboolean
|
947
|
-
lsm_svg_display_trait_from_string (LsmTrait *abstract_trait, char *string)
|
948
|
-
{
|
949
|
-
LsmSvgDisplay *trait = (LsmSvgDisplay *) abstract_trait;
|
950
|
-
|
951
|
-
*trait = lsm_svg_display_from_string (string);
|
952
|
-
|
953
|
-
return *trait >= 0;
|
954
|
-
}
|
955
|
-
|
956
|
-
static char *
|
957
|
-
lsm_svg_display_trait_to_string (LsmTrait *abstract_trait)
|
958
|
-
{
|
959
|
-
LsmSvgDisplay *trait = (LsmSvgDisplay *) abstract_trait;
|
960
|
-
|
961
|
-
return g_strdup (lsm_svg_display_to_string (*trait));
|
962
|
-
}
|
963
|
-
|
964
|
-
const LsmTraitClass lsm_svg_display_trait_class = {
|
965
|
-
.size = sizeof (LsmSvgDisplay),
|
966
|
-
.from_string = lsm_svg_display_trait_from_string,
|
967
|
-
.to_string = lsm_svg_display_trait_to_string
|
968
|
-
};
|
969
|
-
|
970
|
-
static gboolean
|
971
|
-
lsm_svg_color_trait_from_string (LsmTrait *abstract_trait, char *string)
|
972
|
-
{
|
973
|
-
LsmSvgColor *color = (LsmSvgColor *) abstract_trait;
|
974
|
-
LsmSvgPaintType paint_type;
|
975
|
-
|
976
|
-
_parse_color (string, color, &paint_type);
|
977
|
-
|
978
|
-
/* TODO Better error check */
|
979
|
-
|
980
|
-
return TRUE;
|
981
|
-
}
|
982
|
-
|
983
|
-
static char *
|
984
|
-
lsm_svg_color_trait_to_string (LsmTrait *abstract_trait)
|
985
|
-
{
|
986
|
-
LsmSvgColor *color = (LsmSvgColor *) abstract_trait;
|
987
|
-
|
988
|
-
if (color->red < 0.0 || color->green < 0.0 || color->blue < 0.0)
|
989
|
-
return g_strdup ("currentColor");
|
990
|
-
|
991
|
-
return g_strdup_printf ("rgb(%g%%,%g%%,%g%%)",
|
992
|
-
100.0 * color->red,
|
993
|
-
100.0 * color->green,
|
994
|
-
100.0 * color->blue);
|
995
|
-
}
|
996
|
-
|
997
|
-
const LsmTraitClass lsm_svg_color_trait_class = {
|
998
|
-
.size = sizeof (LsmSvgColor),
|
999
|
-
.from_string = lsm_svg_color_trait_from_string,
|
1000
|
-
.to_string = lsm_svg_color_trait_to_string
|
1001
|
-
};
|
1002
|
-
|
1003
|
-
static gboolean
|
1004
|
-
lsm_svg_color_filter_type_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1005
|
-
{
|
1006
|
-
LsmSvgColorFilterType *trait = (LsmSvgColorFilterType *) abstract_trait;
|
1007
|
-
|
1008
|
-
*trait = lsm_svg_color_filter_type_from_string (string);
|
1009
|
-
|
1010
|
-
return *trait >= 0;
|
1011
|
-
}
|
1012
|
-
|
1013
|
-
static char *
|
1014
|
-
lsm_svg_color_filter_type_trait_to_string (LsmTrait *abstract_trait)
|
1015
|
-
{
|
1016
|
-
LsmSvgColorFilterType *trait = (LsmSvgColorFilterType *) abstract_trait;
|
1017
|
-
|
1018
|
-
return g_strdup (lsm_svg_color_filter_type_to_string (*trait));
|
1019
|
-
}
|
1020
|
-
|
1021
|
-
const LsmTraitClass lsm_svg_color_filter_type_trait_class = {
|
1022
|
-
.size = sizeof (LsmSvgColorFilterType),
|
1023
|
-
.from_string = lsm_svg_color_filter_type_trait_from_string,
|
1024
|
-
.to_string = lsm_svg_color_filter_type_trait_to_string
|
1025
|
-
};
|
1026
|
-
|
1027
|
-
static gboolean
|
1028
|
-
lsm_svg_marker_units_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1029
|
-
{
|
1030
|
-
LsmSvgMarkerUnits *trait = (LsmSvgMarkerUnits *) abstract_trait;
|
1031
|
-
|
1032
|
-
*trait = lsm_svg_marker_units_from_string (string);
|
1033
|
-
|
1034
|
-
return *trait >= 0;
|
1035
|
-
}
|
1036
|
-
|
1037
|
-
static char *
|
1038
|
-
lsm_svg_marker_units_trait_to_string (LsmTrait *abstract_trait)
|
1039
|
-
{
|
1040
|
-
LsmSvgMarkerUnits *trait = (LsmSvgMarkerUnits *) abstract_trait;
|
1041
|
-
|
1042
|
-
return g_strdup (lsm_svg_marker_units_to_string (*trait));
|
1043
|
-
}
|
1044
|
-
|
1045
|
-
const LsmTraitClass lsm_svg_marker_units_trait_class = {
|
1046
|
-
.size = sizeof (LsmSvgMarkerUnits),
|
1047
|
-
.from_string = lsm_svg_marker_units_trait_from_string,
|
1048
|
-
.to_string = lsm_svg_marker_units_trait_to_string
|
1049
|
-
};
|
1050
|
-
|
1051
|
-
static gboolean
|
1052
|
-
lsm_svg_pattern_units_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1053
|
-
{
|
1054
|
-
LsmSvgPatternUnits *trait = (LsmSvgPatternUnits *) abstract_trait;
|
1055
|
-
|
1056
|
-
*trait = lsm_svg_pattern_units_from_string (string);
|
1057
|
-
|
1058
|
-
return *trait >= 0;
|
1059
|
-
}
|
1060
|
-
|
1061
|
-
static char *
|
1062
|
-
lsm_svg_pattern_units_trait_to_string (LsmTrait *abstract_trait)
|
1063
|
-
{
|
1064
|
-
LsmSvgPatternUnits *trait = (LsmSvgPatternUnits *) abstract_trait;
|
1065
|
-
|
1066
|
-
return g_strdup (lsm_svg_pattern_units_to_string (*trait));
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
const LsmTraitClass lsm_svg_pattern_units_trait_class = {
|
1070
|
-
.size = sizeof (LsmSvgPatternUnits),
|
1071
|
-
.from_string = lsm_svg_pattern_units_trait_from_string,
|
1072
|
-
.to_string = lsm_svg_pattern_units_trait_to_string
|
1073
|
-
};
|
1074
|
-
|
1075
|
-
static gboolean
|
1076
|
-
lsm_svg_preserve_aspect_ratio_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1077
|
-
{
|
1078
|
-
LsmSvgPreserveAspectRatio *trait = (LsmSvgPreserveAspectRatio *) abstract_trait;
|
1079
|
-
|
1080
|
-
char **tokens;
|
1081
|
-
unsigned int i = 0;
|
1082
|
-
|
1083
|
-
tokens = g_strsplit (string, " ", -1);
|
1084
|
-
|
1085
|
-
if (tokens[i] != NULL && strcmp (tokens[i], "defer") == 0) {
|
1086
|
-
trait->defer = TRUE;
|
1087
|
-
i++;
|
1088
|
-
} else
|
1089
|
-
trait->defer = FALSE;
|
1090
|
-
|
1091
|
-
if (tokens[i] != NULL) {
|
1092
|
-
trait->align = lsm_svg_align_from_string (tokens[i]);
|
1093
|
-
i++;
|
1094
|
-
if (tokens[i] != NULL)
|
1095
|
-
trait->meet_or_slice = lsm_svg_meet_or_slice_from_string (tokens[i]);
|
1096
|
-
else
|
1097
|
-
trait->meet_or_slice = LSM_SVG_MEET_OR_SLICE_MEET;
|
1098
|
-
} else trait->align = LSM_SVG_ALIGN_X_MID_Y_MID;
|
1099
|
-
|
1100
|
-
g_strfreev (tokens);
|
1101
|
-
|
1102
|
-
/* TODO Better error check */
|
1103
|
-
|
1104
|
-
return TRUE;
|
1105
|
-
}
|
1106
|
-
|
1107
|
-
static char *
|
1108
|
-
lsm_svg_preserve_aspect_ratio_trait_to_string (LsmTrait *abstract_trait)
|
1109
|
-
{
|
1110
|
-
LsmSvgPreserveAspectRatio *trait = (LsmSvgPreserveAspectRatio *) abstract_trait;
|
1111
|
-
|
1112
|
-
return g_strdup_printf ("%s%s %s", trait->defer ? "defer " : "",
|
1113
|
-
lsm_svg_align_to_string (trait->align),
|
1114
|
-
lsm_svg_meet_or_slice_to_string (trait->meet_or_slice));
|
1115
|
-
}
|
1116
|
-
|
1117
|
-
const LsmTraitClass lsm_svg_preserve_aspect_ratio_trait_class = {
|
1118
|
-
.size = sizeof (LsmSvgPreserveAspectRatio),
|
1119
|
-
.from_string = lsm_svg_preserve_aspect_ratio_trait_from_string,
|
1120
|
-
.to_string = lsm_svg_preserve_aspect_ratio_trait_to_string
|
1121
|
-
};
|
1122
|
-
|
1123
|
-
static gboolean
|
1124
|
-
lsm_svg_spread_method_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1125
|
-
{
|
1126
|
-
LsmSvgSpreadMethod *trait = (LsmSvgSpreadMethod *) abstract_trait;
|
1127
|
-
|
1128
|
-
*trait = lsm_svg_spread_method_from_string (string);
|
1129
|
-
|
1130
|
-
return *trait >= 0;
|
1131
|
-
}
|
1132
|
-
|
1133
|
-
static char *
|
1134
|
-
lsm_svg_spread_method_trait_to_string (LsmTrait *abstract_trait)
|
1135
|
-
{
|
1136
|
-
LsmSvgSpreadMethod *trait = (LsmSvgSpreadMethod *) abstract_trait;
|
1137
|
-
|
1138
|
-
return g_strdup (lsm_svg_spread_method_to_string (*trait));
|
1139
|
-
}
|
1140
|
-
|
1141
|
-
const LsmTraitClass lsm_svg_spread_method_trait_class = {
|
1142
|
-
.size = sizeof (LsmSvgSpreadMethod),
|
1143
|
-
.from_string = lsm_svg_spread_method_trait_from_string,
|
1144
|
-
.to_string = lsm_svg_spread_method_trait_to_string
|
1145
|
-
};
|
1146
|
-
|
1147
|
-
static gboolean
|
1148
|
-
lsm_svg_angle_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1149
|
-
{
|
1150
|
-
LsmSvgAngle *trait = (LsmSvgAngle *) abstract_trait;
|
1151
|
-
char *end_ptr;
|
1152
|
-
|
1153
|
-
if (g_strcmp0 (string, "auto") == 0) {
|
1154
|
-
trait->type = LSM_SVG_ANGLE_TYPE_AUTO;
|
1155
|
-
trait->angle = 0.0;
|
1156
|
-
|
1157
|
-
return TRUE;
|
1158
|
-
}
|
1159
|
-
|
1160
|
-
trait->type = LSM_SVG_ANGLE_TYPE_FIXED;
|
1161
|
-
trait->angle = g_ascii_strtod (string, &end_ptr);
|
1162
|
-
|
1163
|
-
return end_ptr != string;
|
1164
|
-
}
|
1165
|
-
|
1166
|
-
static char *
|
1167
|
-
lsm_svg_angle_trait_to_string (LsmTrait *abstract_trait)
|
1168
|
-
{
|
1169
|
-
LsmSvgAngle *trait = (LsmSvgAngle *) abstract_trait;
|
1170
|
-
|
1171
|
-
if (trait->type == LSM_SVG_ANGLE_TYPE_AUTO)
|
1172
|
-
return g_strdup ("auto");
|
1173
|
-
|
1174
|
-
return g_strdup_printf ("%g", trait->angle);
|
1175
|
-
}
|
1176
|
-
|
1177
|
-
const LsmTraitClass lsm_svg_angle_trait_class = {
|
1178
|
-
.size = sizeof (LsmSvgAngle),
|
1179
|
-
.from_string = lsm_svg_angle_trait_from_string,
|
1180
|
-
.to_string = lsm_svg_angle_trait_to_string
|
1181
|
-
};
|
1182
|
-
|
1183
|
-
static gboolean
|
1184
|
-
lsm_svg_text_anchor_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1185
|
-
{
|
1186
|
-
LsmSvgTextAnchor *trait = (LsmSvgTextAnchor *) abstract_trait;
|
1187
|
-
|
1188
|
-
*trait = lsm_svg_text_anchor_from_string (string);
|
1189
|
-
|
1190
|
-
return *trait >= 0;
|
1191
|
-
}
|
1192
|
-
|
1193
|
-
static char *
|
1194
|
-
lsm_svg_text_anchor_trait_to_string (LsmTrait *abstract_trait)
|
1195
|
-
{
|
1196
|
-
LsmSvgTextAnchor *trait = (LsmSvgTextAnchor *) abstract_trait;
|
1197
|
-
|
1198
|
-
return g_strdup (lsm_svg_text_anchor_to_string (*trait));
|
1199
|
-
}
|
1200
|
-
|
1201
|
-
const LsmTraitClass lsm_svg_text_anchor_trait_class = {
|
1202
|
-
.size = sizeof (LsmSvgTextAnchor),
|
1203
|
-
.from_string = lsm_svg_text_anchor_trait_from_string,
|
1204
|
-
.to_string = lsm_svg_text_anchor_trait_to_string
|
1205
|
-
};
|
1206
|
-
|
1207
|
-
static gboolean
|
1208
|
-
lsm_svg_visibility_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1209
|
-
{
|
1210
|
-
LsmSvgVisibility *trait = (LsmSvgVisibility *) abstract_trait;
|
1211
|
-
|
1212
|
-
*trait = lsm_svg_visibility_from_string (string);
|
1213
|
-
|
1214
|
-
return *trait >= 0;
|
1215
|
-
}
|
1216
|
-
|
1217
|
-
static char *
|
1218
|
-
lsm_svg_visibility_trait_to_string (LsmTrait *abstract_trait)
|
1219
|
-
{
|
1220
|
-
LsmSvgVisibility *trait = (LsmSvgVisibility *) abstract_trait;
|
1221
|
-
|
1222
|
-
return g_strdup (lsm_svg_visibility_to_string (*trait));
|
1223
|
-
}
|
1224
|
-
|
1225
|
-
const LsmTraitClass lsm_svg_visibility_trait_class = {
|
1226
|
-
.size = sizeof (LsmSvgVisibility),
|
1227
|
-
.from_string = lsm_svg_visibility_trait_from_string,
|
1228
|
-
.to_string = lsm_svg_visibility_trait_to_string
|
1229
|
-
};
|
1230
|
-
|
1231
|
-
static gboolean
|
1232
|
-
lsm_svg_one_or_two_double_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1233
|
-
{
|
1234
|
-
LsmSvgOneOrTwoDouble *trait = (LsmSvgOneOrTwoDouble *) abstract_trait;
|
1235
|
-
char *end_ptr;
|
1236
|
-
|
1237
|
-
trait->a = g_ascii_strtod (string, &end_ptr);
|
1238
|
-
if (end_ptr == string) {
|
1239
|
-
trait->b = 0.0;
|
1240
|
-
return FALSE;
|
1241
|
-
}
|
1242
|
-
|
1243
|
-
string = end_ptr;
|
1244
|
-
|
1245
|
-
lsm_str_skip_spaces (&string);
|
1246
|
-
|
1247
|
-
if (string[0] == '\0') {
|
1248
|
-
trait->b = trait->a;
|
1249
|
-
return TRUE;
|
1250
|
-
}
|
1251
|
-
|
1252
|
-
trait->b = g_ascii_strtod (string, &end_ptr);
|
1253
|
-
|
1254
|
-
return end_ptr != string;
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
static char *
|
1258
|
-
lsm_svg_one_or_two_double_trait_to_string (LsmTrait *abstract_trait)
|
1259
|
-
{
|
1260
|
-
LsmSvgOneOrTwoDouble *trait = (LsmSvgOneOrTwoDouble *) abstract_trait;
|
1261
|
-
|
1262
|
-
if (trait->a == trait->b)
|
1263
|
-
return g_strdup_printf ("%g", trait->a);
|
1264
|
-
|
1265
|
-
return g_strdup_printf ("%g %g", trait->a, trait->b);
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
const LsmTraitClass lsm_svg_one_or_two_double_trait_class = {
|
1269
|
-
.size = sizeof (double),
|
1270
|
-
.from_string = lsm_svg_one_or_two_double_trait_from_string,
|
1271
|
-
.to_string = lsm_svg_one_or_two_double_trait_to_string
|
1272
|
-
};
|
1273
|
-
|
1274
|
-
static gboolean
|
1275
|
-
lsm_svg_one_or_two_integer_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1276
|
-
{
|
1277
|
-
LsmSvgOneOrTwoInteger *trait = (LsmSvgOneOrTwoInteger *) abstract_trait;
|
1278
|
-
char *end_ptr;
|
1279
|
-
|
1280
|
-
trait->a = g_ascii_strtoll (string, &end_ptr, 10);
|
1281
|
-
if (end_ptr == string) {
|
1282
|
-
trait->a = 0;
|
1283
|
-
trait->b = 0;
|
1284
|
-
return FALSE;
|
1285
|
-
}
|
1286
|
-
|
1287
|
-
string = end_ptr;
|
1288
|
-
|
1289
|
-
lsm_str_skip_spaces (&string);
|
1290
|
-
|
1291
|
-
if (string[0] == '\0') {
|
1292
|
-
trait->b = trait->a;
|
1293
|
-
return TRUE;
|
1294
|
-
}
|
1295
|
-
|
1296
|
-
trait->b = g_ascii_strtoll (string, &end_ptr, 10);
|
1297
|
-
|
1298
|
-
return TRUE;
|
1299
|
-
}
|
1300
|
-
|
1301
|
-
static char *
|
1302
|
-
lsm_svg_one_or_two_integer_trait_to_string (LsmTrait *abstract_trait)
|
1303
|
-
{
|
1304
|
-
LsmSvgOneOrTwoInteger *trait = (LsmSvgOneOrTwoInteger *) abstract_trait;
|
1305
|
-
|
1306
|
-
return g_strdup_printf ("%d %d", trait->a, trait->b);
|
1307
|
-
}
|
1308
|
-
|
1309
|
-
const LsmTraitClass lsm_svg_one_or_two_integer_trait_class = {
|
1310
|
-
.size = sizeof (double),
|
1311
|
-
.from_string = lsm_svg_one_or_two_integer_trait_from_string,
|
1312
|
-
.to_string = lsm_svg_one_or_two_integer_trait_to_string
|
1313
|
-
};
|
1314
|
-
|
1315
|
-
static gboolean
|
1316
|
-
lsm_svg_overflow_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1317
|
-
{
|
1318
|
-
LsmSvgOverflow *trait = (LsmSvgOverflow *) abstract_trait;
|
1319
|
-
|
1320
|
-
*trait = lsm_svg_overflow_from_string (string);
|
1321
|
-
|
1322
|
-
return *trait >= 0;
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
static char *
|
1326
|
-
lsm_svg_overflow_trait_to_string (LsmTrait *abstract_trait)
|
1327
|
-
{
|
1328
|
-
LsmSvgOverflow *trait = (LsmSvgOverflow *) abstract_trait;
|
1329
|
-
|
1330
|
-
return g_strdup (lsm_svg_overflow_to_string (*trait));
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
const LsmTraitClass lsm_svg_overflow_trait_class = {
|
1334
|
-
.size = sizeof (LsmSvgOverflow),
|
1335
|
-
.from_string = lsm_svg_overflow_trait_from_string,
|
1336
|
-
.to_string = lsm_svg_overflow_trait_to_string
|
1337
|
-
};
|
1338
|
-
|
1339
|
-
static gboolean
|
1340
|
-
lsm_svg_writing_mode_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1341
|
-
{
|
1342
|
-
LsmSvgWritingMode *trait = (LsmSvgWritingMode *) abstract_trait;
|
1343
|
-
|
1344
|
-
*trait = lsm_svg_writing_mode_from_string (string);
|
1345
|
-
|
1346
|
-
return *trait >= 0;
|
1347
|
-
}
|
1348
|
-
|
1349
|
-
static char *
|
1350
|
-
lsm_svg_writing_mode_trait_to_string (LsmTrait *abstract_trait)
|
1351
|
-
{
|
1352
|
-
LsmSvgWritingMode *trait = (LsmSvgWritingMode *) abstract_trait;
|
1353
|
-
|
1354
|
-
return g_strdup (lsm_svg_writing_mode_to_string (*trait));
|
1355
|
-
}
|
1356
|
-
|
1357
|
-
const LsmTraitClass lsm_svg_writing_mode_trait_class = {
|
1358
|
-
.size = sizeof (LsmSvgWritingMode),
|
1359
|
-
.from_string = lsm_svg_writing_mode_trait_from_string,
|
1360
|
-
.to_string = lsm_svg_writing_mode_trait_to_string
|
1361
|
-
};
|
1362
|
-
|
1363
|
-
static gboolean
|
1364
|
-
lsm_svg_morphology_operator_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1365
|
-
{
|
1366
|
-
LsmSvgMorphologyOperator *trait = (LsmSvgMorphologyOperator *) abstract_trait;
|
1367
|
-
|
1368
|
-
*trait = lsm_svg_morphology_operator_from_string (string);
|
1369
|
-
|
1370
|
-
return *trait >= 0;
|
1371
|
-
}
|
1372
|
-
|
1373
|
-
static char *
|
1374
|
-
lsm_svg_morphology_operator_trait_to_string (LsmTrait *abstract_trait)
|
1375
|
-
{
|
1376
|
-
LsmSvgMorphologyOperator *trait = (LsmSvgMorphologyOperator *) abstract_trait;
|
1377
|
-
|
1378
|
-
return g_strdup (lsm_svg_morphology_operator_to_string (*trait));
|
1379
|
-
}
|
1380
|
-
|
1381
|
-
const LsmTraitClass lsm_svg_morphology_operator_trait_class = {
|
1382
|
-
.size = sizeof (LsmSvgMorphologyOperator),
|
1383
|
-
.from_string = lsm_svg_morphology_operator_trait_from_string,
|
1384
|
-
.to_string = lsm_svg_morphology_operator_trait_to_string
|
1385
|
-
};
|
1386
|
-
|
1387
|
-
static gboolean
|
1388
|
-
lsm_svg_edge_mode_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1389
|
-
{
|
1390
|
-
LsmSvgEdgeMode *trait = (LsmSvgEdgeMode *) abstract_trait;
|
1391
|
-
|
1392
|
-
*trait = lsm_svg_edge_mode_from_string (string);
|
1393
|
-
|
1394
|
-
return *trait >= 0;
|
1395
|
-
}
|
1396
|
-
|
1397
|
-
static char *
|
1398
|
-
lsm_svg_edge_mode_trait_to_string (LsmTrait *abstract_trait)
|
1399
|
-
{
|
1400
|
-
LsmSvgEdgeMode *trait = (LsmSvgEdgeMode *) abstract_trait;
|
1401
|
-
|
1402
|
-
return g_strdup (lsm_svg_edge_mode_to_string (*trait));
|
1403
|
-
}
|
1404
|
-
|
1405
|
-
const LsmTraitClass lsm_svg_edge_mode_trait_class = {
|
1406
|
-
.size = sizeof (LsmSvgEdgeMode),
|
1407
|
-
.from_string = lsm_svg_edge_mode_trait_from_string,
|
1408
|
-
.to_string = lsm_svg_edge_mode_trait_to_string
|
1409
|
-
};
|
1410
|
-
|
1411
|
-
static gboolean
|
1412
|
-
lsm_svg_stitch_tiles_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1413
|
-
{
|
1414
|
-
LsmSvgStitchTiles *trait = (LsmSvgStitchTiles *) abstract_trait;
|
1415
|
-
|
1416
|
-
*trait = lsm_svg_stitch_tiles_from_string (string);
|
1417
|
-
|
1418
|
-
return *trait >= 0;
|
1419
|
-
}
|
1420
|
-
|
1421
|
-
static char *
|
1422
|
-
lsm_svg_stitch_tiles_trait_to_string (LsmTrait *abstract_trait)
|
1423
|
-
{
|
1424
|
-
LsmSvgStitchTiles *trait = (LsmSvgStitchTiles *) abstract_trait;
|
1425
|
-
|
1426
|
-
return g_strdup (lsm_svg_stitch_tiles_to_string (*trait));
|
1427
|
-
}
|
1428
|
-
|
1429
|
-
const LsmTraitClass lsm_svg_stitch_tiles_trait_class = {
|
1430
|
-
.size = sizeof (LsmSvgStitchTiles),
|
1431
|
-
.from_string = lsm_svg_stitch_tiles_trait_from_string,
|
1432
|
-
.to_string = lsm_svg_stitch_tiles_trait_to_string
|
1433
|
-
};
|
1434
|
-
|
1435
|
-
static gboolean
|
1436
|
-
lsm_svg_turbulence_type_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1437
|
-
{
|
1438
|
-
LsmSvgTurbulenceType *trait = (LsmSvgTurbulenceType *) abstract_trait;
|
1439
|
-
|
1440
|
-
*trait = lsm_svg_turbulence_type_from_string (string);
|
1441
|
-
|
1442
|
-
return *trait >= 0;
|
1443
|
-
}
|
1444
|
-
|
1445
|
-
static char *
|
1446
|
-
lsm_svg_turbulence_type_trait_to_string (LsmTrait *abstract_trait)
|
1447
|
-
{
|
1448
|
-
LsmSvgTurbulenceType *trait = (LsmSvgTurbulenceType *) abstract_trait;
|
1449
|
-
|
1450
|
-
return g_strdup (lsm_svg_turbulence_type_to_string (*trait));
|
1451
|
-
}
|
1452
|
-
|
1453
|
-
const LsmTraitClass lsm_svg_turbulence_type_trait_class = {
|
1454
|
-
.size = sizeof (LsmSvgTurbulenceType),
|
1455
|
-
.from_string = lsm_svg_turbulence_type_trait_from_string,
|
1456
|
-
.to_string = lsm_svg_turbulence_type_trait_to_string
|
1457
|
-
};
|
1458
|
-
|
1459
|
-
static gboolean
|
1460
|
-
lsm_svg_channel_selector_trait_from_string (LsmTrait *abstract_trait, char *string)
|
1461
|
-
{
|
1462
|
-
LsmSvgChannelSelector *trait = (LsmSvgChannelSelector *) abstract_trait;
|
1463
|
-
|
1464
|
-
*trait = lsm_svg_channel_selector_from_string (string);
|
1465
|
-
|
1466
|
-
return *trait >= 0;
|
1467
|
-
}
|
1468
|
-
|
1469
|
-
static char *
|
1470
|
-
lsm_svg_channel_selector_trait_to_string (LsmTrait *abstract_trait)
|
1471
|
-
{
|
1472
|
-
LsmSvgChannelSelector *trait = (LsmSvgChannelSelector *) abstract_trait;
|
1473
|
-
|
1474
|
-
return g_strdup (lsm_svg_channel_selector_to_string (*trait));
|
1475
|
-
}
|
1476
|
-
|
1477
|
-
const LsmTraitClass lsm_svg_channel_selector_trait_class = {
|
1478
|
-
.size = sizeof (LsmSvgChannelSelector),
|
1479
|
-
.from_string = lsm_svg_channel_selector_trait_from_string,
|
1480
|
-
.to_string = lsm_svg_channel_selector_trait_to_string
|
1481
|
-
};
|