mathematical 1.6.17 → 1.6.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/mathematical/lasem/COPYING +502 -0
- data/ext/mathematical/lasem/NEWS.md +146 -0
- data/ext/mathematical/lasem/README.md +65 -0
- data/ext/mathematical/lasem/TODO +50 -0
- data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +106 -0
- data/ext/mathematical/lasem/docs/meson.build +3 -0
- data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
- data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
- data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
- data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
- data/ext/mathematical/lasem/itex2mml/COPYING.itex2MML +3 -0
- data/ext/mathematical/lasem/itex2mml/README.itex2MML +16 -0
- data/ext/mathematical/lasem/itex2mml/itex2MML.h +63 -0
- data/ext/mathematical/lasem/itex2mml/itex2MML.l +1183 -0
- data/ext/mathematical/lasem/itex2mml/itex2MML.y +2108 -0
- data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
- data/ext/mathematical/lasem/lasem.doap +21 -0
- data/ext/mathematical/lasem/meson.build +46 -0
- data/ext/mathematical/lasem/meson_options.txt +5 -0
- data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
- data/ext/mathematical/lasem/po/LINGUAS +31 -0
- data/ext/mathematical/lasem/po/POTFILES.in +195 -0
- data/ext/mathematical/lasem/po/POTFILES.skip +1 -0
- data/ext/mathematical/lasem/po/bs.po +65 -0
- data/ext/mathematical/lasem/po/cs.po +102 -0
- data/ext/mathematical/lasem/po/da.po +99 -0
- data/ext/mathematical/lasem/po/de.po +104 -0
- data/ext/mathematical/lasem/po/el.po +73 -0
- data/ext/mathematical/lasem/po/es.po +107 -0
- data/ext/mathematical/lasem/po/eu.po +66 -0
- data/ext/mathematical/lasem/po/fr.po +65 -0
- data/ext/mathematical/lasem/po/fur.po +101 -0
- data/ext/mathematical/lasem/po/gl.po +64 -0
- data/ext/mathematical/lasem/po/hu.po +105 -0
- data/ext/mathematical/lasem/po/id.po +102 -0
- data/ext/mathematical/lasem/po/it.po +104 -0
- data/ext/mathematical/lasem/po/lt.po +106 -0
- data/ext/mathematical/lasem/po/lv.po +109 -0
- data/ext/mathematical/lasem/po/meson.build +4 -0
- data/ext/mathematical/lasem/po/nb.po +62 -0
- data/ext/mathematical/lasem/po/nl.po +102 -0
- data/ext/mathematical/lasem/po/oc.po +65 -0
- data/ext/mathematical/lasem/po/pl.po +102 -0
- data/ext/mathematical/lasem/po/pt.po +77 -0
- data/ext/mathematical/lasem/po/pt_BR.po +105 -0
- data/ext/mathematical/lasem/po/ru.po +66 -0
- data/ext/mathematical/lasem/po/sl.po +117 -0
- data/ext/mathematical/lasem/po/sr.po +105 -0
- data/ext/mathematical/lasem/po/sr@latin.po +105 -0
- data/ext/mathematical/lasem/po/sv.po +105 -0
- data/ext/mathematical/lasem/po/tg.po +64 -0
- data/ext/mathematical/lasem/po/tr.po +105 -0
- data/ext/mathematical/lasem/po/zh_CN.po +100 -0
- data/ext/mathematical/lasem/src/lasemrender.c +357 -0
- data/ext/mathematical/lasem/src/lsm.c +33 -0
- data/ext/mathematical/lasem/src/lsm.h +39 -0
- data/ext/mathematical/lasem/src/lsmattributes.c +276 -0
- data/ext/mathematical/lasem/src/lsmattributes.h +75 -0
- data/ext/mathematical/lasem/src/lsmcairo.c +598 -0
- data/ext/mathematical/lasem/src/lsmcairo.h +51 -0
- data/ext/mathematical/lasem/src/lsmdebug.c +185 -0
- data/ext/mathematical/lasem/src/lsmdebug.h +73 -0
- data/ext/mathematical/lasem/src/lsmdom.h +43 -0
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +131 -0
- data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +59 -0
- data/ext/mathematical/lasem/src/lsmdomdocument.c +272 -0
- data/ext/mathematical/lasem/src/lsmdomdocument.h +75 -0
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +81 -0
- data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +55 -0
- data/ext/mathematical/lasem/src/lsmdomelement.c +148 -0
- data/ext/mathematical/lasem/src/lsmdomelement.h +62 -0
- data/ext/mathematical/lasem/src/lsmdomentities.c +2166 -0
- data/ext/mathematical/lasem/src/lsmdomentities.h +35 -0
- data/ext/mathematical/lasem/src/lsmdomimplementation.c +82 -0
- data/ext/mathematical/lasem/src/lsmdomimplementation.h +41 -0
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +118 -0
- data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +64 -0
- data/ext/mathematical/lasem/src/lsmdomnode.c +737 -0
- data/ext/mathematical/lasem/src/lsmdomnode.h +122 -0
- data/ext/mathematical/lasem/src/lsmdomnodelist.c +70 -0
- data/ext/mathematical/lasem/src/lsmdomnodelist.h +58 -0
- data/ext/mathematical/lasem/src/lsmdomparser.c +523 -0
- data/ext/mathematical/lasem/src/lsmdomparser.h +54 -0
- data/ext/mathematical/lasem/src/lsmdomtext.c +82 -0
- data/ext/mathematical/lasem/src/lsmdomtext.h +55 -0
- data/ext/mathematical/lasem/src/lsmdomtypes.h +44 -0
- data/ext/mathematical/lasem/src/lsmdomview.c +423 -0
- data/ext/mathematical/lasem/src/lsmdomview.h +94 -0
- data/ext/mathematical/lasem/src/lsmitex.c +79 -0
- data/ext/mathematical/lasem/src/lsmitex.h +36 -0
- data/ext/mathematical/lasem/src/lsmmathml.h +66 -0
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +93 -0
- data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +57 -0
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +102 -0
- data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +56 -0
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +102 -0
- data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +56 -0
- data/ext/mathematical/lasem/src/lsmmathmlattributes.c +219 -0
- data/ext/mathematical/lasem/src/lsmmathmlattributes.h +126 -0
- data/ext/mathematical/lasem/src/lsmmathmldocument.c +307 -0
- data/ext/mathematical/lasem/src/lsmmathmldocument.h +61 -0
- data/ext/mathematical/lasem/src/lsmmathmlelement.c +491 -0
- data/ext/mathematical/lasem/src/lsmmathmlelement.h +107 -0
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +142 -0
- data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +64 -0
- data/ext/mathematical/lasem/src/lsmmathmlenums.c +500 -0
- data/ext/mathematical/lasem/src/lsmmathmlenums.h +224 -0
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +58 -0
- data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +56 -0
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +180 -0
- data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +65 -0
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +253 -0
- data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +62 -0
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +661 -0
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +45 -0
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +189 -0
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +191 -0
- data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +58 -0
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +212 -0
- data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +81 -0
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +3342 -0
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +55 -0
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +314 -0
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +73 -0
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +137 -0
- data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +61 -0
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +71 -0
- data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +56 -0
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +43 -0
- data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +54 -0
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +303 -0
- data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +83 -0
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +266 -0
- data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +71 -0
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +58 -0
- data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +56 -0
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +282 -0
- data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +78 -0
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +84 -0
- data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +56 -0
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +156 -0
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +123 -0
- data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +58 -0
- data/ext/mathematical/lasem/src/lsmmathmlstyle.c +130 -0
- data/ext/mathematical/lasem/src/lsmmathmlstyle.h +89 -0
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +391 -0
- data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +94 -0
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +122 -0
- data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +62 -0
- data/ext/mathematical/lasem/src/lsmmathmltableelement.c +572 -0
- data/ext/mathematical/lasem/src/lsmmathmltableelement.h +78 -0
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +120 -0
- data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +64 -0
- data/ext/mathematical/lasem/src/lsmmathmltraits.c +867 -0
- data/ext/mathematical/lasem/src/lsmmathmltraits.h +129 -0
- data/ext/mathematical/lasem/src/lsmmathmltypes.h +67 -0
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +485 -0
- data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +82 -0
- data/ext/mathematical/lasem/src/lsmmathmlutils.c +170 -0
- data/ext/mathematical/lasem/src/lsmmathmlutils.h +57 -0
- data/ext/mathematical/lasem/src/lsmmathmlview.c +1343 -0
- data/ext/mathematical/lasem/src/lsmmathmlview.h +179 -0
- data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
- data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
- data/ext/mathematical/lasem/src/lsmproperties.c +415 -0
- data/ext/mathematical/lasem/src/lsmproperties.h +85 -0
- data/ext/mathematical/lasem/src/lsmstr.c +231 -0
- data/ext/mathematical/lasem/src/lsmstr.h +114 -0
- data/ext/mathematical/lasem/src/lsmsvg.h +67 -0
- data/ext/mathematical/lasem/src/lsmsvgaelement.c +73 -0
- data/ext/mathematical/lasem/src/lsmsvgaelement.h +55 -0
- data/ext/mathematical/lasem/src/lsmsvgattributes.h +168 -0
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +153 -0
- data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +59 -0
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +134 -0
- data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +59 -0
- data/ext/mathematical/lasem/src/lsmsvgcolors.c +212 -0
- data/ext/mathematical/lasem/src/lsmsvgcolors.h +39 -0
- data/ext/mathematical/lasem/src/lsmsvgdefselement.c +74 -0
- data/ext/mathematical/lasem/src/lsmsvgdefselement.h +55 -0
- data/ext/mathematical/lasem/src/lsmsvgdocument.c +306 -0
- data/ext/mathematical/lasem/src/lsmsvgdocument.h +64 -0
- data/ext/mathematical/lasem/src/lsmsvgelement.c +371 -0
- data/ext/mathematical/lasem/src/lsmsvgelement.h +80 -0
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +158 -0
- data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgenums.c +674 -0
- data/ext/mathematical/lasem/src/lsmsvgenums.h +416 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +105 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +115 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +109 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +206 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +64 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +124 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +266 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +66 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +86 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +55 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +114 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +57 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +169 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +98 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +55 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +87 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +57 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +116 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +112 -0
- data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +168 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +66 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +134 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +1540 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +92 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +102 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +57 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +142 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvggelement.c +73 -0
- data/ext/mathematical/lasem/src/lsmsvggelement.h +55 -0
- data/ext/mathematical/lasem/src/lsmsvggradientelement.c +151 -0
- data/ext/mathematical/lasem/src/lsmsvggradientelement.h +68 -0
- data/ext/mathematical/lasem/src/lsmsvgimageelement.c +261 -0
- data/ext/mathematical/lasem/src/lsmsvgimageelement.h +67 -0
- data/ext/mathematical/lasem/src/lsmsvglength.c +152 -0
- data/ext/mathematical/lasem/src/lsmsvglength.h +65 -0
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +271 -0
- data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvglineelement.c +153 -0
- data/ext/mathematical/lasem/src/lsmsvglineelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +266 -0
- data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +74 -0
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +232 -0
- data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +64 -0
- data/ext/mathematical/lasem/src/lsmsvgmatrix.c +221 -0
- data/ext/mathematical/lasem/src/lsmsvgmatrix.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgpathelement.c +115 -0
- data/ext/mathematical/lasem/src/lsmsvgpathelement.h +59 -0
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +398 -0
- data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +69 -0
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +106 -0
- data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +57 -0
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +106 -0
- data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +57 -0
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +323 -0
- data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvgrectelement.c +184 -0
- data/ext/mathematical/lasem/src/lsmsvgrectelement.h +62 -0
- data/ext/mathematical/lasem/src/lsmsvgstopelement.c +106 -0
- data/ext/mathematical/lasem/src/lsmsvgstopelement.h +57 -0
- data/ext/mathematical/lasem/src/lsmsvgstyle.c +546 -0
- data/ext/mathematical/lasem/src/lsmsvgstyle.h +217 -0
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +266 -0
- data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +71 -0
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +103 -0
- data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +55 -0
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +148 -0
- data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgtextelement.c +203 -0
- data/ext/mathematical/lasem/src/lsmsvgtextelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +1490 -0
- data/ext/mathematical/lasem/src/lsmsvgtraits.h +122 -0
- data/ext/mathematical/lasem/src/lsmsvgtransformable.c +106 -0
- data/ext/mathematical/lasem/src/lsmsvgtransformable.h +54 -0
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +174 -0
- data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgtypes.h +83 -0
- data/ext/mathematical/lasem/src/lsmsvguseelement.c +238 -0
- data/ext/mathematical/lasem/src/lsmsvguseelement.h +69 -0
- data/ext/mathematical/lasem/src/lsmsvgview.c +2797 -0
- data/ext/mathematical/lasem/src/lsmsvgview.h +203 -0
- data/ext/mathematical/lasem/src/lsmtraits.c +171 -0
- data/ext/mathematical/lasem/src/lsmtraits.h +51 -0
- data/ext/mathematical/lasem/src/lsmtypes.h +36 -0
- data/ext/mathematical/lasem/src/lsmutils.c +54 -0
- data/ext/mathematical/lasem/src/lsmutils.h +56 -0
- data/ext/mathematical/lasem/src/meson.build +321 -0
- data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
- data/ext/mathematical/lasem/tests/data/mathml/gtkmathview/README +5 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-02.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03-inline.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/closed.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/multiples.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/standard.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/matrices/matrix-01.tex +5 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-cr.tex +7 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-space.tex +7 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases.tex +7 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/color.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-2.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-inline.tex +7 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex.tex +7 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic-inline.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-01.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-02.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/accents.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/script.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/stack.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/subscript.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums-inline.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript-inline.tex +1 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript.tex +1 -0
- 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 +1622 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/TraitAccess.common.es +672 -0
- 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 +89 -0
- 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 +1 -0
- 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 +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script10.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script2.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script3.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script4.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script5.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script6.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script7.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script8.js +1 -0
- data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script9.js +1 -0
- 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 +4 -0
- 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 +4 -0
- data/ext/mathematical/lasem/tests/dom.c +266 -0
- data/ext/mathematical/lasem/tests/filter.c +153 -0
- data/ext/mathematical/lasem/tests/fuzztest.sh +12 -0
- data/ext/mathematical/lasem/tests/lasem.supp +185 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +592 -0
- data/ext/mathematical/lasem/tests/meson.build +39 -0
- data/ext/mathematical/lasem/tests/str.c +44 -0
- data/ext/mathematical/lasem/tests/suite.c +140 -0
- data/ext/mathematical/lasem/tests/suite.ini +27 -0
- data/ext/mathematical/lasem/tools/change-license +3 -0
- data/ext/mathematical/lasem/tools/charlist.dtd +73 -0
- data/ext/mathematical/lasem/tools/entities-to-c.xsl +1067 -0
- data/ext/mathematical/lasem/tools/fuzzxml +243 -0
- data/ext/mathematical/lasem/tools/generate-entity-array.c +2136 -0
- data/ext/mathematical/lasem/tools/unicode.xml +44303 -0
- data/ext/mathematical/lasem/viewer/meson.build +17 -0
- data/ext/mathematical/lasem/viewer/viewer.c +248 -0
- data/ext/mathematical/lasem_overrides.c +4 -8
- data/ext/mathematical/mathematical.c +7 -9
- data/ext/mathematical/mtex2MML/CMakeLists.txt +255 -0
- data/ext/mathematical/mtex2MML/CONTRIBUTING.md +22 -0
- data/ext/mathematical/mtex2MML/README.md +143 -0
- data/ext/mathematical/mtex2MML/SUPPORTED.md +1216 -0
- data/ext/mathematical/mtex2MML/appveyor.yml +35 -0
- data/ext/mathematical/mtex2MML/cmake/Modules/astyle.cmake +12 -0
- data/ext/mathematical/mtex2MML/deps/uthash/package.json +27 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +239 -0
- data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +1074 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +895 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +108 -0
- data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +398 -0
- data/ext/mathematical/mtex2MML/script/bootstrap +39 -0
- data/ext/mathematical/mtex2MML/script/cibuild +58 -0
- data/ext/mathematical/mtex2MML/script/tag +28 -0
- data/ext/mathematical/mtex2MML/src/colors.c +44 -0
- data/ext/mathematical/mtex2MML/src/colors.h +23 -0
- data/ext/mathematical/mtex2MML/src/em.c +99 -0
- data/ext/mathematical/mtex2MML/src/em.h +31 -0
- data/ext/mathematical/mtex2MML/src/environment.c +515 -0
- data/ext/mathematical/mtex2MML/src/environment.h +85 -0
- data/ext/mathematical/mtex2MML/src/lexer.l +1594 -0
- data/ext/mathematical/mtex2MML/src/libmtex2MML.pc.in +10 -0
- data/ext/mathematical/mtex2MML/src/main.c +187 -0
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +89 -0
- data/ext/mathematical/mtex2MML/src/parser.y +3817 -0
- data/ext/mathematical/mtex2MML/src/string_dup.c +23 -0
- data/ext/mathematical/mtex2MML/src/string_dup.h +23 -0
- data/ext/mathematical/mtex2MML/src/string_extras.c +47 -0
- data/ext/mathematical/mtex2MML/src/string_extras.h +30 -0
- data/ext/mathematical/mtex2MML/src/win32-shims/unistd.h +51 -0
- data/ext/mathematical/mtex2MML/tests/array.c +127 -0
- data/ext/mathematical/mtex2MML/tests/basic.c +96 -0
- data/ext/mathematical/mtex2MML/tests/clar/fixtures.h +38 -0
- data/ext/mathematical/mtex2MML/tests/clar/fs.h +335 -0
- data/ext/mathematical/mtex2MML/tests/clar/print.h +66 -0
- data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +141 -0
- data/ext/mathematical/mtex2MML/tests/clar.c +644 -0
- data/ext/mathematical/mtex2MML/tests/clar.h +163 -0
- data/ext/mathematical/mtex2MML/tests/clar_test.h +20 -0
- data/ext/mathematical/mtex2MML/tests/cornercases.c +46 -0
- data/ext/mathematical/mtex2MML/tests/debug/mtex2MML_debug.cc +21 -0
- data/ext/mathematical/mtex2MML/tests/delimiters.c +242 -0
- data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +62 -0
- data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.h +12 -0
- data/ext/mathematical/mtex2MML/tests/deps/file2str/package.json +9 -0
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +151 -0
- data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +10 -0
- data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +7 -0
- data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +27 -0
- data/ext/mathematical/mtex2MML/tests/deps/trim/trim.h +7 -0
- data/ext/mathematical/mtex2MML/tests/env.c +334 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-1.html +86 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-2.html +148 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-3.html +188 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/arrows-2.html +156 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-1.html +45 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-2.html +35 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-1.html +16 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-3.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/buildrel-1.html +3 -0
- 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 +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue937.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbracket-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overset-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/sideset-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/stackrel-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/subarray-1.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/substack-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbrace-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbracket-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underset-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/mathtip-1.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/texttip-1.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/toggle-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/Newextarrow-1.html +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-1.html +34 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-2.html +30 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-3.html +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-4.html +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-5.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathbin-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathinner-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1a.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1b.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-2.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathord-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathrel-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html +16 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-2.html +25 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/remap-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/color-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/colorbox-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-1.html +37 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-2.html +79 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/fcolorbox-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/issue446.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/namedcolors-1.html +70 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-3.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue775.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-2.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-3.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-4.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-5.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/left-right-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1a.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1b.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1a.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1b.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-1.html +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-2.html +14 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignedat-1.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalign-1.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalignno-1.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-2.html +64 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-2.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1a.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1b.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-2.html +12 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1a.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1b.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2a.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2b.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3a.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3b.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/leqalignno-1.html +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1a.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1b.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/split-1.html +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noErrors-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noUndefined-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/above-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atop-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/binom-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brace-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brack-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/cfrac-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/choose-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dbinom-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dfrac-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1a.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1b.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/genfrac-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/issue969.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tbinom-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tfrac-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-1.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-2.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue375.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue856.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1a.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1c.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/boxes-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1a.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1b.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/llap-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/lower-1.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/mathstrut-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveleft-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveright-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/newline-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/phantom-1.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/raise-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/rlap-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/shove-1.html +19 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1a.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1b.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/smash-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/spaces-1.html +18 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/vcenter-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-1.html +32 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-2.html +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-3.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-4.html +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/hebrew-1.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/begingroup-1.html +15 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/def-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/let-1.html +14 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-2.html +25 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-3.html +50 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-5.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-6.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-7.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/bf-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/it-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mit-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/sf-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/text-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textit-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/tt-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1a.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1b.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-3.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-2.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-1.html +120 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-2.html +35 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-3.html +138 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/amounts-1.html +46 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-1.html +235 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-2.html +159 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/basics-1.html +139 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/bonds-1.html +256 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/environments-1.html +81 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/isotopes-1.html +30 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/math-1.html +101 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/special_symbols-1.html +176 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Rule-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/class-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/cssId-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/require-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/style-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/unicode-1.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/LaTeX-1.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/bbox-1.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/boxed-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cancel-1.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cases-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/displaylines-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/enclose-1.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/functions-1.html +34 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-2.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-3.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mathsize-1.html +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mod-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/pod-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-1.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-2.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-3.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-1.html +7 -0
- 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 +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/eqref-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-1.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-2.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/notag-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-1.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-2.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-3.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-3.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-1.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/binaryops-1.html +32 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/dots-1.html +26 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-1.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-2.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +39 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-1.html +25 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-2.html +31 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-3.html +40 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-4.html +39 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-5.html +56 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-6.html +49 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-1.no_tex +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-2.no_tex +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-3.no_tex +23 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-1.no_tex +23 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-2.no_tex +26 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-1.no_tex +14 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-2.no_tex +14 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-1.txt +16 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-3.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/buildrel-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue490.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue877.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue937.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbrace-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbracket-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overset-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/sideset-1.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/stackrel-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/subarray-1.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/substack-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbrace-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbracket-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underset-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/mathtip-1.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/texttip-1.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/toggle-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/Newextarrow-1.xtex +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-1.txt +34 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-2.txt +30 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-3.txt +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-4.txt +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-5.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathbin-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathinner-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1a.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1b.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-2.xtex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathopenclose-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathord-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathpunct-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathrel-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/backslashed-1.txt +16 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-2.xtex +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/remap-1.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/color-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/colorbox-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1a.xtex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1b.xtex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1c.xtex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-2.xtex +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/fcolorbox-1.xtex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/issue446.xtex +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/namedcolors-1.txt +70 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-3.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-2.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue775.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1a.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1b.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-2.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-3.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-4.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-5.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/left-right-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1a.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1b.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1a.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1b.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-1.txt +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-2.txt +14 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignedat-1.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalign-1.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalignno-1.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1a.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1b.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1c.no_tex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-2a.no_tex +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-1.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-2.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1a.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1b.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-2.txt +12 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1a.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1b.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2a.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2b.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3a.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3b.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/leqalignno-1.xtex +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1a.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1b.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/split-1.txt +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noErrors-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noUndefined-1.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/above-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/abovewithdelims-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atop-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atopwithdelims-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/binom-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brace-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brack-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/cfrac-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/choose-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dbinom-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dfrac-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1a.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1b.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/genfrac-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/issue969.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/overwithdelims-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tbinom-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tfrac-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1151.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-1.xtex +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-2.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue375.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue856.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1a.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1b.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1c.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1d.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-1.xtex +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-2.xtex +16 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/boxes-1.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1a.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1b.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/llap-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/lower-1.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/mathstrut-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveleft-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveright-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/newline-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/phantom-1.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/raise-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/rlap-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/shove-1.xtex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1a.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1b.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/smash-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/spaces-1.txt +18 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/strut-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/vcenter-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-1.txt +32 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-2.txt +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-3.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-4.txt +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/hebrew-1.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/begingroup-1.no_tex +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/def-1.no_tex +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/let-1.no_tex +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1a.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1b.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-2.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-3.no_tex +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-5.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-6.no_tex +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-7.no_tex +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/Bbb-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/bf-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/boldsymbol-1.txt +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/cal-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/frak-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/it-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbb-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1a.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1b.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathcal-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathfrak-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathit-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathrm-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathscr-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathsf-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathtt-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mit-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/pmb-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/rm-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/scr-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/sf-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/text-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textbf-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textit-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textrm-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textsf-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/texttt-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/tt-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1a.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1b.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-3.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-2.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-2.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-2.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/smallmatrix-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-2.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-1.no_tex +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-2.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-3.no_tex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/amounts-1.no_tex +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-1.no_tex +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-2.no_tex +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/basics-1.no_tex +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/bonds-1.no_tex +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/environments-1.no_tex +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/isotopes-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/math-1.no_tex +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/special_symbols-1.no_tex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Rule-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Tiny-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/class-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/cssId-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-2.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/require-1.no_tex +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/style-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/unicode-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/LaTeX-1.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/bbox-1.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/boxed-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cancel-1.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cases-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/displaylines-1.xtex +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/enclose-1.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/functions-1.txt +34 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-2.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-3.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mathsize-1.txt +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mod-1.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/not-1.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/pod-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-1.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-2.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-3.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-1.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-2.no_tex +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/eqref-1.no_tex +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-1.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-2.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/notag-1.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1a.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1b.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-2.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-3.no_tex +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-1.no_tex +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-2.no_tex +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-3.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-4.no_tex +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-3.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-1.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/binaryops-1.txt +32 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/dots-1.txt +26 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-1.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-2.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/relations-1.txt +39 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-1.txt +25 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-2.txt +31 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-3.txt +40 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-4.txt +39 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-5.txt +56 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-6.txt +49 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/TODO.md +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.html +32 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.txt +32 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.html +12 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.txt +12 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.html +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.txt +9 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.html +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.txt +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.html +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.txt +10 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.html +23 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.txt +23 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.html +24 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.txt +24 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/brackets.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.html +2 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.txt +27 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.html +27 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.txt +27 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/double_dollar.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping.txt +35 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_brackets.html +35 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_dollars.html +35 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_parens.html +35 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.txt +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/parens.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_dollar.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.html +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.txt +8 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.html +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.txt +4 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/excess_parsing.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.html +11 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.txt +13 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.html +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.txt +7 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.html +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.txt +5 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.html +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.txt +6 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.html +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.txt +3 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +12 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.txt +1755 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.html +1 -0
- data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.txt +1 -0
- data/ext/mathematical/mtex2MML/tests/functions.c +55 -0
- data/ext/mathematical/mtex2MML/tests/generate.py +244 -0
- data/ext/mathematical/mtex2MML/tests/helpers.c +29 -0
- data/ext/mathematical/mtex2MML/tests/helpers.h +8 -0
- data/ext/mathematical/mtex2MML/tests/main.c +35 -0
- data/ext/mathematical/mtex2MML/tests/maliciousness.c +107 -0
- data/ext/mathematical/mtex2MML/tests/mathjax.c +2040 -0
- data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +72 -0
- data/ext/mathematical/mtex2MML/tests/numbered_equations.c +92 -0
- data/ext/mathematical/mtex2MML/tests/performance.c +39 -0
- data/ext/mathematical/mtex2MML/tests/symbols.c +69 -0
- data/lib/mathematical/version.rb +1 -1
- data/mathematical.gemspec +1 -1
- metadata +1191 -6
@@ -0,0 +1,1594 @@
|
|
1
|
+
%{
|
2
|
+
%}
|
3
|
+
%option noyywrap
|
4
|
+
%x MATH ATTRIBUTELIST BRACKETLIST PMBSTRING BBOLD FRAKTUR CALLIGRAPHIC SCRIPT ROMAN VERBTEXT PLAINTEXT PLAINTEXT_CURLY NUM INT1 INT2 INT3 MATHENV SVGENV SVGEND OPTARG ARRAYOPTIONS ENVOPTIONS ALIGNATOPTS COLOPTS ENCLOSEOPTS ENCLOSEATTRPARSE ENCLOSETEXTPARSE SPACEWIDTH SPACEHEIGHT SPACEDEPTH HSPACEARG TEXTOPTARG TEXTOPTARG1 RAISEBOX1 RAISEBOX2
|
5
|
+
%{
|
6
|
+
#include <string.h>
|
7
|
+
|
8
|
+
#define YYSTYPE char *
|
9
|
+
|
10
|
+
#include "parser.h"
|
11
|
+
#include "mtex2MML.h"
|
12
|
+
#include "environment.h"
|
13
|
+
#include "string_extras.h"
|
14
|
+
|
15
|
+
#define YY_NEVER_INTERACTIVE 1
|
16
|
+
#define YY_INPUT(buffer,result,max_size) result = s_mtex2MML_read (buffer, max_size);
|
17
|
+
|
18
|
+
#if defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __DragonFly__
|
19
|
+
#undef fileno
|
20
|
+
#endif
|
21
|
+
|
22
|
+
extern int fileno(FILE *); /* avoids gcc warning */
|
23
|
+
|
24
|
+
static int s_mtex2MML_read (char * buffer, int max_size);
|
25
|
+
|
26
|
+
#define yylval mtex2MML_yylval
|
27
|
+
#define mtex2MML_optarg_depth 100
|
28
|
+
|
29
|
+
extern char * yylval;
|
30
|
+
|
31
|
+
int mtex2MML_lineno = 1;
|
32
|
+
int mtex2MML_inoptarg[mtex2MML_optarg_depth];
|
33
|
+
int mtex2MML_optarg_ind = 0;
|
34
|
+
int mtex2MML_env_start = 0;
|
35
|
+
int mtex2MML_variant_start = 0;
|
36
|
+
|
37
|
+
#define YY_USER_ACTION mtex2MML_capture_eqn_src();
|
38
|
+
#define mtex2MML_eqn_bufsize 131072
|
39
|
+
char mtex2MML_eqn_src[mtex2MML_eqn_bufsize];
|
40
|
+
char * mtex2MML_eqn_end = mtex2MML_eqn_src;
|
41
|
+
char mtex2MML_verbdelim;
|
42
|
+
char * mtex2MML_str;
|
43
|
+
|
44
|
+
int mtex2MML_rowposn = 0;
|
45
|
+
|
46
|
+
typedef enum {NO_PARSE = 0, OPEN_PARSE, CLOSE_PARSE} parsingEnv;
|
47
|
+
int parsing_environment = NO_PARSE;
|
48
|
+
|
49
|
+
envType environment_type;
|
50
|
+
|
51
|
+
/* TODO: I'm not sure what the next option does. My addition
|
52
|
+
of `display_style` is to fix issue776. Probably worth merging
|
53
|
+
these in the future? */
|
54
|
+
int mtex2MML_displaymode = 0;
|
55
|
+
int display_style = 0;
|
56
|
+
|
57
|
+
%}
|
58
|
+
%%
|
59
|
+
%{ if (mtex2MML_rowposn==1) mtex2MML_rowposn=0;
|
60
|
+
if (mtex2MML_rowposn==2) mtex2MML_rowposn=1;
|
61
|
+
%}
|
62
|
+
|
63
|
+
/* "Basic heuristic is: opening $ can't be followed by whitespace, closing $ can't be followed by
|
64
|
+
a digit or preceded by whitespace." -- @jgm, http://bit.ly/1HVtemx */
|
65
|
+
|
66
|
+
<INITIAL>"$$" if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_DOUBLE)) {BEGIN(MATH); mtex2MML_inoptarg[0] = 0; mtex2MML_rowposn=2; mtex2MML_displaymode=1; return STARTDMATH; }
|
67
|
+
|
68
|
+
<INITIAL>"$"[\t\r\n ]? if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_DOLLAR)) {mtex2MML_inoptarg[0] = 0; mtex2MML_rowposn=2; if (yyleng==2) { BEGIN(ENDMATH); return INITIAL;}; BEGIN(MATH); mtex2MML_displaymode=0; return STARTMATH; }
|
69
|
+
|
70
|
+
<INITIAL>"\\(" if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_PARENS)) {BEGIN(MATH); mtex2MML_inoptarg[0] = 0; mtex2MML_rowposn=2; mtex2MML_displaymode=0; return STARTMATH; }
|
71
|
+
|
72
|
+
<INITIAL>"\\[" if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_BRACKETS)) {BEGIN(MATH); mtex2MML_inoptarg[0] = 0; mtex2MML_rowposn=2; mtex2MML_displaymode=1; return STARTDMATH; }
|
73
|
+
|
74
|
+
<INITIAL>"\\begin" if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_ENVIRONMENTS)) {BEGIN(MATHENV); parsing_environment = OPEN_PARSE; mtex2MML_env_start = 1; mtex2MML_inoptarg[0] = 0; mtex2MML_rowposn=2; mtex2MML_displaymode=0; return BEGINENV; }
|
75
|
+
|
76
|
+
<INITIAL>EOF return 0;
|
77
|
+
<INITIAL>"\n" {mtex2MML_lineno++; yylval=mtex2MML_copy_string(yytext); return CHAR;}
|
78
|
+
<INITIAL>. {yylval=mtex2MML_copy_string(yytext); return CHAR;}
|
79
|
+
|
80
|
+
|
81
|
+
<MATH>{
|
82
|
+
|
83
|
+
"$"{1,2} if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_DOLLAR) || mtex2MML_delimiter_type(MTEX2MML_DELIMITER_DOUBLE)) { mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src-yyleng]=0; mtex2MML_eqn_end=mtex2MML_eqn_src; yylval=mtex2MML_copy_escaped(mtex2MML_eqn_src); BEGIN(INITIAL); return ENDMATH;} else {yylval=mtex2MML_copy_string("$"); return MI;}
|
84
|
+
|
85
|
+
"\\)" if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_PARENS)) {mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src-yyleng]=0; mtex2MML_eqn_end=mtex2MML_eqn_src; yylval=mtex2MML_copy_escaped(mtex2MML_eqn_src); BEGIN(INITIAL); return ENDMATH;}
|
86
|
+
|
87
|
+
"\\]" if (mtex2MML_delimiter_type(MTEX2MML_DELIMITER_BRACKETS)) {mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src-yyleng]=0; mtex2MML_eqn_end=mtex2MML_eqn_src; yylval=mtex2MML_copy_escaped(mtex2MML_eqn_src); BEGIN(INITIAL); return ENDMATH;}
|
88
|
+
|
89
|
+
"\\limits" return LIMITS;
|
90
|
+
"\\nolimits" return NOLIMITS;
|
91
|
+
"^" return SUP;
|
92
|
+
"_" return SUB;
|
93
|
+
"{"[\t\r\n ]*"}" return EMPTYMROW;
|
94
|
+
|
95
|
+
"\\hline" |
|
96
|
+
"\\hdashline" { /* Ignore */ ;}
|
97
|
+
|
98
|
+
[^\\]?%.+$ { /* Ignore */ ;}
|
99
|
+
|
100
|
+
"{" {mtex2MML_rowposn = 2; if(mtex2MML_inoptarg[mtex2MML_optarg_ind] != 0) mtex2MML_inoptarg[mtex2MML_optarg_ind]++; return MROWOPEN;}
|
101
|
+
"}" {if(mtex2MML_inoptarg[mtex2MML_optarg_ind] != 0) mtex2MML_inoptarg[mtex2MML_optarg_ind]--; return MROWCLOSE;}
|
102
|
+
|
103
|
+
"\\left" mtex2MML_rowposn=2; return LEFT;
|
104
|
+
"\\right" return RIGHT;
|
105
|
+
|
106
|
+
"\\big" |
|
107
|
+
"\\bigr" {return BIG;}
|
108
|
+
"\\Big" |
|
109
|
+
"\\Bigr" {return BBIG;}
|
110
|
+
"\\bigg" |
|
111
|
+
"\\biggr" {return BIGG;}
|
112
|
+
"\\Bigg" |
|
113
|
+
"\\Biggr" {return BBIGG;}
|
114
|
+
|
115
|
+
"\\bigl" {return BIGL;}
|
116
|
+
"\\Bigl" {return BBIGL;}
|
117
|
+
"\\biggl" {return BIGGL;}
|
118
|
+
"\\Biggl" {return BBIGGL;}
|
119
|
+
|
120
|
+
"\\bigm" {return BIGM;}
|
121
|
+
"\\Bigm" {return BBIGM;}
|
122
|
+
"\\biggm" {return BIGGM;}
|
123
|
+
"\\Biggm" {return BBIGGM;}
|
124
|
+
|
125
|
+
"\\mathrlap" |
|
126
|
+
"\\rlap" {return RLAP;}
|
127
|
+
"\\mathllap" |
|
128
|
+
"\\llap" {return LLAP;}
|
129
|
+
"\\mathclap" |
|
130
|
+
"\\clap" {return CLAP;}
|
131
|
+
"\\ulap" |
|
132
|
+
"\\dlap" {/* Ignore */ ;}
|
133
|
+
|
134
|
+
|
135
|
+
"&" |
|
136
|
+
"&" {mtex2MML_rowposn=2; return COLSEP;}
|
137
|
+
|
138
|
+
"\\&" {yylval=mtex2MML_copy_string("&"); return MI;}
|
139
|
+
|
140
|
+
"\\$" {yylval=mtex2MML_copy_string("$"); return MI;}
|
141
|
+
"\\%" {yylval=mtex2MML_copy_string("%"); return MI;}
|
142
|
+
|
143
|
+
"\\\\"[\n\r\t ]*\[[0-9\.]+(em|ex|px|in|cm|mm|mu|pt|pc|%)\] |
|
144
|
+
"\\newline"[\n\r\t ]* |
|
145
|
+
"\\cr"[\n\r\t ]* |
|
146
|
+
"\\\\"[\n\r\t ]* { mtex2MML_rowposn=2; if (mtex2MML_current_env_type(mtex2MML_get_environment_data_stack()) == OTHER) return NEWLINE; return ROWSEP;}
|
147
|
+
|
148
|
+
[0-9\.,]+(em|ex|px|in|cm|mm|mu|pt|pc|%) {char * normalized_px = mtex2MML_str_replace(yytext, ",", "."); yylval=mtex2MML_copy_string(normalized_px); mtex2MML_free_string(normalized_px); return PXSTRING; }
|
149
|
+
|
150
|
+
[a-zA-Z] {yylval=mtex2MML_copy_string(yytext); return MI;}
|
151
|
+
|
152
|
+
[0-9]{1,3}(,[0-9]{3,3})*(\.[0-9]+)? |
|
153
|
+
[0-9]*[\.][0-9]+ |
|
154
|
+
[0-9]+ {yylval=mtex2MML_copy_string(yytext); return MN;}
|
155
|
+
"\\infty" |
|
156
|
+
"\\infinity" {yylval=mtex2MML_copy_string("∞"); return MN;}
|
157
|
+
|
158
|
+
"(" |
|
159
|
+
"[" {yylval=mtex2MML_copy_string(yytext); return LEFTDELIM;}
|
160
|
+
|
161
|
+
")" {yylval=mtex2MML_copy_string(yytext); return RIGHTDELIM;}
|
162
|
+
"]" {if(mtex2MML_inoptarg[mtex2MML_optarg_ind]==1 && mtex2MML_optarg_ind > 0) {mtex2MML_inoptarg[mtex2MML_optarg_ind]=0; mtex2MML_optarg_ind--; return OPTARGCLOSE;} else {yylval=mtex2MML_copy_string(yytext); return RIGHTDELIM;}}
|
163
|
+
|
164
|
+
"\\" {yylval=mtex2MML_copy_string(" "); return MTEXT;}
|
165
|
+
|
166
|
+
"\\_" {yylval=mtex2MML_copy_string("_"); return MI;}
|
167
|
+
|
168
|
+
"\\lbrace" |
|
169
|
+
"\\{" {yylval=mtex2MML_copy_string("{"); return LEFTDELIM;}
|
170
|
+
"\\rbrace" |
|
171
|
+
"\\}" {yylval=mtex2MML_copy_string("}"); return RIGHTDELIM;}
|
172
|
+
|
173
|
+
"\\vert" |
|
174
|
+
"|" {yylval=mtex2MML_copy_string("|"); return OTHERDELIM;}
|
175
|
+
"\\Vert" |
|
176
|
+
"\\|" {yylval=mtex2MML_copy_string("‖"); return OTHERDELIM;}
|
177
|
+
|
178
|
+
"\\lbrack" {yylval=mtex2MML_copy_string("["); return LEFTDELIM;}
|
179
|
+
"\\rbrack" {yylval=mtex2MML_copy_string("]"); return RIGHTDELIM;}
|
180
|
+
|
181
|
+
"\\lVert" {yylval=mtex2MML_copy_string("∥"); return LEFTDELIM;}
|
182
|
+
"\\rVert" {yylval=mtex2MML_copy_string("∥"); return RIGHTDELIM;}
|
183
|
+
|
184
|
+
"\\lvert" {yylval=mtex2MML_copy_string("∣"); return LEFTDELIM;}
|
185
|
+
"\\rvert" {yylval=mtex2MML_copy_string("∣"); return RIGHTDELIM;}
|
186
|
+
|
187
|
+
"\\bracevert" {yylval=mtex2MML_copy_string("⎪"); return OTHERDELIM;}
|
188
|
+
|
189
|
+
"\\setminus" {yylval=mtex2MML_copy_string("∖"); return MO;}
|
190
|
+
"\\backslash" {yylval=mtex2MML_copy_string("\"); return MO;}
|
191
|
+
"\\smallsetminus" {yylval=mtex2MML_copy_string("﹨"); return MOF;}
|
192
|
+
|
193
|
+
"\\sslash" {yylval=mtex2MML_copy_string("⫽"); return MO;}
|
194
|
+
|
195
|
+
"\\lfloor" |
|
196
|
+
"\\lceil" |
|
197
|
+
"\\lang" |
|
198
|
+
"\\langle" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return LEFTDELIM;}
|
199
|
+
"\\llangle" {yylval=mtex2MML_copy_string("⟪"); return LEFTDELIM;}
|
200
|
+
"\\lgroup" {yylval=mtex2MML_copy_string("⟮"); return LEFTDELIM;}
|
201
|
+
|
202
|
+
"\\rfloor" |
|
203
|
+
"\\rceil" |
|
204
|
+
"\\rmoustache" |
|
205
|
+
"\\rang" |
|
206
|
+
"\\rangle" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return RIGHTDELIM;}
|
207
|
+
"\\rrangle" {yylval=mtex2MML_copy_string("⟫"); return RIGHTDELIM;}
|
208
|
+
"\\rgroup" {yylval=mtex2MML_copy_string("⟯"); return RIGHTDELIM;}
|
209
|
+
|
210
|
+
"/" {yylval=mtex2MML_copy_string(yytext); return OTHERDELIM;}
|
211
|
+
|
212
|
+
"\\uparrow" |
|
213
|
+
"\\downarrow" |
|
214
|
+
"\\updownarrow" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return OTHERDELIM;}
|
215
|
+
|
216
|
+
"." {yylval=mtex2MML_copy_string(yytext); return PERIODDELIM;}
|
217
|
+
|
218
|
+
"-" {if (mtex2MML_rowposn==1) return UNARYMINUS; else {yylval=mtex2MML_copy_string("−"); return MO;}}
|
219
|
+
|
220
|
+
"+" {if (mtex2MML_rowposn==1) return UNARYPLUS; else {yylval=mtex2MML_copy_string("+"); return MO;}}
|
221
|
+
|
222
|
+
"\\#" {yylval=mtex2MML_copy_string("#"); return MOL;}
|
223
|
+
|
224
|
+
"," {yylval=mtex2MML_copy_string(yytext); return COMMADELIM;}
|
225
|
+
|
226
|
+
":" |
|
227
|
+
"!" |
|
228
|
+
"=" |
|
229
|
+
"~" |
|
230
|
+
";" |
|
231
|
+
"?" |
|
232
|
+
"#" |
|
233
|
+
"`" |
|
234
|
+
"@" |
|
235
|
+
"*" {yylval=mtex2MML_copy_string(yytext); return MOL;}
|
236
|
+
|
237
|
+
"\\prime" {yylval=mtex2MML_copy_string("′"); return MOLL;}
|
238
|
+
"'" {yylval=mtex2MML_copy_string("′"); return MOL;}
|
239
|
+
"''" {yylval=mtex2MML_copy_string("″"); return MOL;}
|
240
|
+
"'''" {yylval=mtex2MML_copy_string("‴"); return MOL;}
|
241
|
+
"''''" {yylval=mtex2MML_copy_string("⁗"); return MOL;}
|
242
|
+
|
243
|
+
"\\alpha" |
|
244
|
+
"\\beta" |
|
245
|
+
"\\gamma" |
|
246
|
+
"\\delta" |
|
247
|
+
"\\zeta" |
|
248
|
+
"\\eta" |
|
249
|
+
"\\theta" |
|
250
|
+
"\\iota" |
|
251
|
+
"\\kappa" |
|
252
|
+
"\\lambda" |
|
253
|
+
"\\mu" |
|
254
|
+
"\\nu" |
|
255
|
+
"\\xi" |
|
256
|
+
"\\pi" |
|
257
|
+
"\\rho" |
|
258
|
+
"\\sigma" |
|
259
|
+
"\\tau" |
|
260
|
+
"\\upsilon" |
|
261
|
+
"\\chi" |
|
262
|
+
"\\psi" |
|
263
|
+
"\\omega" |
|
264
|
+
"\\backepsilon" |
|
265
|
+
"\\varkappa" |
|
266
|
+
"\\varpi" |
|
267
|
+
"\\varrho" |
|
268
|
+
"\\varsigma" |
|
269
|
+
"\\vartheta" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return MI;}
|
270
|
+
|
271
|
+
"\\varepsilon" {yylval=mtex2MML_copy_string("ε"); return MI;}
|
272
|
+
"\\phi" {yylval=mtex2MML_copy_string("ϕ"); return MI;}
|
273
|
+
"\\varphi" {yylval=mtex2MML_copy_string("φ"); return MI;}
|
274
|
+
|
275
|
+
"\\varDelta" {yylval=mtex2MML_copy_string("Δ"); return MI;}
|
276
|
+
"\\varGamma" {yylval=mtex2MML_copy_string("Γ"); return MI;}
|
277
|
+
"\\varLambda" {yylval=mtex2MML_copy_string("Λ"); return MI;}
|
278
|
+
"\\varOmega" {yylval=mtex2MML_copy_string("Ω"); return MI;}
|
279
|
+
"\\varPhi" {yylval=mtex2MML_copy_string("Φ"); return MI;}
|
280
|
+
"\\varPi" {yylval=mtex2MML_copy_string("Π"); return MI;}
|
281
|
+
"\\varPsi" {yylval=mtex2MML_copy_string("Ψ"); return MI;}
|
282
|
+
"\\varSigma" {yylval=mtex2MML_copy_string("Σ"); return MI;}
|
283
|
+
"\\varTheta" {yylval=mtex2MML_copy_string("Θ"); return MI;}
|
284
|
+
"\\varUpsilon" {yylval=mtex2MML_copy_string("Υ"); return MI;}
|
285
|
+
"\\varXi" {yylval=mtex2MML_copy_string("Ξ"); return MI;}
|
286
|
+
|
287
|
+
"\\arccos" |
|
288
|
+
"\\arcsin" |
|
289
|
+
"\\arctan" |
|
290
|
+
"\\arg" |
|
291
|
+
"\\cos" |
|
292
|
+
"\\cosh" |
|
293
|
+
"\\cot" |
|
294
|
+
"\\coth" |
|
295
|
+
"\\csc" |
|
296
|
+
"\\deg" |
|
297
|
+
"\\dim" |
|
298
|
+
"\\exp" |
|
299
|
+
"\\hom" |
|
300
|
+
"\\ker" |
|
301
|
+
"\\lg" |
|
302
|
+
"\\ln" |
|
303
|
+
"\\log" |
|
304
|
+
"\\sec" |
|
305
|
+
"\\sin" |
|
306
|
+
"\\sinh" |
|
307
|
+
"\\tan" |
|
308
|
+
"\\tanh" {yylval=mtex2MML_copy_string(yytext+1); return MI;}
|
309
|
+
|
310
|
+
"\\injlim" {yylval=mtex2MML_copy_string("inj lim"); return MO;}
|
311
|
+
"\\projlim" {yylval=mtex2MML_copy_string("proj lim"); return MO;}
|
312
|
+
|
313
|
+
"\\varinjlim" return VARINJLIM;
|
314
|
+
"\\varliminf" return VARLIMINF;
|
315
|
+
"\\varlimsup" return VARLIMSUP;
|
316
|
+
"\\varprojlim" return VARPROJLIM;
|
317
|
+
|
318
|
+
"\\det" |
|
319
|
+
"\\gcd" |
|
320
|
+
"\\inf" |
|
321
|
+
"\\lim" |
|
322
|
+
"\\liminf" |
|
323
|
+
"\\limsup" |
|
324
|
+
"\\max" |
|
325
|
+
"\\min" |
|
326
|
+
"\\Pr" |
|
327
|
+
"\\sup" {yylval=mtex2MML_copy_string(yytext+1); return MIB;}
|
328
|
+
|
329
|
+
"\\omicron" {yylval=mtex2MML_copy_string("ℴ"); return MI;}
|
330
|
+
|
331
|
+
"\\epsilon" {yylval=mtex2MML_copy_string("ε"); return MI;}
|
332
|
+
|
333
|
+
"\\cdot" {yylval=mtex2MML_copy_string("⋅"); return MO;}
|
334
|
+
"\\cdotp" {yylval=mtex2MML_copy_string("·"); return MO;}
|
335
|
+
"\\centerdot" {yylval=mtex2MML_copy_string("·"); return MO;}
|
336
|
+
|
337
|
+
"\\dotsb" |
|
338
|
+
"\\dotsi" |
|
339
|
+
"\\dotsm" {yylval=mtex2MML_copy_string("⋯"); return MI;}
|
340
|
+
|
341
|
+
"\\ldotp" |
|
342
|
+
"\\dotsc" |
|
343
|
+
"\\dotso" {yylval=mtex2MML_copy_string("…"); return MI;}
|
344
|
+
|
345
|
+
"\\Alpha" |
|
346
|
+
"\\Beta" |
|
347
|
+
"\\Delta" |
|
348
|
+
"\\Gamma" |
|
349
|
+
"\\digamma" |
|
350
|
+
"\\Lambda" |
|
351
|
+
"\\Pi" |
|
352
|
+
"\\Phi" |
|
353
|
+
"\\Psi" |
|
354
|
+
"\\Sigma" |
|
355
|
+
"\\Theta" |
|
356
|
+
"\\Xi" |
|
357
|
+
"\\Zeta" |
|
358
|
+
"\\Eta" |
|
359
|
+
"\\Iota" |
|
360
|
+
"\\Kappa" |
|
361
|
+
"\\Mu" |
|
362
|
+
"\\Nu" |
|
363
|
+
"\\Rho" |
|
364
|
+
"\\Tau" |
|
365
|
+
"\\mho" |
|
366
|
+
"\\Omega" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return MI;}
|
367
|
+
|
368
|
+
"\\Upsilon" |
|
369
|
+
"\\Upsi" {yylval=mtex2MML_copy_string("ϒ"); return MI;}
|
370
|
+
|
371
|
+
"\\iff" |
|
372
|
+
"\\Longleftrightarrow" {yylval=mtex2MML_copy_string("⇔"); return MOL;}
|
373
|
+
|
374
|
+
"\\longleftrightarrow" {yylval=mtex2MML_copy_string("⟷"); return MOL;}
|
375
|
+
|
376
|
+
"\\Leftrightarrow" {yylval=mtex2MML_copy_string("⇔"); return MOL;}
|
377
|
+
|
378
|
+
"\\impliedby" |
|
379
|
+
"\\Leftarrow" {yylval=mtex2MML_copy_string("⇐"); return MOL;}
|
380
|
+
|
381
|
+
"\\implies" |
|
382
|
+
"\\Rightarrow" {yylval=mtex2MML_copy_string("⇒"); return MOL;}
|
383
|
+
|
384
|
+
"\\hookleftarrow" {yylval=mtex2MML_copy_string("↩"); return MOL;}
|
385
|
+
|
386
|
+
"\\embedsin" |
|
387
|
+
"\\hookrightarrow" {yylval=mtex2MML_copy_string("↪"); return MOL;}
|
388
|
+
|
389
|
+
"\\longleftarrow" {yylval=mtex2MML_copy_string("⟵"); return MOL;}
|
390
|
+
|
391
|
+
"\\Longleftarrow" {yylval=mtex2MML_copy_string("⟸"); return MOL;}
|
392
|
+
|
393
|
+
"\\longrightarrow" {yylval=mtex2MML_copy_string("⟶"); return MOL;}
|
394
|
+
|
395
|
+
"\\Longrightarrow" {yylval=mtex2MML_copy_string("⟹"); return MOL;}
|
396
|
+
|
397
|
+
"\\leftarrow" {yylval=mtex2MML_copy_string("←"); return MOL;}
|
398
|
+
|
399
|
+
"\\to" |
|
400
|
+
"\\rightarrow" {yylval=mtex2MML_copy_string("→"); return MOL;}
|
401
|
+
|
402
|
+
"\\leftrightarrow" {yylval=mtex2MML_copy_string("↔"); return MOL;}
|
403
|
+
|
404
|
+
"\\mapsto" |
|
405
|
+
"\\map" {yylval=mtex2MML_copy_string("↦"); return MOL;}
|
406
|
+
|
407
|
+
"\\nearrow" |
|
408
|
+
"\\nearr" {yylval=mtex2MML_copy_string("↗"); return MOL;}
|
409
|
+
|
410
|
+
"\\nwarrow" |
|
411
|
+
"\\nwarr" {yylval=mtex2MML_copy_string("↖"); return MOL;}
|
412
|
+
|
413
|
+
"\\searrow" |
|
414
|
+
"\\searr" {yylval=mtex2MML_copy_string("↘"); return MOL;}
|
415
|
+
|
416
|
+
"\\swarrow" |
|
417
|
+
"\\swarr" {yylval=mtex2MML_copy_string("↙"); return MOL;}
|
418
|
+
|
419
|
+
"\\neArrow" |
|
420
|
+
"\\neArr" {yylval=mtex2MML_copy_string("⇗"); return MOL;}
|
421
|
+
|
422
|
+
"\\nwArrow" |
|
423
|
+
"\\nwArr" {yylval=mtex2MML_copy_string("⇖"); return MOL;}
|
424
|
+
|
425
|
+
"\\seArrow" |
|
426
|
+
"\\seArr" {yylval=mtex2MML_copy_string("⇘"); return MOL;}
|
427
|
+
|
428
|
+
"\\swArrow" |
|
429
|
+
"\\swArr" {yylval=mtex2MML_copy_string("⇙"); return MOL;}
|
430
|
+
|
431
|
+
"\\darr" {yylval=mtex2MML_copy_string("↓"); return MOL;}
|
432
|
+
|
433
|
+
"\\Downarrow" {yylval=mtex2MML_copy_string("⇓"); return MOL;}
|
434
|
+
|
435
|
+
"\\Arrowvert" {yylval=mtex2MML_copy_string("‖"); return MOL;}
|
436
|
+
|
437
|
+
"\\arrowvert" {yylval=mtex2MML_copy_string("⏐"); return MOL;}
|
438
|
+
|
439
|
+
"\\uparr" {yylval=mtex2MML_copy_string("↑"); return MOL;}
|
440
|
+
|
441
|
+
"\\Uparrow" {yylval=mtex2MML_copy_string("⇑"); return MOL;}
|
442
|
+
|
443
|
+
"\\downuparrow" |
|
444
|
+
"\\duparr" |
|
445
|
+
"\\updarr" {yylval=mtex2MML_copy_string("↕"); return MOL;}
|
446
|
+
|
447
|
+
"\\Updownarrow" {yylval=mtex2MML_copy_string("⇕"); return MOL;}
|
448
|
+
|
449
|
+
"\\leftsquigarrow" {yylval=mtex2MML_copy_string("⇜"); return MOL;}
|
450
|
+
"\\rightsquigarrow" {yylval=mtex2MML_copy_string("⇝"); return MOL;}
|
451
|
+
"\\dashleftarrow" {yylval=mtex2MML_copy_string("⤎"); return MOL;}
|
452
|
+
"\\dashrightarrow" {yylval=mtex2MML_copy_string("⤏"); return MOL;}
|
453
|
+
"\\curvearrowbotright" {yylval=mtex2MML_copy_string("⤻"); return MOL;}
|
454
|
+
"\\righttoleftarrow" {yylval=mtex2MML_copy_string("⟲"); return MOL;}
|
455
|
+
"\\lefttorightarrow" {yylval=mtex2MML_copy_string("⟳"); return MOL;}
|
456
|
+
"\\leftrightsquigarrow" |
|
457
|
+
"\\upuparrows" |
|
458
|
+
"\\rightleftarrows" |
|
459
|
+
"\\rightrightarrows" |
|
460
|
+
"\\curvearrowleft" |
|
461
|
+
"\\curvearrowright" |
|
462
|
+
"\\downdownarrows" |
|
463
|
+
"\\leftarrowtail" |
|
464
|
+
"\\rightarrowtail" |
|
465
|
+
"\\leftleftarrows" |
|
466
|
+
"\\leftrightarrows" |
|
467
|
+
"\\Lleftarrow" |
|
468
|
+
"\\Rrightarrow" |
|
469
|
+
"\\looparrowleft" |
|
470
|
+
"\\looparrowright" |
|
471
|
+
"\\Lsh" |
|
472
|
+
"\\Rsh" |
|
473
|
+
"\\circlearrowleft" |
|
474
|
+
"\\circlearrowright" |
|
475
|
+
"\\twoheadleftarrow" |
|
476
|
+
"\\twoheadrightarrow" |
|
477
|
+
"\\nLeftarrow" |
|
478
|
+
"\\nleftarrow" |
|
479
|
+
"\\nLeftrightarrow" |
|
480
|
+
"\\nleftrightarrow" |
|
481
|
+
"\\nRightarrow" |
|
482
|
+
"\\nrightarrow" |
|
483
|
+
"\\rightharpoonup" |
|
484
|
+
"\\rightharpoondown" |
|
485
|
+
"\\leftharpoonup" |
|
486
|
+
"\\leftharpoondown" |
|
487
|
+
"\\downharpoonleft" |
|
488
|
+
"\\downharpoonright" |
|
489
|
+
"\\leftrightharpoons" |
|
490
|
+
"\\rightleftharpoons" |
|
491
|
+
"\\upharpoonleft" |
|
492
|
+
"\\upharpoonright" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return MOL;}
|
493
|
+
|
494
|
+
"\\xrightarrow" |
|
495
|
+
"\\xleftarrow" |
|
496
|
+
"\\xleftrightarrow" |
|
497
|
+
"\\xLeftarrow" |
|
498
|
+
"\\xRightarrow" |
|
499
|
+
"\\xLeftrightarrow" |
|
500
|
+
"\\xleftrightharpoons" |
|
501
|
+
"\\xrightleftharpoons" |
|
502
|
+
"\\xhookleftarrow" |
|
503
|
+
"\\xhookrightarrow" |
|
504
|
+
"\\xtwoheadrightarrow" |
|
505
|
+
"\\xtwoheadleftarrow" |
|
506
|
+
"\\xmapsto" {BEGIN(OPTARG); yylval = mtex2MML_copy3("&", yytext+2, ";"); return XARROW;}
|
507
|
+
|
508
|
+
"\\xlongequal" {BEGIN(OPTARG); yylval=mtex2MML_copy_string("="); return XARROW;}
|
509
|
+
|
510
|
+
"\\xtofrom" {BEGIN(OPTARG); yylval=mtex2MML_copy_string("⇄"); return XARROW;}
|
511
|
+
|
512
|
+
"\\dots" |
|
513
|
+
"\\ldots" {yylval=mtex2MML_copy_string("…"); return MI;}
|
514
|
+
"\\cdots" {yylval=mtex2MML_copy_string("⋯"); return MI;}
|
515
|
+
"\\ddots" {yylval=mtex2MML_copy_string("⋱"); return MI;}
|
516
|
+
"\\udots" {yylval=mtex2MML_copy_string("⋰"); return MI;}
|
517
|
+
"\\vdots" {yylval=mtex2MML_copy_string("⋮"); return MI;}
|
518
|
+
"\\colon" {yylval=mtex2MML_copy_string(":"); return MOR;}
|
519
|
+
|
520
|
+
"\\cup" |
|
521
|
+
"\&union;" |
|
522
|
+
"\\union" {yylval=mtex2MML_copy_string("∪"); return MOL;}
|
523
|
+
|
524
|
+
"\\bigcup" |
|
525
|
+
"\\Union" |
|
526
|
+
"\⋃" {yylval=mtex2MML_copy_string("⋃"); return MOB;}
|
527
|
+
|
528
|
+
"\\cap" |
|
529
|
+
"\\intersection" {yylval=mtex2MML_copy_string("∩"); return MOL;}
|
530
|
+
|
531
|
+
"\\bigcap" |
|
532
|
+
"\\Intersection" {yylval=mtex2MML_copy_string("⋂"); return MOB;}
|
533
|
+
|
534
|
+
"\\in" {yylval=mtex2MML_copy_string("∈"); return MOL;}
|
535
|
+
|
536
|
+
/* For some reason, Firefox does not put in the right spacing around some of these operators
|
537
|
+
* unless we ask for it, explicitly.
|
538
|
+
*/
|
539
|
+
"\\coloneqq" {yylval=mtex2MML_copy_string("≔"); return MOL;}
|
540
|
+
"\\Coloneqq" {yylval=mtex2MML_copy_string("⩴"); return MOS;}
|
541
|
+
"\\coloneq" {yylval=mtex2MML_copy_string("∶−"); return MOS;}
|
542
|
+
"\\Coloneq" {yylval=mtex2MML_copy_string("∷−"); return MOS;}
|
543
|
+
"\\eqqcolon" {yylval=mtex2MML_copy_string("≕"); return MOS;}
|
544
|
+
"\\Eqqcolon" {yylval=mtex2MML_copy_string("=∷"); return MOS;}
|
545
|
+
"\\eqcolon" {yylval=mtex2MML_copy_string("∹"); return MOS;}
|
546
|
+
"\\Eqcolon" {yylval=mtex2MML_copy_string("−∷"); return MOS;}
|
547
|
+
"\\colonapprox" {yylval=mtex2MML_copy_string("∶≈"); return MOS;}
|
548
|
+
"\\Colonapprox" {yylval=mtex2MML_copy_string("∷≈"); return MOS;}
|
549
|
+
"\\colonsim" {yylval=mtex2MML_copy_string("∶∼"); return MOS;}
|
550
|
+
"\\Colonsim" {yylval=mtex2MML_copy_string("∷∼"); return MOS;}
|
551
|
+
"\\dblcolon" {yylval=mtex2MML_copy_string("∷"); return MOL;}
|
552
|
+
|
553
|
+
"\\ast" |
|
554
|
+
"\\Cap" |
|
555
|
+
"\\Cup" |
|
556
|
+
"\\circledast" |
|
557
|
+
"\\circledcirc" |
|
558
|
+
"\\curlyvee" |
|
559
|
+
"\\curlywedge" |
|
560
|
+
"\\divideontimes" |
|
561
|
+
"\\dotplus" |
|
562
|
+
"\\leftthreetimes" |
|
563
|
+
"\\rightthreetimes" |
|
564
|
+
"\\veebar" |
|
565
|
+
"\\gt" |
|
566
|
+
"\\lt" |
|
567
|
+
"\\approxeq" |
|
568
|
+
"\\backsim" |
|
569
|
+
"\\backsimeq" |
|
570
|
+
"\\barwedge" |
|
571
|
+
"\\doublebarwedge" |
|
572
|
+
"\\subset" |
|
573
|
+
"\\subseteq" |
|
574
|
+
"\\subseteqq" |
|
575
|
+
"\\subsetneq" |
|
576
|
+
"\\subsetneqq" |
|
577
|
+
"\\varsubsetneq" |
|
578
|
+
"\\varsubsetneqq" |
|
579
|
+
"\\prec" |
|
580
|
+
"\\parallel" |
|
581
|
+
"\\nparallel" |
|
582
|
+
"\\shortparallel" |
|
583
|
+
"\\nshortparallel" |
|
584
|
+
"\\perp" |
|
585
|
+
"\\eqslantgtr" |
|
586
|
+
"\\eqslantless" |
|
587
|
+
"\\gg" |
|
588
|
+
"\\ggg" |
|
589
|
+
"\\geq" |
|
590
|
+
"\\geqq" |
|
591
|
+
"\\geqslant" |
|
592
|
+
"\\gneq" |
|
593
|
+
"\\gneqq" |
|
594
|
+
"\\gnapprox" |
|
595
|
+
"\\gnsim" |
|
596
|
+
"\\gtrapprox" |
|
597
|
+
"\\ge" |
|
598
|
+
"\\le" |
|
599
|
+
"\\leq" |
|
600
|
+
"\\leqq" |
|
601
|
+
"\\leqslant" |
|
602
|
+
"\\lessapprox" |
|
603
|
+
"\\lessdot" |
|
604
|
+
"\\lesseqgtr" |
|
605
|
+
"\\lesseqqgtr" |
|
606
|
+
"\\lessgtr" |
|
607
|
+
"\\lneq" |
|
608
|
+
"\\lneqq" |
|
609
|
+
"\\lnsim" |
|
610
|
+
"\\lvertneqq" |
|
611
|
+
"\\gtrsim" |
|
612
|
+
"\\gtrdot" |
|
613
|
+
"\\gtreqless" |
|
614
|
+
"\\gtreqqless" |
|
615
|
+
"\\gtrless" |
|
616
|
+
"\\gvertneqq" |
|
617
|
+
"\\lesssim" |
|
618
|
+
"\\lnapprox" |
|
619
|
+
"\\nsubset" |
|
620
|
+
"\\nsubseteq" |
|
621
|
+
"\\nsubseteqq" |
|
622
|
+
"\\notin" |
|
623
|
+
"\\ni" |
|
624
|
+
"\\notni" |
|
625
|
+
"\\nmid" |
|
626
|
+
"\\nshortmid" |
|
627
|
+
"\\preceq" |
|
628
|
+
"\\npreceq" |
|
629
|
+
"\\ll" |
|
630
|
+
"\\ngeq" |
|
631
|
+
"\\ngeqq" |
|
632
|
+
"\\ngeqslant" |
|
633
|
+
"\\nleq" |
|
634
|
+
"\\nleqq" |
|
635
|
+
"\\nleqslant" |
|
636
|
+
"\\nless" |
|
637
|
+
"\\supset" |
|
638
|
+
"\\supseteq" |
|
639
|
+
"\\supseteqq" |
|
640
|
+
"\\supsetneq" |
|
641
|
+
"\\supsetneqq" |
|
642
|
+
"\\varsupsetneq" |
|
643
|
+
"\\varsupsetneqq" |
|
644
|
+
"\\approx" |
|
645
|
+
"\\asymp" |
|
646
|
+
"\\bowtie" |
|
647
|
+
"\\dashv" |
|
648
|
+
"\\Vdash" |
|
649
|
+
"\\vDash" |
|
650
|
+
"\\VDash" |
|
651
|
+
"\\vdash" |
|
652
|
+
"\\Vvdash" |
|
653
|
+
"\\models" |
|
654
|
+
"\\sim" |
|
655
|
+
"\\simeq" |
|
656
|
+
"\\nsim" |
|
657
|
+
"\\smile" |
|
658
|
+
"\\triangle" |
|
659
|
+
"\\triangledown" |
|
660
|
+
"\\triangleleft" |
|
661
|
+
"\\cong" |
|
662
|
+
"\\succ" |
|
663
|
+
"\\nsucc" |
|
664
|
+
"\\ngtr" |
|
665
|
+
"\\nsupset" |
|
666
|
+
"\\nsupseteq" |
|
667
|
+
"\\propto" |
|
668
|
+
"\\equiv" |
|
669
|
+
"\\nequiv" |
|
670
|
+
"\\frown" |
|
671
|
+
"\\triangleright" |
|
672
|
+
"\\ncong" |
|
673
|
+
"\\succeq" |
|
674
|
+
"\\succapprox" |
|
675
|
+
"\\succnapprox" |
|
676
|
+
"\\succcurlyeq" |
|
677
|
+
"\\succsim" |
|
678
|
+
"\\succnsim" |
|
679
|
+
"\\nsucceq" |
|
680
|
+
"\\nvDash" |
|
681
|
+
"\\nvdash" |
|
682
|
+
"\\nVDash" |
|
683
|
+
"\\amalg" |
|
684
|
+
"\\pm" |
|
685
|
+
"\\mp" |
|
686
|
+
"\\bigcirc" |
|
687
|
+
"\\wr" |
|
688
|
+
"\\odot" |
|
689
|
+
"\\uplus" |
|
690
|
+
"\\clubsuit" |
|
691
|
+
"\\spadesuit" |
|
692
|
+
"\\Diamond" |
|
693
|
+
"\\diamond" |
|
694
|
+
"\\sqcup" |
|
695
|
+
"\\sqcap" |
|
696
|
+
"\\sqsubset" |
|
697
|
+
"\\sqsubseteq" |
|
698
|
+
"\\sqsupset" |
|
699
|
+
"\\sqsupseteq" |
|
700
|
+
"\\Subset" |
|
701
|
+
"\\Supset" |
|
702
|
+
"\\ltimes" |
|
703
|
+
"\\div" |
|
704
|
+
"\\rtimes" |
|
705
|
+
"\\bot" |
|
706
|
+
"\\therefore" |
|
707
|
+
"\\thickapprox" |
|
708
|
+
"\\thicksim" |
|
709
|
+
"\\varpropto" |
|
710
|
+
"\\varnothing" |
|
711
|
+
"\\flat" |
|
712
|
+
"\\vee" |
|
713
|
+
"\\because" |
|
714
|
+
"\\between" |
|
715
|
+
"\\Bumpeq" |
|
716
|
+
"\\bumpeq" |
|
717
|
+
"\\circeq" |
|
718
|
+
"\\curlyeqprec" |
|
719
|
+
"\\curlyeqsucc" |
|
720
|
+
"\\doteq" |
|
721
|
+
"\\doteqdot" |
|
722
|
+
"\\eqcirc" |
|
723
|
+
"\\fallingdotseq" |
|
724
|
+
"\\multimap" |
|
725
|
+
"\\pitchfork" |
|
726
|
+
"\\precapprox" |
|
727
|
+
"\\precnapprox" |
|
728
|
+
"\\preccurlyeq" |
|
729
|
+
"\\precsim" |
|
730
|
+
"\\precnsim" |
|
731
|
+
"\\risingdotseq" |
|
732
|
+
"\\sharp" |
|
733
|
+
"\\bullet" |
|
734
|
+
"\\nexists" |
|
735
|
+
"\\dagger" |
|
736
|
+
"\\ddagger" |
|
737
|
+
"\\top" |
|
738
|
+
"\\natural" |
|
739
|
+
"\\angle" |
|
740
|
+
"\\measuredangle" |
|
741
|
+
"\\backprime" |
|
742
|
+
"\\bigstar" |
|
743
|
+
"\\blacklozenge" |
|
744
|
+
"\\lozenge" |
|
745
|
+
"\\blacksquare" |
|
746
|
+
"\\blacktriangle" |
|
747
|
+
"\\blacktriangleleft" |
|
748
|
+
"\\blacktriangleright" |
|
749
|
+
"\\blacktriangledown" |
|
750
|
+
"\\ntriangleleft" |
|
751
|
+
"\\ntriangleright" |
|
752
|
+
"\\ntrianglelefteq" |
|
753
|
+
"\\ntrianglerighteq" |
|
754
|
+
"\\trianglelefteq" |
|
755
|
+
"\\trianglerighteq" |
|
756
|
+
"\\triangleq" |
|
757
|
+
"\\vartriangleleft" |
|
758
|
+
"\\vartriangleright" |
|
759
|
+
"\\forall" |
|
760
|
+
"\\bigtriangleup" |
|
761
|
+
"\\bigtriangledown" |
|
762
|
+
"\\nprec" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return MOL;}
|
763
|
+
|
764
|
+
"\\textgreater" |
|
765
|
+
">" {yylval=mtex2MML_copy_string(">"); return MOL;}
|
766
|
+
"\\textless" |
|
767
|
+
"<" {yylval=mtex2MML_copy_string("<"); return MOL;}
|
768
|
+
"≤" {yylval=mtex2MML_copy_string("≤"); return MOL;}
|
769
|
+
"≥" {yylval=mtex2MML_copy_string("≥"); return MOL;}
|
770
|
+
"\\land" {yylval=mtex2MML_copy_string("∧"); return MOL;}
|
771
|
+
"\\lor" {yylval=mtex2MML_copy_string("∨"); return MOL;}
|
772
|
+
"\\surd" {yylval=mtex2MML_copy_string("√"); return MOL;}
|
773
|
+
"\\And" {yylval=mtex2MML_copy_string("&"); return MOL;}
|
774
|
+
"\\checkmark" {yylval=mtex2MML_copy_string("✓"); return MOL;}
|
775
|
+
"\\circledR" {yylval=mtex2MML_copy_string("®"); return MOL;}
|
776
|
+
"\\circledS" {yylval=mtex2MML_copy_string("Ⓢ"); return MOL;}
|
777
|
+
"\\complement" {yylval=mtex2MML_copy_string("∁"); return MOL;}
|
778
|
+
"\\diagdown" {yylval=mtex2MML_copy_string("╲"); return MOL;}
|
779
|
+
"\\diagup" {yylval=mtex2MML_copy_string("╱"); return MOL;}
|
780
|
+
"\\doublecap" {yylval=mtex2MML_copy_string("⋒"); return MOL;}
|
781
|
+
"\\doublecup" {yylval=mtex2MML_copy_string("⋓"); return MOL;}
|
782
|
+
"\\eqsim" {yylval=mtex2MML_copy_string("≂"); return MOL;}
|
783
|
+
"\\Finv" {yylval=mtex2MML_copy_string("Ⅎ"); return MOL;}
|
784
|
+
"\\Game" {yylval=mtex2MML_copy_string("⅁"); return MOL;}
|
785
|
+
"\\gggtr" {yylval=mtex2MML_copy_string("⋙"); return MOL;}
|
786
|
+
"\\gets" {yylval=mtex2MML_copy_string("←"); return MOL;}
|
787
|
+
"\\hslash" {yylval=mtex2MML_copy_string("ℏ"); return MOL;}
|
788
|
+
"\\intop" {yylval=mtex2MML_copy_string("∫"); return MOL;}
|
789
|
+
"\\Join" {yylval=mtex2MML_copy_string("⋈"); return MOL;}
|
790
|
+
"\\leadsto" {yylval=mtex2MML_copy_string("⇝"); return MOL;}
|
791
|
+
"\\llcorner" {yylval=mtex2MML_copy_string("⌞"); return MOL;}
|
792
|
+
"\\lrcorner" {yylval=mtex2MML_copy_string("⌟"); return MOL;}
|
793
|
+
"\\llless" {yylval=mtex2MML_copy_string("⋘"); return MOL;}
|
794
|
+
"\\lmoustache" {yylval=mtex2MML_copy_string("⎰"); return MOL;}
|
795
|
+
"\\lnot" {yylval=mtex2MML_copy_string("¬"); return MOL;}
|
796
|
+
"\\longmapsto" {yylval=mtex2MML_copy_string("⟼"); return MOL;}
|
797
|
+
"\\maltese" {yylval=mtex2MML_copy_string("✠"); return MOL;}
|
798
|
+
"\\nsupseteqq" {yylval=mtex2MML_copy_string("⊉"); return MOL;}
|
799
|
+
"\\nVdash" {yylval=mtex2MML_copy_string("⊮"); return MOL;}
|
800
|
+
"\\owns" {yylval=mtex2MML_copy_string("∋"); return MOL;}
|
801
|
+
"\\precneqq" {yylval=mtex2MML_copy_string("⪵"); return MOL;}
|
802
|
+
"\\restriction" {yylval=mtex2MML_copy_string("↾"); return MOL;}
|
803
|
+
"\\smallint" {yylval=mtex2MML_copy_string("∫"); return MOL;}
|
804
|
+
"\\succneqq" {yylval=mtex2MML_copy_string("⪶"); return MOL;}
|
805
|
+
"\\ulcorner" {yylval=mtex2MML_copy_string("⌜"); return MOL;}
|
806
|
+
"\\urcorner" {yylval=mtex2MML_copy_string("⌝"); return MOL;}
|
807
|
+
"\\vartriangle" {yylval=mtex2MML_copy_string("△"); return MOL;}
|
808
|
+
"\\yen" {yylval=mtex2MML_copy_string("¥"); return MOL;}
|
809
|
+
|
810
|
+
"\\TeX" {return TEXSYMBOL;}
|
811
|
+
"\\LaTeX" {return LATEXSYMBOL;}
|
812
|
+
|
813
|
+
"\\aleph" |
|
814
|
+
"\\beth" |
|
815
|
+
"\\gimel" |
|
816
|
+
"\\daleth" |
|
817
|
+
"\\eth" |
|
818
|
+
"\\ell" |
|
819
|
+
"\\hbar" |
|
820
|
+
"\\Im" |
|
821
|
+
"\\imath" |
|
822
|
+
"\\jmath" |
|
823
|
+
"\\wp" |
|
824
|
+
"\\Re" {yylval=mtex2MML_copy2(yytext, ";"); if (yylval != mtex2MML_empty_string) yylval[0]='&'; return MI;}
|
825
|
+
|
826
|
+
"\\Perp" |
|
827
|
+
"\\Vbar" {yylval=mtex2MML_copy_string("⫫"); return MOL;}
|
828
|
+
"\\boxdot" {yylval=mtex2MML_copy_string("⊡"); return MOL;}
|
829
|
+
"\\Doteq" {yylval=mtex2MML_copy_string("≑"); return MOL;}
|
830
|
+
"\\Box" |
|
831
|
+
"\\square" {yylval=mtex2MML_copy_string("□"); return MOL;}
|
832
|
+
"\\emptyset" |
|
833
|
+
"\\empty" {yylval=mtex2MML_copy_string("∅"); return MI;}
|
834
|
+
"\\exists" {yylval=mtex2MML_copy_string("∃"); return MOL;}
|
835
|
+
"\\circ" {yylval=mtex2MML_copy_string("∘"); return MOL;}
|
836
|
+
"\\rhd" {yylval=mtex2MML_copy_string("⊳"); return MOL;}
|
837
|
+
"\\lhd" {yylval=mtex2MML_copy_string("⊲"); return MOL;}
|
838
|
+
"\\lll" {yylval=mtex2MML_copy_string("⋘"); return MOL;}
|
839
|
+
"\\unrhd" {yylval=mtex2MML_copy_string("⊵"); return MOL;}
|
840
|
+
"\\unlhd" {yylval=mtex2MML_copy_string("⊴"); return MOL;}
|
841
|
+
"\\Del" |
|
842
|
+
"\\nabla" {yylval=mtex2MML_copy_string("∇"); return MOL;}
|
843
|
+
"\\sphericalangle" {yylval=mtex2MML_copy_string("∢"); return MOL;}
|
844
|
+
|
845
|
+
"\\heartsuit" {yylval=mtex2MML_copy_string("♡"); return MOL;}
|
846
|
+
"\\diamondsuit" {yylval=mtex2MML_copy_string("♢"); return MOL;}
|
847
|
+
|
848
|
+
"\\partial" {yylval=mtex2MML_copy_string("∂"); return MOL;}
|
849
|
+
|
850
|
+
"\\qed" {yylval=mtex2MML_copy_string("▪"); return MO;}
|
851
|
+
|
852
|
+
"\\mod" {yylval=mtex2MML_copy_string("mod"); return MOS;}
|
853
|
+
"\\pmod" {return PMOD;}
|
854
|
+
"\\bmod" {return BMOD;}
|
855
|
+
"\\pod" {return POD;}
|
856
|
+
|
857
|
+
"\\bottom" {yylval=mtex2MML_copy_string("⊥"); return MOL;}
|
858
|
+
|
859
|
+
"\\neg" {yylval=mtex2MML_copy_string("¬"); return MOL;}
|
860
|
+
|
861
|
+
"\\neq" |
|
862
|
+
"\\ne" {yylval=mtex2MML_copy_string("≠"); return MOL;}
|
863
|
+
|
864
|
+
"\\shortmid" |
|
865
|
+
"\\mid" {yylval=mtex2MML_copy_string("∣"); return MOS;}
|
866
|
+
|
867
|
+
"\\int" |
|
868
|
+
"\\integral" {yylval=mtex2MML_copy_string("∫"); return MOL;}
|
869
|
+
|
870
|
+
"\\iint" |
|
871
|
+
"\\doubleintegral" {yylval=mtex2MML_copy_string("∬"); return MOL;}
|
872
|
+
|
873
|
+
"\\iiint" |
|
874
|
+
"\\tripleintegral" {yylval=mtex2MML_copy_string("∭"); return MOL;}
|
875
|
+
|
876
|
+
"\\iiiint" |
|
877
|
+
"\\quadrupleintegral" {yylval=mtex2MML_copy_string("⨌"); return MOL;}
|
878
|
+
|
879
|
+
"\\idotsint" {yylval=mtex2MML_copy_string("∫ ⋯ ∫"); return MOL;}
|
880
|
+
|
881
|
+
"\\oint" |
|
882
|
+
"\\conint" |
|
883
|
+
"\\contourintegral" {yylval=mtex2MML_copy_string("∮"); return MOL;}
|
884
|
+
|
885
|
+
"\\times" {yylval=mtex2MML_copy_string("×"); return MOL;}
|
886
|
+
"\\star" {yylval=mtex2MML_copy_string("⋆"); return MOL;}
|
887
|
+
"\\circleddash" |
|
888
|
+
"\\odash" {yylval=mtex2MML_copy_string("⊝"); return MOL;}
|
889
|
+
|
890
|
+
"\\intercal" {yylval=mtex2MML_copy_string("⊺"); return MOL;}
|
891
|
+
"\\smallfrown" {yylval=mtex2MML_copy_string("⌢"); return MOL;}
|
892
|
+
"\\smallsmile" {yylval=mtex2MML_copy_string("⌣"); return MOL;}
|
893
|
+
|
894
|
+
"\\boxminus" |
|
895
|
+
"\\minusb" {yylval=mtex2MML_copy_string("⊟"); return MOL;}
|
896
|
+
"\\boxplus" |
|
897
|
+
"\\plusb" {yylval=mtex2MML_copy_string("⊞"); return MOL;}
|
898
|
+
"\\boxtimes" |
|
899
|
+
"\\timesb" {yylval=mtex2MML_copy_string("⊠"); return MOL;}
|
900
|
+
|
901
|
+
"\\sideset" {return SIDESET;}
|
902
|
+
|
903
|
+
"\\sum" {yylval=mtex2MML_copy_string("∑"); return MOB;}
|
904
|
+
|
905
|
+
"\\prod" |
|
906
|
+
"\\product" {yylval=mtex2MML_copy_string("∏"); return MOB;}
|
907
|
+
|
908
|
+
"\\coprod" |
|
909
|
+
"\\coproduct" {yylval=mtex2MML_copy_string("∐"); return MOB;}
|
910
|
+
|
911
|
+
"\\otimes" {yylval=mtex2MML_copy_string("⊗"); return MOL;}
|
912
|
+
"\\Otimes" {yylval=mtex2MML_copy_string("⨷"); return MOL;}
|
913
|
+
"\\bigotimes" {yylval=mtex2MML_copy_string("⨂"); return MOL;}
|
914
|
+
|
915
|
+
"\\ominus" {yylval=mtex2MML_copy_string("⊖"); return MOL;}
|
916
|
+
"\\oslash" {yylval=mtex2MML_copy_string("⊘"); return MOL;}
|
917
|
+
|
918
|
+
"\\oplus" {yylval=mtex2MML_copy_string("⊕"); return MOL;}
|
919
|
+
"\\Oplus" |
|
920
|
+
"\\bigoplus" {yylval=mtex2MML_copy_string("⨁"); return MOB;}
|
921
|
+
|
922
|
+
"\\bigodot" {yylval=mtex2MML_copy_string("⨀"); return MOB;}
|
923
|
+
"\\bigsqcup" {yylval=mtex2MML_copy_string("⨆"); return MOB;}
|
924
|
+
"\\bigsqcap" {yylval=mtex2MML_copy_string("⨅"); return MOB;}
|
925
|
+
"\\biginterleave" {yylval=mtex2MML_copy_string("⫼"); return MOB;}
|
926
|
+
"\\biguplus" {yylval=mtex2MML_copy_string("⨄"); return MOB;}
|
927
|
+
|
928
|
+
"\\wedge" {yylval=mtex2MML_copy_string("∧"); return MOL;}
|
929
|
+
"\\Wedge" |
|
930
|
+
"\\bigwedge" {yylval=mtex2MML_copy_string("⋀"); return MOB;}
|
931
|
+
|
932
|
+
"\\Vee" |
|
933
|
+
"\\bigvee" {yylval=mtex2MML_copy_string("⋁"); return MOB;}
|
934
|
+
|
935
|
+
"\\invamp" |
|
936
|
+
"\\parr" {yylval=mtex2MML_copy_string("⅋"); return MOL;}
|
937
|
+
|
938
|
+
"\\frac" {return FRAC;}
|
939
|
+
"\\tfrac" {return TFRAC;}
|
940
|
+
"\\dfrac" {return DFRAC;}
|
941
|
+
"\\cfrac" {return CFRAC;}
|
942
|
+
"\\genfrac" {return GENFRAC;}
|
943
|
+
|
944
|
+
"\\binom" {return BINOM;}
|
945
|
+
"\\tbinom" {return TBINOM;}
|
946
|
+
"\\brace" {return BRACE;}
|
947
|
+
"\\brack" {return BRACK;}
|
948
|
+
"\\choose" {return CHOOSE;}
|
949
|
+
"\\dbinom" {return DBINOM;}
|
950
|
+
|
951
|
+
"\\tensor" {return TENSOR;}
|
952
|
+
|
953
|
+
"\\multiscripts" {return MULTI;}
|
954
|
+
|
955
|
+
"\\overbrace" {return OVERBRACE;}
|
956
|
+
|
957
|
+
"\\overbracket" {return OVERBRACKET;}
|
958
|
+
|
959
|
+
"\\underbrace" {return UNDERBRACE;}
|
960
|
+
|
961
|
+
"\\underbracket" {return UNDERBRACKET;}
|
962
|
+
|
963
|
+
"\\underline" {return UNDERLINE;}
|
964
|
+
|
965
|
+
"\\underleftarrow" { return UNDERLEFTARROW;}
|
966
|
+
|
967
|
+
"\\underleftrightarrow" { return UNDERLEFTRIGHTARROW;}
|
968
|
+
|
969
|
+
"\\underrightarrow" { return UNDERRIGHTARROW;}
|
970
|
+
|
971
|
+
"\\bar" {return BAR;}
|
972
|
+
"\\overline" |
|
973
|
+
"\\closure" |
|
974
|
+
"\\widebar" {return WIDEBAR;}
|
975
|
+
|
976
|
+
"\\skew" {return SKEW; }
|
977
|
+
|
978
|
+
"\\acute" {return ACUTE;}
|
979
|
+
|
980
|
+
"\\grave" {return GRAVE;}
|
981
|
+
|
982
|
+
"\\breve" {return BREVE;}
|
983
|
+
|
984
|
+
"\\mathring" {return MATHRING;}
|
985
|
+
|
986
|
+
"\\vec" {return VEC;}
|
987
|
+
"\\widevec" {return WIDEVEC;}
|
988
|
+
|
989
|
+
"\\dot" {return DOT;}
|
990
|
+
"\\ddot" {return DDOT;}
|
991
|
+
"\\dddot" {return DDDOT;}
|
992
|
+
"\\ddddot" {return DDDDOT;}
|
993
|
+
|
994
|
+
"\\tilde" {return TILDE;}
|
995
|
+
"\\widetilde" {return WIDETILDE;}
|
996
|
+
|
997
|
+
|
998
|
+
"\\check" {return CHECK;}
|
999
|
+
"\\widecheck" {return WIDECHECK;}
|
1000
|
+
|
1001
|
+
|
1002
|
+
"\\hat" {return HAT;}
|
1003
|
+
"\\widehat" {return WIDEHAT;}
|
1004
|
+
|
1005
|
+
"\\underset" {return UNDER;}
|
1006
|
+
|
1007
|
+
"\\buildrel" {return BUILDREL;}
|
1008
|
+
|
1009
|
+
"\\stackrel" |
|
1010
|
+
"\\overset" {return OVER;}
|
1011
|
+
|
1012
|
+
"\\over" {return TEXOVER;}
|
1013
|
+
"\\overwithdelims" {return TEXOVERWITHDELIMS;}
|
1014
|
+
"\\atop" {return TEXATOP;}
|
1015
|
+
"\\atopwithdelims" {return TEXATOPWITHDELIMS;}
|
1016
|
+
"\\above" {return TEXABOVE;}
|
1017
|
+
"\\abovewithdelims" {return TEXABOVEWITHDELIMS;}
|
1018
|
+
|
1019
|
+
"\\overleftarrow" {return OVERLEFTARROW;}
|
1020
|
+
|
1021
|
+
"\\overleftrightarrow" {return OVERLEFTRIGHTARROW;}
|
1022
|
+
|
1023
|
+
"\\overrightarrow" {return OVERRIGHTARROW;}
|
1024
|
+
|
1025
|
+
"\\underoverset" {return UNDEROVER;}
|
1026
|
+
|
1027
|
+
"\\sqrt" {BEGIN(OPTARG); return SQRT;}
|
1028
|
+
|
1029
|
+
"\\root" {return ROOT;}
|
1030
|
+
"\\leftroot" {BEGIN(NUM); return LEFTROOT;}
|
1031
|
+
"\\uproot" {BEGIN(NUM); return UPROOT;}
|
1032
|
+
|
1033
|
+
"\\of" {return OF;}
|
1034
|
+
|
1035
|
+
"\\text" {BEGIN(PLAINTEXT); return TEXTBOX;}
|
1036
|
+
"\\verb"[^ ] {mtex2MML_verbdelim = yytext[yyleng-1]; mtex2MML_str = mtex2MML_copy_string(""); BEGIN(VERBTEXT); return VERBBOX;}
|
1037
|
+
|
1038
|
+
"\\statusline" {BEGIN(PLAINTEXT); return STATLINE;}
|
1039
|
+
"\\tooltip" {BEGIN(PLAINTEXT); return TOOLTIP;}
|
1040
|
+
|
1041
|
+
"\\toggle" {return TOGGLE;}
|
1042
|
+
"\\begintoggle" {return TOGGLESTART;}
|
1043
|
+
"\\endtoggle" {return TOGGLEEND;}
|
1044
|
+
|
1045
|
+
"\\mathraisebox" {BEGIN(RAISEBOX1); return RAISEBOX;}
|
1046
|
+
|
1047
|
+
"\\fghilight" |
|
1048
|
+
"\\fghighlight" {BEGIN(ATTRIBUTELIST); return FGHIGHLIGHT;}
|
1049
|
+
|
1050
|
+
"\\bghilight" |
|
1051
|
+
"\\bghighlight" {BEGIN(ATTRIBUTELIST); return BGHIGHLIGHT;}
|
1052
|
+
|
1053
|
+
"\\colorbox" {BEGIN(ATTRIBUTELIST); return COLORBOX;}
|
1054
|
+
|
1055
|
+
"\\color" {BEGIN(ATTRIBUTELIST); return COLOR;}
|
1056
|
+
"\\bgcolor" {BEGIN(ATTRIBUTELIST); return BGCOLOR;}
|
1057
|
+
|
1058
|
+
"\\label" {BEGIN(ATTRIBUTELIST); return LABEL;}
|
1059
|
+
"\\tag" {BEGIN(ATTRIBUTELIST); return TAG;}
|
1060
|
+
|
1061
|
+
"\\bbox" {BEGIN(BRACKETLIST); return BBOX;}
|
1062
|
+
|
1063
|
+
"\\displaystyle" {mtex2MML_displaymode=1; mtex2MML_rowposn=2; display_style = 1; return DISPLAY;}
|
1064
|
+
|
1065
|
+
"\\textstyle" {mtex2MML_displaymode=0; mtex2MML_rowposn=2; display_style = 0; return TEXTSTY;}
|
1066
|
+
|
1067
|
+
"\\textsize" {display_style = 0; return TEXTSIZE;}
|
1068
|
+
|
1069
|
+
"\\scriptstyle" {display_style = 0; return SCSTY;}
|
1070
|
+
|
1071
|
+
"\\scriptsize" {return SCSIZE;}
|
1072
|
+
|
1073
|
+
"\\scriptscriptstyle" |
|
1074
|
+
"\\scriptscriptsize" {return SCSCSIZE;}
|
1075
|
+
|
1076
|
+
"\\tiny" { return TINY; }
|
1077
|
+
"\\Tiny" { return TTINY; }
|
1078
|
+
"\\small" { return SMALL; }
|
1079
|
+
"\\normalsize" { return NORMALSIZE; }
|
1080
|
+
"\\large" { return LARGE; }
|
1081
|
+
"\\Large" { return LLARGE; }
|
1082
|
+
"\\LARGE" { return LLLARGE; }
|
1083
|
+
"\\huge" { return HUGE; }
|
1084
|
+
"\\Huge" { return HHUGE; }
|
1085
|
+
|
1086
|
+
"\\oldstyle" {return OLDSTYLE;}
|
1087
|
+
|
1088
|
+
"\\moveleft" {return MOVELEFT;}
|
1089
|
+
|
1090
|
+
"\\moveright" {return MOVERIGHT;}
|
1091
|
+
|
1092
|
+
"\\raise" { return RAISE;}
|
1093
|
+
|
1094
|
+
"\\lower" {return LOWER;}
|
1095
|
+
|
1096
|
+
"\\it" |
|
1097
|
+
"\\textit" |
|
1098
|
+
"\\mathit" {return ITALICS;}
|
1099
|
+
|
1100
|
+
"\\sf" |
|
1101
|
+
"\\textsf" |
|
1102
|
+
"\\mathsf" {return SANS;}
|
1103
|
+
|
1104
|
+
"\\tt" |
|
1105
|
+
"\\texttt" |
|
1106
|
+
"\\mathtt" {return TT;}
|
1107
|
+
|
1108
|
+
"\\boldsymbol" |
|
1109
|
+
"\\bf" |
|
1110
|
+
"\\textbf" |
|
1111
|
+
"\\mathbf" {return BOLD;}
|
1112
|
+
|
1113
|
+
"\\rm" |
|
1114
|
+
"\\textrm" |
|
1115
|
+
"\\mathrm" {BEGIN(ROMAN); return RM;}
|
1116
|
+
|
1117
|
+
"\\scr" |
|
1118
|
+
"\\mathscr" {BEGIN(SCRIPT); return SCR;}
|
1119
|
+
|
1120
|
+
"\\Bbb" |
|
1121
|
+
"\\mathbb" {BEGIN(BBOLD); return BB;}
|
1122
|
+
|
1123
|
+
"\\frak" |
|
1124
|
+
"\\mathfrak" |
|
1125
|
+
"\\mathfr" {BEGIN(FRAKTUR); return FRAK;}
|
1126
|
+
|
1127
|
+
"\\pmb" {BEGIN(PMBSTRING); return PMB;}
|
1128
|
+
|
1129
|
+
"\\not" {return NOT;}
|
1130
|
+
|
1131
|
+
"\\cancel" |
|
1132
|
+
"\\slash" {return SLASHED;}
|
1133
|
+
|
1134
|
+
"\\bcancel" {return BCANCELED;}
|
1135
|
+
|
1136
|
+
"\\xcancel" {return XCANCELED;}
|
1137
|
+
|
1138
|
+
"\\cancelto" {return CANCELEDTO;}
|
1139
|
+
|
1140
|
+
"\\boxed" {return BOXED;}
|
1141
|
+
|
1142
|
+
"\\fbox" {return FBOX;}
|
1143
|
+
"\\hbox" {return HBOX;}
|
1144
|
+
"\\mbox" {return MBOX;}
|
1145
|
+
|
1146
|
+
"\\mathopen" {return MATHOPEN;}
|
1147
|
+
"\\mathclose" {return MATHCLOSE;}
|
1148
|
+
"\\mathord" {return MATHORD;}
|
1149
|
+
"\\mathpunct" {return MATHPUNCT;}
|
1150
|
+
|
1151
|
+
"\\vcenter" {return VCENTER;}
|
1152
|
+
|
1153
|
+
"\\enclose" {BEGIN(ENCLOSEOPTS); return ENCLOSE;}
|
1154
|
+
|
1155
|
+
"\\cal" |
|
1156
|
+
"\\mathcal" {BEGIN(CALLIGRAPHIC); return CAL;}
|
1157
|
+
|
1158
|
+
"\\begin" {mtex2MML_env_start = 1; BEGIN(MATHENV); return BEGINENV;}
|
1159
|
+
"\\end" { if (parsing_environment == OPEN_PARSE) parsing_environment = CLOSE_PARSE; environment_type = OTHER; BEGIN(MATHENV); return ENDENV;}
|
1160
|
+
|
1161
|
+
"\\notag" |
|
1162
|
+
"\\nonumber" { /* ignore, but address in .y */}
|
1163
|
+
|
1164
|
+
"\\substack" {return SUBSTACK;}
|
1165
|
+
|
1166
|
+
"\\cases" {return CASES;}
|
1167
|
+
|
1168
|
+
"\\eqalign" {return EQALIGN;}
|
1169
|
+
|
1170
|
+
"\\eqalignno" {return EQALIGNNO;}
|
1171
|
+
|
1172
|
+
"\\array" {return ARRAY;}
|
1173
|
+
|
1174
|
+
"\\arrayopts" {return ARRAYOPTS;}
|
1175
|
+
|
1176
|
+
"\\colalign" {BEGIN(ATTRIBUTELIST); return COLALIGN;}
|
1177
|
+
|
1178
|
+
"\\collayout" {BEGIN(ATTRIBUTELIST); return COLLAYOUT;}
|
1179
|
+
|
1180
|
+
"\\rowalign" {BEGIN(ATTRIBUTELIST); return ROWALIGN;}
|
1181
|
+
|
1182
|
+
"\\align" {BEGIN(ATTRIBUTELIST); return ALIGN;}
|
1183
|
+
|
1184
|
+
"\\equalrows" {BEGIN(ATTRIBUTELIST); return EQROWS;}
|
1185
|
+
|
1186
|
+
"\\equalcols" {BEGIN(ATTRIBUTELIST); return EQCOLS;}
|
1187
|
+
|
1188
|
+
"\\rowlines" {BEGIN(ATTRIBUTELIST); return ROWLINES;}
|
1189
|
+
|
1190
|
+
"\\collines" {BEGIN(ATTRIBUTELIST); return COLLINES;}
|
1191
|
+
|
1192
|
+
"\\frame" {BEGIN(ATTRIBUTELIST); return FRAME;}
|
1193
|
+
|
1194
|
+
"\\padding" {BEGIN(ATTRIBUTELIST); return PADDING;}
|
1195
|
+
|
1196
|
+
"\\rowopts" {return ROWOPTS;}
|
1197
|
+
|
1198
|
+
"\\cellopts" {return CELLOPTS;}
|
1199
|
+
|
1200
|
+
"\\rowspan" {BEGIN(ATTRIBUTELIST); return ROWSPAN;}
|
1201
|
+
|
1202
|
+
"\\colspan" {BEGIN(ATTRIBUTELIST); return COLSPAN;}
|
1203
|
+
|
1204
|
+
|
1205
|
+
"\\," |
|
1206
|
+
"\\thinspace" {return THINSPACE;}
|
1207
|
+
|
1208
|
+
"\\:" |
|
1209
|
+
"\\>" |
|
1210
|
+
"\\medspace" {return MEDSPACE;}
|
1211
|
+
|
1212
|
+
"\\;" |
|
1213
|
+
"\\thickspace" {return THICKSPACE;}
|
1214
|
+
|
1215
|
+
"\\quad" {return QUAD;}
|
1216
|
+
"\\qquad" {return QQUAD;}
|
1217
|
+
|
1218
|
+
"\\!" |
|
1219
|
+
"\\negspace" |
|
1220
|
+
"\\negthinspace" {return NEGSPACE;}
|
1221
|
+
|
1222
|
+
"\\negmedspace" {return NEGMEDSPACE;}
|
1223
|
+
|
1224
|
+
"\\negthickspace" {return NEGTHICKSPACE;}
|
1225
|
+
|
1226
|
+
"\\enspace" { return ENSPACE; }
|
1227
|
+
|
1228
|
+
"\\hskip" |
|
1229
|
+
"\\hspace" |
|
1230
|
+
"\\mspace" |
|
1231
|
+
"\\kern" |
|
1232
|
+
"\\mkern" |
|
1233
|
+
"\\mskip" { return HSPACE; }
|
1234
|
+
|
1235
|
+
"\\space" |
|
1236
|
+
"\\nobreakspace" { yylval=mtex2MML_copy_string(" "); return MTEXT; }
|
1237
|
+
|
1238
|
+
"\\strut" {return STRUT;}
|
1239
|
+
"\\mathstrut" {return MATHSTRUT;}
|
1240
|
+
|
1241
|
+
"\\phantom" {return PHANTOM;}
|
1242
|
+
"\\vphantom" {return VPHANTOM;}
|
1243
|
+
"\\hphantom" {return HPHANTOM;}
|
1244
|
+
|
1245
|
+
"\\smash" {return SMASH;}
|
1246
|
+
|
1247
|
+
"\\href" {BEGIN(PLAINTEXT); return HREF;}
|
1248
|
+
|
1249
|
+
"\\operatorname" {return OPERATORNAME;}
|
1250
|
+
"\\mathop" {return MATHOP;}
|
1251
|
+
|
1252
|
+
"\\mathbin" {BEGIN(PLAINTEXT); return MATHBIN;}
|
1253
|
+
"\\mathinner" {BEGIN(PLAINTEXT); return MATHINNER;}
|
1254
|
+
"\\mathrel" {BEGIN(PLAINTEXT); return MATHREL;}
|
1255
|
+
"\\mtexnum" {BEGIN(PLAINTEXT); return MTEXNUM;}
|
1256
|
+
|
1257
|
+
"\\Space" { BEGIN(SPACEWIDTH); return SPACECUBE; }
|
1258
|
+
|
1259
|
+
"\\includegraphics"(\[[^\]]*\])?\{[^}]*\} ;
|
1260
|
+
|
1261
|
+
"\\"[a-zA-Z]+ {yylval=mtex2MML_copy_string(yytext+1); return MOP;}
|
1262
|
+
|
1263
|
+
"\&"[a-zA-Z_][a-zA-Z0-9_]*";" |
|
1264
|
+
"\&#"[0-9]+";" |
|
1265
|
+
"\&#x"[a-fA-F0-9]+";" {yylval=mtex2MML_copy_string(yytext); return MI;}
|
1266
|
+
|
1267
|
+
"\n" mtex2MML_lineno++;
|
1268
|
+
[\r\t ]+ ;
|
1269
|
+
|
1270
|
+
|
1271
|
+
. {return UNKNOWNCHAR;}
|
1272
|
+
}
|
1273
|
+
|
1274
|
+
<ATTRIBUTELIST>"{"[ \t\n\r #a-zA-Z0-9.:\-]*"}" {BEGIN(MATH); yylval=mtex2MML_copy_string(yytext); if (yylval != mtex2MML_empty_string) { yylval[0]='"'; yylval[yyleng-1]='"'; } return ATTRLIST;}
|
1275
|
+
|
1276
|
+
<BRACKETLIST>{
|
1277
|
+
"\[" {return ST;}
|
1278
|
+
"\]" {BEGIN(MATH); return END;}
|
1279
|
+
[0-9\.,]+(em|ex|px|in|cm|mm|mu|pt|pc|%) {char * normalized_px = mtex2MML_str_replace(yytext, ",", "."); if (normalized_px[0] == '.') mtex2MML_remove_first_char(normalized_px); yylval=mtex2MML_copy_string(normalized_px); mtex2MML_free_string(normalized_px); return PXSTRING; }
|
1280
|
+
[0-9a-zA-Z ]+":"[0-9a-zA-Z ]+ {yylval=mtex2MML_copy_string(yytext); return STYLESTRING;}
|
1281
|
+
#?[0-9a-zA-Z]+ {yylval=mtex2MML_copy_string(yytext); return COLORSTRING;}
|
1282
|
+
[\t\n\r, ]+ ;
|
1283
|
+
. {return yytext[0];}
|
1284
|
+
}
|
1285
|
+
|
1286
|
+
<OPTARG>{
|
1287
|
+
"[" {if(mtex2MML_optarg_ind < mtex2MML_optarg_depth - 1 && mtex2MML_inoptarg[mtex2MML_optarg_ind] !=1 ){mtex2MML_optarg_ind++; mtex2MML_inoptarg[mtex2MML_optarg_ind]=1;}; BEGIN(MATH); return OPTARGOPEN;}
|
1288
|
+
[\n\r\t ]+ ;
|
1289
|
+
. {mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src]=0; --mtex2MML_eqn_end; BEGIN(MATH); unput(yytext[0]);}
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
<RAISEBOX1>{
|
1293
|
+
\{[\n\r\t ]*- {BEGIN(RAISEBOX2); return NEG;}
|
1294
|
+
\{[\n\r\t ]* {BEGIN(RAISEBOX2);}
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
<RAISEBOX2>{
|
1298
|
+
[^\}]*?\} {yylval=mtex2MML_copy_string(yytext); if ((yyleng > 1) && (yylval != mtex2MML_empty_string)) yylval[yyleng-1]='\0'; BEGIN(TEXTOPTARG1); return TEXTSTRING;}
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
|
1302
|
+
<TEXTOPTARG1>{
|
1303
|
+
\[[^\]]*?\] {yylval=mtex2MML_copy_string(yytext+1); if ((yyleng > 1) && (yylval != mtex2MML_empty_string)) yylval[yyleng-2]='\0'; BEGIN(TEXTOPTARG); return TEXTSTRING;}
|
1304
|
+
. {mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src]=0; --mtex2MML_eqn_end; BEGIN(MATH); unput(yytext[0]);}
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
<TEXTOPTARG>{
|
1308
|
+
\[[^\]]*?\] {yylval=mtex2MML_copy_string(yytext+1); if ((yyleng > 1) && (yylval != mtex2MML_empty_string)) yylval[yyleng-2]='\0'; BEGIN(MATH); return TEXTSTRING;}
|
1309
|
+
. {mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src]=0; --mtex2MML_eqn_end; BEGIN(MATH); unput(yytext[0]);}
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
<MATHENV>{
|
1313
|
+
"\{equation\}" { if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return EQUATION;}
|
1314
|
+
"\{equation*\}" { if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return EQUATION_STAR;}
|
1315
|
+
"\{matrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return MATRIX;}
|
1316
|
+
"\{pmatrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return PMATRIX;}
|
1317
|
+
"\{bmatrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return BMATRIX;}
|
1318
|
+
"\{Bmatrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return BBMATRIX;}
|
1319
|
+
"\{vmatrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return VMATRIX;}
|
1320
|
+
"\{Vmatrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return VVMATRIX;}
|
1321
|
+
"\{smallmatrix\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); }; return SMALLMATRIX;}
|
1322
|
+
"\{cases\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return CASES;}
|
1323
|
+
"\{aligned\}[" {BEGIN(ENVOPTIONS); return ALIGNED;}
|
1324
|
+
"\{aligned\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNED;}
|
1325
|
+
"\{align\}" { if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNENV;}
|
1326
|
+
"\{align*\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNENV_STAR;}
|
1327
|
+
"\{alignat\}" {environment_type = ENV_ALIGNAT; if (mtex2MML_env_start == 1) BEGIN(ALIGNATOPTS); else if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNAT;}
|
1328
|
+
"\{alignat*\}" {environment_type = ENV_ALIGNATSTAR; if (mtex2MML_env_start == 1) BEGIN(ALIGNATOPTS); else if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNAT_STAR;}
|
1329
|
+
"\{alignedat\}" {if (mtex2MML_env_start == 1) BEGIN(ALIGNATOPTS); else if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNEDAT;}
|
1330
|
+
"\{eqnarray*\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return EQNARRAY_STAR;}
|
1331
|
+
"\{eqnarray\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return EQNARRAY;}
|
1332
|
+
"\{gather\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return GATHER;}
|
1333
|
+
"\{gather*\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return GATHER_STAR;}
|
1334
|
+
"\{gathered\}[" {BEGIN(ENVOPTIONS); return GATHERED;}
|
1335
|
+
"\{gathered\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return GATHERED;}
|
1336
|
+
"\{multline*\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return MULTLINE_STAR;}
|
1337
|
+
"\{multline\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return MULTLINE;}
|
1338
|
+
"\{split\}" {if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ALIGNED;}
|
1339
|
+
"\{array\}" {if (mtex2MML_env_start == 1) BEGIN(ARRAYOPTIONS); else if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return ARRAY;}
|
1340
|
+
"\{subarray\}" {if (mtex2MML_env_start == 1) BEGIN(ARRAYOPTIONS); else if (parsing_environment == CLOSE_PARSE) { mtex2MML_reset_parsing_environment(); } else { BEGIN(MATH); } return SUBARRAY;}
|
1341
|
+
"\{svg\}" {mtex2MML_env_start = 0; BEGIN(SVGENV); return SVG;}
|
1342
|
+
}
|
1343
|
+
|
1344
|
+
<ARRAYOPTIONS>{
|
1345
|
+
"[t]" {yylval=mtex2MML_copy_string("axis 1"); return ARRAYALIGN;}
|
1346
|
+
"[c]" {yylval=mtex2MML_copy_string("center"); return ARRAYALIGN;}
|
1347
|
+
"[b]" {yylval=mtex2MML_copy_string("axis -1"); return ARRAYALIGN;}
|
1348
|
+
"\{" {BEGIN(COLOPTS); return ST;}
|
1349
|
+
[\t\n\r ]+ ;
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
<ALIGNATOPTS>{
|
1353
|
+
"\{" { /* Ignore */ }
|
1354
|
+
[0-9]+ {yylval=mtex2MML_copy_string(yytext); return ALIGNATVALUE;}
|
1355
|
+
"\}" {mtex2MML_env_start = 0; BEGIN(MATH); return END;}
|
1356
|
+
[\t\n\r ]+ ;
|
1357
|
+
}
|
1358
|
+
|
1359
|
+
<ENVOPTIONS>{
|
1360
|
+
"t" {yylval=mtex2MML_copy_string("baseline 1"); return ARRAYALIGN;}
|
1361
|
+
"c" {yylval=mtex2MML_copy_string("center"); return ARRAYALIGN;}
|
1362
|
+
"b" {yylval=mtex2MML_copy_string("baseline -1"); return ARRAYALIGN;}
|
1363
|
+
"]" {mtex2MML_env_start = 0; BEGIN(MATH); return END; }
|
1364
|
+
[\t\n\r ]+ ;
|
1365
|
+
}
|
1366
|
+
|
1367
|
+
<COLOPTS>{
|
1368
|
+
"\}" {mtex2MML_env_start = 0; BEGIN(MATH); return END;}
|
1369
|
+
"c" {yylval=mtex2MML_copy_string("center"); return COLUMNALIGN;}
|
1370
|
+
"l" {yylval=mtex2MML_copy_string("left"); return COLUMNALIGN;}
|
1371
|
+
"r" {yylval=mtex2MML_copy_string("right"); return COLUMNALIGN;}
|
1372
|
+
"|" {yylval=mtex2MML_copy_string("s"); return COLUMNALIGN;}
|
1373
|
+
":" {yylval=mtex2MML_copy_string("d"); return COLUMNALIGN;}
|
1374
|
+
[\t\n\r ]+ ;
|
1375
|
+
}
|
1376
|
+
|
1377
|
+
<SVGENV>{
|
1378
|
+
"\\end\{svg" {mtex2MML_do_capture_eqn(); yylval=mtex2MML_copy_string(yytext); yylval[yyleng-8]=0; BEGIN(SVGEND); return XMLSTRING;}
|
1379
|
+
(.|\n) {yymore();}
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
<SVGEND>{
|
1383
|
+
"\}" {BEGIN(MATH); return ENDSVG;}
|
1384
|
+
}
|
1385
|
+
|
1386
|
+
<ROMAN>{
|
1387
|
+
"\{" {mtex2MML_variant_start = 1; return ST;}
|
1388
|
+
"\}" {mtex2MML_variant_start = 0; BEGIN(MATH); return END;}
|
1389
|
+
"\\ " {yylval=mtex2MML_copy_string(" "); return RMCHAR;}
|
1390
|
+
[^ ] {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return RMCHAR;}
|
1391
|
+
[\t\n\r ]+ ;
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
<SCRIPT>{
|
1395
|
+
"\{" {mtex2MML_variant_start = 1; return ST;}
|
1396
|
+
"\}" {mtex2MML_variant_start = 0; BEGIN(MATH); return END;}
|
1397
|
+
"\\ " {yylval=mtex2MML_copy_string(" "); return SCRCHAR;}
|
1398
|
+
[^ ] {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return SCRCHAR;}
|
1399
|
+
[\t\n\r ]+ ;
|
1400
|
+
}
|
1401
|
+
|
1402
|
+
<PMBSTRING>{
|
1403
|
+
"\{" {mtex2MML_variant_start = 1; return ST;}
|
1404
|
+
"\}" {mtex2MML_variant_start = 0; BEGIN(MATH); return END;}
|
1405
|
+
"\\ " {yylval=mtex2MML_copy_string(" "); return PMBCHAR;}
|
1406
|
+
[^ ] {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return PMBCHAR;}
|
1407
|
+
[\t\n\r ]+ ;
|
1408
|
+
}
|
1409
|
+
|
1410
|
+
<BBOLD>{
|
1411
|
+
"\{" {mtex2MML_variant_start = 1; return ST;}
|
1412
|
+
"\}" {mtex2MML_variant_start = 0; BEGIN(MATH); return END;}
|
1413
|
+
[a-z]+ {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return BBLOWERCHAR;}
|
1414
|
+
[A-Z]+ {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return BBUPPERCHAR;}
|
1415
|
+
[0-9] {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return BBDIGIT;}
|
1416
|
+
[\t\n\r ]+ ;
|
1417
|
+
. {return yytext[0];}
|
1418
|
+
}
|
1419
|
+
|
1420
|
+
<CALLIGRAPHIC>{
|
1421
|
+
"\{" {mtex2MML_variant_start = 1; return ST;}
|
1422
|
+
"\}" {mtex2MML_variant_start = 0; BEGIN(MATH); return END;}
|
1423
|
+
"\\ " {yylval=mtex2MML_copy_string(" "); return CALCHAR;}
|
1424
|
+
[^ ] {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return CALCHAR;}
|
1425
|
+
[\t\n\r ]+ ;
|
1426
|
+
}
|
1427
|
+
|
1428
|
+
<FRAKTUR>{
|
1429
|
+
"\{" {mtex2MML_variant_start = 1; return ST;}
|
1430
|
+
"\}" {mtex2MML_variant_start = 0; BEGIN(MATH); return END;}
|
1431
|
+
"\\ " {yylval=mtex2MML_copy_string(" "); return FRAKCHAR;}
|
1432
|
+
[^ ] {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return FRAKCHAR;}
|
1433
|
+
[\t\n\r ]+ ;
|
1434
|
+
}
|
1435
|
+
|
1436
|
+
<PLAINTEXT>{
|
1437
|
+
"\{" {yylval=mtex2MML_copy_string_extra("", 1); BEGIN(PLAINTEXT_CURLY);}
|
1438
|
+
. {yylval=mtex2MML_copy_string(yytext); if (mtex2MML_variant_start == 0) BEGIN(MATH); return TEXTSTRING;}
|
1439
|
+
[\t\n\r ]+ ;
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
<PLAINTEXT_CURLY>{
|
1443
|
+
\\. {char *s = mtex2MML_copy_string(yylval); mtex2MML_free_string(yylval); yylval = mtex2MML_copy2(s, yytext+1); mtex2MML_free_string(s); }
|
1444
|
+
"\}" {BEGIN(MATH); return TEXTSTRING;}
|
1445
|
+
. {char *s = mtex2MML_copy_string(yylval); mtex2MML_free_string(yylval); yylval=mtex2MML_copy2(s, yytext); mtex2MML_free_string(s);}
|
1446
|
+
}
|
1447
|
+
|
1448
|
+
<VERBTEXT>{
|
1449
|
+
. { if (yytext[0] != mtex2MML_verbdelim) { char *s = mtex2MML_copy_string(mtex2MML_str); mtex2MML_free_string(mtex2MML_str); mtex2MML_str=mtex2MML_copy2(s, yytext); mtex2MML_free_string(s); } else { yylval=mtex2MML_copy_string(mtex2MML_str); mtex2MML_free_string(mtex2MML_str); BEGIN(MATH); return VERBSTRING; } }
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
<NUM>{
|
1453
|
+
"\{" {return ST;}
|
1454
|
+
"\}" {BEGIN(MATH); return END;}
|
1455
|
+
-?[.0-9]+ {yylval=mtex2MML_copy_string(yytext); return NUMBER;}
|
1456
|
+
[\t\n\r ]+ ;
|
1457
|
+
}
|
1458
|
+
|
1459
|
+
<INT1>{
|
1460
|
+
"\{" {return ST;}
|
1461
|
+
"\}" {BEGIN(INT2); return END;}
|
1462
|
+
[0-9]+ {yylval=mtex2MML_copy_string_extra(yytext, 1); if (yyleng && (yylval != mtex2MML_empty_string)) { yylval[yyleng]=yylval[yyleng-1]; yylval[yyleng-1]='.'; yylval[yyleng+1]='\0'; } return INTONE;}
|
1463
|
+
[\t\n\r ]+ ;
|
1464
|
+
. {return yytext[0];}
|
1465
|
+
}
|
1466
|
+
|
1467
|
+
<INT2>{
|
1468
|
+
"\{" {return ST;}
|
1469
|
+
"\}" {BEGIN(INT3); return END;}
|
1470
|
+
[0-9]+ {yylval=mtex2MML_copy_string_extra(yytext, 1); if (yyleng && (yylval != mtex2MML_empty_string)) { yylval[yyleng]=yylval[yyleng-1]; yylval[yyleng-1]='.'; yylval[yyleng+1]='\0'; } return INTTWO;}
|
1471
|
+
[\t\n\r ]+ ;
|
1472
|
+
. {return yytext[0];}
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
<INT3>{
|
1476
|
+
"\{" {return ST;}
|
1477
|
+
"\}" {BEGIN(MATH); return END;}
|
1478
|
+
[0-9]+ {yylval=mtex2MML_copy_string_extra(yytext, 1); if (yyleng && (yylval != mtex2MML_empty_string)) { yylval[yyleng]=yylval[yyleng-1]; yylval[yyleng-1]='.'; yylval[yyleng+1]='\0'; } return INTTHREE;}
|
1479
|
+
[\t\n\r ]+ ;
|
1480
|
+
. {return yytext[0];}
|
1481
|
+
}
|
1482
|
+
|
1483
|
+
<ENCLOSEOPTS>{
|
1484
|
+
"\}\{" {BEGIN(ENCLOSETEXTPARSE); return ST;}
|
1485
|
+
"\}\[" {BEGIN(ENCLOSEATTRPARSE); return ST;}
|
1486
|
+
"\{" {return ST;}
|
1487
|
+
[a-zA-Z,]+ {yylval=mtex2MML_copy_string(yytext); return ENCLOSENOTATION;}
|
1488
|
+
[\t\n\r ]+ ;
|
1489
|
+
}
|
1490
|
+
|
1491
|
+
<ENCLOSEATTRPARSE>{
|
1492
|
+
"\]\{" {BEGIN(ENCLOSETEXTPARSE); return ST;}
|
1493
|
+
[a-zA-Z,=0-9]+ {yylval=mtex2MML_copy_string(yytext); return ENCLOSEATTR;}
|
1494
|
+
[\t\n\r ]+ ;
|
1495
|
+
}
|
1496
|
+
|
1497
|
+
<ENCLOSETEXTPARSE>{
|
1498
|
+
"\}" {BEGIN(MATH); return ST;}
|
1499
|
+
[a-zA-Z]+ {yylval=mtex2MML_copy_string(yytext); return ENCLOSETEXT;}
|
1500
|
+
[\t\n\r ]+ ;
|
1501
|
+
}
|
1502
|
+
|
1503
|
+
<SPACEWIDTH>{
|
1504
|
+
"\{" { return ST;}
|
1505
|
+
[0-9\.,]+(em|ex|px|in|cm|mm|mu|pt|pc|%) {char * normalized_px = mtex2MML_str_replace(yytext, ",", "."); yylval=mtex2MML_copy_string(normalized_px); mtex2MML_free_string(normalized_px); return PXSTRING; }
|
1506
|
+
"\}" {BEGIN(SPACEHEIGHT); return ST;}
|
1507
|
+
[\t\n\r ]+ ;
|
1508
|
+
}
|
1509
|
+
|
1510
|
+
<SPACEHEIGHT>{
|
1511
|
+
"\{" { return ST;}
|
1512
|
+
[0-9\.,]+(em|ex|px|in|cm|mm|mu|pt|pc|%) {char * normalized_px = mtex2MML_str_replace(yytext, ",", "."); yylval=mtex2MML_copy_string(normalized_px); mtex2MML_free_string(normalized_px); return PXSTRING; }
|
1513
|
+
"\}" {BEGIN(SPACEDEPTH); return ST;}
|
1514
|
+
[\t\n\r ]+ ;
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
<SPACEDEPTH>{
|
1518
|
+
"\{" { return ST;}
|
1519
|
+
[0-9\.,]+(em|ex|px|in|cm|mm|mu|pt|pc|%) {char * normalized_px = mtex2MML_str_replace(yytext, ",", "."); yylval=mtex2MML_copy_string(normalized_px); mtex2MML_free_string(normalized_px); return PXSTRING; }
|
1520
|
+
"\}" {BEGIN(MATH); return ST;}
|
1521
|
+
[\t\n\r ]+ ;
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
%%
|
1525
|
+
|
1526
|
+
void mtex2MML_restart (void)
|
1527
|
+
{
|
1528
|
+
BEGIN(INITIAL);
|
1529
|
+
}
|
1530
|
+
|
1531
|
+
void mtex2MML_reset_parsing_environment(void)
|
1532
|
+
{
|
1533
|
+
parsing_environment = NO_PARSE;
|
1534
|
+
mtex2MML_eqn_src[mtex2MML_eqn_end-mtex2MML_eqn_src-yyleng]=0;
|
1535
|
+
mtex2MML_eqn_end=mtex2MML_eqn_src;
|
1536
|
+
|
1537
|
+
BEGIN(INITIAL);
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
static const char * s_mtex2MML_buffer = 0;
|
1541
|
+
static unsigned long s_mtex2MML_length = 0;
|
1542
|
+
|
1543
|
+
void mtex2MML_setup (const char * buffer, unsigned long length)
|
1544
|
+
{
|
1545
|
+
yy_flush_buffer( YY_CURRENT_BUFFER );
|
1546
|
+
|
1547
|
+
s_mtex2MML_buffer = buffer;
|
1548
|
+
s_mtex2MML_length = length;
|
1549
|
+
}
|
1550
|
+
|
1551
|
+
int mtex2MML_capture_eqn_src(void)
|
1552
|
+
{
|
1553
|
+
if (YY_START != INITIAL && YY_START != SVGENV)
|
1554
|
+
return mtex2MML_do_capture_eqn();
|
1555
|
+
|
1556
|
+
return -1;
|
1557
|
+
}
|
1558
|
+
|
1559
|
+
int mtex2MML_do_capture_eqn(void)
|
1560
|
+
{
|
1561
|
+
if (mtex2MML_eqn_bufsize - (mtex2MML_eqn_end-mtex2MML_eqn_src+yyleng) > 1)
|
1562
|
+
{
|
1563
|
+
strcpy(mtex2MML_eqn_end, yytext);
|
1564
|
+
mtex2MML_eqn_end += yyleng;
|
1565
|
+
return 0;
|
1566
|
+
}
|
1567
|
+
|
1568
|
+
return -1;
|
1569
|
+
}
|
1570
|
+
|
1571
|
+
static int s_mtex2MML_read (char * buffer, int max_size)
|
1572
|
+
{
|
1573
|
+
int result = 0;
|
1574
|
+
|
1575
|
+
if ((unsigned long) max_size < s_mtex2MML_length)
|
1576
|
+
{
|
1577
|
+
result = max_size;
|
1578
|
+
|
1579
|
+
memcpy (buffer, s_mtex2MML_buffer, max_size);
|
1580
|
+
|
1581
|
+
s_mtex2MML_buffer += max_size;
|
1582
|
+
s_mtex2MML_length -= max_size;
|
1583
|
+
}
|
1584
|
+
else
|
1585
|
+
{
|
1586
|
+
result = s_mtex2MML_length;
|
1587
|
+
|
1588
|
+
memcpy (buffer, s_mtex2MML_buffer, s_mtex2MML_length);
|
1589
|
+
|
1590
|
+
s_mtex2MML_buffer = 0;
|
1591
|
+
s_mtex2MML_length = 0;
|
1592
|
+
}
|
1593
|
+
return result;
|
1594
|
+
}
|