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,1183 @@
|
|
1
|
+
/* itex2MML 1.6.1
|
2
|
+
* itex2MML.l last modified 10/3/2021
|
3
|
+
*/
|
4
|
+
|
5
|
+
%{
|
6
|
+
%}
|
7
|
+
%option noyywrap
|
8
|
+
%option noinput
|
9
|
+
%x MATH ATTRIBUTELIST BBOLD FRAKTUR CALLIGRAPHIC SCRIPT ROMAN PLAINTEXT INT1 INT2 INT3 MATHENV SVGENV SVGEND OPTARG ARRAYOPTIONS COLOPTS TEXTOPTARG TEXTOPTARG1 RAISEBOX1 RAISEBOX2
|
10
|
+
%{
|
11
|
+
#include <string.h>
|
12
|
+
|
13
|
+
#define YYSTYPE char *
|
14
|
+
|
15
|
+
#include "itex2MML.tab.h"
|
16
|
+
#include "itex2MML.h"
|
17
|
+
|
18
|
+
#define YY_NEVER_INTERACTIVE 1
|
19
|
+
#define YY_INPUT(buffer,result,max_size) result = s_itex2MML_read (buffer, max_size)
|
20
|
+
|
21
|
+
static size_t s_itex2MML_read (char * buffer, size_t max_size);
|
22
|
+
void itex2MML_do_capture_eqn();
|
23
|
+
void itex2MML_capture_eqn_src();
|
24
|
+
|
25
|
+
#define yylval itex2MML_yylval
|
26
|
+
#define itex2MML_optarg_depth 100
|
27
|
+
|
28
|
+
extern char * yylval;
|
29
|
+
|
30
|
+
int itex2MML_lineno = 1;
|
31
|
+
int itex2MML_inoptarg[itex2MML_optarg_depth];
|
32
|
+
int itex2MML_optarg_ind = 0;
|
33
|
+
int itex2MML_env_start = 0;
|
34
|
+
|
35
|
+
#define YY_USER_ACTION itex2MML_capture_eqn_src();
|
36
|
+
# define itex2MML_eqn_bufsize 131072
|
37
|
+
char itex2MML_eqn_src[itex2MML_eqn_bufsize];
|
38
|
+
char * itex2MML_eqn_end = itex2MML_eqn_src;
|
39
|
+
|
40
|
+
int itex2MML_rowposn = 0;
|
41
|
+
int itex2MML_displaymode = 0;
|
42
|
+
|
43
|
+
%}
|
44
|
+
%%
|
45
|
+
%{ if (itex2MML_rowposn==1) itex2MML_rowposn=0;
|
46
|
+
if (itex2MML_rowposn==2) itex2MML_rowposn=1;
|
47
|
+
%}
|
48
|
+
|
49
|
+
<INITIAL>"$"{1,2} BEGIN(MATH); itex2MML_inoptarg[0] = 0; itex2MML_rowposn=2; if (yyleng==2) { itex2MML_displaymode=1; return STARTDMATH;}; itex2MML_displaymode=0; return STARTMATH;
|
50
|
+
<INITIAL>"\\[" BEGIN(MATH); itex2MML_inoptarg[0] = 0; itex2MML_rowposn=2; itex2MML_displaymode=1; return STARTDMATH;
|
51
|
+
<INITIAL>"\\(" BEGIN(MATH); itex2MML_inoptarg[0] = 0; itex2MML_rowposn=2; itex2MML_displaymode=0; return STARTMATH;
|
52
|
+
<INITIAL>EOF return 0;
|
53
|
+
<INITIAL>"\n" {itex2MML_lineno++; yylval=itex2MML_copy_string(yytext); return CHAR;}
|
54
|
+
<INITIAL>. {yylval=itex2MML_copy_string(yytext); return CHAR;}
|
55
|
+
|
56
|
+
|
57
|
+
<MATH>{
|
58
|
+
|
59
|
+
"\\$"/. {yylval=itex2MML_copy_string("$"); return MI;};
|
60
|
+
"$"{1,2} |
|
61
|
+
"\\)" |
|
62
|
+
"\\]" {itex2MML_eqn_src[itex2MML_eqn_end-itex2MML_eqn_src-yyleng]=0; itex2MML_eqn_end=itex2MML_eqn_src; yylval=itex2MML_copy_escaped(itex2MML_eqn_src); BEGIN(INITIAL); return ENDMATH;}
|
63
|
+
|
64
|
+
"^" return SUP;
|
65
|
+
"_" return SUB;
|
66
|
+
"{"[\t\r\n ]*"}" return EMPTYMROW;
|
67
|
+
"{" {itex2MML_rowposn = 2; if(itex2MML_inoptarg[itex2MML_optarg_ind] != 0) itex2MML_inoptarg[itex2MML_optarg_ind]++; return MROWOPEN;}
|
68
|
+
"}" {if(itex2MML_inoptarg[itex2MML_optarg_ind] != 0) itex2MML_inoptarg[itex2MML_optarg_ind]--; return MROWCLOSE;}
|
69
|
+
|
70
|
+
"\\left" itex2MML_rowposn=2; return LEFT;
|
71
|
+
"\\right" return RIGHT;
|
72
|
+
|
73
|
+
"\\big" |
|
74
|
+
"\\bigr" {return BIG;}
|
75
|
+
"\\Big" |
|
76
|
+
"\\Bigr" {return BBIG;}
|
77
|
+
"\\bigg" |
|
78
|
+
"\\biggr" {return BIGG;}
|
79
|
+
"\\Bigg" |
|
80
|
+
"\\Biggr" {return BBIGG;}
|
81
|
+
|
82
|
+
"\\bigl" {return BIGL;}
|
83
|
+
"\\Bigl" {return BBIGL;}
|
84
|
+
"\\biggl" {return BIGGL;}
|
85
|
+
"\\Biggl" {return BBIGGL;}
|
86
|
+
|
87
|
+
"\\mathrlap" {return RLAP;}
|
88
|
+
"\\mathllap" {return LLAP;}
|
89
|
+
"\\mathclap" {return CLAP;}
|
90
|
+
"\\rlap" |
|
91
|
+
"\\llap" |
|
92
|
+
"\\ulap" |
|
93
|
+
"\\dlap" {/* Ignore */ ;}
|
94
|
+
|
95
|
+
|
96
|
+
"&" |
|
97
|
+
"&" {itex2MML_rowposn=2; return COLSEP;}
|
98
|
+
|
99
|
+
"\\&" {yylval=itex2MML_copy_string("&"); return MI;}
|
100
|
+
|
101
|
+
"\\%" {yylval=itex2MML_copy_string("%"); return MI;}
|
102
|
+
|
103
|
+
"\\\\" itex2MML_rowposn=2; return ROWSEP;
|
104
|
+
|
105
|
+
[a-zA-Z]+ {yylval=itex2MML_copy_string(yytext); return MI;}
|
106
|
+
|
107
|
+
[0-9]{1,3}(,[0-9]{3,3})*(\.[0-9]+)? |
|
108
|
+
[0-9]*[\.][0-9]+ |
|
109
|
+
[0-9]+ {yylval=itex2MML_copy_string(yytext); return MN;}
|
110
|
+
"\\infty" |
|
111
|
+
"\\infinity" {yylval=itex2MML_copy_string("∞"); return MN;}
|
112
|
+
|
113
|
+
"(" |
|
114
|
+
"[" {yylval=itex2MML_copy_string(yytext); return LEFTDELIM;}
|
115
|
+
|
116
|
+
")" {yylval=itex2MML_copy_string(yytext); return RIGHTDELIM;}
|
117
|
+
"]" {if(itex2MML_inoptarg[itex2MML_optarg_ind]==1 && itex2MML_optarg_ind > 0) {itex2MML_inoptarg[itex2MML_optarg_ind]=0; itex2MML_optarg_ind--; return OPTARGCLOSE;} else {yylval=itex2MML_copy_string(yytext); return RIGHTDELIM;}}
|
118
|
+
|
119
|
+
"\\lbrace" |
|
120
|
+
"\\{" {yylval=itex2MML_copy_string("{"); return LEFTDELIM;}
|
121
|
+
"\\rbrace" |
|
122
|
+
"\\}" {yylval=itex2MML_copy_string("}"); return RIGHTDELIM;}
|
123
|
+
|
124
|
+
"\\llbracket" {yylval=itex2MML_copy_string("⟦"); return LEFTDELIM;}
|
125
|
+
"\\rrbracket" {yylval=itex2MML_copy_string("⟧"); return RIGHTDELIM;}
|
126
|
+
|
127
|
+
"\\lvert" {yylval=itex2MML_copy_string("|"); return LEFTDELIM;}
|
128
|
+
"\\lVert" {yylval=itex2MML_copy_string("‖"); return LEFTDELIM;}
|
129
|
+
"\\rvert" {yylval=itex2MML_copy_string("|"); return RIGHTDELIM;}
|
130
|
+
"\\rVert" {yylval=itex2MML_copy_string("‖"); return RIGHTDELIM;}
|
131
|
+
|
132
|
+
"\\vert" |
|
133
|
+
"|" {yylval=itex2MML_copy_string("|"); return OTHERDELIM;}
|
134
|
+
"\\Vert" |
|
135
|
+
"\\|" {yylval=itex2MML_copy_string("‖"); return OTHERDELIM;}
|
136
|
+
|
137
|
+
"\\setminus" {yylval=itex2MML_copy_string("∖"); return MO;}
|
138
|
+
"\\backslash" {yylval=itex2MML_copy_string("\"); return MO;}
|
139
|
+
"\\smallsetminus" {yylval=itex2MML_copy_string("﹨"); return MOF;}
|
140
|
+
|
141
|
+
"\\sslash" {yylval=itex2MML_copy_string("⫽"); return MO;}
|
142
|
+
|
143
|
+
"\\lfloor" |
|
144
|
+
"\\lceil" |
|
145
|
+
"\\lmoustache" |
|
146
|
+
"\\lang" |
|
147
|
+
"\\langle" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return LEFTDELIM;}
|
148
|
+
"\\llangle" {yylval=itex2MML_copy_string("⟪"); return LEFTDELIM;}
|
149
|
+
|
150
|
+
"\\rfloor" |
|
151
|
+
"\\rceil" |
|
152
|
+
"\\rmoustache" |
|
153
|
+
"\\rang" |
|
154
|
+
"\\rangle" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return RIGHTDELIM;}
|
155
|
+
"\\rrangle" {yylval=itex2MML_copy_string("⟫"); return RIGHTDELIM;}
|
156
|
+
|
157
|
+
"/" {yylval=itex2MML_copy_string(yytext); return OTHERDELIM;}
|
158
|
+
|
159
|
+
"\\uparrow" |
|
160
|
+
"\\downarrow" |
|
161
|
+
"\\updownarrow" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return OTHERDELIM;}
|
162
|
+
|
163
|
+
"." {yylval=itex2MML_copy_string(yytext); return PERIODDELIM;}
|
164
|
+
|
165
|
+
"-" {if (itex2MML_rowposn==1) return UNARYMINUS; else {yylval=itex2MML_copy_string("−"); return MO;}}
|
166
|
+
|
167
|
+
"+" {if (itex2MML_rowposn==1) return UNARYPLUS; else {yylval=itex2MML_copy_string("+"); return MO;}}
|
168
|
+
|
169
|
+
"\\#" {yylval=itex2MML_copy_string("#"); return MOL;}
|
170
|
+
|
171
|
+
"," |
|
172
|
+
":" |
|
173
|
+
"!" |
|
174
|
+
"=" |
|
175
|
+
"~" |
|
176
|
+
";" |
|
177
|
+
"?" |
|
178
|
+
"#" |
|
179
|
+
"`" |
|
180
|
+
"*" {yylval=itex2MML_copy_string(yytext); return MOL;}
|
181
|
+
|
182
|
+
"\\prime" {yylval=itex2MML_copy_string("′"); return MOLL;}
|
183
|
+
"'" {yylval=itex2MML_copy_string("′"); return MOL;}
|
184
|
+
"''" {yylval=itex2MML_copy_string("″"); return MOL;}
|
185
|
+
"'''" {yylval=itex2MML_copy_string("‴"); return MOL;}
|
186
|
+
"''''" {yylval=itex2MML_copy_string("⁗"); return MOL;}
|
187
|
+
|
188
|
+
"\\alpha" |
|
189
|
+
"\\beta" |
|
190
|
+
"\\gamma" |
|
191
|
+
"\\delta" |
|
192
|
+
"\\zeta" |
|
193
|
+
"\\eta" |
|
194
|
+
"\\theta" |
|
195
|
+
"\\iota" |
|
196
|
+
"\\kappa" |
|
197
|
+
"\\lambda" |
|
198
|
+
"\\mu" |
|
199
|
+
"\\nu" |
|
200
|
+
"\\xi" |
|
201
|
+
"\\pi" |
|
202
|
+
"\\rho" |
|
203
|
+
"\\sigma" |
|
204
|
+
"\\tau" |
|
205
|
+
"\\upsilon" |
|
206
|
+
"\\chi" |
|
207
|
+
"\\psi" |
|
208
|
+
"\\omega" |
|
209
|
+
"\\backepsilon" |
|
210
|
+
"\\varkappa" |
|
211
|
+
"\\varpi" |
|
212
|
+
"\\varrho" |
|
213
|
+
"\\varsigma" |
|
214
|
+
"\\vartheta" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return MI;}
|
215
|
+
|
216
|
+
"\\varepsilon" {yylval=itex2MML_copy_string("ε"); return MI;}
|
217
|
+
"\\phi" {yylval=itex2MML_copy_string("ϕ"); return MI;}
|
218
|
+
"\\varphi" {yylval=itex2MML_copy_string("φ"); return MI;}
|
219
|
+
|
220
|
+
"\\arccos" |
|
221
|
+
"\\arcsin" |
|
222
|
+
"\\arctan" |
|
223
|
+
"\\arg" |
|
224
|
+
"\\cos" |
|
225
|
+
"\\cosh" |
|
226
|
+
"\\cot" |
|
227
|
+
"\\coth" |
|
228
|
+
"\\csc" |
|
229
|
+
"\\deg" |
|
230
|
+
"\\dim" |
|
231
|
+
"\\exp" |
|
232
|
+
"\\hom" |
|
233
|
+
"\\ker" |
|
234
|
+
"\\lg" |
|
235
|
+
"\\ln" |
|
236
|
+
"\\log" |
|
237
|
+
"\\sec" |
|
238
|
+
"\\sin" |
|
239
|
+
"\\sinh" |
|
240
|
+
"\\tan" |
|
241
|
+
"\\tanh" {yylval=itex2MML_copy_string(yytext+1); return MI;}
|
242
|
+
|
243
|
+
"\\det" |
|
244
|
+
"\\gcd" |
|
245
|
+
"\\inf" |
|
246
|
+
"\\lim" |
|
247
|
+
"\\liminf" |
|
248
|
+
"\\limsup" |
|
249
|
+
"\\max" |
|
250
|
+
"\\min" |
|
251
|
+
"\\Pr" |
|
252
|
+
"\\sup" {yylval=itex2MML_copy_string(yytext+1); return MIB;}
|
253
|
+
|
254
|
+
"\\omicron" {yylval=itex2MML_copy_string("ℴ"); return MI;}
|
255
|
+
|
256
|
+
"\\epsilon" {yylval=itex2MML_copy_string("ε"); return MI;}
|
257
|
+
|
258
|
+
"\\cdot" {yylval=itex2MML_copy_string("⋅"); return MO;}
|
259
|
+
|
260
|
+
"\\Alpha" |
|
261
|
+
"\\Beta" |
|
262
|
+
"\\Delta" |
|
263
|
+
"\\Gamma" |
|
264
|
+
"\\digamma" |
|
265
|
+
"\\Lambda" |
|
266
|
+
"\\Pi" |
|
267
|
+
"\\Phi" |
|
268
|
+
"\\Psi" |
|
269
|
+
"\\Sigma" |
|
270
|
+
"\\Theta" |
|
271
|
+
"\\Xi" |
|
272
|
+
"\\Zeta" |
|
273
|
+
"\\Eta" |
|
274
|
+
"\\Iota" |
|
275
|
+
"\\Kappa" |
|
276
|
+
"\\Mu" |
|
277
|
+
"\\Nu" |
|
278
|
+
"\\Rho" |
|
279
|
+
"\\Tau" |
|
280
|
+
"\\mho" |
|
281
|
+
"\\Omega" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return MI;}
|
282
|
+
|
283
|
+
"\\Upsilon" |
|
284
|
+
"\\Upsi" {yylval=itex2MML_copy_string("ϒ"); return MI;}
|
285
|
+
|
286
|
+
"\\iff" |
|
287
|
+
"\\Longleftrightarrow" {yylval=itex2MML_copy_string("⇔"); return MOL;}
|
288
|
+
|
289
|
+
"\\Leftrightarrow" {yylval=itex2MML_copy_string("⇔"); return MOL;}
|
290
|
+
|
291
|
+
"\\impliedby" |
|
292
|
+
"\\Leftarrow" {yylval=itex2MML_copy_string("⇐"); return MOL;}
|
293
|
+
|
294
|
+
"\\implies" |
|
295
|
+
"\\Rightarrow" {yylval=itex2MML_copy_string("⇒"); return MOL;}
|
296
|
+
|
297
|
+
"\\hookleftarrow" {yylval=itex2MML_copy_string("↩"); return MOL;}
|
298
|
+
|
299
|
+
"\\embedsin" |
|
300
|
+
"\\hookrightarrow" {yylval=itex2MML_copy_string("↪"); return MOL;}
|
301
|
+
|
302
|
+
"\\longleftarrow" {yylval=itex2MML_copy_string("⟵"); return MOL;}
|
303
|
+
|
304
|
+
"\\longrightarrow" {yylval=itex2MML_copy_string("⟶"); return MOL;}
|
305
|
+
|
306
|
+
"\\leftarrow" {yylval=itex2MML_copy_string("←"); return MOL;}
|
307
|
+
|
308
|
+
"\\to" |
|
309
|
+
"\\rightarrow" {yylval=itex2MML_copy_string("→"); return MOL;}
|
310
|
+
|
311
|
+
"\\leftrightarrow" {yylval=itex2MML_copy_string("↔"); return MOL;}
|
312
|
+
|
313
|
+
"\\mapsto" |
|
314
|
+
"\\map" {yylval=itex2MML_copy_string("↦"); return MOL;}
|
315
|
+
|
316
|
+
"\\nearrow" |
|
317
|
+
"\\nearr" {yylval=itex2MML_copy_string("↗"); return MOL;}
|
318
|
+
|
319
|
+
"\\nwarrow" |
|
320
|
+
"\\nwarr" {yylval=itex2MML_copy_string("↖"); return MOL;}
|
321
|
+
|
322
|
+
"\\searrow" |
|
323
|
+
"\\searr" {yylval=itex2MML_copy_string("↘"); return MOL;}
|
324
|
+
|
325
|
+
"\\swarrow" |
|
326
|
+
"\\swarr" {yylval=itex2MML_copy_string("↙"); return MOL;}
|
327
|
+
|
328
|
+
"\\neArrow" |
|
329
|
+
"\\neArr" {yylval=itex2MML_copy_string("⇗"); return MOL;}
|
330
|
+
|
331
|
+
"\\nwArrow" |
|
332
|
+
"\\nwArr" {yylval=itex2MML_copy_string("⇖"); return MOL;}
|
333
|
+
|
334
|
+
"\\seArrow" |
|
335
|
+
"\\seArr" {yylval=itex2MML_copy_string("⇘"); return MOL;}
|
336
|
+
|
337
|
+
"\\swArrow" |
|
338
|
+
"\\swArr" {yylval=itex2MML_copy_string("⇙"); return MOL;}
|
339
|
+
|
340
|
+
"\\darr" {yylval=itex2MML_copy_string("↓"); return MOL;}
|
341
|
+
|
342
|
+
"\\Downarrow" {yylval=itex2MML_copy_string("⇓"); return MOL;}
|
343
|
+
|
344
|
+
"\\uparr" {yylval=itex2MML_copy_string("↑"); return MOL;}
|
345
|
+
|
346
|
+
"\\Uparrow" {yylval=itex2MML_copy_string("⇑"); return MOL;}
|
347
|
+
|
348
|
+
"\\downuparrow" |
|
349
|
+
"\\duparr" |
|
350
|
+
"\\updarr" {yylval=itex2MML_copy_string("↕"); return MOL;}
|
351
|
+
|
352
|
+
"\\Updownarrow" {yylval=itex2MML_copy_string("⇕"); return MOL;}
|
353
|
+
|
354
|
+
"\\leftsquigarrow" {yylval=itex2MML_copy_string("⇜"); return MOL;}
|
355
|
+
"\\rightsquigarrow" {yylval=itex2MML_copy_string("⇝"); return MOL;}
|
356
|
+
"\\dashleftarrow" {yylval=itex2MML_copy_string("⤎"); return MOL;}
|
357
|
+
"\\dashrightarrow" {yylval=itex2MML_copy_string("⤏"); return MOL;}
|
358
|
+
"\\curvearrowbotright" {yylval=itex2MML_copy_string("⤻"); return MOL;}
|
359
|
+
"\\righttoleftarrow" {yylval=itex2MML_copy_string("⟲"); return MOL;}
|
360
|
+
"\\lefttorightarrow" {yylval=itex2MML_copy_string("⟳"); return MOL;}
|
361
|
+
"\\leftrightsquigarrow" |
|
362
|
+
"\\upuparrows" |
|
363
|
+
"\\rightleftarrows" |
|
364
|
+
"\\rightrightarrows" |
|
365
|
+
"\\curvearrowleft" |
|
366
|
+
"\\curvearrowright" |
|
367
|
+
"\\downdownarrows" |
|
368
|
+
"\\leftarrowtail" |
|
369
|
+
"\\rightarrowtail" |
|
370
|
+
"\\leftleftarrows" |
|
371
|
+
"\\leftrightarrows" |
|
372
|
+
"\\Lleftarrow" |
|
373
|
+
"\\Rrightarrow" |
|
374
|
+
"\\looparrowleft" |
|
375
|
+
"\\looparrowright" |
|
376
|
+
"\\Lsh" |
|
377
|
+
"\\Rsh" |
|
378
|
+
"\\circlearrowleft" |
|
379
|
+
"\\circlearrowright" |
|
380
|
+
"\\twoheadleftarrow" |
|
381
|
+
"\\twoheadrightarrow" |
|
382
|
+
"\\nLeftarrow" |
|
383
|
+
"\\nleftarrow" |
|
384
|
+
"\\nLeftrightarrow" |
|
385
|
+
"\\nleftrightarrow" |
|
386
|
+
"\\nRightarrow" |
|
387
|
+
"\\nrightarrow" |
|
388
|
+
"\\rightharpoonup" |
|
389
|
+
"\\rightharpoondown" |
|
390
|
+
"\\leftharpoonup" |
|
391
|
+
"\\leftharpoondown" |
|
392
|
+
"\\downharpoonleft" |
|
393
|
+
"\\downharpoonright" |
|
394
|
+
"\\leftrightharpoons" |
|
395
|
+
"\\rightleftharpoons" |
|
396
|
+
"\\upharpoonleft" |
|
397
|
+
"\\upharpoonright" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return MOL;}
|
398
|
+
|
399
|
+
"\\xrightarrow" |
|
400
|
+
"\\xleftarrow" |
|
401
|
+
"\\xleftrightarrow" |
|
402
|
+
"\\xLeftarrow" |
|
403
|
+
"\\xRightarrow" |
|
404
|
+
"\\xLeftrightarrow" |
|
405
|
+
"\\xleftrightharpoons" |
|
406
|
+
"\\xrightleftharpoons" |
|
407
|
+
"\\xhookleftarrow" |
|
408
|
+
"\\xhookrightarrow" |
|
409
|
+
"\\xmapsto" {BEGIN(OPTARG); char * s1 = itex2MML_copy_string(yytext+2); yylval = itex2MML_copy3("&", s1, ";"); itex2MML_free_string(s1); return XARROW;}
|
410
|
+
|
411
|
+
"\\dots" |
|
412
|
+
"\\ldots" {yylval=itex2MML_copy_string("…"); return MI;}
|
413
|
+
"\\cdots" {yylval=itex2MML_copy_string("⋯"); return MI;}
|
414
|
+
"\\ddots" {yylval=itex2MML_copy_string("⋱"); return MI;}
|
415
|
+
"\\udots" {yylval=itex2MML_copy_string("⋰"); return MI;}
|
416
|
+
"\\vdots" {yylval=itex2MML_copy_string("⋮"); return MI;}
|
417
|
+
"\\colon" {yylval=itex2MML_copy_string(":"); return MOR;}
|
418
|
+
|
419
|
+
"\\cup" |
|
420
|
+
"\&union;" |
|
421
|
+
"\\union" {yylval=itex2MML_copy_string("∪"); return MOL;}
|
422
|
+
|
423
|
+
"\\bigcup" |
|
424
|
+
"\\Union" |
|
425
|
+
"\⋃" {yylval=itex2MML_copy_string("⋃"); return MOB;}
|
426
|
+
|
427
|
+
"\\cap" |
|
428
|
+
"\\intersection" {yylval=itex2MML_copy_string("∩"); return MOL;}
|
429
|
+
|
430
|
+
"\\bigcap" |
|
431
|
+
"\\Intersection" {yylval=itex2MML_copy_string("⋂"); return MOB;}
|
432
|
+
|
433
|
+
"\\in" {yylval=itex2MML_copy_string("∈"); return MOL;}
|
434
|
+
|
435
|
+
/* For some reason, Firefox does not put in the right spacing around some of these operators
|
436
|
+
* unless we ask for it, explicitly.
|
437
|
+
*/
|
438
|
+
"\\coloneqq" {yylval=itex2MML_copy_string("≔"); return MOL;}
|
439
|
+
"\\Coloneqq" {yylval=itex2MML_copy_string("⩴"); return MOS;}
|
440
|
+
"\\coloneq" {yylval=itex2MML_copy_string("∶−"); return MOS;}
|
441
|
+
"\\Coloneq" {yylval=itex2MML_copy_string("∷−"); return MOS;}
|
442
|
+
"\\eqqcolon" {yylval=itex2MML_copy_string("≕"); return MOS;}
|
443
|
+
"\\Eqqcolon" {yylval=itex2MML_copy_string("=∷"); return MOS;}
|
444
|
+
"\\eqcolon" {yylval=itex2MML_copy_string("∹"); return MOS;}
|
445
|
+
"\\Eqcolon" {yylval=itex2MML_copy_string("−∷"); return MOS;}
|
446
|
+
"\\colonapprox" {yylval=itex2MML_copy_string("∶≈"); return MOS;}
|
447
|
+
"\\Colonapprox" {yylval=itex2MML_copy_string("∷≈"); return MOS;}
|
448
|
+
"\\colonsim" {yylval=itex2MML_copy_string("∶∼"); return MOS;}
|
449
|
+
"\\Colonsim" {yylval=itex2MML_copy_string("∷∼"); return MOS;}
|
450
|
+
"\\dblcolon" {yylval=itex2MML_copy_string("∷"); return MOL;}
|
451
|
+
|
452
|
+
"\\ast" |
|
453
|
+
"\\Cap" |
|
454
|
+
"\\Cup" |
|
455
|
+
"\\circledast" |
|
456
|
+
"\\circledcirc" |
|
457
|
+
"\\curlyvee" |
|
458
|
+
"\\curlywedge" |
|
459
|
+
"\\divideontimes" |
|
460
|
+
"\\dotplus" |
|
461
|
+
"\\leftthreetimes" |
|
462
|
+
"\\rightthreetimes" |
|
463
|
+
"\\veebar" |
|
464
|
+
"\\gt" |
|
465
|
+
"\\lt" |
|
466
|
+
"\\approxeq" |
|
467
|
+
"\\backsim" |
|
468
|
+
"\\backsimeq" |
|
469
|
+
"\\barwedge" |
|
470
|
+
"\\doublebarwedge" |
|
471
|
+
"\\subset" |
|
472
|
+
"\\subseteq" |
|
473
|
+
"\\subseteqq" |
|
474
|
+
"\\subsetneq" |
|
475
|
+
"\\subsetneqq" |
|
476
|
+
"\\varsubsetneq" |
|
477
|
+
"\\varsubsetneqq" |
|
478
|
+
"\\prec" |
|
479
|
+
"\\parallel" |
|
480
|
+
"\\nparallel" |
|
481
|
+
"\\shortparallel" |
|
482
|
+
"\\nshortparallel" |
|
483
|
+
"\\perp" |
|
484
|
+
"\\eqslantgtr" |
|
485
|
+
"\\eqslantless" |
|
486
|
+
"\\gg" |
|
487
|
+
"\\ggg" |
|
488
|
+
"\\geq" |
|
489
|
+
"\\geqq" |
|
490
|
+
"\\geqslant" |
|
491
|
+
"\\gneq" |
|
492
|
+
"\\gneqq" |
|
493
|
+
"\\gnapprox" |
|
494
|
+
"\\gnsim" |
|
495
|
+
"\\gtrapprox" |
|
496
|
+
"\\ge" |
|
497
|
+
"\\le" |
|
498
|
+
"\\leq" |
|
499
|
+
"\\leqq" |
|
500
|
+
"\\leqslant" |
|
501
|
+
"\\lessapprox" |
|
502
|
+
"\\lessdot" |
|
503
|
+
"\\lesseqgtr" |
|
504
|
+
"\\lesseqqgtr" |
|
505
|
+
"\\lessgtr" |
|
506
|
+
"\\lneq" |
|
507
|
+
"\\lneqq" |
|
508
|
+
"\\lnsim" |
|
509
|
+
"\\lvertneqq" |
|
510
|
+
"\\gtrsim" |
|
511
|
+
"\\gtrdot" |
|
512
|
+
"\\gtreqless" |
|
513
|
+
"\\gtreqqless" |
|
514
|
+
"\\gtrless" |
|
515
|
+
"\\gvertneqq" |
|
516
|
+
"\\lesssim" |
|
517
|
+
"\\lnapprox" |
|
518
|
+
"\\nsubset" |
|
519
|
+
"\\nsubseteq" |
|
520
|
+
"\\nsubseteqq" |
|
521
|
+
"\\notin" |
|
522
|
+
"\\ni" |
|
523
|
+
"\\notni" |
|
524
|
+
"\\nmid" |
|
525
|
+
"\\nshortmid" |
|
526
|
+
"\\preceq" |
|
527
|
+
"\\npreceq" |
|
528
|
+
"\\ll" |
|
529
|
+
"\\ngeq" |
|
530
|
+
"\\ngeqq" |
|
531
|
+
"\\ngeqslant" |
|
532
|
+
"\\nleq" |
|
533
|
+
"\\nleqq" |
|
534
|
+
"\\nleqslant" |
|
535
|
+
"\\nless" |
|
536
|
+
"\\supset" |
|
537
|
+
"\\supseteq" |
|
538
|
+
"\\supseteqq" |
|
539
|
+
"\\supsetneq" |
|
540
|
+
"\\supsetneqq" |
|
541
|
+
"\\varsupsetneq" |
|
542
|
+
"\\varsupsetneqq" |
|
543
|
+
"\\approx" |
|
544
|
+
"\\asymp" |
|
545
|
+
"\\bowtie" |
|
546
|
+
"\\dashv" |
|
547
|
+
"\\Vdash" |
|
548
|
+
"\\vDash" |
|
549
|
+
"\\VDash" |
|
550
|
+
"\\vdash" |
|
551
|
+
"\\Vvdash" |
|
552
|
+
"\\models" |
|
553
|
+
"\\sim" |
|
554
|
+
"\\simeq" |
|
555
|
+
"\\nsim" |
|
556
|
+
"\\smile" |
|
557
|
+
"\\triangle" |
|
558
|
+
"\\triangledown" |
|
559
|
+
"\\triangleleft" |
|
560
|
+
"\\cong" |
|
561
|
+
"\\succ" |
|
562
|
+
"\\nsucc" |
|
563
|
+
"\\ngtr" |
|
564
|
+
"\\nsupset" |
|
565
|
+
"\\nsupseteq" |
|
566
|
+
"\\propto" |
|
567
|
+
"\\equiv" |
|
568
|
+
"\\nequiv" |
|
569
|
+
"\\frown" |
|
570
|
+
"\\triangleright" |
|
571
|
+
"\\ncong" |
|
572
|
+
"\\succeq" |
|
573
|
+
"\\succapprox" |
|
574
|
+
"\\succnapprox" |
|
575
|
+
"\\succcurlyeq" |
|
576
|
+
"\\succsim" |
|
577
|
+
"\\succnsim" |
|
578
|
+
"\\nsucceq" |
|
579
|
+
"\\nvDash" |
|
580
|
+
"\\nvdash" |
|
581
|
+
"\\nVDash" |
|
582
|
+
"\\amalg" |
|
583
|
+
"\\pm" |
|
584
|
+
"\\mp" |
|
585
|
+
"\\bigcirc" |
|
586
|
+
"\\wr" |
|
587
|
+
"\\odot" |
|
588
|
+
"\\uplus" |
|
589
|
+
"\\clubsuit" |
|
590
|
+
"\\spadesuit" |
|
591
|
+
"\\Diamond" |
|
592
|
+
"\\diamond" |
|
593
|
+
"\\sqcup" |
|
594
|
+
"\\sqcap" |
|
595
|
+
"\\sqsubset" |
|
596
|
+
"\\sqsubseteq" |
|
597
|
+
"\\sqsupset" |
|
598
|
+
"\\sqsupseteq" |
|
599
|
+
"\\Subset" |
|
600
|
+
"\\Supset" |
|
601
|
+
"\\ltimes" |
|
602
|
+
"\\div" |
|
603
|
+
"\\rtimes" |
|
604
|
+
"\\bot" |
|
605
|
+
"\\therefore" |
|
606
|
+
"\\thickapprox" |
|
607
|
+
"\\thicksim" |
|
608
|
+
"\\varpropto" |
|
609
|
+
"\\varnothing" |
|
610
|
+
"\\flat" |
|
611
|
+
"\\vee" |
|
612
|
+
"\\because" |
|
613
|
+
"\\between" |
|
614
|
+
"\\Bumpeq" |
|
615
|
+
"\\bumpeq" |
|
616
|
+
"\\circeq" |
|
617
|
+
"\\curlyeqprec" |
|
618
|
+
"\\curlyeqsucc" |
|
619
|
+
"\\doteq" |
|
620
|
+
"\\doteqdot" |
|
621
|
+
"\\eqcirc" |
|
622
|
+
"\\fallingdotseq" |
|
623
|
+
"\\multimap" |
|
624
|
+
"\\pitchfork" |
|
625
|
+
"\\precapprox" |
|
626
|
+
"\\precnapprox" |
|
627
|
+
"\\preccurlyeq" |
|
628
|
+
"\\precsim" |
|
629
|
+
"\\precnsim" |
|
630
|
+
"\\risingdotseq" |
|
631
|
+
"\\sharp" |
|
632
|
+
"\\bullet" |
|
633
|
+
"\\nexists" |
|
634
|
+
"\\dagger" |
|
635
|
+
"\\ddagger" |
|
636
|
+
"\\not" |
|
637
|
+
"\\top" |
|
638
|
+
"\\natural" |
|
639
|
+
"\\angle" |
|
640
|
+
"\\measuredangle" |
|
641
|
+
"\\backprime" |
|
642
|
+
"\\bigstar" |
|
643
|
+
"\\blacklozenge" |
|
644
|
+
"\\lozenge" |
|
645
|
+
"\\blacksquare" |
|
646
|
+
"\\blacktriangle" |
|
647
|
+
"\\blacktriangleleft" |
|
648
|
+
"\\blacktriangleright" |
|
649
|
+
"\\blacktriangledown" |
|
650
|
+
"\\ntriangleleft" |
|
651
|
+
"\\ntriangleright" |
|
652
|
+
"\\ntrianglelefteq" |
|
653
|
+
"\\ntrianglerighteq" |
|
654
|
+
"\\trianglelefteq" |
|
655
|
+
"\\trianglerighteq" |
|
656
|
+
"\\triangleq" |
|
657
|
+
"\\vartriangleleft" |
|
658
|
+
"\\vartriangleright" |
|
659
|
+
"\\forall" |
|
660
|
+
"\\bigtriangleup" |
|
661
|
+
"\\bigtriangledown" |
|
662
|
+
"\\nprec" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return MOL;}
|
663
|
+
|
664
|
+
"\\aleph" |
|
665
|
+
"\\beth" |
|
666
|
+
"\\eth" |
|
667
|
+
"\\ell" |
|
668
|
+
"\\hbar" |
|
669
|
+
"\\Im" |
|
670
|
+
"\\imath" |
|
671
|
+
"\\jmath" |
|
672
|
+
"\\wp" |
|
673
|
+
"\\Re" {yylval=itex2MML_copy2(yytext, ";"); if (yylval != itex2MML_empty_string) yylval[0]='&'; return MI;}
|
674
|
+
|
675
|
+
"\\Perp" |
|
676
|
+
"\\Vbar" {yylval=itex2MML_copy_string("⫫"); return MOL;}
|
677
|
+
"\\boxdot" {yylval=itex2MML_copy_string("⊡"); return MOL;}
|
678
|
+
"\\boxslash" {yylval=itex2MML_copy_string("⧄"); return MOL;}
|
679
|
+
"\\boxbslash" {yylval=itex2MML_copy_string("⧅"); return MOL;}
|
680
|
+
"\\boxast" {yylval=itex2MML_copy_string("⧆"); return MOL;}
|
681
|
+
"\\boxcircle" {yylval=itex2MML_copy_string("⧇"); return MOL;}
|
682
|
+
"\\boxbox" {yylval=itex2MML_copy_string("⧈"); return MOL;}
|
683
|
+
"\\obar" {yylval=itex2MML_copy_string("⦶"); return MOL;}
|
684
|
+
"\\obslash" {yylval=itex2MML_copy_string("⦸"); return MOL;}
|
685
|
+
"\\olessthan" {yylval=itex2MML_copy_string("⧀"); return MOL;}
|
686
|
+
"\\ogreaterthan" {yylval=itex2MML_copy_string("⧁"); return MOL;}
|
687
|
+
"\\Box" |
|
688
|
+
"\\square" {yylval=itex2MML_copy_string("□"); return MOL;}
|
689
|
+
"\\emptyset" |
|
690
|
+
"\\empty" {yylval=itex2MML_copy_string("∅"); return MI;}
|
691
|
+
"\\exists" {yylval=itex2MML_copy_string("∃"); return MOL;}
|
692
|
+
"\\circ" {yylval=itex2MML_copy_string("∘"); return MOL;}
|
693
|
+
"\\rhd" {yylval=itex2MML_copy_string("⊳"); return MOL;}
|
694
|
+
"\\lhd" {yylval=itex2MML_copy_string("⊲"); return MOL;}
|
695
|
+
"\\lll" {yylval=itex2MML_copy_string("⋘"); return MOL;}
|
696
|
+
"\\unrhd" {yylval=itex2MML_copy_string("⊵"); return MOL;}
|
697
|
+
"\\unlhd" {yylval=itex2MML_copy_string("⊴"); return MOL;}
|
698
|
+
"\\Del" |
|
699
|
+
"\\nabla" {yylval=itex2MML_copy_string("∇"); return MOL;}
|
700
|
+
"\\sphericalangle" {yylval=itex2MML_copy_string("∢"); return MOL;}
|
701
|
+
|
702
|
+
"\\heartsuit" {yylval=itex2MML_copy_string("♡"); return MOL;}
|
703
|
+
"\\diamondsuit" {yylval=itex2MML_copy_string("♢"); return MOL;}
|
704
|
+
|
705
|
+
"\\partial" {yylval=itex2MML_copy_string("∂"); return MOL;}
|
706
|
+
|
707
|
+
"\\qed" {yylval=itex2MML_copy_string("▪"); return MO;}
|
708
|
+
|
709
|
+
"\\mod" {yylval=itex2MML_copy_string("mod"); return MOS;}
|
710
|
+
"\\pmod" {return PMOD;}
|
711
|
+
|
712
|
+
"\\bottom" {yylval=itex2MML_copy_string("⊥"); return MOL;}
|
713
|
+
|
714
|
+
"\\neg" {yylval=itex2MML_copy_string("¬"); return MOL;}
|
715
|
+
|
716
|
+
"\\neq" |
|
717
|
+
"\\ne" {yylval=itex2MML_copy_string("≠"); return MOL;}
|
718
|
+
|
719
|
+
"\\shortmid" |
|
720
|
+
"\\mid" {yylval=itex2MML_copy_string("∣"); return MOS;}
|
721
|
+
|
722
|
+
"\\int" |
|
723
|
+
"\\integral" {yylval=itex2MML_copy_string("∫"); return MOL;}
|
724
|
+
|
725
|
+
"\\iint" |
|
726
|
+
"\\doubleintegral" {yylval=itex2MML_copy_string("∬"); return MOL;}
|
727
|
+
|
728
|
+
"\\iiint" |
|
729
|
+
"\\tripleintegral" {yylval=itex2MML_copy_string("∭"); return MOL;}
|
730
|
+
|
731
|
+
"\\iiiint" |
|
732
|
+
"\\quadrupleintegral" {yylval=itex2MML_copy_string("⨌"); return MOL;}
|
733
|
+
|
734
|
+
"\\oint" |
|
735
|
+
"\\conint" |
|
736
|
+
"\\contourintegral" {yylval=itex2MML_copy_string("∮"); return MOL;}
|
737
|
+
|
738
|
+
"\\times" {yylval=itex2MML_copy_string("×"); return MOL;}
|
739
|
+
"\\star" {yylval=itex2MML_copy_string("⋆"); return MOL;}
|
740
|
+
"\\circleddash" |
|
741
|
+
"\\odash" {yylval=itex2MML_copy_string("⊝"); return MOL;}
|
742
|
+
|
743
|
+
"\\intercal" {yylval=itex2MML_copy_string("⊺"); return MOL;}
|
744
|
+
"\\smallfrown" {yylval=itex2MML_copy_string("⌢"); return MOL;}
|
745
|
+
"\\smallsmile" {yylval=itex2MML_copy_string("⌣"); return MOL;}
|
746
|
+
|
747
|
+
"\\boxminus" |
|
748
|
+
"\\minusb" {yylval=itex2MML_copy_string("⊟"); return MOL;}
|
749
|
+
"\\boxplus" |
|
750
|
+
"\\plusb" {yylval=itex2MML_copy_string("⊞"); return MOL;}
|
751
|
+
"\\boxtimes" |
|
752
|
+
"\\timesb" {yylval=itex2MML_copy_string("⊠"); return MOL;}
|
753
|
+
|
754
|
+
"\\sum" {yylval=itex2MML_copy_string("∑"); return MOB;}
|
755
|
+
|
756
|
+
"\\prod" |
|
757
|
+
"\\product" {yylval=itex2MML_copy_string("∏"); return MOB;}
|
758
|
+
|
759
|
+
"\\coprod" |
|
760
|
+
"\\coproduct" {yylval=itex2MML_copy_string("∐"); return MOB;}
|
761
|
+
|
762
|
+
"\\otimes" {yylval=itex2MML_copy_string("⊗"); return MOL;}
|
763
|
+
"\\Otimes" {yylval=itex2MML_copy_string("⨷"); return MOL;}
|
764
|
+
"\\bigotimes" {yylval=itex2MML_copy_string("⨂"); return MOL;}
|
765
|
+
|
766
|
+
"\\ominus" {yylval=itex2MML_copy_string("⊖"); return MOL;}
|
767
|
+
"\\oslash" {yylval=itex2MML_copy_string("⊘"); return MOL;}
|
768
|
+
|
769
|
+
"\\oplus" {yylval=itex2MML_copy_string("⊕"); return MOL;}
|
770
|
+
"\\Oplus" |
|
771
|
+
"\\bigoplus" {yylval=itex2MML_copy_string("⨁"); return MOB;}
|
772
|
+
|
773
|
+
"\\bigodot" {yylval=itex2MML_copy_string("⨀"); return MOB;}
|
774
|
+
"\\bigsqcup" {yylval=itex2MML_copy_string("⨆"); return MOB;}
|
775
|
+
"\\bigsqcap" {yylval=itex2MML_copy_string("⨅"); return MOB;}
|
776
|
+
"\\biginterleave" {yylval=itex2MML_copy_string("⫼"); return MOB;}
|
777
|
+
"\\biguplus" {yylval=itex2MML_copy_string("⨄"); return MOB;}
|
778
|
+
|
779
|
+
"\\wedge" {yylval=itex2MML_copy_string("∧"); return MOL;}
|
780
|
+
"\\Wedge" |
|
781
|
+
"\\bigwedge" {yylval=itex2MML_copy_string("⋀"); return MOB;}
|
782
|
+
|
783
|
+
"\\Vee" |
|
784
|
+
"\\bigvee" {yylval=itex2MML_copy_string("⋁"); return MOB;}
|
785
|
+
|
786
|
+
"\\invamp" |
|
787
|
+
"\\parr" {yylval=itex2MML_copy_string("⅋"); return MOL;}
|
788
|
+
|
789
|
+
"\\frac" {return FRAC;}
|
790
|
+
"\\tfrac" {return TFRAC;}
|
791
|
+
|
792
|
+
"\\binom" {return BINOM;}
|
793
|
+
"\\tbinom" {return TBINOM;}
|
794
|
+
|
795
|
+
"\\tensor" {return TENSOR;}
|
796
|
+
|
797
|
+
"\\multiscripts" {return MULTI;}
|
798
|
+
|
799
|
+
"\\overbrace" {return OVERBRACE;}
|
800
|
+
|
801
|
+
"\\underbrace" {return UNDERBRACE;}
|
802
|
+
|
803
|
+
"\\underline" {return UNDERLINE;}
|
804
|
+
|
805
|
+
"\\bar" {return BAR;}
|
806
|
+
"\\overline" |
|
807
|
+
"\\closure" |
|
808
|
+
"\\widebar" {return WIDEBAR;}
|
809
|
+
|
810
|
+
"\\vec" {return VEC;}
|
811
|
+
"\\widevec" |
|
812
|
+
"\\overrightarrow" {return WIDEVEC;}
|
813
|
+
"\\overleftarrow" {return WIDELVEC;}
|
814
|
+
"\\overleftrightarrow" {return WIDELRVEC;}
|
815
|
+
|
816
|
+
"\\underrightarrow" {return WIDEUVEC;}
|
817
|
+
"\\underleftarrow" {return WIDEULVEC;}
|
818
|
+
"\\underleftrightarrow" {return WIDEULRVEC;}
|
819
|
+
|
820
|
+
"\\dot" {return DOT;}
|
821
|
+
"\\ddot" {return DDOT;}
|
822
|
+
"\\dddot" {return DDDOT;}
|
823
|
+
"\\ddddot" {return DDDDOT;}
|
824
|
+
|
825
|
+
"\\tilde" {return TILDE;}
|
826
|
+
"\\widetilde" {return WIDETILDE;}
|
827
|
+
|
828
|
+
"\\check" {return CHECK;}
|
829
|
+
"\\widecheck" {return WIDECHECK;}
|
830
|
+
|
831
|
+
"\\hat" {return HAT;}
|
832
|
+
"\\widehat" {return WIDEHAT;}
|
833
|
+
|
834
|
+
"\\underset" {return UNDER;}
|
835
|
+
|
836
|
+
"\\stackrel" |
|
837
|
+
"\\overset" {return OVER;}
|
838
|
+
|
839
|
+
"\\over" {return TEXOVER;}
|
840
|
+
"\\atop" {return TEXATOP;}
|
841
|
+
|
842
|
+
"\\underoverset" {return UNDEROVER;}
|
843
|
+
|
844
|
+
"\\sqrt" {BEGIN(OPTARG); return SQRT;}
|
845
|
+
|
846
|
+
"\\root" {return ROOT;}
|
847
|
+
|
848
|
+
"\\space" {BEGIN(INT1); return SPACE;}
|
849
|
+
|
850
|
+
"\\text" {BEGIN(PLAINTEXT); return TEXTBOX;}
|
851
|
+
|
852
|
+
"\\statusline" {BEGIN(PLAINTEXT); return STATLINE;}
|
853
|
+
"\\tooltip" {BEGIN(PLAINTEXT); return TOOLTIP;}
|
854
|
+
|
855
|
+
"\\toggle" {return TOGGLE;}
|
856
|
+
"\\begintoggle" {return TOGGLESTART;}
|
857
|
+
"\\endtoggle" {return TOGGLEEND;}
|
858
|
+
|
859
|
+
"\\mathraisebox" {BEGIN(RAISEBOX1); return RAISEBOX;}
|
860
|
+
|
861
|
+
"\\fghilight" |
|
862
|
+
"\\fghighlight" {BEGIN(ATTRIBUTELIST); return FGHIGHLIGHT;}
|
863
|
+
|
864
|
+
"\\bghilight" |
|
865
|
+
"\\bghighlight" {BEGIN(ATTRIBUTELIST); return BGHIGHLIGHT;}
|
866
|
+
|
867
|
+
"\\color" {BEGIN(ATTRIBUTELIST); return COLOR;}
|
868
|
+
"\\bgcolor" {BEGIN(ATTRIBUTELIST); return BGCOLOR;}
|
869
|
+
|
870
|
+
"\\displaystyle" {itex2MML_displaymode=1; itex2MML_rowposn=2; return DISPLAY;}
|
871
|
+
|
872
|
+
"\\textstyle" {itex2MML_displaymode=0; itex2MML_rowposn=2; return TEXTSTY;}
|
873
|
+
|
874
|
+
"\\textsize" {return TEXTSIZE;}
|
875
|
+
|
876
|
+
"\\scriptsize" {return SCSIZE;}
|
877
|
+
|
878
|
+
"\\scriptscriptsize" {return SCSCSIZE;}
|
879
|
+
|
880
|
+
"\\mathit" {return ITALICS;}
|
881
|
+
|
882
|
+
"\\mathsf" {return SANS;}
|
883
|
+
"\\mathtt" {return TT;}
|
884
|
+
|
885
|
+
"\\boldsymbol" |
|
886
|
+
"\\mathbf" {return BOLD;}
|
887
|
+
|
888
|
+
"\\mathrm" {BEGIN(ROMAN); return RM;}
|
889
|
+
|
890
|
+
"\\mathbb" {BEGIN(BBOLD); return BB;}
|
891
|
+
|
892
|
+
"\\mathfrak" |
|
893
|
+
"\\mathfr" {BEGIN(FRAKTUR); return FRAK;}
|
894
|
+
|
895
|
+
"\\slash" {return SLASHED;}
|
896
|
+
|
897
|
+
"\\boxed" {return BOXED;}
|
898
|
+
|
899
|
+
"\\mathcal" {BEGIN(CALLIGRAPHIC); return CAL;}
|
900
|
+
"\\mathscr" {BEGIN(SCRIPT); return SCR;}
|
901
|
+
|
902
|
+
"\\begin" {itex2MML_env_start = 1; BEGIN(MATHENV); return BEGINENV;}
|
903
|
+
"\\end" {BEGIN(MATHENV); return ENDENV;}
|
904
|
+
|
905
|
+
"\\substack" {return SUBSTACK;}
|
906
|
+
|
907
|
+
"\\array" {return ARRAY;}
|
908
|
+
|
909
|
+
"\\arrayopts" {return ARRAYOPTS;}
|
910
|
+
|
911
|
+
"\\colalign" {BEGIN(ATTRIBUTELIST); return COLALIGN;}
|
912
|
+
|
913
|
+
"\\collayout" {BEGIN(ATTRIBUTELIST); return COLLAYOUT;}
|
914
|
+
|
915
|
+
"\\rowalign" {BEGIN(ATTRIBUTELIST); return ROWALIGN;}
|
916
|
+
|
917
|
+
"\\align" {BEGIN(ATTRIBUTELIST); return ALIGN;}
|
918
|
+
|
919
|
+
"\\equalrows" {BEGIN(ATTRIBUTELIST); return EQROWS;}
|
920
|
+
|
921
|
+
"\\equalcols" {BEGIN(ATTRIBUTELIST); return EQCOLS;}
|
922
|
+
|
923
|
+
"\\rowlines" {BEGIN(ATTRIBUTELIST); return ROWLINES;}
|
924
|
+
|
925
|
+
"\\collines" {BEGIN(ATTRIBUTELIST); return COLLINES;}
|
926
|
+
|
927
|
+
"\\frame" {BEGIN(ATTRIBUTELIST); return FRAME;}
|
928
|
+
|
929
|
+
"\\padding" {BEGIN(ATTRIBUTELIST); return PADDING;}
|
930
|
+
|
931
|
+
"\\rowopts" {return ROWOPTS;}
|
932
|
+
|
933
|
+
"\\cellopts" {return CELLOPTS;}
|
934
|
+
|
935
|
+
"\\rowspan" {BEGIN(ATTRIBUTELIST); return ROWSPAN;}
|
936
|
+
|
937
|
+
"\\colspan" {BEGIN(ATTRIBUTELIST); return COLSPAN;}
|
938
|
+
|
939
|
+
|
940
|
+
"\\," |
|
941
|
+
"\\thinspace" {return THINSPACE;}
|
942
|
+
|
943
|
+
"\\:" |
|
944
|
+
"\\medspace" {return MEDSPACE;}
|
945
|
+
|
946
|
+
"\\ " |
|
947
|
+
"\\;" |
|
948
|
+
"\\thickspace" {return THICKSPACE;}
|
949
|
+
|
950
|
+
"\\quad" {return QUAD;}
|
951
|
+
"\\qquad" {return QQUAD;}
|
952
|
+
|
953
|
+
"\\!" |
|
954
|
+
"\\negspace" |
|
955
|
+
"\\negthinspace" {return NEGSPACE;}
|
956
|
+
|
957
|
+
"\\negmedspace" {return NEGMEDSPACE;}
|
958
|
+
|
959
|
+
"\\negthickspace" {return NEGTHICKSPACE;}
|
960
|
+
|
961
|
+
"\\phantom" {return PHANTOM;}
|
962
|
+
|
963
|
+
"\\href" {BEGIN(PLAINTEXT); return HREF;}
|
964
|
+
|
965
|
+
"\\operatorname" {BEGIN(PLAINTEXT); return OPERATORNAME;}
|
966
|
+
"\\mathop" {BEGIN(PLAINTEXT); return MATHOP;}
|
967
|
+
"\\mathbin" {BEGIN(PLAINTEXT); return MATHBIN;}
|
968
|
+
"\\mathrel" {BEGIN(PLAINTEXT); return MATHREL;}
|
969
|
+
"\\itexnum" {BEGIN(PLAINTEXT); return ITEXNUM;}
|
970
|
+
|
971
|
+
"\\includegraphics"(\[[^\]]*\])?\{[^}]*\} ;
|
972
|
+
|
973
|
+
"\\"[a-zA-Z]+ {yylval=itex2MML_copy_string(yytext+1); return MOP;}
|
974
|
+
|
975
|
+
"\&"[a-zA-Z_][a-zA-Z0-9_]*";" |
|
976
|
+
"\&#"[0-9]+";" |
|
977
|
+
"\&#x"[a-fA-F0-9]+";" {yylval=itex2MML_copy_string(yytext); return MI;}
|
978
|
+
|
979
|
+
"\n" itex2MML_lineno++;
|
980
|
+
[\r\t ]+ ;
|
981
|
+
|
982
|
+
|
983
|
+
. {return UNKNOWNCHAR;}
|
984
|
+
}
|
985
|
+
|
986
|
+
<ATTRIBUTELIST>"{"[ \t\n\r #a-zA-Z0-9.\-]*"}" {BEGIN(MATH); yylval=itex2MML_copy_string(yytext); if (yylval != itex2MML_empty_string) { yylval[0]='"'; yylval[yyleng-1]='"'; } return ATTRLIST;}
|
987
|
+
|
988
|
+
<OPTARG>{
|
989
|
+
"[" {if(itex2MML_optarg_ind < itex2MML_optarg_depth - 1 && itex2MML_inoptarg[itex2MML_optarg_ind] !=1 ){itex2MML_optarg_ind++; itex2MML_inoptarg[itex2MML_optarg_ind]=1;}; BEGIN(MATH); return OPTARGOPEN;}
|
990
|
+
[\n\r\t ]+ ;
|
991
|
+
. {itex2MML_eqn_src[itex2MML_eqn_end-itex2MML_eqn_src]=0; --itex2MML_eqn_end; BEGIN(MATH); unput(yytext[0]);}
|
992
|
+
}
|
993
|
+
|
994
|
+
<RAISEBOX1>{
|
995
|
+
\{[\n\r\t ]*- {BEGIN(RAISEBOX2); return NEG;}
|
996
|
+
\{[\n\r\t ]* {BEGIN(RAISEBOX2);}
|
997
|
+
}
|
998
|
+
|
999
|
+
<RAISEBOX2>{
|
1000
|
+
[^\}]*?\} {yylval=itex2MML_copy_string(yytext); if ((yyleng > 1) && (yylval != itex2MML_empty_string)) yylval[yyleng-1]='\0'; BEGIN(TEXTOPTARG1); return TEXTSTRING;}
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
|
1004
|
+
<TEXTOPTARG1>{
|
1005
|
+
\[[^\]]*?\] {yylval=itex2MML_copy_string(yytext+1); if ((yyleng > 1) && (yylval != itex2MML_empty_string)) yylval[yyleng-2]='\0'; BEGIN(TEXTOPTARG); return TEXTSTRING;}
|
1006
|
+
. {itex2MML_eqn_src[itex2MML_eqn_end-itex2MML_eqn_src]=0; --itex2MML_eqn_end; BEGIN(MATH); unput(yytext[0]);}
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
<TEXTOPTARG>{
|
1010
|
+
\[[^\]]*?\] {yylval=itex2MML_copy_string(yytext+1); if ((yyleng > 1) && (yylval != itex2MML_empty_string)) yylval[yyleng-2]='\0'; BEGIN(MATH); return TEXTSTRING;}
|
1011
|
+
. {itex2MML_eqn_src[itex2MML_eqn_end-itex2MML_eqn_src]=0; --itex2MML_eqn_end; BEGIN(MATH); unput(yytext[0]);}
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
<MATHENV>{
|
1015
|
+
"\{matrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return MATRIX;}
|
1016
|
+
"\{pmatrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return PMATRIX;}
|
1017
|
+
"\{bmatrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return BMATRIX;}
|
1018
|
+
"\{Bmatrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return BBMATRIX;}
|
1019
|
+
"\{vmatrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return VMATRIX;}
|
1020
|
+
"\{Vmatrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return VVMATRIX;}
|
1021
|
+
"\{smallmatrix\}" {itex2MML_env_start = 0; BEGIN(MATH); return SMALLMATRIX;}
|
1022
|
+
"\{cases\}" {itex2MML_env_start = 0; BEGIN(MATH); return CASES;}
|
1023
|
+
"\{aligned\}" {itex2MML_env_start = 0; BEGIN(MATH); return ALIGNED;}
|
1024
|
+
"\{gathered\}" {itex2MML_env_start = 0; BEGIN(MATH); return GATHERED;}
|
1025
|
+
"\{split\}" {itex2MML_env_start = 0; BEGIN(MATH); return ALIGNED;}
|
1026
|
+
"\{array\}" {if (itex2MML_env_start == 1) BEGIN(ARRAYOPTIONS); else BEGIN(MATH); return ARRAY;}
|
1027
|
+
"\{svg\}" {itex2MML_env_start = 0; BEGIN(SVGENV); return SVG;}
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
<ARRAYOPTIONS>{
|
1031
|
+
"[t]" {yylval=itex2MML_copy_string("axis 1"); return ARRAYALIGN;}
|
1032
|
+
"[c]" {yylval=itex2MML_copy_string("center"); return ARRAYALIGN;}
|
1033
|
+
"[b]" {yylval=itex2MML_copy_string("axis -1"); return ARRAYALIGN;}
|
1034
|
+
"\{" {BEGIN(COLOPTS); return ST;}
|
1035
|
+
[\t\n\r ]+ ;
|
1036
|
+
}
|
1037
|
+
|
1038
|
+
<COLOPTS>{
|
1039
|
+
"\}" {itex2MML_env_start = 0; BEGIN(MATH); return END;}
|
1040
|
+
"c" {yylval=itex2MML_copy_string("center"); return COLUMNALIGN;}
|
1041
|
+
"l" {yylval=itex2MML_copy_string("left"); return COLUMNALIGN;}
|
1042
|
+
"r" {yylval=itex2MML_copy_string("right"); return COLUMNALIGN;}
|
1043
|
+
[\t\n\r ]+ ;
|
1044
|
+
}
|
1045
|
+
|
1046
|
+
<SVGENV>{
|
1047
|
+
"\\end\{svg" {itex2MML_do_capture_eqn(); yylval=itex2MML_copy_string(yytext); yylval[yyleng-8]=0; BEGIN(SVGEND); return XMLSTRING;}
|
1048
|
+
(.|\n) {yymore();}
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
<SVGEND>{
|
1052
|
+
"\}" {BEGIN(MATH); return ENDSVG;}
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
<ROMAN>{
|
1056
|
+
"\{" {return ST;}
|
1057
|
+
"\}" {BEGIN(MATH); return END;}
|
1058
|
+
[a-zA-Z] {yylval=itex2MML_copy_string(yytext); return RMCHAR;}
|
1059
|
+
[\t\n\r ]+ ;
|
1060
|
+
. {return yytext[0];}
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
<BBOLD>{
|
1064
|
+
"\{" {return ST;}
|
1065
|
+
"\}" {BEGIN(MATH); return END;}
|
1066
|
+
[a-z] {yylval=itex2MML_copy_string(yytext); return BBLOWERCHAR;}
|
1067
|
+
[A-Z] {yylval=itex2MML_copy_string(yytext); return BBUPPERCHAR;}
|
1068
|
+
[0-9] {yylval=itex2MML_copy_string(yytext); return BBDIGIT;}
|
1069
|
+
[\t\n\r ]+ ;
|
1070
|
+
. {return yytext[0];}
|
1071
|
+
}
|
1072
|
+
|
1073
|
+
<CALLIGRAPHIC>{
|
1074
|
+
"\{" {return ST;}
|
1075
|
+
"\}" {BEGIN(MATH); return END;}
|
1076
|
+
[a-zA-Z] {yylval=itex2MML_copy_string(yytext); return CALCHAR;}
|
1077
|
+
[\t\n\r ]+ ;
|
1078
|
+
. {return yytext[0];}
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
<SCRIPT>{
|
1082
|
+
"\{" {return ST;}
|
1083
|
+
"\}" {BEGIN(MATH); return END;}
|
1084
|
+
[a-zA-Z] {yylval=itex2MML_copy_string(yytext); return CALCHAR;}
|
1085
|
+
[\t\n\r ]+ ;
|
1086
|
+
. {return yytext[0];}
|
1087
|
+
}
|
1088
|
+
|
1089
|
+
<FRAKTUR>{
|
1090
|
+
"\{" {return ST;}
|
1091
|
+
"\}" {BEGIN(MATH); return END;}
|
1092
|
+
[a-zA-Z] {yylval=itex2MML_copy_string(yytext); return FRAKCHAR;}
|
1093
|
+
[\t\n\r ]+ ;
|
1094
|
+
. {return yytext[0];}
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
<PLAINTEXT>{
|
1098
|
+
\{[^\}]*?\} {yylval=itex2MML_copy_string(yytext+1); if ((yyleng > 1) && (yylval != itex2MML_empty_string)) yylval[yyleng-2]='\0'; BEGIN(MATH); return TEXTSTRING;}
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
<INT1>{
|
1102
|
+
"\{" {return ST;}
|
1103
|
+
"\}" {BEGIN(INT2); return END;}
|
1104
|
+
[0-9]+ {yylval=itex2MML_copy_string_extra(yytext, 1); if (yyleng && (yylval != itex2MML_empty_string)) { yylval[yyleng]=yylval[yyleng-1]; yylval[yyleng-1]='.'; yylval[yyleng+1]='\0'; } return INTONE;}
|
1105
|
+
[\t\n\r ]+ ;
|
1106
|
+
. {return yytext[0];}
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
<INT2>{
|
1110
|
+
"\{" {return ST;}
|
1111
|
+
"\}" {BEGIN(INT3); return END;}
|
1112
|
+
[0-9]+ {yylval=itex2MML_copy_string_extra(yytext, 1); if (yyleng && (yylval != itex2MML_empty_string)) { yylval[yyleng]=yylval[yyleng-1]; yylval[yyleng-1]='.'; yylval[yyleng+1]='\0'; } return INTTWO;}
|
1113
|
+
[\t\n\r ]+ ;
|
1114
|
+
. {return yytext[0];}
|
1115
|
+
}
|
1116
|
+
|
1117
|
+
<INT3>{
|
1118
|
+
"\{" {return ST;}
|
1119
|
+
"\}" {BEGIN(MATH); return END;}
|
1120
|
+
[0-9]+ {yylval=itex2MML_copy_string_extra(yytext, 1); if (yyleng && (yylval != itex2MML_empty_string)) { yylval[yyleng]=yylval[yyleng-1]; yylval[yyleng-1]='.'; yylval[yyleng+1]='\0'; } return INTTHREE;}
|
1121
|
+
[\t\n\r ]+ ;
|
1122
|
+
. {return yytext[0];}
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
|
1126
|
+
|
1127
|
+
%%
|
1128
|
+
|
1129
|
+
void itex2MML_restart ()
|
1130
|
+
{
|
1131
|
+
BEGIN(INITIAL);
|
1132
|
+
}
|
1133
|
+
|
1134
|
+
static const char * s_itex2MML_buffer = 0;
|
1135
|
+
static size_t s_itex2MML_length = 0;
|
1136
|
+
|
1137
|
+
void itex2MML_setup (const char * buffer, size_t length)
|
1138
|
+
{
|
1139
|
+
yy_flush_buffer( YY_CURRENT_BUFFER );
|
1140
|
+
|
1141
|
+
s_itex2MML_buffer = buffer;
|
1142
|
+
s_itex2MML_length = length;
|
1143
|
+
}
|
1144
|
+
|
1145
|
+
void itex2MML_capture_eqn_src()
|
1146
|
+
{
|
1147
|
+
if (YY_START != INITIAL && YY_START != SVGENV)
|
1148
|
+
itex2MML_do_capture_eqn();
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
void itex2MML_do_capture_eqn()
|
1152
|
+
{
|
1153
|
+
if (itex2MML_eqn_bufsize - (itex2MML_eqn_end-itex2MML_eqn_src+yyleng) > 1)
|
1154
|
+
{
|
1155
|
+
strcpy(itex2MML_eqn_end, yytext);
|
1156
|
+
itex2MML_eqn_end += yyleng;
|
1157
|
+
}
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
static size_t s_itex2MML_read (char * buffer, size_t max_size)
|
1161
|
+
{
|
1162
|
+
size_t result = 0;
|
1163
|
+
|
1164
|
+
if (max_size < s_itex2MML_length)
|
1165
|
+
{
|
1166
|
+
result = max_size;
|
1167
|
+
|
1168
|
+
memcpy (buffer, s_itex2MML_buffer, max_size);
|
1169
|
+
|
1170
|
+
s_itex2MML_buffer += max_size;
|
1171
|
+
s_itex2MML_length -= max_size;
|
1172
|
+
}
|
1173
|
+
else
|
1174
|
+
{
|
1175
|
+
result = s_itex2MML_length;
|
1176
|
+
|
1177
|
+
memcpy (buffer, s_itex2MML_buffer, s_itex2MML_length);
|
1178
|
+
|
1179
|
+
s_itex2MML_buffer = 0;
|
1180
|
+
s_itex2MML_length = 0;
|
1181
|
+
}
|
1182
|
+
return result;
|
1183
|
+
}
|