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,1325 +0,0 @@
|
|
1
|
-
/* Lasem
|
2
|
-
*
|
3
|
-
* Copyright © 2007-2012 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 <lsmdebug.h>
|
25
|
-
#include <lsmmathmlview.h>
|
26
|
-
#include <lsmmathmldocument.h>
|
27
|
-
#include <lsmmathmlelement.h>
|
28
|
-
#include <lsmmathmlmathelement.h>
|
29
|
-
#include <lsmmathmlstyleelement.h>
|
30
|
-
#include <lsmmathmlglyphtableams.h>
|
31
|
-
#include <glib/gprintf.h>
|
32
|
-
|
33
|
-
#include <math.h>
|
34
|
-
#include <string.h>
|
35
|
-
|
36
|
-
typedef enum {
|
37
|
-
_GMATHML_STROKE_WIDTH_EVEN,
|
38
|
-
_GMATHML_STROKE_WIDTH_ODD,
|
39
|
-
_GMATHML_STROKE_WIDTH_NULL,
|
40
|
-
_GMATHML_STROKE_WIDTH_VECTOR
|
41
|
-
} _LsmMathmlStrokeWidth;
|
42
|
-
|
43
|
-
#define LSM_MATHML_LARGE_OP_SCALE 1.6
|
44
|
-
|
45
|
-
static const char *lsm_mathml_font_names[] = {
|
46
|
-
"",
|
47
|
-
"Sans",
|
48
|
-
"cmr10",
|
49
|
-
"cmmi10",
|
50
|
-
"cmex10",
|
51
|
-
"cmsy10",
|
52
|
-
"symbol"
|
53
|
-
};
|
54
|
-
|
55
|
-
static const struct {
|
56
|
-
const char *font;
|
57
|
-
PangoStyle style;
|
58
|
-
PangoWeight weight;
|
59
|
-
} lsm_mathml_pango_options[LSM_MATHML_VARIANT_MONOSPACE + 1] = {
|
60
|
-
{NULL, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL},
|
61
|
-
{NULL, PANGO_STYLE_NORMAL, PANGO_WEIGHT_BOLD},
|
62
|
-
{NULL, PANGO_STYLE_ITALIC, PANGO_WEIGHT_NORMAL},
|
63
|
-
{NULL, PANGO_STYLE_ITALIC, PANGO_WEIGHT_BOLD},
|
64
|
-
{LSM_MATHML_FONT_DOUBLE_STRUCK, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL},
|
65
|
-
{NULL, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL},
|
66
|
-
{LSM_MATHML_FONT_SCRIPT, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL},
|
67
|
-
{LSM_MATHML_FONT_SCRIPT, PANGO_STYLE_NORMAL, PANGO_WEIGHT_BOLD},
|
68
|
-
{NULL, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL},
|
69
|
-
{LSM_MATHML_FONT_SANS, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL},
|
70
|
-
{LSM_MATHML_FONT_SANS, PANGO_STYLE_NORMAL, PANGO_WEIGHT_BOLD},
|
71
|
-
{LSM_MATHML_FONT_SANS, PANGO_STYLE_ITALIC, PANGO_WEIGHT_NORMAL},
|
72
|
-
{LSM_MATHML_FONT_SANS, PANGO_STYLE_ITALIC, PANGO_WEIGHT_BOLD},
|
73
|
-
{LSM_MATHML_FONT_MONOSPACE, PANGO_STYLE_NORMAL, PANGO_WEIGHT_NORMAL}
|
74
|
-
};
|
75
|
-
|
76
|
-
static GObjectClass *parent_class;
|
77
|
-
|
78
|
-
static void
|
79
|
-
_debug_element_style (const char *format, const LsmMathmlElementStyle *style) {
|
80
|
-
if (lsm_debug_check (&lsm_debug_category_render, LSM_DEBUG_LEVEL_DEBUG)) {
|
81
|
-
char *string;
|
82
|
-
|
83
|
-
string = g_strdup_printf ("%s %s %gpt (c:%02X%02X%02X b:%02X%02X%02X)",
|
84
|
-
style->math_family,
|
85
|
-
lsm_mathml_variant_to_string (style->math_variant),
|
86
|
-
style->math_size,
|
87
|
-
(int) (255.0 * style->math_color.red),
|
88
|
-
(int) (255.0 * style->math_color.green),
|
89
|
-
(int) (255.0 * style->math_color.blue),
|
90
|
-
(int) (255.0 * style->math_background.red),
|
91
|
-
(int) (255.0 * style->math_background.green),
|
92
|
-
(int) (255.0 * style->math_background.blue));
|
93
|
-
lsm_debug_render ("[LsmMathmlView::render] Show notation %s", string);
|
94
|
-
g_free (string);
|
95
|
-
}
|
96
|
-
}
|
97
|
-
|
98
|
-
static void
|
99
|
-
lsm_mathml_view_apply_style_to_font_description (PangoFontDescription *font_description,
|
100
|
-
const LsmMathmlElementStyle *style,
|
101
|
-
gboolean set_family)
|
102
|
-
{
|
103
|
-
g_return_if_fail (font_description != NULL);
|
104
|
-
g_return_if_fail (style != NULL);
|
105
|
-
|
106
|
-
if (style->math_variant < G_N_ELEMENTS (lsm_mathml_pango_options)) {
|
107
|
-
if (set_family) {
|
108
|
-
if (lsm_mathml_pango_options[style->math_variant].font == NULL)
|
109
|
-
pango_font_description_set_family (font_description, style->math_family);
|
110
|
-
else
|
111
|
-
pango_font_description_set_family (font_description,
|
112
|
-
lsm_mathml_pango_options[style->math_variant].font);
|
113
|
-
}
|
114
|
-
pango_font_description_set_style (font_description,
|
115
|
-
lsm_mathml_pango_options[style->math_variant].style);
|
116
|
-
pango_font_description_set_weight (font_description,
|
117
|
-
lsm_mathml_pango_options[style->math_variant].weight);
|
118
|
-
return;
|
119
|
-
}
|
120
|
-
|
121
|
-
if (set_family)
|
122
|
-
pango_font_description_set_family (font_description, style->math_family);
|
123
|
-
pango_font_description_set_style (font_description, PANGO_STYLE_NORMAL);
|
124
|
-
pango_font_description_set_weight (font_description, PANGO_WEIGHT_NORMAL);
|
125
|
-
}
|
126
|
-
|
127
|
-
static void
|
128
|
-
lsm_mathml_view_update_layout_for_text (LsmMathmlView *view,
|
129
|
-
const LsmMathmlElementStyle *style,
|
130
|
-
const char *text,
|
131
|
-
PangoLayout *pango_layout,
|
132
|
-
PangoRectangle *ink_rect,
|
133
|
-
PangoRectangle *rect,
|
134
|
-
int *baseline)
|
135
|
-
{
|
136
|
-
PangoFontDescription *font_description;
|
137
|
-
|
138
|
-
font_description = view->dom_view.font_description;
|
139
|
-
|
140
|
-
pango_font_description_set_size (font_description, style->math_size * PANGO_SCALE);
|
141
|
-
|
142
|
-
/* Kludge for a nicer latex like rendering */
|
143
|
-
if (strcmp (style->math_family, "cmr10") == 0 &&
|
144
|
-
(style->math_variant == LSM_MATHML_VARIANT_ITALIC ||
|
145
|
-
style->math_variant == LSM_MATHML_VARIANT_BOLD_ITALIC)) {
|
146
|
-
pango_font_description_set_family (font_description, "cmmi10");
|
147
|
-
pango_font_description_set_style (font_description, PANGO_STYLE_NORMAL);
|
148
|
-
if (style->math_variant == LSM_MATHML_VARIANT_BOLD_ITALIC)
|
149
|
-
pango_font_description_set_weight (font_description, PANGO_WEIGHT_BOLD);
|
150
|
-
else
|
151
|
-
pango_font_description_set_weight (font_description, PANGO_WEIGHT_NORMAL);
|
152
|
-
} else {
|
153
|
-
lsm_mathml_view_apply_style_to_font_description (font_description, style, TRUE);
|
154
|
-
}
|
155
|
-
pango_layout_set_text (pango_layout, text, -1);
|
156
|
-
pango_layout_set_font_description (pango_layout, font_description);
|
157
|
-
pango_layout_get_extents (pango_layout, ink_rect, rect);
|
158
|
-
|
159
|
-
if (baseline != NULL) {
|
160
|
-
PangoLayoutIter *iter;
|
161
|
-
|
162
|
-
iter = pango_layout_get_iter (pango_layout);
|
163
|
-
*baseline = pango_layout_iter_get_baseline (iter);
|
164
|
-
pango_layout_iter_free (iter);
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
static void
|
169
|
-
lsm_mathml_view_show_layout (LsmMathmlView *view,
|
170
|
-
double x, double y,
|
171
|
-
int baseline,
|
172
|
-
const PangoRectangle *ink_rect,
|
173
|
-
const PangoRectangle * rect)
|
174
|
-
{
|
175
|
-
if (lsm_debug_check (&lsm_debug_category_render, LSM_DEBUG_LEVEL_DEBUG)) {
|
176
|
-
cairo_t *cairo;
|
177
|
-
|
178
|
-
cairo = view->dom_view.cairo;
|
179
|
-
|
180
|
-
cairo_set_line_width (cairo, 0.1);
|
181
|
-
cairo_set_source_rgb (cairo, 1,0,0);
|
182
|
-
cairo_rectangle (cairo,
|
183
|
-
x + pango_units_to_double (rect->x)
|
184
|
-
- pango_units_to_double (ink_rect->x),
|
185
|
-
y + pango_units_to_double (rect->y) -
|
186
|
-
pango_units_to_double (baseline),
|
187
|
-
pango_units_to_double (rect->width),
|
188
|
-
pango_units_to_double (rect->height));
|
189
|
-
cairo_stroke (cairo);
|
190
|
-
cairo_set_source_rgb (cairo, 0,1,0);
|
191
|
-
cairo_rectangle (cairo,
|
192
|
-
x,
|
193
|
-
y + pango_units_to_double (ink_rect->y) -
|
194
|
-
pango_units_to_double (baseline),
|
195
|
-
pango_units_to_double (ink_rect->width),
|
196
|
-
pango_units_to_double (ink_rect->height));
|
197
|
-
cairo_stroke (cairo);
|
198
|
-
}
|
199
|
-
|
200
|
-
}
|
201
|
-
|
202
|
-
double
|
203
|
-
lsm_mathml_view_measure_axis_offset (LsmMathmlView *view,
|
204
|
-
double math_size)
|
205
|
-
{
|
206
|
-
PangoLayout *pango_layout;
|
207
|
-
PangoRectangle ink_rect;
|
208
|
-
PangoLayoutIter *iter;
|
209
|
-
PangoFontDescription *font_description;
|
210
|
-
double axis_offset;
|
211
|
-
int baseline;
|
212
|
-
|
213
|
-
g_return_val_if_fail (LSM_IS_MATHML_VIEW (view), 0.0);
|
214
|
-
|
215
|
-
font_description = view->dom_view.font_description;
|
216
|
-
pango_layout = view->dom_view.measure_pango_layout;
|
217
|
-
|
218
|
-
pango_font_description_set_family (font_description, LSM_MATHML_FONT_SERIF);
|
219
|
-
pango_font_description_set_size (font_description, math_size * PANGO_SCALE);
|
220
|
-
pango_font_description_set_style (font_description, PANGO_STYLE_NORMAL);
|
221
|
-
pango_font_description_set_weight (font_description, PANGO_WEIGHT_NORMAL);
|
222
|
-
pango_layout_set_text (pango_layout, "\xe2\x88\x92", -1);
|
223
|
-
pango_layout_set_font_description (pango_layout, font_description);
|
224
|
-
pango_layout_get_extents (pango_layout, &ink_rect, NULL);
|
225
|
-
|
226
|
-
iter = pango_layout_get_iter (pango_layout);
|
227
|
-
baseline = pango_layout_iter_get_baseline (iter);
|
228
|
-
pango_layout_iter_free (iter);
|
229
|
-
|
230
|
-
axis_offset = pango_units_to_double (- 0.5 * ink_rect.height - ink_rect.y + baseline);
|
231
|
-
|
232
|
-
lsm_debug_measure ("[LsmMathmlView::measure_axis_offset] offset = %g (%g %%)",
|
233
|
-
axis_offset, axis_offset / math_size);
|
234
|
-
|
235
|
-
return axis_offset;
|
236
|
-
}
|
237
|
-
|
238
|
-
void
|
239
|
-
lsm_mathml_view_get_font_metrics (LsmMathmlView *view,
|
240
|
-
const LsmMathmlElementStyle *style,
|
241
|
-
double *ascent,
|
242
|
-
double *descent)
|
243
|
-
{
|
244
|
-
LsmMathmlBbox bbox;
|
245
|
-
|
246
|
-
lsm_mathml_view_measure_text (view, style, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", &bbox);
|
247
|
-
|
248
|
-
if (ascent != NULL)
|
249
|
-
*ascent = bbox.height;
|
250
|
-
if (descent != NULL)
|
251
|
-
*descent = bbox.depth;
|
252
|
-
}
|
253
|
-
|
254
|
-
void
|
255
|
-
lsm_mathml_view_measure_text (LsmMathmlView *view,
|
256
|
-
const LsmMathmlElementStyle *style,
|
257
|
-
char const *text,
|
258
|
-
LsmMathmlBbox *bbox)
|
259
|
-
{
|
260
|
-
PangoRectangle ink_rect;
|
261
|
-
int baseline;
|
262
|
-
|
263
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
264
|
-
g_return_if_fail (style != NULL);
|
265
|
-
g_return_if_fail (bbox != NULL);
|
266
|
-
|
267
|
-
if (text == NULL) {
|
268
|
-
*bbox = lsm_mathml_bbox_null;
|
269
|
-
return;
|
270
|
-
}
|
271
|
-
|
272
|
-
lsm_mathml_view_update_layout_for_text (view, style, text,
|
273
|
-
view->dom_view.measure_pango_layout, &ink_rect, NULL, &baseline);
|
274
|
-
|
275
|
-
bbox->width = pango_units_to_double (ink_rect.width);
|
276
|
-
bbox->height = pango_units_to_double (baseline - ink_rect.y);
|
277
|
-
bbox->depth = pango_units_to_double (ink_rect.height + ink_rect.y - baseline);
|
278
|
-
bbox->is_defined = TRUE;
|
279
|
-
}
|
280
|
-
|
281
|
-
void
|
282
|
-
lsm_mathml_view_show_text (LsmMathmlView *view,
|
283
|
-
const LsmMathmlElementStyle *style,
|
284
|
-
double x, double y, char const *text)
|
285
|
-
{
|
286
|
-
PangoLayout *pango_layout;
|
287
|
-
PangoRectangle rect, ink_rect;
|
288
|
-
cairo_t *cairo;
|
289
|
-
int baseline;
|
290
|
-
|
291
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
292
|
-
g_return_if_fail (style != NULL);
|
293
|
-
|
294
|
-
if (text == NULL || strlen (text) < 1)
|
295
|
-
return;
|
296
|
-
|
297
|
-
lsm_debug_render ("[LsmMathmlView::show_text] '%s' at %g, %g (size = %g) %s",
|
298
|
-
text, x, y, style->math_size,
|
299
|
-
lsm_mathml_variant_to_string (style->math_variant));
|
300
|
-
|
301
|
-
lsm_mathml_view_update_layout_for_text (view, style, text,
|
302
|
-
view->dom_view.pango_layout, &ink_rect, &rect, &baseline);
|
303
|
-
lsm_mathml_view_show_layout (view, x, y, baseline, &ink_rect, &rect);
|
304
|
-
|
305
|
-
if (ink_rect.width <= 0 || ink_rect.height <= 0)
|
306
|
-
return;
|
307
|
-
|
308
|
-
cairo = view->dom_view.cairo;
|
309
|
-
pango_layout = view->dom_view.pango_layout;
|
310
|
-
|
311
|
-
cairo_save (cairo);
|
312
|
-
|
313
|
-
if (lsm_debug_check (&lsm_debug_category_dom, LSM_DEBUG_LEVEL_DEBUG)) {
|
314
|
-
cairo_set_source_rgba (cairo, 1.0, 0.0, 0.0, 0.2);
|
315
|
-
cairo_arc (cairo, x, y, 1.0, 0.0, 2.0 * M_PI);
|
316
|
-
cairo_fill (cairo);
|
317
|
-
}
|
318
|
-
|
319
|
-
cairo_set_source_rgba (cairo,
|
320
|
-
style->math_color.red,
|
321
|
-
style->math_color.green,
|
322
|
-
style->math_color.blue,
|
323
|
-
style->math_color.alpha);
|
324
|
-
|
325
|
-
cairo_move_to (cairo, x - pango_units_to_double (ink_rect.x), y - pango_units_to_double (baseline));
|
326
|
-
pango_cairo_show_layout (cairo, pango_layout);
|
327
|
-
|
328
|
-
cairo_restore (cairo);
|
329
|
-
}
|
330
|
-
|
331
|
-
static void
|
332
|
-
lsm_mathml_view_update_layout_for_operator (LsmMathmlView *view,
|
333
|
-
const LsmMathmlElementStyle *style,
|
334
|
-
const char *text,
|
335
|
-
gboolean large,
|
336
|
-
PangoLayout *pango_layout,
|
337
|
-
PangoRectangle *ink_rect,
|
338
|
-
PangoRectangle *rect,
|
339
|
-
int *baseline)
|
340
|
-
{
|
341
|
-
PangoFontDescription *font_description;
|
342
|
-
|
343
|
-
font_description = view->dom_view.font_description;
|
344
|
-
|
345
|
-
pango_font_description_set_size (font_description,
|
346
|
-
style->math_size * PANGO_SCALE * (large ? LSM_MATHML_LARGE_OP_SCALE : 1.0));
|
347
|
-
pango_font_description_set_family (font_description, LSM_MATHML_FONT_SERIF);
|
348
|
-
lsm_mathml_view_apply_style_to_font_description (font_description, style, FALSE);
|
349
|
-
pango_layout_set_text (pango_layout, text, -1);
|
350
|
-
pango_layout_set_font_description (pango_layout, font_description);
|
351
|
-
pango_layout_get_extents (pango_layout, ink_rect, rect);
|
352
|
-
|
353
|
-
if (baseline != NULL) {
|
354
|
-
PangoLayoutIter *iter;
|
355
|
-
|
356
|
-
iter = pango_layout_get_iter (pango_layout);
|
357
|
-
*baseline = pango_layout_iter_get_baseline (iter);
|
358
|
-
pango_layout_iter_free (iter);
|
359
|
-
}
|
360
|
-
}
|
361
|
-
|
362
|
-
void
|
363
|
-
lsm_mathml_view_measure_operator (LsmMathmlView *view,
|
364
|
-
const LsmMathmlElementStyle *style,
|
365
|
-
char const *text,
|
366
|
-
gboolean large,
|
367
|
-
gboolean symmetric,
|
368
|
-
double axis_offset,
|
369
|
-
double min_size, /* TODO actually use this parameter */
|
370
|
-
double max_size, /* TODO actually use this parameter */
|
371
|
-
LsmMathmlBbox const *stretch_bbox,
|
372
|
-
LsmMathmlBbox *bbox)
|
373
|
-
{
|
374
|
-
PangoFontDescription *font_description;
|
375
|
-
PangoLayout *pango_layout;
|
376
|
-
PangoRectangle ink_rect;
|
377
|
-
LsmMathmlGlyphFlags flags;
|
378
|
-
const LsmMathmlOperatorGlyph *glyph;
|
379
|
-
const char *font_name;
|
380
|
-
int baseline;
|
381
|
-
gboolean is_stretch_bbox_defined;
|
382
|
-
|
383
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
384
|
-
g_return_if_fail (style != NULL);
|
385
|
-
g_return_if_fail (bbox != NULL);
|
386
|
-
g_return_if_fail (stretch_bbox != NULL);
|
387
|
-
|
388
|
-
if (text == NULL) {
|
389
|
-
*bbox = lsm_mathml_bbox_null;
|
390
|
-
return;
|
391
|
-
}
|
392
|
-
|
393
|
-
is_stretch_bbox_defined = stretch_bbox->is_defined;
|
394
|
-
|
395
|
-
font_description = view->dom_view.font_description;
|
396
|
-
pango_layout = view->dom_view.measure_pango_layout;
|
397
|
-
|
398
|
-
if (is_stretch_bbox_defined)
|
399
|
-
lsm_debug_render ("[LsmMathmlView::measure_operator] Stretch bbox w = %g, h = %g, d = %g",
|
400
|
-
stretch_bbox->width, stretch_bbox->height, stretch_bbox->depth);
|
401
|
-
|
402
|
-
glyph = lsm_mathml_glyph_table_find_operator_glyph (text);
|
403
|
-
if (glyph == NULL) {
|
404
|
-
lsm_mathml_view_update_layout_for_operator (view, style, text, large,
|
405
|
-
pango_layout, &ink_rect, NULL, &baseline);
|
406
|
-
flags = 0;
|
407
|
-
|
408
|
-
lsm_debug_render ("[LsmMathmlView::measure_operator] operator = %s", text);
|
409
|
-
|
410
|
-
} else {
|
411
|
-
PangoLayoutIter *iter;
|
412
|
-
unsigned int i;
|
413
|
-
double width, height;
|
414
|
-
gboolean found = FALSE;
|
415
|
-
|
416
|
-
if (large && (glyph->flags & LSM_MATHML_GLYPH_FLAG_HAS_LARGE_VERSION) &&
|
417
|
-
!is_stretch_bbox_defined) {
|
418
|
-
pango_font_description_set_size (font_description,
|
419
|
-
style->math_size * PANGO_SCALE);
|
420
|
-
i = 1;
|
421
|
-
} else {
|
422
|
-
pango_font_description_set_size (font_description,
|
423
|
-
style->math_size * PANGO_SCALE *
|
424
|
-
(large ? LSM_MATHML_LARGE_OP_SCALE : 1.0));
|
425
|
-
i = 0;
|
426
|
-
}
|
427
|
-
|
428
|
-
for (; i < glyph->n_sized_glyphs; i++) {
|
429
|
-
font_name = lsm_mathml_font_names [glyph->sized_glyphs[i].font];
|
430
|
-
pango_font_description_set_family (font_description, font_name);
|
431
|
-
lsm_mathml_view_apply_style_to_font_description (font_description, style, FALSE);
|
432
|
-
pango_layout_set_text (pango_layout, glyph->sized_glyphs[i].utf8, -1);
|
433
|
-
pango_layout_set_font_description (pango_layout, font_description);
|
434
|
-
pango_layout_get_extents (pango_layout, &ink_rect, NULL);
|
435
|
-
|
436
|
-
height = pango_units_to_double (ink_rect.height);
|
437
|
-
width = pango_units_to_double (ink_rect.width);
|
438
|
-
|
439
|
-
lsm_debug_render ( "[LsmMathmlView::measure_operator] Glyph #%i -> width = %g, height = %g",
|
440
|
-
i, width, height);
|
441
|
-
|
442
|
-
if (!is_stretch_bbox_defined) {
|
443
|
-
found = TRUE;
|
444
|
-
break;
|
445
|
-
}
|
446
|
-
|
447
|
-
if (glyph->flags & LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL) {
|
448
|
-
if (height > (stretch_bbox->height + stretch_bbox->depth))
|
449
|
-
found = TRUE;
|
450
|
-
}
|
451
|
-
|
452
|
-
if (glyph->flags & LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL) {
|
453
|
-
if (width > stretch_bbox->width)
|
454
|
-
found = TRUE;
|
455
|
-
}
|
456
|
-
|
457
|
-
if (found)
|
458
|
-
break;
|
459
|
-
}
|
460
|
-
|
461
|
-
if (found)
|
462
|
-
lsm_debug_render ("[LsmMathmlView::measure_operator] Found sized glyph #%i", i);
|
463
|
-
|
464
|
-
iter = pango_layout_get_iter (pango_layout);
|
465
|
-
baseline = pango_layout_iter_get_baseline (iter);
|
466
|
-
pango_layout_iter_free (iter);
|
467
|
-
|
468
|
-
flags = glyph->flags;
|
469
|
-
}
|
470
|
-
|
471
|
-
if (is_stretch_bbox_defined && (flags & LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL) &&
|
472
|
-
(stretch_bbox->height + stretch_bbox->depth) >= 0) {
|
473
|
-
bbox->height = stretch_bbox->height;
|
474
|
-
bbox->depth = stretch_bbox->depth;
|
475
|
-
} else {
|
476
|
-
bbox->height = pango_units_to_double (baseline - ink_rect.y);
|
477
|
-
bbox->depth = pango_units_to_double (ink_rect.height + ink_rect.y - baseline);
|
478
|
-
}
|
479
|
-
|
480
|
-
if (is_stretch_bbox_defined && (flags & LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL) &&
|
481
|
-
stretch_bbox->width >= 0.0)
|
482
|
-
bbox->width = stretch_bbox->width;
|
483
|
-
else
|
484
|
-
bbox->width = pango_units_to_double (ink_rect.width);
|
485
|
-
|
486
|
-
if (!is_stretch_bbox_defined &&
|
487
|
-
(flags & LSM_MATHML_GLYPH_FLAG_ALIGN_AXIS)) {
|
488
|
-
double length = bbox->depth + bbox->height;
|
489
|
-
|
490
|
-
bbox->height = 0.5 * length + axis_offset;
|
491
|
-
bbox->depth = 0.5 * length - axis_offset;
|
492
|
-
}
|
493
|
-
|
494
|
-
if (is_stretch_bbox_defined && symmetric &&
|
495
|
-
(flags & LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL)) {
|
496
|
-
double length = MAX (axis_offset + bbox->depth, bbox->height - axis_offset);
|
497
|
-
|
498
|
-
bbox->height = length + axis_offset;
|
499
|
-
bbox->depth = length - axis_offset;
|
500
|
-
}
|
501
|
-
|
502
|
-
bbox->is_defined = TRUE;
|
503
|
-
}
|
504
|
-
|
505
|
-
void
|
506
|
-
lsm_mathml_view_show_operator (LsmMathmlView *view,
|
507
|
-
const LsmMathmlElementStyle *style,
|
508
|
-
double x, double y, char const *text,
|
509
|
-
gboolean large,
|
510
|
-
LsmMathmlBbox const *stretch_bbox)
|
511
|
-
{
|
512
|
-
PangoFontDescription *font_description;
|
513
|
-
PangoLayout *pango_layout;
|
514
|
-
PangoRectangle rect, ink_rect;
|
515
|
-
cairo_t *cairo;
|
516
|
-
const LsmMathmlOperatorGlyph *glyph;
|
517
|
-
const char *font_name;
|
518
|
-
double scale_x, scale_y;
|
519
|
-
int baseline;
|
520
|
-
|
521
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
522
|
-
g_return_if_fail (style != NULL);
|
523
|
-
g_return_if_fail (stretch_bbox != NULL);
|
524
|
-
|
525
|
-
if (text == NULL || !stretch_bbox->is_defined)
|
526
|
-
return;
|
527
|
-
|
528
|
-
font_description = view->dom_view.font_description;
|
529
|
-
pango_layout = view->dom_view.measure_pango_layout;
|
530
|
-
|
531
|
-
if (stretch_bbox->is_defined)
|
532
|
-
lsm_debug_render ("[LsmMathmlView::show_operator] Stretch bbox w = %g, h = %g, d = %g",
|
533
|
-
stretch_bbox->width, stretch_bbox->height, stretch_bbox->depth);
|
534
|
-
|
535
|
-
glyph = lsm_mathml_glyph_table_find_operator_glyph (text);
|
536
|
-
if (glyph == NULL) {
|
537
|
-
lsm_mathml_view_update_layout_for_operator (view, style, text, large,
|
538
|
-
pango_layout, &ink_rect, &rect, &baseline);
|
539
|
-
} else {
|
540
|
-
PangoLayoutIter *iter;
|
541
|
-
unsigned int i;
|
542
|
-
gboolean found = FALSE;
|
543
|
-
|
544
|
-
if (large && (glyph->flags & LSM_MATHML_GLYPH_FLAG_HAS_LARGE_VERSION)) {
|
545
|
-
pango_font_description_set_size (font_description,
|
546
|
-
style->math_size * PANGO_SCALE);
|
547
|
-
i = 1;
|
548
|
-
} else {
|
549
|
-
pango_font_description_set_size (font_description,
|
550
|
-
style->math_size * PANGO_SCALE *
|
551
|
-
(large ? LSM_MATHML_LARGE_OP_SCALE : 1.0));
|
552
|
-
i = 0;
|
553
|
-
}
|
554
|
-
|
555
|
-
for (; i < glyph->n_sized_glyphs; i++) {
|
556
|
-
font_name = lsm_mathml_font_names [glyph->sized_glyphs[i].font];
|
557
|
-
pango_font_description_set_family (font_description, font_name);
|
558
|
-
lsm_mathml_view_apply_style_to_font_description (font_description, style, FALSE);
|
559
|
-
pango_layout_set_text (pango_layout, glyph->sized_glyphs[i].utf8, -1);
|
560
|
-
pango_layout_set_font_description (pango_layout, font_description);
|
561
|
-
pango_layout_get_extents (pango_layout, &ink_rect, NULL);
|
562
|
-
|
563
|
-
lsm_debug_render ("[LsmMathmlView::show_operator] Glyph #%i -> width = %g, height = %g", i,
|
564
|
-
pango_units_to_double (ink_rect.width),
|
565
|
-
pango_units_to_double (ink_rect.height));
|
566
|
-
|
567
|
-
if (!stretch_bbox->is_defined) {
|
568
|
-
found = TRUE;
|
569
|
-
break;
|
570
|
-
}
|
571
|
-
|
572
|
-
if (glyph->flags & LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL) {
|
573
|
-
if (pango_units_to_double (ink_rect.height) >
|
574
|
-
(stretch_bbox->height + stretch_bbox->depth))
|
575
|
-
found = TRUE;
|
576
|
-
}
|
577
|
-
|
578
|
-
if (glyph->flags & LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL) {
|
579
|
-
if (pango_units_to_double (ink_rect.width) >
|
580
|
-
stretch_bbox->width)
|
581
|
-
found = TRUE;
|
582
|
-
}
|
583
|
-
|
584
|
-
if (found)
|
585
|
-
break;
|
586
|
-
}
|
587
|
-
|
588
|
-
if (found)
|
589
|
-
lsm_debug_render ("[LsmMathmlView::show_operator] Found sized glyph #%i", i);
|
590
|
-
|
591
|
-
iter = pango_layout_get_iter (pango_layout);
|
592
|
-
baseline = pango_layout_iter_get_baseline (iter);
|
593
|
-
pango_layout_iter_free (iter);
|
594
|
-
}
|
595
|
-
|
596
|
-
lsm_debug_render ("[LsmMathmlView::show_operator] '%s' at %g, %g (size = %g) %s - %s",
|
597
|
-
text, x, y, style->math_size,
|
598
|
-
style->math_family,
|
599
|
-
lsm_mathml_variant_to_string (style->math_variant));
|
600
|
-
|
601
|
-
if (ink_rect.width == 0 || ink_rect.height == 0)
|
602
|
-
return;
|
603
|
-
|
604
|
-
scale_x = stretch_bbox->width / pango_units_to_double (ink_rect.width);
|
605
|
-
scale_y = (stretch_bbox->height + stretch_bbox->depth) / pango_units_to_double (ink_rect.height);
|
606
|
-
|
607
|
-
cairo = view->dom_view.cairo;
|
608
|
-
|
609
|
-
cairo_save (cairo);
|
610
|
-
|
611
|
-
if (lsm_debug_check (&lsm_debug_category_render, LSM_DEBUG_LEVEL_DEBUG)) {
|
612
|
-
cairo_set_source_rgba (cairo, 1.0, 0.0, 0.0, 0.1);
|
613
|
-
cairo_arc (cairo, x, y, 1.0, 0.0, 2.0 * M_PI);
|
614
|
-
cairo_fill (cairo);
|
615
|
-
}
|
616
|
-
|
617
|
-
cairo_move_to (cairo, x , y - stretch_bbox->height);
|
618
|
-
cairo_scale (cairo, scale_x, scale_y);
|
619
|
-
cairo_rel_move_to (cairo,
|
620
|
-
- pango_units_to_double (ink_rect.x),
|
621
|
-
- pango_units_to_double (ink_rect.y));
|
622
|
-
|
623
|
-
cairo_set_source_rgba (cairo,
|
624
|
-
style->math_color.red,
|
625
|
-
style->math_color.green,
|
626
|
-
style->math_color.blue,
|
627
|
-
style->math_color.alpha);
|
628
|
-
|
629
|
-
pango_cairo_show_layout (cairo, pango_layout);
|
630
|
-
cairo_restore (cairo);
|
631
|
-
}
|
632
|
-
|
633
|
-
double
|
634
|
-
lsm_mathml_view_get_operator_slant (LsmMathmlView *view,
|
635
|
-
const LsmMathmlElementStyle *style,
|
636
|
-
const char *text)
|
637
|
-
{
|
638
|
-
return lsm_mathml_glyph_table_get_operator_slant (text);
|
639
|
-
}
|
640
|
-
|
641
|
-
void
|
642
|
-
lsm_mathml_view_measure_radical (LsmMathmlView *view,
|
643
|
-
const LsmMathmlElementStyle *style,
|
644
|
-
const LsmMathmlBbox *stretch_bbox,
|
645
|
-
LsmMathmlBbox *bbox, double *x_offset, double *y_offset)
|
646
|
-
{
|
647
|
-
LsmMathmlBbox radical_stretch_bbox;
|
648
|
-
double thickness;
|
649
|
-
|
650
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
651
|
-
g_return_if_fail (style != NULL);
|
652
|
-
g_return_if_fail (bbox != NULL);
|
653
|
-
g_return_if_fail (stretch_bbox != NULL);
|
654
|
-
|
655
|
-
radical_stretch_bbox = *stretch_bbox;
|
656
|
-
|
657
|
-
thickness = style->math_size * LSM_MATHML_RADICAL_TOP_LINE_WIDTH;
|
658
|
-
|
659
|
-
radical_stretch_bbox.height += LSM_MATHML_SPACE_EM_THICK * style->math_size + thickness;
|
660
|
-
|
661
|
-
radical_stretch_bbox.depth += LSM_MATHML_SPACE_EM_THICK * style->math_size;
|
662
|
-
|
663
|
-
lsm_mathml_view_measure_operator (view, style, LSM_MATHML_RADICAL_UTF8,
|
664
|
-
FALSE, FALSE, 0.0,
|
665
|
-
0, G_MAXDOUBLE,
|
666
|
-
&radical_stretch_bbox, bbox);
|
667
|
-
|
668
|
-
if (x_offset != NULL) {
|
669
|
-
*x_offset = bbox->width * LSM_MATHML_RADICAL_ORDER_X_OFFSET;
|
670
|
-
}
|
671
|
-
|
672
|
-
if (y_offset != NULL) {
|
673
|
-
*y_offset = (bbox->height + bbox->depth) * LSM_MATHML_RADICAL_ORDER_Y_OFFSET -
|
674
|
-
LSM_MATHML_SPACE_EM_MEDIUM * style->math_size;
|
675
|
-
}
|
676
|
-
}
|
677
|
-
|
678
|
-
void
|
679
|
-
lsm_mathml_view_show_radical (LsmMathmlView *view,
|
680
|
-
const LsmMathmlElementStyle *style,
|
681
|
-
double x, double y, double width,
|
682
|
-
LsmMathmlBbox const *stretch_bbox)
|
683
|
-
{
|
684
|
-
cairo_t *cairo;
|
685
|
-
double thickness;
|
686
|
-
double y_line;
|
687
|
-
double dummy = 0.0;
|
688
|
-
double alpha;
|
689
|
-
|
690
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
691
|
-
g_return_if_fail (style != NULL);
|
692
|
-
g_return_if_fail (stretch_bbox != NULL);
|
693
|
-
|
694
|
-
cairo = view->dom_view.cairo;
|
695
|
-
|
696
|
-
lsm_mathml_view_show_operator (view, style, x, y, LSM_MATHML_RADICAL_UTF8, FALSE, stretch_bbox);
|
697
|
-
|
698
|
-
thickness = style->math_size * LSM_MATHML_RADICAL_TOP_LINE_WIDTH;
|
699
|
-
|
700
|
-
alpha = style->math_color.alpha;
|
701
|
-
|
702
|
-
if (!view->dom_view.is_vector) {
|
703
|
-
cairo_user_to_device_distance (cairo, &dummy, &thickness);
|
704
|
-
|
705
|
-
if (thickness < 1.0) {
|
706
|
-
alpha *= thickness;
|
707
|
-
thickness = 1.0;
|
708
|
-
}
|
709
|
-
|
710
|
-
thickness = floor (thickness + 0.5);
|
711
|
-
cairo_device_to_user_distance (cairo, &dummy, &thickness);
|
712
|
-
}
|
713
|
-
|
714
|
-
cairo_save (cairo);
|
715
|
-
cairo_set_line_cap (cairo, CAIRO_LINE_CAP_ROUND);
|
716
|
-
cairo_set_line_width (cairo, thickness);
|
717
|
-
|
718
|
-
cairo_set_source_rgba (cairo,
|
719
|
-
style->math_color.red,
|
720
|
-
style->math_color.green,
|
721
|
-
style->math_color.blue,
|
722
|
-
alpha);
|
723
|
-
|
724
|
-
x += stretch_bbox->width;
|
725
|
-
|
726
|
-
y_line = y - stretch_bbox->height;
|
727
|
-
|
728
|
-
if (!view->dom_view.is_vector) {
|
729
|
-
cairo_user_to_device (cairo, &dummy, &y_line);
|
730
|
-
|
731
|
-
y_line = floor (y_line);
|
732
|
-
|
733
|
-
cairo_device_to_user (cairo, &dummy, &y_line);
|
734
|
-
}
|
735
|
-
|
736
|
-
y_line += 0.5 * thickness;
|
737
|
-
|
738
|
-
cairo_move_to (cairo,
|
739
|
-
x - 0.5 * style->math_size * LSM_MATHML_RADICAL_TOP_LINE_WIDTH,
|
740
|
-
y_line);
|
741
|
-
cairo_line_to (cairo,
|
742
|
-
x - thickness * 0.5 + width,
|
743
|
-
y_line);
|
744
|
-
|
745
|
-
cairo_stroke (cairo);
|
746
|
-
|
747
|
-
cairo_restore (cairo);
|
748
|
-
}
|
749
|
-
|
750
|
-
static void
|
751
|
-
_round_rectangle_coordinates (cairo_t *cairo,
|
752
|
-
_LsmMathmlStrokeWidth stroke_width,
|
753
|
-
double *x0, double *y0,
|
754
|
-
double *x1, double *y1)
|
755
|
-
{
|
756
|
-
if (stroke_width != _GMATHML_STROKE_WIDTH_VECTOR) {
|
757
|
-
cairo_user_to_device (cairo, x0, y0);
|
758
|
-
cairo_user_to_device (cairo, x1, y1);
|
759
|
-
|
760
|
-
if (stroke_width == _GMATHML_STROKE_WIDTH_EVEN) {
|
761
|
-
*x0 = floor (*x0 + 0.5);
|
762
|
-
*y0 = floor (*y0 + 0.5);
|
763
|
-
*x1 = floor (*x1 + 0.5);
|
764
|
-
*y1 = floor (*y1 + 0.5);
|
765
|
-
} else {
|
766
|
-
*x0 = 0.5 + floor (*x0);
|
767
|
-
*y0 = 0.5 + floor (*y0);
|
768
|
-
*x1 = 0.5 + floor (*x1);
|
769
|
-
*y1 = 0.5 + floor (*y1);
|
770
|
-
}
|
771
|
-
|
772
|
-
cairo_device_to_user (cairo, x0, y0);
|
773
|
-
cairo_device_to_user (cairo, x1, y1);
|
774
|
-
}
|
775
|
-
}
|
776
|
-
|
777
|
-
static _LsmMathmlStrokeWidth
|
778
|
-
_emit_stroke_attributes (LsmMathmlView *view, LsmMathmlLine line, double line_width,
|
779
|
-
const LsmMathmlColor *color)
|
780
|
-
{
|
781
|
-
_LsmMathmlStrokeWidth stroke_width;
|
782
|
-
cairo_t *cairo;
|
783
|
-
double dashes[2] = {3.0, 2.0};
|
784
|
-
double rounded_width = line_width;
|
785
|
-
double dummy = 0;
|
786
|
-
double alpha = color->alpha;
|
787
|
-
|
788
|
-
cairo = view->dom_view.cairo;
|
789
|
-
|
790
|
-
switch (line) {
|
791
|
-
case LSM_MATHML_LINE_DASHED:
|
792
|
-
cairo_set_dash (cairo, dashes, 2, 0.0);
|
793
|
-
break;
|
794
|
-
case LSM_MATHML_LINE_SOLID:
|
795
|
-
cairo_set_dash (cairo, NULL, 0, 0.0);
|
796
|
-
break;
|
797
|
-
default:
|
798
|
-
return _GMATHML_STROKE_WIDTH_NULL;
|
799
|
-
}
|
800
|
-
|
801
|
-
if (view->dom_view.is_vector) {
|
802
|
-
cairo_set_line_width (cairo, line_width);
|
803
|
-
cairo_set_source_rgba (cairo,
|
804
|
-
color->red,
|
805
|
-
color->green,
|
806
|
-
color->blue,
|
807
|
-
color->alpha);
|
808
|
-
return _GMATHML_STROKE_WIDTH_VECTOR;
|
809
|
-
}
|
810
|
-
|
811
|
-
cairo_user_to_device_distance (cairo, &dummy, &rounded_width);
|
812
|
-
|
813
|
-
if (rounded_width < 1.0) {
|
814
|
-
alpha *= rounded_width;
|
815
|
-
rounded_width = 1.0;
|
816
|
-
}
|
817
|
-
|
818
|
-
rounded_width = floor (rounded_width + 0.5);
|
819
|
-
|
820
|
-
if (((int) rounded_width) % 2 == 0)
|
821
|
-
stroke_width = _GMATHML_STROKE_WIDTH_EVEN;
|
822
|
-
else
|
823
|
-
stroke_width = _GMATHML_STROKE_WIDTH_ODD;
|
824
|
-
|
825
|
-
cairo_device_to_user_distance (cairo, &dummy, &rounded_width);
|
826
|
-
|
827
|
-
cairo_set_line_width (cairo, rounded_width);
|
828
|
-
cairo_set_source_rgba (cairo,
|
829
|
-
color->red,
|
830
|
-
color->green,
|
831
|
-
color->blue,
|
832
|
-
alpha);
|
833
|
-
|
834
|
-
return stroke_width;
|
835
|
-
}
|
836
|
-
|
837
|
-
const LsmMathmlPadding notation_padding[] = {
|
838
|
-
{ .left = 0.0, .right = 0.0, .top = 1.0, .bottom = 0.0 }, /* longdiv */
|
839
|
-
{ .left = 1.0, .right = 1.0, .top = 1.0, .bottom = 1.0 }, /* actuarial */
|
840
|
-
{ .left = 0.0, .right = 0.0, .top = 0.0, .bottom = 0.0 }, /* radical */
|
841
|
-
{ .left = 1.0, .right = 1.0, .top = 1.0, .bottom = 1.0 }, /* box */
|
842
|
-
{ .left = 1.0, .right = 1.0, .top = 1.0, .bottom = 1.0 }, /* boundedbox */
|
843
|
-
{ .left = 2.0, .right = 2.0, .top = 2.0, .bottom = 2.0 }, /* circle */
|
844
|
-
{ .left = 1.0, .right = 0.0, .top = 1.0, .bottom = 1.0 }, /* left */
|
845
|
-
{ .left = 0.0, .right = 1.0, .top = 1.0, .bottom = 1.0 }, /* right */
|
846
|
-
{ .left = 1.0, .right = 1.0, .top = 1.0, .bottom = 0.0 }, /* top */
|
847
|
-
{ .left = 1.0, .right = 1.0, .top = 0.0, .bottom = 1.0 }, /* bottom */
|
848
|
-
{ .left = 0.0, .right = 0.0, .top = 1.0, .bottom = 1.0 }, /* updiagonalstrike */
|
849
|
-
{ .left = 0.0, .right = 0.0, .top = 1.0, .bottom = 1.0 }, /* downdiagonalstrike */
|
850
|
-
{ .left = 0.0, .right = 0.0, .top = 1.0, .bottom = 1.0 }, /* verticalstrike */
|
851
|
-
{ .left = 1.0, .right = 1.0, .top = 0.0, .bottom = 0.0 }, /* horizontalstrike */
|
852
|
-
{ .left = 1.0, .right = 1.0, .top = 1.0, .bottom = 1.0 }, /* madruwb */
|
853
|
-
{ .left = 0.0, .right = 5.0, .top = 1.0, .bottom = 1.0 } /* updiagonalarrow */
|
854
|
-
};
|
855
|
-
|
856
|
-
void
|
857
|
-
lsm_mathml_view_measure_notation (LsmMathmlView *view,
|
858
|
-
const LsmMathmlElementStyle *style,
|
859
|
-
LsmMathmlNotation notation,
|
860
|
-
const LsmMathmlBbox *stretch_bbox,
|
861
|
-
LsmMathmlBbox *bbox,
|
862
|
-
double *x_child_offset)
|
863
|
-
{
|
864
|
-
LsmMathmlLength padding_x = {.value = 0.5, .unit = LSM_MATHML_UNIT_EX};
|
865
|
-
LsmMathmlLength padding_y = {.value = 0.4, .unit = LSM_MATHML_UNIT_EM};
|
866
|
-
double base_x;
|
867
|
-
double base_y;
|
868
|
-
|
869
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
870
|
-
g_return_if_fail (style != NULL);
|
871
|
-
g_return_if_fail (stretch_bbox != NULL);
|
872
|
-
g_return_if_fail (bbox != NULL);
|
873
|
-
|
874
|
-
if (notation == LSM_MATHML_NOTATION_RADICAL) {
|
875
|
-
lsm_mathml_view_measure_radical (view, style, stretch_bbox, bbox, NULL, NULL);
|
876
|
-
if (x_child_offset != NULL)
|
877
|
-
*x_child_offset = bbox->width;
|
878
|
-
lsm_mathml_bbox_add_horizontally (bbox, stretch_bbox);
|
879
|
-
return;
|
880
|
-
}
|
881
|
-
|
882
|
-
base_x = lsm_mathml_length_normalize (&padding_x, 0.0, style->math_size);
|
883
|
-
base_y = lsm_mathml_length_normalize (&padding_y, 0.0, style->math_size);
|
884
|
-
|
885
|
-
*bbox = *stretch_bbox;
|
886
|
-
|
887
|
-
if (notation >= 0 && notation < LSM_MATHML_NOTATION_LAST) {
|
888
|
-
bbox->width += base_x * (notation_padding[notation].left + notation_padding[notation].right);
|
889
|
-
bbox->height += base_y * notation_padding[notation].top;
|
890
|
-
bbox->depth += base_y * notation_padding[notation].bottom;
|
891
|
-
|
892
|
-
if (notation == LSM_MATHML_NOTATION_LONGDIV) {
|
893
|
-
bbox->width += bbox->height / 2.0;
|
894
|
-
if (x_child_offset != NULL)
|
895
|
-
*x_child_offset = bbox->height / 2.0;
|
896
|
-
} else {
|
897
|
-
if (x_child_offset != NULL)
|
898
|
-
*x_child_offset = base_x * notation_padding[notation].left;
|
899
|
-
}
|
900
|
-
} else {
|
901
|
-
if (x_child_offset != NULL)
|
902
|
-
*x_child_offset = 0;
|
903
|
-
}
|
904
|
-
}
|
905
|
-
|
906
|
-
static void
|
907
|
-
_cairo_arrow (cairo_t *cairo, double scale, double x0, double y0, double x1, double y1)
|
908
|
-
{
|
909
|
-
double angle;
|
910
|
-
double x2, y2;
|
911
|
-
|
912
|
-
if ((y1 - y0) == 0 && (x1 - x0) == 0)
|
913
|
-
return;
|
914
|
-
|
915
|
-
angle = atan2 (y1 - y0, x1 - x0);
|
916
|
-
x2 = x1 - scale * cos (angle) / 2.0;
|
917
|
-
y2 = y1 - scale * sin (angle) / 2.0;
|
918
|
-
|
919
|
-
cairo_move_to (cairo, x0, y0);
|
920
|
-
cairo_line_to (cairo, x2, y2);
|
921
|
-
cairo_stroke (cairo);
|
922
|
-
|
923
|
-
cairo_save (cairo);
|
924
|
-
|
925
|
-
cairo_translate (cairo, x1, y1);
|
926
|
-
cairo_scale (cairo, scale, scale);
|
927
|
-
cairo_rotate (cairo, angle);
|
928
|
-
|
929
|
-
cairo_move_to (cairo, -1.0, 0.3);
|
930
|
-
cairo_line_to (cairo, 0.0, 0.0);
|
931
|
-
cairo_line_to (cairo, -1.0, -0.3);
|
932
|
-
cairo_line_to (cairo, -0.9, 0.0);
|
933
|
-
cairo_close_path (cairo);
|
934
|
-
|
935
|
-
cairo_restore (cairo);
|
936
|
-
|
937
|
-
cairo_fill (cairo);
|
938
|
-
}
|
939
|
-
|
940
|
-
static void
|
941
|
-
_cairo_rounded_rectangle (cairo_t *cairo, double radius, double x0, double y0, double x1, double y1)
|
942
|
-
{
|
943
|
-
cairo_new_path (cairo);
|
944
|
-
|
945
|
-
cairo_arc (cairo, x0 + radius, y0 - radius, radius, M_PI / 2.0, -M_PI);
|
946
|
-
cairo_arc (cairo, x0 + radius, y1 + radius, radius, M_PI, -M_PI / 2.0);
|
947
|
-
cairo_arc (cairo, x1 - radius, y1 + radius, radius, -M_PI / 2.0, 0.0);
|
948
|
-
cairo_arc (cairo, x1 - radius, y0 - radius, radius, 0.0, M_PI / 2.0);
|
949
|
-
cairo_close_path (cairo);
|
950
|
-
|
951
|
-
cairo_stroke (cairo);
|
952
|
-
}
|
953
|
-
|
954
|
-
void
|
955
|
-
lsm_mathml_view_show_notation (LsmMathmlView *view,
|
956
|
-
const LsmMathmlElementStyle *style,
|
957
|
-
LsmMathmlNotation notation,
|
958
|
-
double x, double y,
|
959
|
-
const LsmMathmlBbox *bbox,
|
960
|
-
double x_child_offset)
|
961
|
-
{
|
962
|
-
LsmMathmlBbox stretch_bbox;
|
963
|
-
LsmMathmlLength padding_x = {.value = 0.5, .unit = LSM_MATHML_UNIT_EX};
|
964
|
-
_LsmMathmlStrokeWidth stroke_width;
|
965
|
-
cairo_t *cairo;
|
966
|
-
double x1, y1;
|
967
|
-
double base_x;
|
968
|
-
|
969
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
970
|
-
g_return_if_fail (style != NULL);
|
971
|
-
g_return_if_fail (bbox != NULL);
|
972
|
-
|
973
|
-
stroke_width = _emit_stroke_attributes (view, LSM_MATHML_LINE_SOLID, 1.0, &style->math_color);
|
974
|
-
|
975
|
-
_debug_element_style ("[LsmMathmlView::render] Show notation %s", style);
|
976
|
-
|
977
|
-
if (stroke_width == _GMATHML_STROKE_WIDTH_NULL)
|
978
|
-
return;
|
979
|
-
|
980
|
-
base_x = lsm_mathml_length_normalize (&padding_x, 0.0, style->math_size);
|
981
|
-
|
982
|
-
y = y + bbox->depth;
|
983
|
-
x1 = x + bbox->width;
|
984
|
-
y1 = y - bbox->height - bbox->depth;
|
985
|
-
|
986
|
-
cairo = view->dom_view.cairo;
|
987
|
-
|
988
|
-
_round_rectangle_coordinates (cairo, stroke_width, &x, &y, &x1, &y1);
|
989
|
-
|
990
|
-
cairo_new_path (cairo);
|
991
|
-
|
992
|
-
switch (notation) {
|
993
|
-
case LSM_MATHML_NOTATION_ACTUARIAL:
|
994
|
-
cairo_move_to (cairo, x, y1);
|
995
|
-
cairo_line_to (cairo, x1, y1);
|
996
|
-
cairo_line_to (cairo, x1, y);
|
997
|
-
cairo_stroke (cairo);
|
998
|
-
break;
|
999
|
-
case LSM_MATHML_NOTATION_RADICAL:
|
1000
|
-
stretch_bbox = *bbox;
|
1001
|
-
stretch_bbox.width = x_child_offset;
|
1002
|
-
lsm_mathml_view_show_radical (view, style, x, y - bbox->depth,
|
1003
|
-
bbox->width - x_child_offset, &stretch_bbox);
|
1004
|
-
break;
|
1005
|
-
case LSM_MATHML_NOTATION_BOX:
|
1006
|
-
cairo_move_to (cairo, x, y);
|
1007
|
-
cairo_line_to (cairo, x, y1);
|
1008
|
-
cairo_line_to (cairo, x1, y1);
|
1009
|
-
cairo_line_to (cairo, x1, y);
|
1010
|
-
cairo_close_path (cairo);
|
1011
|
-
cairo_stroke (cairo);
|
1012
|
-
break;
|
1013
|
-
case LSM_MATHML_NOTATION_ROUNDED_BOX:
|
1014
|
-
_cairo_rounded_rectangle (cairo, base_x, x, y, x1, y1);
|
1015
|
-
break;
|
1016
|
-
case LSM_MATHML_NOTATION_CIRCLE:
|
1017
|
-
cairo_save (cairo);
|
1018
|
-
cairo_translate (cairo, (x + x1) / 2.0, (y + y1) / 2.0);
|
1019
|
-
cairo_scale (cairo, (x - x1) / 2.0, (y - y1) / 2.0);
|
1020
|
-
cairo_arc (cairo, 0., 0., 1., 0., 2 * M_PI);
|
1021
|
-
cairo_restore (cairo);
|
1022
|
-
cairo_stroke (cairo);
|
1023
|
-
break;
|
1024
|
-
case LSM_MATHML_NOTATION_LEFT:
|
1025
|
-
cairo_move_to (cairo, x, y);
|
1026
|
-
cairo_line_to (cairo, x, y1);
|
1027
|
-
cairo_stroke (cairo);
|
1028
|
-
break;
|
1029
|
-
case LSM_MATHML_NOTATION_RIGHT:
|
1030
|
-
cairo_move_to (cairo, x1, y);
|
1031
|
-
cairo_line_to (cairo, x1, y1);
|
1032
|
-
cairo_stroke (cairo);
|
1033
|
-
break;
|
1034
|
-
case LSM_MATHML_NOTATION_TOP:
|
1035
|
-
cairo_move_to (cairo, x, y1);
|
1036
|
-
cairo_line_to (cairo, x1, y1);
|
1037
|
-
cairo_stroke (cairo);
|
1038
|
-
break;
|
1039
|
-
case LSM_MATHML_NOTATION_BOTTOM:
|
1040
|
-
cairo_move_to (cairo, x, y);
|
1041
|
-
cairo_line_to (cairo, x1, y);
|
1042
|
-
cairo_stroke (cairo);
|
1043
|
-
break;
|
1044
|
-
case LSM_MATHML_NOTATION_UP_DIAGONAL_STRIKE:
|
1045
|
-
cairo_move_to (cairo, x, y);
|
1046
|
-
cairo_line_to (cairo, x1, y1);
|
1047
|
-
cairo_stroke (cairo);
|
1048
|
-
break;
|
1049
|
-
case LSM_MATHML_NOTATION_DOWN_DIAGONAL_STRIKE:
|
1050
|
-
cairo_move_to (cairo, x, y1);
|
1051
|
-
cairo_line_to (cairo, x1, y);
|
1052
|
-
cairo_stroke (cairo);
|
1053
|
-
break;
|
1054
|
-
case LSM_MATHML_NOTATION_HORIZONTAL_STRIKE:
|
1055
|
-
cairo_move_to (cairo, x, (y + y1) / 2.0);
|
1056
|
-
cairo_line_to (cairo, x1,(y + y1) / 2.0);
|
1057
|
-
cairo_stroke (cairo);
|
1058
|
-
break;
|
1059
|
-
case LSM_MATHML_NOTATION_VERTICAL_STRIKE:
|
1060
|
-
cairo_move_to (cairo, (x + x1) / 2.0, y);
|
1061
|
-
cairo_line_to (cairo, (x + x1) / 2.0, y1);
|
1062
|
-
cairo_stroke (cairo);
|
1063
|
-
break;
|
1064
|
-
case LSM_MATHML_NOTATION_MADRUWB:
|
1065
|
-
cairo_move_to (cairo, x, y);
|
1066
|
-
cairo_line_to (cairo, x1, y);
|
1067
|
-
cairo_line_to (cairo, x1, y1);
|
1068
|
-
cairo_stroke (cairo);
|
1069
|
-
break;
|
1070
|
-
case LSM_MATHML_NOTATION_UP_DIAGONAL_ARROW:
|
1071
|
-
_cairo_arrow (cairo, 4.0 * base_x, x, y, x1, y1);
|
1072
|
-
break;
|
1073
|
-
case LSM_MATHML_NOTATION_ERROR:
|
1074
|
-
case LSM_MATHML_NOTATION_LONGDIV:
|
1075
|
-
default:
|
1076
|
-
cairo_move_to (cairo, x, y);
|
1077
|
-
cairo_curve_to (cairo,
|
1078
|
-
x + bbox->height / 4.0, y - bbox->height / 4.0,
|
1079
|
-
x + bbox->height / 4.0, y1 + bbox->height / 4.0,
|
1080
|
-
x, y1);
|
1081
|
-
cairo_line_to (cairo, x1, y1);
|
1082
|
-
cairo_stroke (cairo);
|
1083
|
-
break;
|
1084
|
-
}
|
1085
|
-
}
|
1086
|
-
|
1087
|
-
void
|
1088
|
-
lsm_mathml_view_show_background (LsmMathmlView *view,
|
1089
|
-
const LsmMathmlElementStyle *style,
|
1090
|
-
double x, double y,
|
1091
|
-
const LsmMathmlBbox *bbox)
|
1092
|
-
{
|
1093
|
-
cairo_t *cairo;
|
1094
|
-
double x0, y0, x1, y1;
|
1095
|
-
|
1096
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
1097
|
-
g_return_if_fail (style != NULL);
|
1098
|
-
|
1099
|
-
cairo = view->dom_view.cairo;
|
1100
|
-
|
1101
|
-
x0 = x;
|
1102
|
-
y0 = y - bbox->height;
|
1103
|
-
x1 = x + bbox->width;
|
1104
|
-
y1 = y + bbox->depth;
|
1105
|
-
|
1106
|
-
if (!view->dom_view.is_vector)
|
1107
|
-
_round_rectangle_coordinates (cairo, _GMATHML_STROKE_WIDTH_EVEN, &x0, &y0, &x1, &y1);
|
1108
|
-
|
1109
|
-
cairo_set_source_rgba (cairo,
|
1110
|
-
style->math_background.red,
|
1111
|
-
style->math_background.green,
|
1112
|
-
style->math_background.blue,
|
1113
|
-
style->math_background.alpha);
|
1114
|
-
cairo_rectangle (cairo, x0, y0, x1 - x0, y1 - y0);
|
1115
|
-
cairo_fill (cairo);
|
1116
|
-
}
|
1117
|
-
|
1118
|
-
void
|
1119
|
-
lsm_mathml_view_show_bbox (LsmMathmlView *view, double x, double y, const LsmMathmlBbox *bbox)
|
1120
|
-
{
|
1121
|
-
cairo_t *cairo;
|
1122
|
-
|
1123
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
1124
|
-
|
1125
|
-
cairo = view->dom_view.cairo;
|
1126
|
-
|
1127
|
-
if (lsm_debug_check (&lsm_debug_category_render, LSM_DEBUG_LEVEL_DEBUG)) {
|
1128
|
-
cairo_move_to (cairo, x, y);
|
1129
|
-
cairo_set_source_rgba (cairo, 0,0,1,0.1);
|
1130
|
-
cairo_rectangle (cairo, x, y, bbox->width, -bbox->height);
|
1131
|
-
cairo_rectangle (cairo, x, y, bbox->width, bbox->depth);
|
1132
|
-
cairo_fill (cairo);
|
1133
|
-
}
|
1134
|
-
}
|
1135
|
-
|
1136
|
-
void
|
1137
|
-
lsm_mathml_view_show_rectangle (LsmMathmlView *view,
|
1138
|
-
const LsmMathmlElementStyle *style,
|
1139
|
-
double x0, double y0, double width, double height,
|
1140
|
-
LsmMathmlLine line, double line_width)
|
1141
|
-
{
|
1142
|
-
_LsmMathmlStrokeWidth stroke_width;
|
1143
|
-
cairo_t *cairo;
|
1144
|
-
double x1, y1;
|
1145
|
-
|
1146
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
1147
|
-
g_return_if_fail (style != NULL);
|
1148
|
-
|
1149
|
-
stroke_width = _emit_stroke_attributes (view, line, line_width, &style->math_color);
|
1150
|
-
|
1151
|
-
if (stroke_width == _GMATHML_STROKE_WIDTH_NULL)
|
1152
|
-
return;
|
1153
|
-
|
1154
|
-
x1 = x0 + width;
|
1155
|
-
y1 = y0 + height;
|
1156
|
-
|
1157
|
-
cairo = view->dom_view.cairo;
|
1158
|
-
|
1159
|
-
_round_rectangle_coordinates (cairo, stroke_width, &x0, &y0, &x1, &y1);
|
1160
|
-
|
1161
|
-
cairo_rectangle (cairo, x0, y0, x1 - x0, y1 - y0);
|
1162
|
-
cairo_stroke (cairo);
|
1163
|
-
}
|
1164
|
-
|
1165
|
-
void
|
1166
|
-
lsm_mathml_view_show_line (LsmMathmlView *view,
|
1167
|
-
const LsmMathmlElementStyle *style,
|
1168
|
-
double x0, double y0, double x1, double y1,
|
1169
|
-
LsmMathmlLine line, double line_width)
|
1170
|
-
{
|
1171
|
-
_LsmMathmlStrokeWidth stroke_width;
|
1172
|
-
cairo_t *cairo;
|
1173
|
-
|
1174
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
1175
|
-
g_return_if_fail (style != NULL);
|
1176
|
-
|
1177
|
-
stroke_width = _emit_stroke_attributes (view, line, line_width, &style->math_color);
|
1178
|
-
|
1179
|
-
if (stroke_width == _GMATHML_STROKE_WIDTH_NULL)
|
1180
|
-
return;
|
1181
|
-
|
1182
|
-
cairo = view->dom_view.cairo;
|
1183
|
-
|
1184
|
-
_round_rectangle_coordinates (cairo, stroke_width, &x0, &y0, &x1, &y1);
|
1185
|
-
|
1186
|
-
cairo_move_to (cairo, x0, y0);
|
1187
|
-
cairo_line_to (cairo, x1, y1);
|
1188
|
-
cairo_stroke (cairo);
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
void
|
1192
|
-
lsm_mathml_view_show_fraction_line (LsmMathmlView *view,
|
1193
|
-
const LsmMathmlElementStyle *style,
|
1194
|
-
double x, double y,
|
1195
|
-
double width, double thickness)
|
1196
|
-
{
|
1197
|
-
_LsmMathmlStrokeWidth stroke_width;
|
1198
|
-
cairo_t *cairo;
|
1199
|
-
double x0, y0, x1, y1;
|
1200
|
-
|
1201
|
-
g_return_if_fail (LSM_IS_MATHML_VIEW (view));
|
1202
|
-
g_return_if_fail (style != NULL);
|
1203
|
-
|
1204
|
-
stroke_width = _emit_stroke_attributes (view, LSM_MATHML_LINE_SOLID, thickness, &style->math_color);
|
1205
|
-
|
1206
|
-
_debug_element_style ("[LsmMathmlView::render] Show fraction line %s", style);
|
1207
|
-
|
1208
|
-
if (stroke_width == _GMATHML_STROKE_WIDTH_NULL)
|
1209
|
-
return;
|
1210
|
-
|
1211
|
-
x0 = x;
|
1212
|
-
y0 = y;
|
1213
|
-
x1 = x + width;
|
1214
|
-
y1 = y;
|
1215
|
-
|
1216
|
-
cairo = view->dom_view.cairo;
|
1217
|
-
|
1218
|
-
_round_rectangle_coordinates (cairo, stroke_width, &x0, &y0, &x1, &y1);
|
1219
|
-
|
1220
|
-
cairo_move_to (cairo, x0, y0);
|
1221
|
-
cairo_line_to (cairo, x1, y1);
|
1222
|
-
cairo_stroke (cairo);
|
1223
|
-
}
|
1224
|
-
|
1225
|
-
static const LsmMathmlBbox *
|
1226
|
-
_view_measure (LsmMathmlView *view, double *width, double *height, double *baseline)
|
1227
|
-
{
|
1228
|
-
LsmMathmlMathElement *math_element;
|
1229
|
-
const LsmMathmlBbox *bbox;
|
1230
|
-
|
1231
|
-
math_element = lsm_mathml_document_get_root_element (LSM_MATHML_DOCUMENT (view->dom_view.document));
|
1232
|
-
if (math_element == NULL)
|
1233
|
-
return NULL;
|
1234
|
-
|
1235
|
-
lsm_mathml_math_element_update (math_element);
|
1236
|
-
|
1237
|
-
bbox = lsm_mathml_math_element_measure (math_element, view);
|
1238
|
-
|
1239
|
-
if (bbox != NULL) {
|
1240
|
-
if (width != NULL)
|
1241
|
-
*width = bbox->width;
|
1242
|
-
if (height != NULL)
|
1243
|
-
*height = bbox->height + bbox->depth;
|
1244
|
-
if (baseline != NULL)
|
1245
|
-
*baseline = bbox->height;
|
1246
|
-
}
|
1247
|
-
|
1248
|
-
return bbox;
|
1249
|
-
}
|
1250
|
-
|
1251
|
-
static void
|
1252
|
-
lsm_mathml_view_measure (LsmDomView *dom_view, double *width, double *height, double *baseline)
|
1253
|
-
{
|
1254
|
-
_view_measure (LSM_MATHML_VIEW (dom_view), width, height, baseline);
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
static void
|
1258
|
-
lsm_mathml_view_render (LsmDomView *dom_view)
|
1259
|
-
{
|
1260
|
-
LsmMathmlView *view = LSM_MATHML_VIEW (dom_view);
|
1261
|
-
LsmMathmlMathElement *math_element;
|
1262
|
-
cairo_t *cairo;
|
1263
|
-
const LsmMathmlBbox *bbox;
|
1264
|
-
double resolution_ppi;
|
1265
|
-
|
1266
|
-
math_element = lsm_mathml_document_get_root_element (LSM_MATHML_DOCUMENT (view->dom_view.document));
|
1267
|
-
if (math_element == NULL)
|
1268
|
-
return;
|
1269
|
-
|
1270
|
-
resolution_ppi = lsm_dom_view_get_resolution (dom_view);
|
1271
|
-
|
1272
|
-
bbox = _view_measure (view, NULL, NULL, NULL);
|
1273
|
-
|
1274
|
-
lsm_mathml_math_element_layout (math_element, view, bbox);
|
1275
|
-
|
1276
|
-
cairo = view->dom_view.cairo;
|
1277
|
-
|
1278
|
-
cairo_scale (cairo, resolution_ppi / 72.0, resolution_ppi / 72.0);
|
1279
|
-
|
1280
|
-
cairo_translate (cairo, 0, bbox->height);
|
1281
|
-
|
1282
|
-
lsm_mathml_math_element_render (math_element, view);
|
1283
|
-
|
1284
|
-
lsm_debug_render ("[LsmMathmlView::render] cairo status = %s",
|
1285
|
-
cairo_status_to_string (cairo_status (cairo)));
|
1286
|
-
}
|
1287
|
-
|
1288
|
-
LsmMathmlView *
|
1289
|
-
lsm_mathml_view_new (LsmMathmlDocument *document)
|
1290
|
-
{
|
1291
|
-
LsmMathmlView *view;
|
1292
|
-
|
1293
|
-
view = g_object_new (LSM_TYPE_MATHML_VIEW, NULL);
|
1294
|
-
|
1295
|
-
lsm_dom_view_set_document (LSM_DOM_VIEW (view), LSM_DOM_DOCUMENT (document));
|
1296
|
-
|
1297
|
-
return view;
|
1298
|
-
}
|
1299
|
-
|
1300
|
-
static void
|
1301
|
-
lsm_mathml_view_init (LsmMathmlView *view)
|
1302
|
-
{
|
1303
|
-
}
|
1304
|
-
|
1305
|
-
static void
|
1306
|
-
lsm_mathml_view_finalize (GObject *object)
|
1307
|
-
{
|
1308
|
-
parent_class->finalize (object);
|
1309
|
-
}
|
1310
|
-
|
1311
|
-
static void
|
1312
|
-
lsm_mathml_view_class_init (LsmMathmlViewClass *view_class)
|
1313
|
-
{
|
1314
|
-
GObjectClass *object_class = G_OBJECT_CLASS (view_class);
|
1315
|
-
LsmDomViewClass *d_view_class = LSM_DOM_VIEW_CLASS (view_class);
|
1316
|
-
|
1317
|
-
parent_class = g_type_class_peek_parent (view_class);
|
1318
|
-
|
1319
|
-
object_class->finalize = lsm_mathml_view_finalize;
|
1320
|
-
|
1321
|
-
d_view_class->measure = lsm_mathml_view_measure;
|
1322
|
-
d_view_class->render = lsm_mathml_view_render;
|
1323
|
-
}
|
1324
|
-
|
1325
|
-
G_DEFINE_TYPE (LsmMathmlView, lsm_mathml_view, LSM_TYPE_DOM_VIEW)
|