mathematical 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +12 -0
- data/ext/mathematical/extconf.rb +12 -2
- data/ext/mathematical/{itex2MML.h → itexToMML/itex2MML.h} +0 -0
- data/ext/mathematical/{lex.yy.c → itexToMML/lex.yy.c} +0 -0
- data/ext/mathematical/{y.tab.c → itexToMML/y.tab.c} +0 -0
- data/ext/mathematical/{y.tab.h → itexToMML/y.tab.h} +0 -0
- data/ext/mathematical/lasem/itex2mml/itex2MML.h +63 -0
- data/ext/mathematical/{lasemrender.c → lasem/src/lasemrender.c} +27 -21
- data/ext/mathematical/{lsm.c → lasem/src/lsm.c} +0 -0
- data/ext/mathematical/{lsm.h → lasem/src/lsm.h} +0 -0
- data/ext/mathematical/{lsmattributes.c → lasem/src/lsmattributes.c} +0 -0
- data/ext/mathematical/{lsmattributes.h → lasem/src/lsmattributes.h} +0 -0
- data/ext/mathematical/{lsmcairo.c → lasem/src/lsmcairo.c} +0 -0
- data/ext/mathematical/{lsmcairo.h → lasem/src/lsmcairo.h} +0 -0
- data/ext/mathematical/{lsmdebug.c → lasem/src/lsmdebug.c} +2 -0
- data/ext/mathematical/{lsmdebug.h → lasem/src/lsmdebug.h} +3 -3
- data/ext/mathematical/{lsmdom.h → lasem/src/lsmdom.h} +0 -0
- data/ext/mathematical/{lsmdomcharacterdata.c → lasem/src/lsmdomcharacterdata.c} +0 -0
- data/ext/mathematical/{lsmdomcharacterdata.h → lasem/src/lsmdomcharacterdata.h} +0 -0
- data/ext/mathematical/{lsmdomdocument.c → lasem/src/lsmdomdocument.c} +0 -0
- data/ext/mathematical/{lsmdomdocument.h → lasem/src/lsmdomdocument.h} +0 -0
- data/ext/mathematical/{lsmdomdocumentfragment.c → lasem/src/lsmdomdocumentfragment.c} +0 -0
- data/ext/mathematical/{lsmdomdocumentfragment.h → lasem/src/lsmdomdocumentfragment.h} +0 -0
- data/ext/mathematical/{lsmdomelement.c → lasem/src/lsmdomelement.c} +0 -0
- data/ext/mathematical/{lsmdomelement.h → lasem/src/lsmdomelement.h} +0 -0
- data/ext/mathematical/{lsmdomentities.c → lasem/src/lsmdomentities.c} +0 -0
- data/ext/mathematical/{lsmdomentities.h → lasem/src/lsmdomentities.h} +0 -0
- data/ext/mathematical/{lsmdomimplementation.c → lasem/src/lsmdomimplementation.c} +0 -0
- data/ext/mathematical/{lsmdomimplementation.h → lasem/src/lsmdomimplementation.h} +0 -0
- data/ext/mathematical/{lsmdomnamednodemap.c → lasem/src/lsmdomnamednodemap.c} +0 -0
- data/ext/mathematical/{lsmdomnamednodemap.h → lasem/src/lsmdomnamednodemap.h} +0 -0
- data/ext/mathematical/{lsmdomnode.c → lasem/src/lsmdomnode.c} +0 -0
- data/ext/mathematical/{lsmdomnode.h → lasem/src/lsmdomnode.h} +0 -0
- data/ext/mathematical/{lsmdomnodelist.c → lasem/src/lsmdomnodelist.c} +0 -0
- data/ext/mathematical/{lsmdomnodelist.h → lasem/src/lsmdomnodelist.h} +0 -0
- data/ext/mathematical/{lsmdomparser.c → lasem/src/lsmdomparser.c} +78 -16
- data/ext/mathematical/{lsmdomparser.h → lasem/src/lsmdomparser.h} +7 -7
- data/ext/mathematical/{lsmdomtext.c → lasem/src/lsmdomtext.c} +0 -0
- data/ext/mathematical/{lsmdomtext.h → lasem/src/lsmdomtext.h} +0 -0
- data/ext/mathematical/{lsmdomtypes.h → lasem/src/lsmdomtypes.h} +0 -0
- data/ext/mathematical/{lsmdomview.c → lasem/src/lsmdomview.c} +1 -0
- data/ext/mathematical/{lsmdomview.h → lasem/src/lsmdomview.h} +0 -0
- data/ext/mathematical/{lsmitex.c → lasem/src/lsmitex.c} +4 -4
- data/ext/mathematical/{lsmitex.h → lasem/src/lsmitex.h} +1 -1
- data/ext/mathematical/{lsmmathml.h → lasem/src/lsmmathml.h} +0 -0
- data/ext/mathematical/{lsmmathmlactionelement.c → lasem/src/lsmmathmlactionelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlactionelement.h → lasem/src/lsmmathmlactionelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlaligngroupelement.c → lasem/src/lsmmathmlaligngroupelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlaligngroupelement.h → lasem/src/lsmmathmlaligngroupelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlalignmarkelement.c → lasem/src/lsmmathmlalignmarkelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlalignmarkelement.h → lasem/src/lsmmathmlalignmarkelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlattributes.c → lasem/src/lsmmathmlattributes.c} +0 -0
- data/ext/mathematical/{lsmmathmlattributes.h → lasem/src/lsmmathmlattributes.h} +0 -0
- data/ext/mathematical/{lsmmathmldocument.c → lasem/src/lsmmathmldocument.c} +2 -2
- data/ext/mathematical/{lsmmathmldocument.h → lasem/src/lsmmathmldocument.h} +1 -1
- data/ext/mathematical/{lsmmathmlelement.c → lasem/src/lsmmathmlelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlelement.h → lasem/src/lsmmathmlelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlenums.c → lasem/src/lsmmathmlenums.c} +0 -0
- data/ext/mathematical/{lsmmathmlenums.h → lasem/src/lsmmathmlenums.h} +0 -0
- data/ext/mathematical/{lsmmathmlerrorelement.c → lasem/src/lsmmathmlerrorelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlerrorelement.h → lasem/src/lsmmathmlerrorelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlfencedelement.c → lasem/src/lsmmathmlfencedelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlfencedelement.h → lasem/src/lsmmathmlfencedelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlfractionelement.c → lasem/src/lsmmathmlfractionelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlfractionelement.h → lasem/src/lsmmathmlfractionelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlglyphtableams.c → lasem/src/lsmmathmlglyphtableams.c} +0 -0
- data/ext/mathematical/{lsmmathmlglyphtableams.h → lasem/src/lsmmathmlglyphtableams.h} +0 -0
- data/ext/mathematical/{lsmmathmlitexelement.c → lasem/src/lsmmathmlitexelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlitexelement.h → lasem/src/lsmmathmlitexelement.h} +0 -0
- data/ext/mathematical/{lsmmathmllayoututils.c → lasem/src/lsmmathmllayoututils.c} +0 -0
- data/ext/mathematical/{lsmmathmllayoututils.h → lasem/src/lsmmathmllayoututils.h} +0 -0
- data/ext/mathematical/{lsmmathmlmathelement.c → lasem/src/lsmmathmlmathelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlmathelement.h → lasem/src/lsmmathmlmathelement.h} +0 -0
- data/ext/mathematical/{lsmmathmloperatordictionary.c → lasem/src/lsmmathmloperatordictionary.c} +0 -0
- data/ext/mathematical/{lsmmathmloperatordictionary.h → lasem/src/lsmmathmloperatordictionary.h} +0 -0
- data/ext/mathematical/{lsmmathmloperatorelement.c → lasem/src/lsmmathmloperatorelement.c} +0 -0
- data/ext/mathematical/{lsmmathmloperatorelement.h → lasem/src/lsmmathmloperatorelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlpaddedelement.c → lasem/src/lsmmathmlpaddedelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlpaddedelement.h → lasem/src/lsmmathmlpaddedelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlphantomelement.c → lasem/src/lsmmathmlphantomelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlphantomelement.h → lasem/src/lsmmathmlphantomelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlpresentationcontainer.c → lasem/src/lsmmathmlpresentationcontainer.c} +0 -0
- data/ext/mathematical/{lsmmathmlpresentationcontainer.h → lasem/src/lsmmathmlpresentationcontainer.h} +0 -0
- data/ext/mathematical/{lsmmathmlpresentationtoken.c → lasem/src/lsmmathmlpresentationtoken.c} +0 -0
- data/ext/mathematical/{lsmmathmlpresentationtoken.h → lasem/src/lsmmathmlpresentationtoken.h} +0 -0
- data/ext/mathematical/{lsmmathmlradicalelement.c → lasem/src/lsmmathmlradicalelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlradicalelement.h → lasem/src/lsmmathmlradicalelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlrowelement.c → lasem/src/lsmmathmlrowelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlrowelement.h → lasem/src/lsmmathmlrowelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlscriptelement.c → lasem/src/lsmmathmlscriptelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlscriptelement.h → lasem/src/lsmmathmlscriptelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlsemanticselement.c → lasem/src/lsmmathmlsemanticselement.c} +0 -0
- data/ext/mathematical/{lsmmathmlsemanticselement.h → lasem/src/lsmmathmlsemanticselement.h} +0 -0
- data/ext/mathematical/{lsmmathmlspaceelement.c → lasem/src/lsmmathmlspaceelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlspaceelement.h → lasem/src/lsmmathmlspaceelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlstringelement.c → lasem/src/lsmmathmlstringelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlstringelement.h → lasem/src/lsmmathmlstringelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlstyle.c → lasem/src/lsmmathmlstyle.c} +0 -0
- data/ext/mathematical/{lsmmathmlstyle.h → lasem/src/lsmmathmlstyle.h} +0 -0
- data/ext/mathematical/{lsmmathmlstyleelement.c → lasem/src/lsmmathmlstyleelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlstyleelement.h → lasem/src/lsmmathmlstyleelement.h} +0 -0
- data/ext/mathematical/{lsmmathmltablecellelement.c → lasem/src/lsmmathmltablecellelement.c} +0 -0
- data/ext/mathematical/{lsmmathmltablecellelement.h → lasem/src/lsmmathmltablecellelement.h} +0 -0
- data/ext/mathematical/{lsmmathmltableelement.c → lasem/src/lsmmathmltableelement.c} +0 -0
- data/ext/mathematical/{lsmmathmltableelement.h → lasem/src/lsmmathmltableelement.h} +0 -0
- data/ext/mathematical/{lsmmathmltablerowelement.c → lasem/src/lsmmathmltablerowelement.c} +0 -0
- data/ext/mathematical/{lsmmathmltablerowelement.h → lasem/src/lsmmathmltablerowelement.h} +0 -0
- data/ext/mathematical/{lsmmathmltraits.c → lasem/src/lsmmathmltraits.c} +0 -0
- data/ext/mathematical/{lsmmathmltraits.h → lasem/src/lsmmathmltraits.h} +0 -0
- data/ext/mathematical/{lsmmathmltypes.h → lasem/src/lsmmathmltypes.h} +0 -0
- data/ext/mathematical/{lsmmathmlunderoverelement.c → lasem/src/lsmmathmlunderoverelement.c} +0 -0
- data/ext/mathematical/{lsmmathmlunderoverelement.h → lasem/src/lsmmathmlunderoverelement.h} +0 -0
- data/ext/mathematical/{lsmmathmlutils.c → lasem/src/lsmmathmlutils.c} +0 -0
- data/ext/mathematical/{lsmmathmlutils.h → lasem/src/lsmmathmlutils.h} +0 -0
- data/ext/mathematical/{lsmmathmlview.c → lasem/src/lsmmathmlview.c} +0 -0
- data/ext/mathematical/{lsmmathmlview.h → lasem/src/lsmmathmlview.h} +0 -0
- data/ext/mathematical/{lsmproperties.c → lasem/src/lsmproperties.c} +0 -0
- data/ext/mathematical/{lsmproperties.h → lasem/src/lsmproperties.h} +0 -0
- data/ext/mathematical/{lsmstr.c → lasem/src/lsmstr.c} +0 -0
- data/ext/mathematical/{lsmstr.h → lasem/src/lsmstr.h} +0 -0
- data/ext/mathematical/{lsmsvg.h → lasem/src/lsmsvg.h} +0 -0
- data/ext/mathematical/{lsmsvgaelement.c → lasem/src/lsmsvgaelement.c} +0 -0
- data/ext/mathematical/{lsmsvgaelement.h → lasem/src/lsmsvgaelement.h} +0 -0
- data/ext/mathematical/{lsmsvgattributes.h → lasem/src/lsmsvgattributes.h} +0 -0
- data/ext/mathematical/{lsmsvgcircleelement.c → lasem/src/lsmsvgcircleelement.c} +0 -0
- data/ext/mathematical/{lsmsvgcircleelement.h → lasem/src/lsmsvgcircleelement.h} +0 -0
- data/ext/mathematical/{lsmsvgclippathelement.c → lasem/src/lsmsvgclippathelement.c} +0 -0
- data/ext/mathematical/{lsmsvgclippathelement.h → lasem/src/lsmsvgclippathelement.h} +0 -0
- data/ext/mathematical/{lsmsvgcolors.c → lasem/src/lsmsvgcolors.c} +0 -0
- data/ext/mathematical/{lsmsvgcolors.h → lasem/src/lsmsvgcolors.h} +0 -0
- data/ext/mathematical/{lsmsvgdefselement.c → lasem/src/lsmsvgdefselement.c} +0 -0
- data/ext/mathematical/{lsmsvgdefselement.h → lasem/src/lsmsvgdefselement.h} +0 -0
- data/ext/mathematical/{lsmsvgdocument.c → lasem/src/lsmsvgdocument.c} +0 -0
- data/ext/mathematical/{lsmsvgdocument.h → lasem/src/lsmsvgdocument.h} +0 -0
- data/ext/mathematical/{lsmsvgelement.c → lasem/src/lsmsvgelement.c} +0 -0
- data/ext/mathematical/{lsmsvgelement.h → lasem/src/lsmsvgelement.h} +0 -0
- data/ext/mathematical/{lsmsvgellipseelement.c → lasem/src/lsmsvgellipseelement.c} +0 -0
- data/ext/mathematical/{lsmsvgellipseelement.h → lasem/src/lsmsvgellipseelement.h} +0 -0
- data/ext/mathematical/{lsmsvgenums.c → lasem/src/lsmsvgenums.c} +0 -0
- data/ext/mathematical/{lsmsvgenums.h → lasem/src/lsmsvgenums.h} +0 -0
- data/ext/mathematical/{lsmsvgfilterblend.c → lasem/src/lsmsvgfilterblend.c} +0 -0
- data/ext/mathematical/{lsmsvgfilterblend.h → lasem/src/lsmsvgfilterblend.h} +0 -0
- data/ext/mathematical/{lsmsvgfiltercomposite.c → lasem/src/lsmsvgfiltercomposite.c} +0 -0
- data/ext/mathematical/{lsmsvgfiltercomposite.h → lasem/src/lsmsvgfiltercomposite.h} +0 -0
- data/ext/mathematical/{lsmsvgfilterelement.c → lasem/src/lsmsvgfilterelement.c} +0 -0
- data/ext/mathematical/{lsmsvgfilterelement.h → lasem/src/lsmsvgfilterelement.h} +0 -0
- data/ext/mathematical/{lsmsvgfilterflood.c → lasem/src/lsmsvgfilterflood.c} +0 -0
- data/ext/mathematical/{lsmsvgfilterflood.h → lasem/src/lsmsvgfilterflood.h} +0 -0
- data/ext/mathematical/{lsmsvgfiltergaussianblur.c → lasem/src/lsmsvgfiltergaussianblur.c} +0 -0
- data/ext/mathematical/{lsmsvgfiltergaussianblur.h → lasem/src/lsmsvgfiltergaussianblur.h} +0 -0
- data/ext/mathematical/{lsmsvgfiltermerge.c → lasem/src/lsmsvgfiltermerge.c} +0 -0
- data/ext/mathematical/{lsmsvgfiltermerge.h → lasem/src/lsmsvgfiltermerge.h} +0 -0
- data/ext/mathematical/{lsmsvgfiltermergenode.c → lasem/src/lsmsvgfiltermergenode.c} +0 -0
- data/ext/mathematical/{lsmsvgfiltermergenode.h → lasem/src/lsmsvgfiltermergenode.h} +0 -0
- data/ext/mathematical/{lsmsvgfilteroffset.c → lasem/src/lsmsvgfilteroffset.c} +0 -0
- data/ext/mathematical/{lsmsvgfilteroffset.h → lasem/src/lsmsvgfilteroffset.h} +0 -0
- data/ext/mathematical/{lsmsvgfilterprimitive.c → lasem/src/lsmsvgfilterprimitive.c} +0 -0
- data/ext/mathematical/{lsmsvgfilterprimitive.h → lasem/src/lsmsvgfilterprimitive.h} +0 -0
- data/ext/mathematical/{lsmsvgfilterspecularlighting.c → lasem/src/lsmsvgfilterspecularlighting.c} +0 -0
- data/ext/mathematical/{lsmsvgfilterspecularlighting.h → lasem/src/lsmsvgfilterspecularlighting.h} +0 -0
- data/ext/mathematical/{lsmsvgfiltersurface.c → lasem/src/lsmsvgfiltersurface.c} +0 -0
- data/ext/mathematical/{lsmsvgfiltersurface.h → lasem/src/lsmsvgfiltersurface.h} +0 -0
- data/ext/mathematical/{lsmsvgfiltertile.c → lasem/src/lsmsvgfiltertile.c} +0 -0
- data/ext/mathematical/{lsmsvgfiltertile.h → lasem/src/lsmsvgfiltertile.h} +0 -0
- data/ext/mathematical/{lsmsvggelement.c → lasem/src/lsmsvggelement.c} +0 -0
- data/ext/mathematical/{lsmsvggelement.h → lasem/src/lsmsvggelement.h} +0 -0
- data/ext/mathematical/{lsmsvggradientelement.c → lasem/src/lsmsvggradientelement.c} +0 -0
- data/ext/mathematical/{lsmsvggradientelement.h → lasem/src/lsmsvggradientelement.h} +0 -0
- data/ext/mathematical/{lsmsvgimageelement.c → lasem/src/lsmsvgimageelement.c} +0 -0
- data/ext/mathematical/{lsmsvgimageelement.h → lasem/src/lsmsvgimageelement.h} +0 -0
- data/ext/mathematical/{lsmsvglength.c → lasem/src/lsmsvglength.c} +0 -0
- data/ext/mathematical/{lsmsvglength.h → lasem/src/lsmsvglength.h} +0 -0
- data/ext/mathematical/{lsmsvglineargradientelement.c → lasem/src/lsmsvglineargradientelement.c} +0 -0
- data/ext/mathematical/{lsmsvglineargradientelement.h → lasem/src/lsmsvglineargradientelement.h} +0 -0
- data/ext/mathematical/{lsmsvglineelement.c → lasem/src/lsmsvglineelement.c} +0 -0
- data/ext/mathematical/{lsmsvglineelement.h → lasem/src/lsmsvglineelement.h} +0 -0
- data/ext/mathematical/{lsmsvgmarkerelement.c → lasem/src/lsmsvgmarkerelement.c} +0 -0
- data/ext/mathematical/{lsmsvgmarkerelement.h → lasem/src/lsmsvgmarkerelement.h} +0 -0
- data/ext/mathematical/{lsmsvgmaskelement.c → lasem/src/lsmsvgmaskelement.c} +0 -0
- data/ext/mathematical/{lsmsvgmaskelement.h → lasem/src/lsmsvgmaskelement.h} +0 -0
- data/ext/mathematical/{lsmsvgmatrix.c → lasem/src/lsmsvgmatrix.c} +0 -0
- data/ext/mathematical/{lsmsvgmatrix.h → lasem/src/lsmsvgmatrix.h} +0 -0
- data/ext/mathematical/{lsmsvgpathelement.c → lasem/src/lsmsvgpathelement.c} +0 -0
- data/ext/mathematical/{lsmsvgpathelement.h → lasem/src/lsmsvgpathelement.h} +0 -0
- data/ext/mathematical/{lsmsvgpatternelement.c → lasem/src/lsmsvgpatternelement.c} +0 -0
- data/ext/mathematical/{lsmsvgpatternelement.h → lasem/src/lsmsvgpatternelement.h} +0 -0
- data/ext/mathematical/{lsmsvgpolygonelement.c → lasem/src/lsmsvgpolygonelement.c} +0 -0
- data/ext/mathematical/{lsmsvgpolygonelement.h → lasem/src/lsmsvgpolygonelement.h} +0 -0
- data/ext/mathematical/{lsmsvgpolylineelement.c → lasem/src/lsmsvgpolylineelement.c} +0 -0
- data/ext/mathematical/{lsmsvgpolylineelement.h → lasem/src/lsmsvgpolylineelement.h} +0 -0
- data/ext/mathematical/{lsmsvgradialgradientelement.c → lasem/src/lsmsvgradialgradientelement.c} +0 -0
- data/ext/mathematical/{lsmsvgradialgradientelement.h → lasem/src/lsmsvgradialgradientelement.h} +0 -0
- data/ext/mathematical/{lsmsvgrectelement.c → lasem/src/lsmsvgrectelement.c} +0 -0
- data/ext/mathematical/{lsmsvgrectelement.h → lasem/src/lsmsvgrectelement.h} +0 -0
- data/ext/mathematical/{lsmsvgstopelement.c → lasem/src/lsmsvgstopelement.c} +0 -0
- data/ext/mathematical/{lsmsvgstopelement.h → lasem/src/lsmsvgstopelement.h} +0 -0
- data/ext/mathematical/{lsmsvgstyle.c → lasem/src/lsmsvgstyle.c} +0 -14
- data/ext/mathematical/{lsmsvgstyle.h → lasem/src/lsmsvgstyle.h} +0 -0
- data/ext/mathematical/{lsmsvgsvgelement.c → lasem/src/lsmsvgsvgelement.c} +0 -0
- data/ext/mathematical/{lsmsvgsvgelement.h → lasem/src/lsmsvgsvgelement.h} +0 -0
- data/ext/mathematical/{lsmsvgswitchelement.c → lasem/src/lsmsvgswitchelement.c} +0 -0
- data/ext/mathematical/{lsmsvgswitchelement.h → lasem/src/lsmsvgswitchelement.h} +0 -0
- data/ext/mathematical/{lsmsvgsymbolelement.c → lasem/src/lsmsvgsymbolelement.c} +0 -0
- data/ext/mathematical/{lsmsvgsymbolelement.h → lasem/src/lsmsvgsymbolelement.h} +0 -0
- data/ext/mathematical/{lsmsvgtextelement.c → lasem/src/lsmsvgtextelement.c} +0 -0
- data/ext/mathematical/{lsmsvgtextelement.h → lasem/src/lsmsvgtextelement.h} +0 -0
- data/ext/mathematical/{lsmsvgtraits.c → lasem/src/lsmsvgtraits.c} +0 -0
- data/ext/mathematical/{lsmsvgtraits.h → lasem/src/lsmsvgtraits.h} +0 -0
- data/ext/mathematical/{lsmsvgtransformable.c → lasem/src/lsmsvgtransformable.c} +0 -0
- data/ext/mathematical/{lsmsvgtransformable.h → lasem/src/lsmsvgtransformable.h} +0 -0
- data/ext/mathematical/{lsmsvgtspanelement.c → lasem/src/lsmsvgtspanelement.c} +0 -0
- data/ext/mathematical/{lsmsvgtspanelement.h → lasem/src/lsmsvgtspanelement.h} +0 -0
- data/ext/mathematical/{lsmsvgtypes.h → lasem/src/lsmsvgtypes.h} +0 -0
- data/ext/mathematical/{lsmsvguseelement.c → lasem/src/lsmsvguseelement.c} +0 -0
- data/ext/mathematical/{lsmsvguseelement.h → lasem/src/lsmsvguseelement.h} +0 -0
- data/ext/mathematical/{lsmsvgview.c → lasem/src/lsmsvgview.c} +2 -1
- data/ext/mathematical/{lsmsvgview.h → lasem/src/lsmsvgview.h} +0 -0
- data/ext/mathematical/{lsmtraits.c → lasem/src/lsmtraits.c} +0 -0
- data/ext/mathematical/{lsmtraits.h → lasem/src/lsmtraits.h} +0 -0
- data/ext/mathematical/{lsmtypes.h → lasem/src/lsmtypes.h} +0 -0
- data/ext/mathematical/{lsmutils.c → lasem/src/lsmutils.c} +0 -0
- data/ext/mathematical/{lsmutils.h → lasem/src/lsmutils.h} +0 -0
- data/ext/mathematical/lasem/tests/dom.c +272 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +597 -0
- data/ext/mathematical/lasem/tests/str.c +48 -0
- data/ext/mathematical/lasem/tests/suite.c +125 -0
- data/ext/mathematical/lasem/tools/generate-entity-array.c +2136 -0
- data/ext/mathematical/mathematical.c +38 -34
- data/lib/mathematical/render.rb +5 -4
- data/lib/mathematical/version.rb +1 -1
- data/test/mathematical/maliciousness_test.rb +27 -1
- metadata +242 -242
- data/ext/mathematical/lsmdomenumtypes.c +0 -99
- data/ext/mathematical/lsmdomenumtypes.h +0 -26
- data/ext/mathematical/lsmmathmlenumtypes.c +0 -666
- data/ext/mathematical/lsmmathmlenumtypes.h +0 -90
- data/ext/mathematical/lsmsvgenumtypes.c +0 -1083
- data/ext/mathematical/lsmsvgenumtypes.h +0 -111
@@ -1,99 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated data (by glib-mkenums) */
|
3
|
-
|
4
|
-
#include "lsmdomenumtypes.h"
|
5
|
-
|
6
|
-
/* enumerations from "lsmdebug.h" */
|
7
|
-
#include "lsmdebug.h"
|
8
|
-
|
9
|
-
GType
|
10
|
-
lsm_debug_level_get_type (void)
|
11
|
-
{
|
12
|
-
static GType the_type = 0;
|
13
|
-
|
14
|
-
if (the_type == 0)
|
15
|
-
{
|
16
|
-
static const GEnumValue values[] = {
|
17
|
-
{ LSM_DEBUG_LEVEL_NONE,
|
18
|
-
"LSM_DEBUG_LEVEL_NONE",
|
19
|
-
"none" },
|
20
|
-
{ LSM_DEBUG_LEVEL_WARNING,
|
21
|
-
"LSM_DEBUG_LEVEL_WARNING",
|
22
|
-
"warning" },
|
23
|
-
{ LSM_DEBUG_LEVEL_DEBUG,
|
24
|
-
"LSM_DEBUG_LEVEL_DEBUG",
|
25
|
-
"debug" },
|
26
|
-
{ LSM_DEBUG_LEVEL_LOG,
|
27
|
-
"LSM_DEBUG_LEVEL_LOG",
|
28
|
-
"log" },
|
29
|
-
{ LSM_DEBUG_LEVEL_COUNT,
|
30
|
-
"LSM_DEBUG_LEVEL_COUNT",
|
31
|
-
"count" },
|
32
|
-
{ 0, NULL, NULL }
|
33
|
-
};
|
34
|
-
the_type = g_enum_register_static (
|
35
|
-
g_intern_static_string ("LsmDebugLevel"),
|
36
|
-
values);
|
37
|
-
}
|
38
|
-
return the_type;
|
39
|
-
}
|
40
|
-
|
41
|
-
/* enumerations from "lsmdomnode.h" */
|
42
|
-
#include "lsmdomnode.h"
|
43
|
-
|
44
|
-
GType
|
45
|
-
lsm_dom_node_type_get_type (void)
|
46
|
-
{
|
47
|
-
static GType the_type = 0;
|
48
|
-
|
49
|
-
if (the_type == 0)
|
50
|
-
{
|
51
|
-
static const GEnumValue values[] = {
|
52
|
-
{ LSM_DOM_NODE_TYPE_ELEMENT_NODE,
|
53
|
-
"LSM_DOM_NODE_TYPE_ELEMENT_NODE",
|
54
|
-
"element-node" },
|
55
|
-
{ LSM_DOM_NODE_TYPE_ATTRIBUTE_NODE,
|
56
|
-
"LSM_DOM_NODE_TYPE_ATTRIBUTE_NODE",
|
57
|
-
"attribute-node" },
|
58
|
-
{ LSM_DOM_NODE_TYPE_TEXT_NODE,
|
59
|
-
"LSM_DOM_NODE_TYPE_TEXT_NODE",
|
60
|
-
"text-node" },
|
61
|
-
{ LSM_DOM_NODE_TYPE_CDATA_SECTION_NODE,
|
62
|
-
"LSM_DOM_NODE_TYPE_CDATA_SECTION_NODE",
|
63
|
-
"cdata-section-node" },
|
64
|
-
{ LSM_DOM_NODE_TYPE_ENTITY_REFERENCE_NODE,
|
65
|
-
"LSM_DOM_NODE_TYPE_ENTITY_REFERENCE_NODE",
|
66
|
-
"entity-reference-node" },
|
67
|
-
{ LSM_DOM_NODE_TYPE_ENTITY_NODE,
|
68
|
-
"LSM_DOM_NODE_TYPE_ENTITY_NODE",
|
69
|
-
"entity-node" },
|
70
|
-
{ LSM_DOM_NODE_TYPE_PROCESSING_INSTRUCTION_NODE,
|
71
|
-
"LSM_DOM_NODE_TYPE_PROCESSING_INSTRUCTION_NODE",
|
72
|
-
"processing-instruction-node" },
|
73
|
-
{ LSM_DOM_NODE_TYPE_COMMENT_NODE,
|
74
|
-
"LSM_DOM_NODE_TYPE_COMMENT_NODE",
|
75
|
-
"comment-node" },
|
76
|
-
{ LSM_DOM_NODE_TYPE_DOCUMENT_NODE,
|
77
|
-
"LSM_DOM_NODE_TYPE_DOCUMENT_NODE",
|
78
|
-
"document-node" },
|
79
|
-
{ LSM_DOM_NODE_TYPE_DOCUMENT_TYPE_NODE,
|
80
|
-
"LSM_DOM_NODE_TYPE_DOCUMENT_TYPE_NODE",
|
81
|
-
"document-type-node" },
|
82
|
-
{ LSM_DOM_NODE_TYPE_DOCUMENT_FRAGMENT_NODE,
|
83
|
-
"LSM_DOM_NODE_TYPE_DOCUMENT_FRAGMENT_NODE",
|
84
|
-
"document-fragment-node" },
|
85
|
-
{ LSM_DOM_NODE_TYPE_NOTATION_NODE,
|
86
|
-
"LSM_DOM_NODE_TYPE_NOTATION_NODE",
|
87
|
-
"notation-node" },
|
88
|
-
{ 0, NULL, NULL }
|
89
|
-
};
|
90
|
-
the_type = g_enum_register_static (
|
91
|
-
g_intern_static_string ("LsmDomNodeType"),
|
92
|
-
values);
|
93
|
-
}
|
94
|
-
return the_type;
|
95
|
-
}
|
96
|
-
|
97
|
-
|
98
|
-
/* Generated data ends here */
|
99
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated data (by glib-mkenums) */
|
3
|
-
|
4
|
-
#ifndef LSM_DOM_ENUM_TYPES_H
|
5
|
-
#define LSM_DOM_ENUM_TYPES_H
|
6
|
-
|
7
|
-
#include <glib-object.h>
|
8
|
-
|
9
|
-
G_BEGIN_DECLS
|
10
|
-
|
11
|
-
/* Enumerations from "lsmdebug.h" */
|
12
|
-
|
13
|
-
#define LSM_TYPE_DEBUG_LEVEL (lsm_debug_level_get_type())
|
14
|
-
GType lsm_debug_level_get_type (void) G_GNUC_CONST;
|
15
|
-
|
16
|
-
/* Enumerations from "lsmdomnode.h" */
|
17
|
-
|
18
|
-
#define LSM_TYPE_DOM_NODE_TYPE (lsm_dom_node_type_get_type())
|
19
|
-
GType lsm_dom_node_type_get_type (void) G_GNUC_CONST;
|
20
|
-
|
21
|
-
G_END_DECLS
|
22
|
-
|
23
|
-
#endif /* LSM_DOM_ENUM_TYPES_H */
|
24
|
-
|
25
|
-
/* Generated data ends here */
|
26
|
-
|
@@ -1,666 +0,0 @@
|
|
1
|
-
|
2
|
-
/* Generated data (by glib-mkenums) */
|
3
|
-
|
4
|
-
#include "lsmmathmlenumtypes.h"
|
5
|
-
|
6
|
-
/* enumerations from "lsmmathmlenums.h" */
|
7
|
-
#include "lsmmathmlenums.h"
|
8
|
-
|
9
|
-
GType
|
10
|
-
lsm_mathml_css_type_get_type (void)
|
11
|
-
{
|
12
|
-
static GType the_type = 0;
|
13
|
-
|
14
|
-
if (the_type == 0)
|
15
|
-
{
|
16
|
-
static const GEnumValue values[] = {
|
17
|
-
{ LSM_MATHML_CSS_TYPE_USER,
|
18
|
-
"LSM_MATHML_CSS_TYPE_USER",
|
19
|
-
"user" },
|
20
|
-
{ LSM_MATHML_CSS_TYPE_AUTHOR,
|
21
|
-
"LSM_MATHML_CSS_TYPE_AUTHOR",
|
22
|
-
"author" },
|
23
|
-
{ LSM_MATHML_CSS_TYPE_AUTHOR_IMPORTANT,
|
24
|
-
"LSM_MATHML_CSS_TYPE_AUTHOR_IMPORTANT",
|
25
|
-
"author-important" },
|
26
|
-
{ LSM_MATHML_CSS_TYPE_USER_IMPORTANT,
|
27
|
-
"LSM_MATHML_CSS_TYPE_USER_IMPORTANT",
|
28
|
-
"user-important" },
|
29
|
-
{ 0, NULL, NULL }
|
30
|
-
};
|
31
|
-
the_type = g_enum_register_static (
|
32
|
-
g_intern_static_string ("LsmMathmlCssType"),
|
33
|
-
values);
|
34
|
-
}
|
35
|
-
return the_type;
|
36
|
-
}
|
37
|
-
|
38
|
-
GType
|
39
|
-
lsm_mathml_mode_get_type (void)
|
40
|
-
{
|
41
|
-
static GType the_type = 0;
|
42
|
-
|
43
|
-
if (the_type == 0)
|
44
|
-
{
|
45
|
-
static const GEnumValue values[] = {
|
46
|
-
{ LSM_MATHML_MODE_ERROR,
|
47
|
-
"LSM_MATHML_MODE_ERROR",
|
48
|
-
"error" },
|
49
|
-
{ LSM_MATHML_MODE_DISPLAY,
|
50
|
-
"LSM_MATHML_MODE_DISPLAY",
|
51
|
-
"display" },
|
52
|
-
{ LSM_MATHML_MODE_INLINE,
|
53
|
-
"LSM_MATHML_MODE_INLINE",
|
54
|
-
"inline" },
|
55
|
-
{ 0, NULL, NULL }
|
56
|
-
};
|
57
|
-
the_type = g_enum_register_static (
|
58
|
-
g_intern_static_string ("LsmMathmlMode"),
|
59
|
-
values);
|
60
|
-
}
|
61
|
-
return the_type;
|
62
|
-
}
|
63
|
-
|
64
|
-
GType
|
65
|
-
lsm_mathml_display_get_type (void)
|
66
|
-
{
|
67
|
-
static GType the_type = 0;
|
68
|
-
|
69
|
-
if (the_type == 0)
|
70
|
-
{
|
71
|
-
static const GEnumValue values[] = {
|
72
|
-
{ LSM_MATHML_DISPLAY_ERROR,
|
73
|
-
"LSM_MATHML_DISPLAY_ERROR",
|
74
|
-
"error" },
|
75
|
-
{ LSM_MATHML_DISPLAY_BLOCK,
|
76
|
-
"LSM_MATHML_DISPLAY_BLOCK",
|
77
|
-
"block" },
|
78
|
-
{ LSM_MATHML_DISPLAY_INLINE,
|
79
|
-
"LSM_MATHML_DISPLAY_INLINE",
|
80
|
-
"inline" },
|
81
|
-
{ 0, NULL, NULL }
|
82
|
-
};
|
83
|
-
the_type = g_enum_register_static (
|
84
|
-
g_intern_static_string ("LsmMathmlDisplay"),
|
85
|
-
values);
|
86
|
-
}
|
87
|
-
return the_type;
|
88
|
-
}
|
89
|
-
|
90
|
-
GType
|
91
|
-
lsm_mathml_space_name_get_type (void)
|
92
|
-
{
|
93
|
-
static GType the_type = 0;
|
94
|
-
|
95
|
-
if (the_type == 0)
|
96
|
-
{
|
97
|
-
static const GEnumValue values[] = {
|
98
|
-
{ LSM_MATHML_SPACE_NAME_ERROR,
|
99
|
-
"LSM_MATHML_SPACE_NAME_ERROR",
|
100
|
-
"error" },
|
101
|
-
{ LSM_MATHML_SPACE_NAME_VERY_VERY_THIN,
|
102
|
-
"LSM_MATHML_SPACE_NAME_VERY_VERY_THIN",
|
103
|
-
"very-very-thin" },
|
104
|
-
{ LSM_MATHML_SPACE_NAME_VERY_THIN,
|
105
|
-
"LSM_MATHML_SPACE_NAME_VERY_THIN",
|
106
|
-
"very-thin" },
|
107
|
-
{ LSM_MATHML_SPACE_NAME_THIN,
|
108
|
-
"LSM_MATHML_SPACE_NAME_THIN",
|
109
|
-
"thin" },
|
110
|
-
{ LSM_MATHML_SPACE_NAME_MEDIUM,
|
111
|
-
"LSM_MATHML_SPACE_NAME_MEDIUM",
|
112
|
-
"medium" },
|
113
|
-
{ LSM_MATHML_SPACE_NAME_THICK,
|
114
|
-
"LSM_MATHML_SPACE_NAME_THICK",
|
115
|
-
"thick" },
|
116
|
-
{ LSM_MATHML_SPACE_NAME_VERY_THICK,
|
117
|
-
"LSM_MATHML_SPACE_NAME_VERY_THICK",
|
118
|
-
"very-thick" },
|
119
|
-
{ LSM_MATHML_SPACE_NAME_VERY_VERY_THICK,
|
120
|
-
"LSM_MATHML_SPACE_NAME_VERY_VERY_THICK",
|
121
|
-
"very-very-thick" },
|
122
|
-
{ LSM_MATHML_SPACE_NAME_INFINITY,
|
123
|
-
"LSM_MATHML_SPACE_NAME_INFINITY",
|
124
|
-
"infinity" },
|
125
|
-
{ 0, NULL, NULL }
|
126
|
-
};
|
127
|
-
the_type = g_enum_register_static (
|
128
|
-
g_intern_static_string ("LsmMathmlSpaceName"),
|
129
|
-
values);
|
130
|
-
}
|
131
|
-
return the_type;
|
132
|
-
}
|
133
|
-
|
134
|
-
GType
|
135
|
-
lsm_mathml_unit_get_type (void)
|
136
|
-
{
|
137
|
-
static GType the_type = 0;
|
138
|
-
|
139
|
-
if (the_type == 0)
|
140
|
-
{
|
141
|
-
static const GEnumValue values[] = {
|
142
|
-
{ LSM_MATHML_UNIT_ERROR,
|
143
|
-
"LSM_MATHML_UNIT_ERROR",
|
144
|
-
"error" },
|
145
|
-
{ LSM_MATHML_UNIT_NONE,
|
146
|
-
"LSM_MATHML_UNIT_NONE",
|
147
|
-
"none" },
|
148
|
-
{ LSM_MATHML_UNIT_EM,
|
149
|
-
"LSM_MATHML_UNIT_EM",
|
150
|
-
"em" },
|
151
|
-
{ LSM_MATHML_UNIT_EX,
|
152
|
-
"LSM_MATHML_UNIT_EX",
|
153
|
-
"ex" },
|
154
|
-
{ LSM_MATHML_UNIT_IN,
|
155
|
-
"LSM_MATHML_UNIT_IN",
|
156
|
-
"in" },
|
157
|
-
{ LSM_MATHML_UNIT_CM,
|
158
|
-
"LSM_MATHML_UNIT_CM",
|
159
|
-
"cm" },
|
160
|
-
{ LSM_MATHML_UNIT_MM,
|
161
|
-
"LSM_MATHML_UNIT_MM",
|
162
|
-
"mm" },
|
163
|
-
{ LSM_MATHML_UNIT_PT,
|
164
|
-
"LSM_MATHML_UNIT_PT",
|
165
|
-
"pt" },
|
166
|
-
{ LSM_MATHML_UNIT_PX,
|
167
|
-
"LSM_MATHML_UNIT_PX",
|
168
|
-
"px" },
|
169
|
-
{ LSM_MATHML_UNIT_PC,
|
170
|
-
"LSM_MATHML_UNIT_PC",
|
171
|
-
"pc" },
|
172
|
-
{ LSM_MATHML_UNIT_PERCENT,
|
173
|
-
"LSM_MATHML_UNIT_PERCENT",
|
174
|
-
"percent" },
|
175
|
-
{ 0, NULL, NULL }
|
176
|
-
};
|
177
|
-
the_type = g_enum_register_static (
|
178
|
-
g_intern_static_string ("LsmMathmlUnit"),
|
179
|
-
values);
|
180
|
-
}
|
181
|
-
return the_type;
|
182
|
-
}
|
183
|
-
|
184
|
-
GType
|
185
|
-
lsm_mathml_font_style_get_type (void)
|
186
|
-
{
|
187
|
-
static GType the_type = 0;
|
188
|
-
|
189
|
-
if (the_type == 0)
|
190
|
-
{
|
191
|
-
static const GEnumValue values[] = {
|
192
|
-
{ LSM_MATHML_FONT_STYLE_ERROR,
|
193
|
-
"LSM_MATHML_FONT_STYLE_ERROR",
|
194
|
-
"error" },
|
195
|
-
{ LSM_MATHML_FONT_STYLE_NORMAL,
|
196
|
-
"LSM_MATHML_FONT_STYLE_NORMAL",
|
197
|
-
"normal" },
|
198
|
-
{ LSM_MATHML_FONT_STYLE_ITALIC,
|
199
|
-
"LSM_MATHML_FONT_STYLE_ITALIC",
|
200
|
-
"italic" },
|
201
|
-
{ 0, NULL, NULL }
|
202
|
-
};
|
203
|
-
the_type = g_enum_register_static (
|
204
|
-
g_intern_static_string ("LsmMathmlFontStyle"),
|
205
|
-
values);
|
206
|
-
}
|
207
|
-
return the_type;
|
208
|
-
}
|
209
|
-
|
210
|
-
GType
|
211
|
-
lsm_mathml_font_weight_get_type (void)
|
212
|
-
{
|
213
|
-
static GType the_type = 0;
|
214
|
-
|
215
|
-
if (the_type == 0)
|
216
|
-
{
|
217
|
-
static const GEnumValue values[] = {
|
218
|
-
{ LSM_MATHML_FONT_WEIGHT_ERROR,
|
219
|
-
"LSM_MATHML_FONT_WEIGHT_ERROR",
|
220
|
-
"error" },
|
221
|
-
{ LSM_MATHML_FONT_WEIGHT_NORMAL,
|
222
|
-
"LSM_MATHML_FONT_WEIGHT_NORMAL",
|
223
|
-
"normal" },
|
224
|
-
{ LSM_MATHML_FONT_WEIGHT_BOLD,
|
225
|
-
"LSM_MATHML_FONT_WEIGHT_BOLD",
|
226
|
-
"bold" },
|
227
|
-
{ 0, NULL, NULL }
|
228
|
-
};
|
229
|
-
the_type = g_enum_register_static (
|
230
|
-
g_intern_static_string ("LsmMathmlFontWeight"),
|
231
|
-
values);
|
232
|
-
}
|
233
|
-
return the_type;
|
234
|
-
}
|
235
|
-
|
236
|
-
GType
|
237
|
-
lsm_mathml_variant_get_type (void)
|
238
|
-
{
|
239
|
-
static GType the_type = 0;
|
240
|
-
|
241
|
-
if (the_type == 0)
|
242
|
-
{
|
243
|
-
static const GEnumValue values[] = {
|
244
|
-
{ LSM_MATHML_VARIANT_ERROR,
|
245
|
-
"LSM_MATHML_VARIANT_ERROR",
|
246
|
-
"error" },
|
247
|
-
{ LSM_MATHML_VARIANT_NORMAL,
|
248
|
-
"LSM_MATHML_VARIANT_NORMAL",
|
249
|
-
"normal" },
|
250
|
-
{ LSM_MATHML_VARIANT_BOLD,
|
251
|
-
"LSM_MATHML_VARIANT_BOLD",
|
252
|
-
"bold" },
|
253
|
-
{ LSM_MATHML_VARIANT_ITALIC,
|
254
|
-
"LSM_MATHML_VARIANT_ITALIC",
|
255
|
-
"italic" },
|
256
|
-
{ LSM_MATHML_VARIANT_BOLD_ITALIC,
|
257
|
-
"LSM_MATHML_VARIANT_BOLD_ITALIC",
|
258
|
-
"bold-italic" },
|
259
|
-
{ LSM_MATHML_VARIANT_DOUBLE_STRUCK,
|
260
|
-
"LSM_MATHML_VARIANT_DOUBLE_STRUCK",
|
261
|
-
"double-struck" },
|
262
|
-
{ LSM_MATHML_VARIANT_FRAKTUR_BOLD,
|
263
|
-
"LSM_MATHML_VARIANT_FRAKTUR_BOLD",
|
264
|
-
"fraktur-bold" },
|
265
|
-
{ LSM_MATHML_VARIANT_SCRIPT,
|
266
|
-
"LSM_MATHML_VARIANT_SCRIPT",
|
267
|
-
"script" },
|
268
|
-
{ LSM_MATHML_VARIANT_SCRIPT_BOLD,
|
269
|
-
"LSM_MATHML_VARIANT_SCRIPT_BOLD",
|
270
|
-
"script-bold" },
|
271
|
-
{ LSM_MATHML_VARIANT_FRAKTUR,
|
272
|
-
"LSM_MATHML_VARIANT_FRAKTUR",
|
273
|
-
"fraktur" },
|
274
|
-
{ LSM_MATHML_VARIANT_SANS_SERIF,
|
275
|
-
"LSM_MATHML_VARIANT_SANS_SERIF",
|
276
|
-
"sans-serif" },
|
277
|
-
{ LSM_MATHML_VARIANT_SANS_SERIF_BOLD,
|
278
|
-
"LSM_MATHML_VARIANT_SANS_SERIF_BOLD",
|
279
|
-
"sans-serif-bold" },
|
280
|
-
{ LSM_MATHML_VARIANT_SANS_SERIF_ITALIC,
|
281
|
-
"LSM_MATHML_VARIANT_SANS_SERIF_ITALIC",
|
282
|
-
"sans-serif-italic" },
|
283
|
-
{ LSM_MATHML_VARIANT_SANS_SERIF_BOLD_ITALIC,
|
284
|
-
"LSM_MATHML_VARIANT_SANS_SERIF_BOLD_ITALIC",
|
285
|
-
"sans-serif-bold-italic" },
|
286
|
-
{ LSM_MATHML_VARIANT_MONOSPACE,
|
287
|
-
"LSM_MATHML_VARIANT_MONOSPACE",
|
288
|
-
"monospace" },
|
289
|
-
{ 0, NULL, NULL }
|
290
|
-
};
|
291
|
-
the_type = g_enum_register_static (
|
292
|
-
g_intern_static_string ("LsmMathmlVariant"),
|
293
|
-
values);
|
294
|
-
}
|
295
|
-
return the_type;
|
296
|
-
}
|
297
|
-
|
298
|
-
GType
|
299
|
-
lsm_mathml_form_get_type (void)
|
300
|
-
{
|
301
|
-
static GType the_type = 0;
|
302
|
-
|
303
|
-
if (the_type == 0)
|
304
|
-
{
|
305
|
-
static const GEnumValue values[] = {
|
306
|
-
{ LSM_MATHML_FORM_ERROR,
|
307
|
-
"LSM_MATHML_FORM_ERROR",
|
308
|
-
"error" },
|
309
|
-
{ LSM_MATHML_FORM_PREFIX,
|
310
|
-
"LSM_MATHML_FORM_PREFIX",
|
311
|
-
"prefix" },
|
312
|
-
{ LSM_MATHML_FORM_POSTFIX,
|
313
|
-
"LSM_MATHML_FORM_POSTFIX",
|
314
|
-
"postfix" },
|
315
|
-
{ LSM_MATHML_FORM_INFIX,
|
316
|
-
"LSM_MATHML_FORM_INFIX",
|
317
|
-
"infix" },
|
318
|
-
{ 0, NULL, NULL }
|
319
|
-
};
|
320
|
-
the_type = g_enum_register_static (
|
321
|
-
g_intern_static_string ("LsmMathmlForm"),
|
322
|
-
values);
|
323
|
-
}
|
324
|
-
return the_type;
|
325
|
-
}
|
326
|
-
|
327
|
-
GType
|
328
|
-
lsm_mathml_row_align_get_type (void)
|
329
|
-
{
|
330
|
-
static GType the_type = 0;
|
331
|
-
|
332
|
-
if (the_type == 0)
|
333
|
-
{
|
334
|
-
static const GEnumValue values[] = {
|
335
|
-
{ LSM_MATHML_ROW_ALIGN_ERROR,
|
336
|
-
"LSM_MATHML_ROW_ALIGN_ERROR",
|
337
|
-
"error" },
|
338
|
-
{ LSM_MATHML_ROW_ALIGN_BASELINE,
|
339
|
-
"LSM_MATHML_ROW_ALIGN_BASELINE",
|
340
|
-
"baseline" },
|
341
|
-
{ LSM_MATHML_ROW_ALIGN_TOP,
|
342
|
-
"LSM_MATHML_ROW_ALIGN_TOP",
|
343
|
-
"top" },
|
344
|
-
{ LSM_MATHML_ROW_ALIGN_BOTTOM,
|
345
|
-
"LSM_MATHML_ROW_ALIGN_BOTTOM",
|
346
|
-
"bottom" },
|
347
|
-
{ LSM_MATHML_ROW_ALIGN_CENTER,
|
348
|
-
"LSM_MATHML_ROW_ALIGN_CENTER",
|
349
|
-
"center" },
|
350
|
-
{ LSM_MATHML_ROW_ALIGN_AXIS,
|
351
|
-
"LSM_MATHML_ROW_ALIGN_AXIS",
|
352
|
-
"axis" },
|
353
|
-
{ 0, NULL, NULL }
|
354
|
-
};
|
355
|
-
the_type = g_enum_register_static (
|
356
|
-
g_intern_static_string ("LsmMathmlRowAlign"),
|
357
|
-
values);
|
358
|
-
}
|
359
|
-
return the_type;
|
360
|
-
}
|
361
|
-
|
362
|
-
GType
|
363
|
-
lsm_mathml_column_align_get_type (void)
|
364
|
-
{
|
365
|
-
static GType the_type = 0;
|
366
|
-
|
367
|
-
if (the_type == 0)
|
368
|
-
{
|
369
|
-
static const GEnumValue values[] = {
|
370
|
-
{ LSM_MATHML_COLUMN_ALIGN_ERROR,
|
371
|
-
"LSM_MATHML_COLUMN_ALIGN_ERROR",
|
372
|
-
"error" },
|
373
|
-
{ LSM_MATHML_COLUMN_ALIGN_CENTER,
|
374
|
-
"LSM_MATHML_COLUMN_ALIGN_CENTER",
|
375
|
-
"center" },
|
376
|
-
{ LSM_MATHML_COLUMN_ALIGN_LEFT,
|
377
|
-
"LSM_MATHML_COLUMN_ALIGN_LEFT",
|
378
|
-
"left" },
|
379
|
-
{ LSM_MATHML_COLUMN_ALIGN_RIGHT,
|
380
|
-
"LSM_MATHML_COLUMN_ALIGN_RIGHT",
|
381
|
-
"right" },
|
382
|
-
{ 0, NULL, NULL }
|
383
|
-
};
|
384
|
-
the_type = g_enum_register_static (
|
385
|
-
g_intern_static_string ("LsmMathmlColumnAlign"),
|
386
|
-
values);
|
387
|
-
}
|
388
|
-
return the_type;
|
389
|
-
}
|
390
|
-
|
391
|
-
GType
|
392
|
-
lsm_mathml_line_get_type (void)
|
393
|
-
{
|
394
|
-
static GType the_type = 0;
|
395
|
-
|
396
|
-
if (the_type == 0)
|
397
|
-
{
|
398
|
-
static const GEnumValue values[] = {
|
399
|
-
{ LSM_MATHML_LINE_ERROR,
|
400
|
-
"LSM_MATHML_LINE_ERROR",
|
401
|
-
"error" },
|
402
|
-
{ LSM_MATHML_LINE_NONE,
|
403
|
-
"LSM_MATHML_LINE_NONE",
|
404
|
-
"none" },
|
405
|
-
{ LSM_MATHML_LINE_SOLID,
|
406
|
-
"LSM_MATHML_LINE_SOLID",
|
407
|
-
"solid" },
|
408
|
-
{ LSM_MATHML_LINE_DASHED,
|
409
|
-
"LSM_MATHML_LINE_DASHED",
|
410
|
-
"dashed" },
|
411
|
-
{ 0, NULL, NULL }
|
412
|
-
};
|
413
|
-
the_type = g_enum_register_static (
|
414
|
-
g_intern_static_string ("LsmMathmlLine"),
|
415
|
-
values);
|
416
|
-
}
|
417
|
-
return the_type;
|
418
|
-
}
|
419
|
-
|
420
|
-
GType
|
421
|
-
lsm_mathml_script_level_sign_get_type (void)
|
422
|
-
{
|
423
|
-
static GType the_type = 0;
|
424
|
-
|
425
|
-
if (the_type == 0)
|
426
|
-
{
|
427
|
-
static const GEnumValue values[] = {
|
428
|
-
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_ERROR,
|
429
|
-
"LSM_MATHML_SCRIPT_LEVEL_SIGN_ERROR",
|
430
|
-
"error" },
|
431
|
-
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_NONE,
|
432
|
-
"LSM_MATHML_SCRIPT_LEVEL_SIGN_NONE",
|
433
|
-
"none" },
|
434
|
-
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_PLUS,
|
435
|
-
"LSM_MATHML_SCRIPT_LEVEL_SIGN_PLUS",
|
436
|
-
"plus" },
|
437
|
-
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_MINUS,
|
438
|
-
"LSM_MATHML_SCRIPT_LEVEL_SIGN_MINUS",
|
439
|
-
"minus" },
|
440
|
-
{ 0, NULL, NULL }
|
441
|
-
};
|
442
|
-
the_type = g_enum_register_static (
|
443
|
-
g_intern_static_string ("LsmMathmlScriptLevelSign"),
|
444
|
-
values);
|
445
|
-
}
|
446
|
-
return the_type;
|
447
|
-
}
|
448
|
-
|
449
|
-
/* enumerations from "lsmmathmltablerowelement.h" */
|
450
|
-
#include "lsmmathmltablerowelement.h"
|
451
|
-
|
452
|
-
GType
|
453
|
-
lsm_mathml_table_row_element_type_get_type (void)
|
454
|
-
{
|
455
|
-
static GType the_type = 0;
|
456
|
-
|
457
|
-
if (the_type == 0)
|
458
|
-
{
|
459
|
-
static const GEnumValue values[] = {
|
460
|
-
{ LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_ROW,
|
461
|
-
"LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_ROW",
|
462
|
-
"row" },
|
463
|
-
{ LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_LABELED_ROW,
|
464
|
-
"LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_LABELED_ROW",
|
465
|
-
"labeled-row" },
|
466
|
-
{ 0, NULL, NULL }
|
467
|
-
};
|
468
|
-
the_type = g_enum_register_static (
|
469
|
-
g_intern_static_string ("LsmMathmlTableRowElementType"),
|
470
|
-
values);
|
471
|
-
}
|
472
|
-
return the_type;
|
473
|
-
}
|
474
|
-
|
475
|
-
/* enumerations from "lsmmathmlradicalelement.h" */
|
476
|
-
#include "lsmmathmlradicalelement.h"
|
477
|
-
|
478
|
-
GType
|
479
|
-
lsm_mathml_radical_element_type_get_type (void)
|
480
|
-
{
|
481
|
-
static GType the_type = 0;
|
482
|
-
|
483
|
-
if (the_type == 0)
|
484
|
-
{
|
485
|
-
static const GEnumValue values[] = {
|
486
|
-
{ LSM_MATHML_RADICAL_ELEMENT_TYPE_SQRT,
|
487
|
-
"LSM_MATHML_RADICAL_ELEMENT_TYPE_SQRT",
|
488
|
-
"sqrt" },
|
489
|
-
{ LSM_MATHML_RADICAL_ELEMENT_TYPE_ROOT,
|
490
|
-
"LSM_MATHML_RADICAL_ELEMENT_TYPE_ROOT",
|
491
|
-
"root" },
|
492
|
-
{ 0, NULL, NULL }
|
493
|
-
};
|
494
|
-
the_type = g_enum_register_static (
|
495
|
-
g_intern_static_string ("LsmMathmlRadicalElementType"),
|
496
|
-
values);
|
497
|
-
}
|
498
|
-
return the_type;
|
499
|
-
}
|
500
|
-
|
501
|
-
/* enumerations from "lsmmathmlscriptelement.h" */
|
502
|
-
#include "lsmmathmlscriptelement.h"
|
503
|
-
|
504
|
-
GType
|
505
|
-
lsm_mathml_script_element_type_get_type (void)
|
506
|
-
{
|
507
|
-
static GType the_type = 0;
|
508
|
-
|
509
|
-
if (the_type == 0)
|
510
|
-
{
|
511
|
-
static const GEnumValue values[] = {
|
512
|
-
{ LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB,
|
513
|
-
"LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB",
|
514
|
-
"sub" },
|
515
|
-
{ LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUP,
|
516
|
-
"LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUP",
|
517
|
-
"sup" },
|
518
|
-
{ LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB_SUP,
|
519
|
-
"LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB_SUP",
|
520
|
-
"sub-sup" },
|
521
|
-
{ 0, NULL, NULL }
|
522
|
-
};
|
523
|
-
the_type = g_enum_register_static (
|
524
|
-
g_intern_static_string ("LsmMathmlScriptElementType"),
|
525
|
-
values);
|
526
|
-
}
|
527
|
-
return the_type;
|
528
|
-
}
|
529
|
-
|
530
|
-
/* enumerations from "lsmmathmlunderoverelement.h" */
|
531
|
-
#include "lsmmathmlunderoverelement.h"
|
532
|
-
|
533
|
-
GType
|
534
|
-
lsm_mathml_under_over_element_type_get_type (void)
|
535
|
-
{
|
536
|
-
static GType the_type = 0;
|
537
|
-
|
538
|
-
if (the_type == 0)
|
539
|
-
{
|
540
|
-
static const GEnumValue values[] = {
|
541
|
-
{ LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER,
|
542
|
-
"LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER",
|
543
|
-
"under" },
|
544
|
-
{ LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_OVER,
|
545
|
-
"LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_OVER",
|
546
|
-
"over" },
|
547
|
-
{ LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER_OVER,
|
548
|
-
"LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER_OVER",
|
549
|
-
"under-over" },
|
550
|
-
{ 0, NULL, NULL }
|
551
|
-
};
|
552
|
-
the_type = g_enum_register_static (
|
553
|
-
g_intern_static_string ("LsmMathmlUnderOverElementType"),
|
554
|
-
values);
|
555
|
-
}
|
556
|
-
return the_type;
|
557
|
-
}
|
558
|
-
|
559
|
-
/* enumerations from "lsmmathmlpresentationtoken.h" */
|
560
|
-
#include "lsmmathmlpresentationtoken.h"
|
561
|
-
|
562
|
-
GType
|
563
|
-
lsm_mathml_presentation_token_type_get_type (void)
|
564
|
-
{
|
565
|
-
static GType the_type = 0;
|
566
|
-
|
567
|
-
if (the_type == 0)
|
568
|
-
{
|
569
|
-
static const GEnumValue values[] = {
|
570
|
-
{ LSM_MATHML_PRESENTATION_TOKEN_TYPE_NUMBER,
|
571
|
-
"LSM_MATHML_PRESENTATION_TOKEN_TYPE_NUMBER",
|
572
|
-
"number" },
|
573
|
-
{ LSM_MATHML_PRESENTATION_TOKEN_TYPE_IDENTIFIER,
|
574
|
-
"LSM_MATHML_PRESENTATION_TOKEN_TYPE_IDENTIFIER",
|
575
|
-
"identifier" },
|
576
|
-
{ LSM_MATHML_PRESENTATION_TOKEN_TYPE_TEXT,
|
577
|
-
"LSM_MATHML_PRESENTATION_TOKEN_TYPE_TEXT",
|
578
|
-
"text" },
|
579
|
-
{ 0, NULL, NULL }
|
580
|
-
};
|
581
|
-
the_type = g_enum_register_static (
|
582
|
-
g_intern_static_string ("LsmMathmlPresentationTokenType"),
|
583
|
-
values);
|
584
|
-
}
|
585
|
-
return the_type;
|
586
|
-
}
|
587
|
-
|
588
|
-
/* enumerations from "lsmmathmlview.h" */
|
589
|
-
#include "lsmmathmlview.h"
|
590
|
-
|
591
|
-
GType
|
592
|
-
lsm_mathml_glyph_flags_get_type (void)
|
593
|
-
{
|
594
|
-
static GType the_type = 0;
|
595
|
-
|
596
|
-
if (the_type == 0)
|
597
|
-
{
|
598
|
-
static const GFlagsValue values[] = {
|
599
|
-
{ LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL,
|
600
|
-
"LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL",
|
601
|
-
"stretch-vertical" },
|
602
|
-
{ LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL,
|
603
|
-
"LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL",
|
604
|
-
"stretch-horizontal" },
|
605
|
-
{ LSM_MATHML_GLYPH_FLAG_TYPE_SIZED,
|
606
|
-
"LSM_MATHML_GLYPH_FLAG_TYPE_SIZED",
|
607
|
-
"type-sized" },
|
608
|
-
{ LSM_MATHML_GLYPH_FLAG_ALIGN_AXIS,
|
609
|
-
"LSM_MATHML_GLYPH_FLAG_ALIGN_AXIS",
|
610
|
-
"align-axis" },
|
611
|
-
{ LSM_MATHML_GLYPH_FLAG_HAS_LARGE_VERSION,
|
612
|
-
"LSM_MATHML_GLYPH_FLAG_HAS_LARGE_VERSION",
|
613
|
-
"has-large-version" },
|
614
|
-
{ LSM_MATHML_GLYPH_FLAG_INTEGRAL_SLANT,
|
615
|
-
"LSM_MATHML_GLYPH_FLAG_INTEGRAL_SLANT",
|
616
|
-
"integral-slant" },
|
617
|
-
{ 0, NULL, NULL }
|
618
|
-
};
|
619
|
-
the_type = g_flags_register_static (
|
620
|
-
g_intern_static_string ("LsmMathmlGlyphFlags"),
|
621
|
-
values);
|
622
|
-
}
|
623
|
-
return the_type;
|
624
|
-
}
|
625
|
-
|
626
|
-
GType
|
627
|
-
lsm_mathml_font_get_type (void)
|
628
|
-
{
|
629
|
-
static GType the_type = 0;
|
630
|
-
|
631
|
-
if (the_type == 0)
|
632
|
-
{
|
633
|
-
static const GEnumValue values[] = {
|
634
|
-
{ LSM_MATHML_FONT_ERROR,
|
635
|
-
"LSM_MATHML_FONT_ERROR",
|
636
|
-
"error" },
|
637
|
-
{ LSM_MATHML_FONT_DEFAULT,
|
638
|
-
"LSM_MATHML_FONT_DEFAULT",
|
639
|
-
"default" },
|
640
|
-
{ LSM_MATHML_FONT_CMR10,
|
641
|
-
"LSM_MATHML_FONT_CMR10",
|
642
|
-
"cmr10" },
|
643
|
-
{ LSM_MATHML_FONT_CMMI10,
|
644
|
-
"LSM_MATHML_FONT_CMMI10",
|
645
|
-
"cmmi10" },
|
646
|
-
{ LSM_MATHML_FONT_CMEX10,
|
647
|
-
"LSM_MATHML_FONT_CMEX10",
|
648
|
-
"cmex10" },
|
649
|
-
{ LSM_MATHML_FONT_CMSY10,
|
650
|
-
"LSM_MATHML_FONT_CMSY10",
|
651
|
-
"cmsy10" },
|
652
|
-
{ LSM_MATHML_FONT_SYMBOL,
|
653
|
-
"LSM_MATHML_FONT_SYMBOL",
|
654
|
-
"symbol" },
|
655
|
-
{ 0, NULL, NULL }
|
656
|
-
};
|
657
|
-
the_type = g_enum_register_static (
|
658
|
-
g_intern_static_string ("LsmMathmlFont"),
|
659
|
-
values);
|
660
|
-
}
|
661
|
-
return the_type;
|
662
|
-
}
|
663
|
-
|
664
|
-
|
665
|
-
/* Generated data ends here */
|
666
|
-
|