mathematical 1.5.0 → 1.5.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (727) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -0
  3. data/Rakefile +5 -9
  4. data/ext/README.md +21 -0
  5. data/ext/mathematical/CMakeLists.txt +76 -0
  6. data/ext/mathematical/FindNewerRubies.cmake +292 -0
  7. data/ext/mathematical/FindPackageHandleStandardArgs.cmake +58 -0
  8. data/ext/mathematical/extconf.rb +38 -18
  9. data/ext/mathematical/lasem/AUTHORS +1 -0
  10. data/ext/mathematical/lasem/COPYING +482 -0
  11. data/ext/mathematical/lasem/{docs/reference/lasem/lasem-overrides.txt → ChangeLog} +0 -0
  12. data/ext/mathematical/lasem/MAINTAINERS +3 -0
  13. data/ext/mathematical/lasem/Makefile.am +34 -0
  14. data/ext/mathematical/lasem/Makefile.decl +57 -0
  15. data/ext/mathematical/lasem/NEWS +117 -0
  16. data/ext/mathematical/lasem/README +28 -0
  17. data/ext/mathematical/lasem/RELEASING +85 -0
  18. data/ext/mathematical/lasem/TODO +50 -0
  19. data/ext/mathematical/lasem/autogen.sh +177 -0
  20. data/ext/mathematical/lasem/configure.ac +139 -0
  21. data/ext/mathematical/lasem/docs/Makefile.am +14 -0
  22. data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +106 -0
  23. data/ext/mathematical/lasem/docs/reference/Makefile.am +3 -0
  24. data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +205 -0
  25. data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +75 -0
  26. data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +64 -0
  27. data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +110 -0
  28. data/ext/mathematical/lasem/itex2mml/COPYING.itex2MML +3 -0
  29. data/ext/mathematical/lasem/itex2mml/Makefile.am +37 -0
  30. data/ext/mathematical/lasem/itex2mml/README.itex2MML +13 -0
  31. data/ext/mathematical/lasem/lasem.doap +21 -0
  32. data/ext/mathematical/lasem/m4/introspection.m4 +96 -0
  33. data/ext/mathematical/lasem/po/ChangeLog +0 -0
  34. data/ext/mathematical/lasem/po/LINGUAS +28 -0
  35. data/ext/mathematical/lasem/po/POTFILES.in +195 -0
  36. data/ext/mathematical/lasem/po/POTFILES.skip +1 -0
  37. data/ext/mathematical/lasem/po/bs.po +65 -0
  38. data/ext/mathematical/lasem/po/cs.po +70 -0
  39. data/ext/mathematical/lasem/po/de.po +68 -0
  40. data/ext/mathematical/lasem/po/el.po +73 -0
  41. data/ext/mathematical/lasem/po/es.po +78 -0
  42. data/ext/mathematical/lasem/po/eu.po +66 -0
  43. data/ext/mathematical/lasem/po/fr.po +65 -0
  44. data/ext/mathematical/lasem/po/gl.po +64 -0
  45. data/ext/mathematical/lasem/po/hu.po +76 -0
  46. data/ext/mathematical/lasem/po/id.po +69 -0
  47. data/ext/mathematical/lasem/po/it.po +64 -0
  48. data/ext/mathematical/lasem/po/lt.po +77 -0
  49. data/ext/mathematical/lasem/po/lv.po +66 -0
  50. data/ext/mathematical/lasem/po/nb.po +62 -0
  51. data/ext/mathematical/lasem/po/oc.po +65 -0
  52. data/ext/mathematical/lasem/po/pl.po +73 -0
  53. data/ext/mathematical/lasem/po/pt.po +77 -0
  54. data/ext/mathematical/lasem/po/pt_BR.po +64 -0
  55. data/ext/mathematical/lasem/po/ru.po +66 -0
  56. data/ext/mathematical/lasem/po/sl.po +68 -0
  57. data/ext/mathematical/lasem/po/sr.po +65 -0
  58. data/ext/mathematical/lasem/po/sr@latin.po +65 -0
  59. data/ext/mathematical/lasem/po/sv.po +72 -0
  60. data/ext/mathematical/lasem/po/tg.po +64 -0
  61. data/ext/mathematical/lasem/po/tr.po +65 -0
  62. data/ext/mathematical/lasem/po/zh_CN.po +63 -0
  63. data/ext/mathematical/lasem/src/Makefile.am +349 -0
  64. data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +39 -0
  65. data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +26 -0
  66. data/ext/mathematical/lasem/src/lsmitex.c +0 -1
  67. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +39 -0
  68. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +26 -0
  69. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +39 -0
  70. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +26 -0
  71. data/ext/mathematical/lasem/tests/Makefile.am +34 -0
  72. data/ext/mathematical/lasem/tests/data/mathml/gtkmathview/README +5 -0
  73. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-02.tex +1 -0
  74. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03-inline.tex +1 -0
  75. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03.tex +1 -0
  76. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction.tex +1 -0
  77. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/closed.tex +1 -0
  78. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/multiples.tex +1 -0
  79. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/standard.tex +1 -0
  80. data/ext/mathematical/lasem/tests/data/mathml/tex/matrices/matrix-01.tex +5 -0
  81. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-cr.tex +7 -0
  82. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-space.tex +7 -0
  83. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases.tex +7 -0
  84. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/color.tex +1 -0
  85. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-2.tex +1 -0
  86. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-inline.tex +7 -0
  87. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex.tex +7 -0
  88. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic-inline.tex +1 -0
  89. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic.tex +1 -0
  90. data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-01.tex +1 -0
  91. data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-02.tex +1 -0
  92. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/accents.tex +1 -0
  93. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/script.tex +1 -0
  94. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/stack.tex +1 -0
  95. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/subscript.tex +1 -0
  96. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums-inline.tex +1 -0
  97. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums.tex +1 -0
  98. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript-inline.tex +1 -0
  99. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript.tex +1 -0
  100. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/bmpCursor.bmp +0 -0
  101. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/brushedMetal.jpg +0 -0
  102. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpeg.jpg +0 -0
  103. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpegCursor.jpg +0 -0
  104. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaBridge.jpg +0 -0
  105. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaSteps.jpg +0 -0
  106. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaWalk.jpg +0 -0
  107. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors.tif +0 -0
  108. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb.tif +0 -0
  109. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb_tile.tif +0 -0
  110. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_tile.tif +0 -0
  111. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tde.jpg +0 -0
  112. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tiffCursor.tif +0 -0
  113. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/image1.jpg +0 -0
  114. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-01.jpg +0 -0
  115. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-02.jpg +0 -0
  116. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/CNN.3gp +0 -0
  117. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/SVG-1.1-monolithic-fixed.dtd +1622 -0
  118. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/TraitAccess.common.es +672 -0
  119. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/advice.wav +0 -0
  120. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/beep.wav +0 -0
  121. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/boing_x.wav +0 -0
  122. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/clock.mp4 +0 -0
  123. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud-ps411q4app.jpg +0 -0
  124. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q25s.jpg +0 -0
  125. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q65float.jpg +0 -0
  126. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75o.jpg +0 -0
  127. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75p.jpg +0 -0
  128. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75s.jpg +0 -0
  129. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud444q65o.jpg +0 -0
  130. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudgsq75s.jpg +0 -0
  131. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudoddq65o.jpg +0 -0
  132. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudqllo.jpg +0 -0
  133. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/copyright-documents-19990405.html +89 -0
  134. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/disco.jpg +0 -0
  135. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.3gp +0 -0
  136. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.jpg +0 -0
  137. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.mov +0 -0
  138. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.3gp +0 -0
  139. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.mov +0 -0
  140. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/excuse_me.wav +0 -0
  141. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/externalscript.js +1 -0
  142. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton.jpg +0 -0
  143. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton1.jpg +0 -0
  144. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton2.jpg +0 -0
  145. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton3.jpg +0 -0
  146. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton4.jpg +0 -0
  147. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/heroesLanding.3gp +0 -0
  148. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image1.jpg +0 -0
  149. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image2_b.jpg +0 -0
  150. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/myimage.jpg +0 -0
  151. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pacman.wav +0 -0
  152. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/plant.jpg +0 -0
  153. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image0.jpg +0 -0
  154. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image1.jpg +0 -0
  155. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image2.jpg +0 -0
  156. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image3.jpg +0 -0
  157. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image4.jpg +0 -0
  158. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image5.jpg +0 -0
  159. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image6.jpg +0 -0
  160. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image7.jpg +0 -0
  161. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image8.jpg +0 -0
  162. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image9.jpg +0 -0
  163. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script1.js +1 -0
  164. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script10.js +1 -0
  165. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script2.js +1 -0
  166. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script3.js +1 -0
  167. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script4.js +1 -0
  168. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script5.js +1 -0
  169. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script6.js +1 -0
  170. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script7.js +1 -0
  171. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script8.js +1 -0
  172. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script9.js +1 -0
  173. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.3gp +0 -0
  174. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.jpg +0 -0
  175. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-01.jpg +0 -0
  176. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-02.jpg +0 -0
  177. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/svgRef4.css +4 -0
  178. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/welcome.wav +0 -0
  179. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/xmltree.xml +4 -0
  180. data/ext/mathematical/lasem/tests/fuzztest.sh +12 -0
  181. data/ext/mathematical/lasem/tests/suite.ini +27 -0
  182. data/ext/mathematical/lasem/tools/change-license +3 -0
  183. data/ext/mathematical/lasem/tools/charlist.dtd +73 -0
  184. data/ext/mathematical/lasem/tools/entities-to-c.xsl +1067 -0
  185. data/ext/mathematical/lasem/tools/fuzzxml +243 -0
  186. data/ext/mathematical/lasem/tools/unicode.xml +44303 -0
  187. data/ext/mathematical/lasem_overrides.c +25 -4
  188. data/ext/mathematical/lasem_overrides.h +5 -0
  189. data/ext/mathematical/lib/liblasem.dylib +0 -0
  190. data/ext/mathematical/mtex2MML/CONTRIBUTING.md +22 -0
  191. data/ext/mathematical/mtex2MML/README.md +143 -0
  192. data/ext/mathematical/mtex2MML/SUPPORTED.md +1214 -0
  193. data/ext/mathematical/mtex2MML/appveyor.yml +25 -0
  194. data/ext/mathematical/mtex2MML/build.ps1 +2 -0
  195. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeDetermineCompilerABI_C.bin +0 -0
  196. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeDetermineCompilerABI_CXX.bin +0 -0
  197. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CompilerIdC/a.out +0 -0
  198. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +375 -0
  199. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CompilerIdCXX/a.out +0 -0
  200. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +208 -0
  201. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +69 -0
  202. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +1 -0
  203. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +69 -0
  204. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +1 -0
  205. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +69 -0
  206. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +1 -0
  207. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +69 -0
  208. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +1 -0
  209. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +69 -0
  210. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +1 -0
  211. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +69 -0
  212. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +1 -0
  213. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +69 -0
  214. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +1 -0
  215. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +69 -0
  216. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +1 -0
  217. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +69 -0
  218. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +1 -0
  219. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +69 -0
  220. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +1 -0
  221. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +69 -0
  222. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +1 -0
  223. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +69 -0
  224. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +1 -0
  225. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +69 -0
  226. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +1 -0
  227. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +69 -0
  228. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +1 -0
  229. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +69 -0
  230. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +1 -0
  231. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +69 -0
  232. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +1 -0
  233. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +69 -0
  234. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +1 -0
  235. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +69 -0
  236. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +1 -0
  237. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +1137 -0
  238. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +69 -0
  239. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +1 -0
  240. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +69 -0
  241. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +1 -0
  242. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +69 -0
  243. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +1 -0
  244. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +69 -0
  245. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +1 -0
  246. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +69 -0
  247. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +1 -0
  248. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +69 -0
  249. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +1 -0
  250. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +69 -0
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +1 -0
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +69 -0
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +1 -0
  254. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +69 -0
  255. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +1 -0
  256. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +69 -0
  257. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +1 -0
  258. data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +1 -0
  259. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +69 -0
  260. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +1 -0
  261. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +253 -0
  262. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +2 -0
  263. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +8 -0
  264. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +9 -0
  265. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +148 -0
  266. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +251 -0
  267. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +48 -0
  268. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +48 -0
  269. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +8 -0
  270. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +9 -0
  271. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +69 -0
  272. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +1 -0
  273. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +276 -0
  274. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +2 -0
  275. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +8 -0
  276. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +10 -0
  277. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +683 -0
  278. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +2 -0
  279. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +8 -0
  280. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +26 -0
  281. data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +1 -0
  282. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +94 -0
  283. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +10 -0
  284. data/ext/mathematical/mtex2MML/build/parser.output +117661 -0
  285. data/ext/mathematical/mtex2MML/deps/strdup/package.json +12 -0
  286. data/ext/mathematical/mtex2MML/deps/uthash/package.json +26 -0
  287. data/ext/mathematical/mtex2MML/script/bootstrap +30 -0
  288. data/ext/mathematical/mtex2MML/script/cibuild +11 -0
  289. data/ext/mathematical/mtex2MML/script/release +27 -0
  290. data/ext/mathematical/mtex2MML/src/y.output +117655 -0
  291. data/ext/mathematical/mtex2MML/tests/debug/mtex2MML_debug.cc +21 -0
  292. data/ext/mathematical/mtex2MML/tests/deps/file2str/package.json +9 -0
  293. data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +7 -0
  294. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-1.html +86 -0
  295. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-2.html +148 -0
  296. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-3.html +188 -0
  297. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/arrows-2.html +156 -0
  298. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-1.html +45 -0
  299. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-2.html +35 -0
  300. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-1.html +16 -0
  301. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-2.html +3 -0
  302. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-3.html +5 -0
  303. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/buildrel-1.html +3 -0
  304. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue490.html +0 -0
  305. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue877.html +3 -0
  306. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue937.html +3 -0
  307. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html +3 -0
  308. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbracket-1.html +3 -0
  309. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overset-1.html +3 -0
  310. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/sideset-1.html +5 -0
  311. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/stackrel-1.html +3 -0
  312. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/subarray-1.html +1 -0
  313. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/substack-1.html +3 -0
  314. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbrace-1.html +3 -0
  315. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbracket-1.html +3 -0
  316. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underset-1.html +3 -0
  317. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/mathtip-1.html +6 -0
  318. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/texttip-1.html +6 -0
  319. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/toggle-1.html +7 -0
  320. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/Newextarrow-1.html +10 -0
  321. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-1.html +34 -0
  322. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-2.html +30 -0
  323. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-3.html +9 -0
  324. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-4.html +13 -0
  325. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-5.html +7 -0
  326. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathbin-1.html +7 -0
  327. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathinner-1.html +3 -0
  328. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1a.html +3 -0
  329. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1b.html +5 -0
  330. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-2.html +5 -0
  331. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html +3 -0
  332. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathord-1.html +3 -0
  333. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html +3 -0
  334. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathrel-1.html +3 -0
  335. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html +16 -0
  336. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html +3 -0
  337. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-2.html +25 -0
  338. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/remap-1.html +5 -0
  339. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/color-1.html +3 -0
  340. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/colorbox-1.html +3 -0
  341. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-1.html +37 -0
  342. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-2.html +79 -0
  343. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/fcolorbox-1.html +7 -0
  344. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/issue446.html +5 -0
  345. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/namedcolors-1.html +70 -0
  346. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-1.html +3 -0
  347. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-2.html +3 -0
  348. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-3.html +3 -0
  349. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html +3 -0
  350. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html +4 -0
  351. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue775.html +3 -0
  352. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html +6 -0
  353. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html +6 -0
  354. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-2.html +6 -0
  355. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-3.html +6 -0
  356. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-4.html +6 -0
  357. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-5.html +6 -0
  358. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/left-right-1.html +3 -0
  359. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1a.html +7 -0
  360. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1b.html +7 -0
  361. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1a.html +6 -0
  362. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1b.html +6 -0
  363. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-1.html +9 -0
  364. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-2.html +14 -0
  365. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignedat-1.html +8 -0
  366. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalign-1.html +8 -0
  367. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalignno-1.html +8 -0
  368. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html +7 -0
  369. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html +7 -0
  370. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-2.html +64 -0
  371. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-1.html +5 -0
  372. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-2.html +5 -0
  373. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1a.html +7 -0
  374. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1b.html +7 -0
  375. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-1.html +7 -0
  376. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-2.html +12 -0
  377. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1a.html +5 -0
  378. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1b.html +5 -0
  379. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2a.html +5 -0
  380. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2b.html +5 -0
  381. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3a.html +5 -0
  382. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3b.html +5 -0
  383. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/leqalignno-1.html +11 -0
  384. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1a.html +7 -0
  385. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1b.html +7 -0
  386. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/split-1.html +9 -0
  387. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noErrors-1.html +5 -0
  388. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noUndefined-1.html +3 -0
  389. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/above-1.html +3 -0
  390. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html +3 -0
  391. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atop-1.html +3 -0
  392. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html +3 -0
  393. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/binom-1.html +3 -0
  394. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brace-1.html +3 -0
  395. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brack-1.html +3 -0
  396. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/cfrac-1.html +3 -0
  397. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/choose-1.html +3 -0
  398. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dbinom-1.html +3 -0
  399. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dfrac-1.html +3 -0
  400. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1a.html +3 -0
  401. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1b.html +3 -0
  402. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/genfrac-1.html +3 -0
  403. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/issue969.html +3 -0
  404. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html +3 -0
  405. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tbinom-1.html +3 -0
  406. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tfrac-1.html +3 -0
  407. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-1.html +1 -0
  408. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-2.html +4 -0
  409. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue375.html +3 -0
  410. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue856.html +3 -0
  411. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1a.html +5 -0
  412. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html +5 -0
  413. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1c.html +5 -0
  414. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html +5 -0
  415. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/boxes-1.html +5 -0
  416. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1a.html +3 -0
  417. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1b.html +3 -0
  418. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/llap-1.html +3 -0
  419. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/lower-1.html +4 -0
  420. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/mathstrut-1.html +3 -0
  421. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveleft-1.html +3 -0
  422. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveright-1.html +3 -0
  423. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/newline-1.html +3 -0
  424. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/phantom-1.html +4 -0
  425. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/raise-1.html +3 -0
  426. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/rlap-1.html +3 -0
  427. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/shove-1.html +19 -0
  428. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1a.html +3 -0
  429. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1b.html +3 -0
  430. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/smash-1.html +3 -0
  431. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/spaces-1.html +18 -0
  432. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +3 -0
  433. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/vcenter-1.html +3 -0
  434. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-1.html +32 -0
  435. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-2.html +13 -0
  436. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-3.html +6 -0
  437. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-4.html +13 -0
  438. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/hebrew-1.html +6 -0
  439. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/begingroup-1.html +15 -0
  440. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/def-1.html +5 -0
  441. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/let-1.html +14 -0
  442. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-1.html +7 -0
  443. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-2.html +25 -0
  444. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-3.html +50 -0
  445. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-5.html +5 -0
  446. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-6.html +7 -0
  447. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-7.html +7 -0
  448. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html +3 -0
  449. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/bf-1.html +3 -0
  450. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html +9 -0
  451. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +3 -0
  452. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +3 -0
  453. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/it-1.html +3 -0
  454. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html +3 -0
  455. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html +3 -0
  456. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html +3 -0
  457. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html +3 -0
  458. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +3 -0
  459. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +3 -0
  460. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html +3 -0
  461. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +3 -0
  462. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +3 -0
  463. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html +3 -0
  464. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html +3 -0
  465. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mit-1.html +3 -0
  466. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html +3 -0
  467. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +3 -0
  468. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +3 -0
  469. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/sf-1.html +3 -0
  470. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/text-1.html +3 -0
  471. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html +3 -0
  472. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textit-1.html +3 -0
  473. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +3 -0
  474. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html +3 -0
  475. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html +3 -0
  476. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/tt-1.html +3 -0
  477. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1a.html +7 -0
  478. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1b.html +7 -0
  479. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-2.html +3 -0
  480. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-3.html +3 -0
  481. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html +7 -0
  482. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html +7 -0
  483. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-1.html +7 -0
  484. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-2.html +7 -0
  485. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html +7 -0
  486. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html +8 -0
  487. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html +3 -0
  488. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html +7 -0
  489. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html +7 -0
  490. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-1.html +120 -0
  491. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-2.html +35 -0
  492. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-3.html +138 -0
  493. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/amounts-1.html +46 -0
  494. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-1.html +235 -0
  495. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-2.html +159 -0
  496. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/basics-1.html +139 -0
  497. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/bonds-1.html +256 -0
  498. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/environments-1.html +81 -0
  499. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/isotopes-1.html +30 -0
  500. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/math-1.html +101 -0
  501. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/special_symbols-1.html +176 -0
  502. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Rule-1.html +5 -0
  503. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html +3 -0
  504. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/class-1.html +3 -0
  505. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/cssId-1.html +3 -0
  506. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-1.html +3 -0
  507. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-2.html +3 -0
  508. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/require-1.html +3 -0
  509. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/style-1.html +3 -0
  510. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/unicode-1.html +8 -0
  511. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/LaTeX-1.html +4 -0
  512. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/bbox-1.html +6 -0
  513. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/boxed-1.html +3 -0
  514. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cancel-1.html +6 -0
  515. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cases-1.html +3 -0
  516. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/displaylines-1.html +7 -0
  517. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/enclose-1.html +8 -0
  518. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/functions-1.html +34 -0
  519. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-1.html +5 -0
  520. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-2.html +8 -0
  521. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-3.html +3 -0
  522. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mathsize-1.html +11 -0
  523. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mod-1.html +5 -0
  524. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +5 -0
  525. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/pod-1.html +3 -0
  526. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-1.html +8 -0
  527. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-2.html +4 -0
  528. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-3.html +3 -0
  529. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-1.html +7 -0
  530. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-2.html +0 -0
  531. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-1.html +3 -0
  532. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-2.html +3 -0
  533. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/eqref-1.html +5 -0
  534. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-1.html +7 -0
  535. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-2.html +1 -0
  536. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/notag-1.html +5 -0
  537. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-1.html +5 -0
  538. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-2.html +5 -0
  539. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-3.html +5 -0
  540. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-1.html +3 -0
  541. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-2.html +3 -0
  542. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-3.html +3 -0
  543. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-1.html +3 -0
  544. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-2.html +3 -0
  545. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/binaryops-1.html +32 -0
  546. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/dots-1.html +26 -0
  547. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-1.html +4 -0
  548. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-2.html +3 -0
  549. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +39 -0
  550. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-1.html +25 -0
  551. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-2.html +31 -0
  552. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-3.html +40 -0
  553. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-4.html +39 -0
  554. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-5.html +56 -0
  555. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-6.html +49 -0
  556. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-1.no_tex +8 -0
  557. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-2.no_tex +13 -0
  558. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-3.no_tex +23 -0
  559. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-1.no_tex +23 -0
  560. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-2.no_tex +26 -0
  561. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-1.no_tex +14 -0
  562. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-2.no_tex +14 -0
  563. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue490.no_tex +3 -0
  564. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/mathtip-1.no_tex +2 -0
  565. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/texttip-1.no_tex +2 -0
  566. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/toggle-1.no_tex +3 -0
  567. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/Newextarrow-1.xtex +4 -0
  568. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathbin-1.no_tex +3 -0
  569. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-2.xtex +3 -0
  570. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-2.xtex +5 -0
  571. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1a.xtex +7 -0
  572. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1b.xtex +7 -0
  573. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1c.xtex +7 -0
  574. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-2.xtex +13 -0
  575. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/fcolorbox-1.xtex +3 -0
  576. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/issue446.xtex +5 -0
  577. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1c.no_tex +7 -0
  578. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-2a.no_tex +8 -0
  579. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/leqalignno-1.xtex +8 -0
  580. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noErrors-1.no_tex +3 -0
  581. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noUndefined-1.no_tex +2 -0
  582. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1151.no_tex +3 -0
  583. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-1.xtex +1 -0
  584. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-1.xtex +6 -0
  585. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-2.xtex +16 -0
  586. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/shove-1.xtex +7 -0
  587. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/begingroup-1.no_tex +8 -0
  588. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/def-1.no_tex +4 -0
  589. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/let-1.no_tex +5 -0
  590. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1a.no_tex +3 -0
  591. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1b.no_tex +3 -0
  592. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-2.no_tex +3 -0
  593. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-3.no_tex +5 -0
  594. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-5.no_tex +3 -0
  595. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-6.no_tex +5 -0
  596. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-7.no_tex +11 -0
  597. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-1.no_tex +8 -0
  598. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-2.no_tex +3 -0
  599. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-3.no_tex +7 -0
  600. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/amounts-1.no_tex +4 -0
  601. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-1.no_tex +10 -0
  602. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-2.no_tex +9 -0
  603. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/basics-1.no_tex +13 -0
  604. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/bonds-1.no_tex +11 -0
  605. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/environments-1.no_tex +6 -0
  606. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/isotopes-1.no_tex +3 -0
  607. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/math-1.no_tex +4 -0
  608. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/special_symbols-1.no_tex +7 -0
  609. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Rule-1.no_tex +3 -0
  610. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/class-1.no_tex +3 -0
  611. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/cssId-1.no_tex +3 -0
  612. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-1.no_tex +3 -0
  613. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-2.no_tex +3 -0
  614. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/require-1.no_tex +5 -0
  615. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/style-1.no_tex +3 -0
  616. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/unicode-1.no_tex +3 -0
  617. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/displaylines-1.xtex +8 -0
  618. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-2.no_tex +10 -0
  619. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/eqref-1.no_tex +7 -0
  620. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-1.no_tex +3 -0
  621. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-2.no_tex +2 -0
  622. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1a.no_tex +2 -0
  623. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1b.no_tex +2 -0
  624. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-2.no_tex +2 -0
  625. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-3.no_tex +2 -0
  626. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-1.no_tex +1 -0
  627. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-2.no_tex +1 -0
  628. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-3.no_tex +3 -0
  629. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-4.no_tex +3 -0
  630. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/TODO.md +3 -0
  631. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.html +32 -0
  632. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.html +8 -0
  633. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.html +12 -0
  634. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.html +5 -0
  635. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.html +5 -0
  636. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.html +9 -0
  637. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.html +10 -0
  638. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.html +10 -0
  639. data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.html +6 -0
  640. data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.html +5 -0
  641. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +7 -0
  642. data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.html +1 -0
  643. data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.html +6 -0
  644. data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +1 -0
  645. data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.html +1 -0
  646. data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.html +3 -0
  647. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +3 -0
  648. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.html +3 -0
  649. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.html +24 -0
  650. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/brackets.html +1 -0
  651. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.html +2 -0
  652. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.html +27 -0
  653. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/double_dollar.html +1 -0
  654. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_brackets.html +35 -0
  655. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_dollars.html +35 -0
  656. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_parens.html +35 -0
  657. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed.html +1 -0
  658. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/parens.html +1 -0
  659. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_dollar.html +1 -0
  660. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.html +6 -0
  661. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.html +6 -0
  662. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.html +5 -0
  663. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.html +5 -0
  664. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.html +5 -0
  665. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.html +4 -0
  666. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.html +5 -0
  667. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.html +5 -0
  668. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.html +4 -0
  669. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.html +7 -0
  670. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.html +7 -0
  671. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.html +6 -0
  672. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.html +6 -0
  673. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.html +6 -0
  674. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.html +5 -0
  675. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.html +7 -0
  676. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.html +7 -0
  677. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.html +6 -0
  678. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.html +5 -0
  679. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.html +5 -0
  680. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.html +4 -0
  681. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.html +8 -0
  682. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.html +7 -0
  683. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.html +5 -0
  684. data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.html +7 -0
  685. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.html +6 -0
  686. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.html +6 -0
  687. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.html +5 -0
  688. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.html +5 -0
  689. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.html +5 -0
  690. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.html +4 -0
  691. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.html +6 -0
  692. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.html +6 -0
  693. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.html +5 -0
  694. data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.html +1 -0
  695. data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.html +1 -0
  696. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.html +1 -0
  697. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.html +11 -0
  698. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.html +7 -0
  699. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.html +5 -0
  700. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.html +6 -0
  701. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.html +6 -0
  702. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +12 -0
  703. data/ext/mathematical/mtex2MML/tests/generate.py +244 -0
  704. data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +72 -0
  705. data/lib/mathematical/version.rb +1 -1
  706. data/mathematical.gemspec +1 -3
  707. metadata +699 -23
  708. data/ext/mathematical/lasem/Makefile +0 -1037
  709. data/ext/mathematical/lasem/config.h +0 -87
  710. data/ext/mathematical/lasem/docs/Makefile +0 -793
  711. data/ext/mathematical/lasem/docs/reference/Makefile +0 -735
  712. data/ext/mathematical/lasem/docs/reference/lasem/Makefile +0 -1029
  713. data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl-list.txt +0 -245
  714. data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl.txt +0 -856
  715. data/ext/mathematical/lasem/itex2mml/Makefile +0 -742
  716. data/ext/mathematical/lasem/itex2mml/lex.yy.c +0 -6294
  717. data/ext/mathematical/lasem/itex2mml/y.tab.c +0 -5796
  718. data/ext/mathematical/lasem/itex2mml/y.tab.h +0 -378
  719. data/ext/mathematical/lasem/po/Makefile +0 -413
  720. data/ext/mathematical/lasem/src/Makefile +0 -1343
  721. data/ext/mathematical/lasem/src/lsmdomenumtypes.c +0 -99
  722. data/ext/mathematical/lasem/src/lsmdomenumtypes.h +0 -26
  723. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +0 -793
  724. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +0 -96
  725. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +0 -1254
  726. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +0 -129
  727. data/ext/mathematical/lasem/tests/Makefile +0 -776
@@ -1,8 +1,27 @@
1
1
  #include "ruby.h"
2
2
 
3
- #include <lasem_overrides.h>
3
+ #include "lasem_overrides.h"
4
4
  #include <string.h>
5
- #include "mtex2MML.h"
5
+ #include <mtex2MML.h>
6
+
7
+ void
8
+ itex2MML_free_string (char * str)
9
+ {
10
+ return mtex2MML_free_string(str);
11
+ }
12
+
13
+ void
14
+ lsm_itex_free_mathml_buffer (char *mathml)
15
+ {
16
+ if (mathml == NULL)
17
+ return;
18
+
19
+ mtex2MML_free_string (mathml);
20
+ }
21
+
22
+ char *
23
+ lsm_itex_to_mathml (const char *itex, gssize size) { }
24
+
6
25
 
7
26
  char *
8
27
  lsm_mtex_to_mathml (const char *mtex, gssize size, int delimiter, int render_type)
@@ -41,8 +60,10 @@ lsm_mtex_to_mathml (const char *mtex, gssize size, int delimiter, int render_typ
41
60
  mathml = mtex2MML_output();
42
61
  break;
43
62
  default:
44
- /* should be impossible, Ruby code prevents this */
45
- print_and_raise(rb_eTypeError, "not valid render format");
63
+ mathml = mtex2MML_parse(mtex, usize, delimiter);
64
+ if (mathml == NULL) {
65
+ status = 1;
66
+ }
46
67
  break;
47
68
  }
48
69
 
@@ -8,6 +8,11 @@
8
8
  #define TEXT_FILTER 2
9
9
  #define STRICT_FILTER 3
10
10
 
11
+ /* Dummies for mtex2MML_free_string */
12
+ void itex2MML_free_string (char * str);
13
+ void lsm_itex_free_mathml_buffer (char *mathml);
14
+ char * lsm_itex_to_mathml (const char *itex, gssize size);
15
+
11
16
  /**
12
17
  * lsm_mtex_to_mathml:
13
18
  * @mtex: (allow-none): an mtex string
Binary file
@@ -0,0 +1,22 @@
1
+ ## Bug fixes
2
+
3
+ If you're interested in fixing a bug, there are two files you'll likely need to change:
4
+
5
+ * *lexer.l*, which contains the grammar rules for the TeX characters.
6
+ * *parser.y*, which acts on the grammar states and converts the data into MathML.
7
+
8
+ If you submit a PR for something new, you should also add tests. You may need to update [SUPPORTED.md](SUPPORTED.md), too.
9
+
10
+ ## Feature requests
11
+
12
+ Want something added, but don't want to code? That's cool! Please provide a clear example of the math TeX and a reason why you think it should be added. For example:
13
+
14
+ > I'd like to be able to use `\douglas` in my equations, like this:
15
+ >
16
+ > $$
17
+ > \douglas - 2 = 40
18
+ > $$
19
+ >
20
+ > This shorthand notation is very popular among British mathematicians.
21
+
22
+ Simply stating "Please add this syntax" without a reason might not get a reply.
@@ -0,0 +1,143 @@
1
+ # mtex2MML
2
+
3
+ [![Build Status](https://travis-ci.org/gjtorikian/mtex2MML.svg?branch=master)](https://travis-ci.org/gjtorikian/mtex2MML) [![Build status](https://ci.appveyor.com/api/projects/status/0ynwxikxqp5rseu3?svg=true)](https://ci.appveyor.com/project/gjtorikian/mtex2mml)
4
+
5
+ This is a Bison grammar to convert TeX math into MathML. It can be used as a standalone program or as a static library. It is written in standard C99. It's been tested on OS X, Ubuntu, and Windows.
6
+
7
+ The goal of this project is to implement as much of AMS-TeX math as possible.
8
+
9
+ This code is a fork of [the itex2MML project](https://golem.ph.utexas.edu/~distler/blog/itex2MML.html), originally written by Jacques Distler and Paul Gartside. It has vastly more support for AMS-TeX math than the original, with a much larger test suite.
10
+
11
+ ### Why MathML?!
12
+
13
+ It's true, MathML is not well supported in browsers. (Kudos to the Firefox team for sticking with it!)
14
+
15
+ However, you can consider MathML as an intermediate format onto greater things, like conversion to SVG via [mathematical](https://github.com/gjtorikian/mathematical).
16
+
17
+ ## What's supported?
18
+
19
+ Please refer to [SUPPORTED.md](SUPPORTED.md) for more information on what this lib can do. Right now it has a ~93% compatibility with everything MathJax can do.
20
+
21
+ The most obvious gap in this library is the inability to define new commands (via `\mathop`, `\def`, `\mathchoice`, etc.). Everything else in standard TeX math should be fine.
22
+
23
+ ## Usage
24
+
25
+ By default, inline equations are demarcated by `$...$`. Display equations are demarcated by `$$...$$`. You can change these to `\(..\)` and `\[..\]` respectively; see below for configuration.
26
+
27
+ You cannot nest equations; for example, `$$...\text{foo $...$ bar}...$$` is not allowed.
28
+
29
+ ### Heuristics
30
+
31
+ Since `$` signs appear quite often in plaintext, a basic heuristic is applied to calculate whether `$` should be interpreted as math or not:
32
+
33
+ > Basic heuristic is: opening $ can't be followed by whitespace, closing $ can't be followed by
34
+ a digit or preceded by whitespace." -- @jgm, http://bit.ly/1HVtemx */
35
+
36
+ Of course, if you type `\$`, no math is applied as the `$` is considered skipped.
37
+
38
+ ### As a library
39
+
40
+ Both a static and dynamic library are created as part of the `cmake` build process. Include one of them during the compilation of your program.
41
+
42
+ #### Methods available
43
+
44
+ The library exposes the following methods:
45
+
46
+ * `char * mtex2MML_parse(const char * str, unsigned long strlen, const int options)`: Converts a single TeX equation in `str` to MathML. Returns just the MathML equation, as a string.
47
+
48
+ * `char * mtex2MML_global_parse(const char * str, unsigned long strlen, const int options, int global_start)`: The same as `mtex2MML_parse`, but allows you to provide a starting integer for equation numbering. Returns just the MathML equation, as a string.
49
+
50
+ * `int mtex2MML_filter(const char * str, unsigned long strlen, const int options)`: Given a string with a mix of TeX math and non-math elements, this returns a single string containing just the converted math elements. Equations are automatically numbered. Returns a `status` indicating success (`0`) or failure. You must access the resulting string with `mtex2MML_output`.
51
+
52
+ * `int mtex2MML_text_filter(const char * str, unsigned long strlen, const int options)`: Given a string with a mix of TeX math and non-math elements, this converts all the math and leaves the rest of the string unmodified. Equations are automatically numbered. Returns a `status` indicating success (`0`) or failure. You must access the resulting string with `mtex2MML_output`. HTML within a math equation are normalized (eg. `<` becomes `&lt;`).
53
+
54
+ * `int mtex2MML_strict_filter(const char * str, unsigned long strlen, const int options)`: Given a string with a mix of TeX math and non-math elements, this converts all the math and leaves the rest of the string unmodified. Equations are automatically numbered. Returns a `status` indicating success (`0`) or failure. You must access the resulting string with `mtex2MML_output`. HTML tags are removed completely.
55
+
56
+ The `options` argument determines which types of delimiters are to be used:
57
+
58
+ * `MTEX2MML_DELIMITER_DEFAULT` is the default, using `$..$` for inline and `$$..$$` for display.
59
+ * `MTEX2MML_DELIMITER_DOLLAR` uses single dollar signs: `$..$` for inline.
60
+ * `MTEX2MML_DELIMITER_DOUBLE` uses double dollar signs: `$$..$$` for display.
61
+ * `MTEX2MML_DELIMITER_PARENS` uses parenthesis: `\(..\)` for inline.
62
+ * `MTEX2MML_DELIMITER_BRACKETS` uses brackets: `\[..\]` for brackets.
63
+
64
+ [The *tests/basic.c*](tests/basic.c) and [the *tests/delimiters.c*](tests/delimiters.c) suites provides a demonstrate of how these methods can be used.
65
+
66
+ ### As a command
67
+
68
+ Like any good Unix program, the mtex2MML binary operates on pipes. That is to say, it works like this:
69
+
70
+ ```
71
+ echo '\sin y' | mtex2MML --inline > math.txt
72
+ ```
73
+
74
+ Use `mtex2MML -h` to get documentation on the options.
75
+
76
+ ## Error handling
77
+
78
+ A `0` status indicates a success, while anything else indicates a failure, [as per the Bison documentation](http://www.gnu.org/software/bison/manual/html_node/Parser-Function.html). If a token cannot be parsed, or if the tokenization is nested too deep, the library will bail with a non-zero status code. An error message is also printed to STDERR.
79
+
80
+ [The *tests/maliciousness.c* suite](tests/maliciousness.c) has a demonstration on how to perform error handling.
81
+
82
+ ## Building
83
+
84
+ To build mtex2MML, you need:
85
+
86
+ * [CMake](http://www.cmake.org/download/) (at least version 2.8.7)
87
+ * [Bison](https://www.gnu.org/software/bison/)
88
+ * [Flex](http://flex.sourceforge.net/)
89
+ * [Python3](https://www.python.org/) (just for the tests)
90
+
91
+ ### OS X and Ubuntu
92
+
93
+ To fetch dependencies, build, and run the library, call:
94
+
95
+ ```
96
+ script/bootstrap
97
+ cd build
98
+ cmake ..
99
+ make
100
+ ```
101
+
102
+ ### Windows
103
+
104
+ With [Chocolatey](https://chocolatey.org/), you can run:
105
+
106
+ ```
107
+ choco install cmake winflexbison python3
108
+ ```
109
+
110
+ Then, with Powershell, simply run `build.ps1`.
111
+
112
+ ## Testing
113
+
114
+ Assuming you've built the programs, to run the test suite:
115
+
116
+ ```
117
+ cd build
118
+ ctest -V
119
+ ```
120
+
121
+ mtex2MML has a test suite that mimics the one found in [MathJax](https://github.com/mathjax/MathJax-test), with a few exceptions:
122
+
123
+ * Files marked as `.xtex` have features that are not implemented, but probably should be in the future.
124
+ * Files marked as `.no_tex` have features that probably won't be implemented.
125
+
126
+ During the test run, the suite will list the percentage of features that still need coverage.
127
+
128
+ ## Installing
129
+
130
+ To install the mtex2MML binary, you can run:
131
+
132
+ ```
133
+ cd build
134
+ make install
135
+ ```
136
+
137
+ ## Contributing
138
+
139
+ Found a bug or want to request a feature? Great! Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information!
140
+
141
+ ## License
142
+
143
+ As with the original version(s), this is Open Source software, released under a triple license: [GPL](http://choosealicense.com/licenses/gpl-2.0/), [MPL](http://choosealicense.com/licenses/mpl-2.0/), and [LGPL](http://choosealicense.com/licenses/lgpl-2.1/).
@@ -0,0 +1,1214 @@
1
+ This list represents the complete set of commands supported by mtex2MML.
2
+
3
+ The most obvious gap in this library is the inability to define new commands (via `\mathop`, `\def`, `\mathchoice`, etc.). Everything else in standard TeX math should be fine, though.
4
+
5
+ ## Symbols
6
+
7
+ ``` latex
8
+ _
9
+ (
10
+ )
11
+ [
12
+ ]
13
+ /
14
+ \
15
+ \,
16
+ \;
17
+ \:
18
+ \!
19
+ \!
20
+ \{
21
+ \}
22
+ \&
23
+ \#
24
+ \%
25
+ \>
26
+ \|
27
+ \|
28
+ \$
29
+ ```
30
+
31
+ ## A
32
+
33
+ ``` latex
34
+ \above
35
+ \abovewithdelims
36
+ \acute
37
+ \aleph
38
+ \alpha
39
+ \Alpha
40
+ \amalg
41
+ \And
42
+ \angle
43
+ \approx
44
+ \approxeq
45
+ \arccos
46
+ \arcsin
47
+ \arctan
48
+ \arg
49
+ \Arrowvert
50
+ \arrowvert
51
+ \ast
52
+ \asymp
53
+ \atop
54
+ \atopwithdelims
55
+ ```
56
+
57
+ ## B
58
+
59
+ ``` latex
60
+ \backepsilon
61
+ \backprime
62
+ \backsim
63
+ \backsimeq
64
+ \backslash
65
+ \bar
66
+ \barwedge
67
+ \Bbb
68
+ \bbox
69
+ \bcancel
70
+ \because
71
+ \beta
72
+ \Beta
73
+ \beth
74
+ \between
75
+ \bf
76
+ \bgcolor
77
+ \big
78
+ \Big
79
+ \bigcap
80
+ \bigcirc
81
+ \bigcup
82
+ \Bigg
83
+ \bigg
84
+ \Biggl
85
+ \biggl
86
+ \Biggm
87
+ \biggm
88
+ \Biggr
89
+ \biggr
90
+ \biginterleave
91
+ \Bigl
92
+ \bigl
93
+ \Bigm
94
+ \bigm
95
+ \bigodot
96
+ \bigoplus
97
+ \bigotimes
98
+ \bigr
99
+ \Bigr
100
+ \bigsqcap
101
+ \bigsqcup
102
+ \bigstar
103
+ \bigtriangledown
104
+ \bigtriangleup
105
+ \biguplus
106
+ \bigvee
107
+ \bigwedge
108
+ \binom
109
+ \blacklozenge
110
+ \blacksquare
111
+ \blacktriangle
112
+ \blacktriangledown
113
+ \blacktriangleleft
114
+ \blacktriangleright
115
+ \bmod
116
+ \boldsymbol
117
+ \bot
118
+ \bottom
119
+ \bowtie
120
+ \Box
121
+ \boxdot
122
+ \boxed
123
+ \boxminus
124
+ \boxplus
125
+ \boxtimes
126
+ \brace
127
+ \bracevert
128
+ \brack
129
+ \breve
130
+ \buildrel
131
+ \bullet
132
+ \Bumpeq
133
+ \bumpeq
134
+ ```
135
+
136
+ ## C
137
+
138
+ ``` latex
139
+ \cal
140
+ \cancel
141
+ \cancelto
142
+ \canceledto
143
+ \Cap
144
+ \cap
145
+ \cdot
146
+ \cdotp
147
+ \cdots
148
+ \centerdot
149
+ \cfrac
150
+ \check
151
+ \checkmark
152
+ \chi
153
+ \choose
154
+ \circ
155
+ \circeq
156
+ \circlearrowleft
157
+ \circlearrowright
158
+ \circledast
159
+ \circledcirc
160
+ \circleddash
161
+ \circledR
162
+ \circledS
163
+ \clap
164
+ \closure
165
+ \clubsuit
166
+ \colon
167
+ \Colonapprox
168
+ \colonapprox
169
+ \Coloneq
170
+ \coloneq
171
+ \Coloneqq
172
+ \coloneqq
173
+ \Colonsim
174
+ \colonsim
175
+ \color
176
+ \colorbox
177
+ \complement
178
+ \cong
179
+ \conint
180
+ \contourintegral
181
+ \coprod
182
+ \coproduct
183
+ \cos
184
+ \cosh
185
+ \cot
186
+ \coth
187
+ \cr
188
+ \csc
189
+ \Cup
190
+ \cup
191
+ \curlyeqprec
192
+ \curlyeqsucc
193
+ \curlyvee
194
+ \curlywedge
195
+ \curvearrowbotright
196
+ \curvearrowleft
197
+ \curvearrowright
198
+ ```
199
+
200
+ ## D
201
+
202
+ ``` latex
203
+ \dagger
204
+ \daleth
205
+ \darr
206
+ \dashleftarrow
207
+ \dashrightarrow
208
+ \dashv
209
+ \dbinom
210
+ \dblcolon
211
+ \ddagger
212
+ \ddddot
213
+ \dddot
214
+ \ddot
215
+ \ddots
216
+ \deg
217
+ \Del
218
+ \Delta
219
+ \delta
220
+ \det
221
+ \dfrac
222
+ \diagdown
223
+ \diagup
224
+ \Diamond
225
+ \diamond
226
+ \diamondsuit
227
+ \digamma
228
+ \dim
229
+ \displaystyle
230
+ \div
231
+ \divideontimes
232
+ \dot
233
+ \Doteq
234
+ \doteq
235
+ \doteqdot
236
+ \dotplus
237
+ \dots
238
+ \dotsb
239
+ \dotsc
240
+ \dotsi
241
+ \dotsm
242
+ \dotso
243
+ \doublebarwedge
244
+ \doublecap
245
+ \doublecup
246
+ \doubleintegral
247
+ \Downarrow
248
+ \downarrow
249
+ \downdownarrows
250
+ \downharpoonleft
251
+ \downharpoonright
252
+ \downuparrow
253
+ \duparr
254
+ ```
255
+
256
+ ## E
257
+
258
+ ``` latex
259
+ \ell
260
+ \embedsin
261
+ \emptyset
262
+ \enclose
263
+ \enspace
264
+ \epsilon
265
+ \eqcirc
266
+ \eqalign
267
+ \eqalignno
268
+ \eqcolon
269
+ \Eqcolon
270
+ \eqqcolon
271
+ \Eqqcolon
272
+ \eqsim
273
+ \eqslantgtr
274
+ \eqslantless
275
+ \equiv
276
+ \eta
277
+ \Eta
278
+ \eth
279
+ \exists
280
+ \exp
281
+ ```
282
+
283
+ ## F
284
+
285
+ ``` latex
286
+ \fallingdotseq
287
+ \fbox
288
+ \Finv
289
+ \flat
290
+ \forall
291
+ \frac
292
+ \frak
293
+ \frown
294
+ ```
295
+
296
+ ## G
297
+
298
+ ``` latex
299
+ \Game
300
+ \Gamma
301
+ \gamma
302
+ \gcd
303
+ \ge
304
+ \geq
305
+ \geqq
306
+ \geqslant
307
+ \genfrac
308
+ \gets
309
+ \gg
310
+ \ggg
311
+ \gggtr
312
+ \gimel
313
+ \gnapprox
314
+ \gneq
315
+ \gneqq
316
+ \gnsim
317
+ \grave
318
+ \gt
319
+ \gtrapprox
320
+ \gtrdot
321
+ \gtreqless
322
+ \gtreqqless
323
+ \gtrless
324
+ \gtrsim
325
+ \gvertneqq
326
+ ```
327
+
328
+ ## H
329
+
330
+ ``` latex
331
+ \hat
332
+ \hbar
333
+ \hbox
334
+ \hdashline
335
+ \heartsuit
336
+ \hline
337
+ \hom
338
+ \hookleftarrow
339
+ \hookrightarrow
340
+ \hphantom
341
+ \hskip
342
+ \hslash
343
+ \hspace
344
+ \Huge
345
+ \huge
346
+ ```
347
+
348
+ ## I
349
+
350
+ ``` latex
351
+ \idotsint
352
+ \iff
353
+ \iiiint
354
+ \iiint
355
+ \iint
356
+ \Im
357
+ \imath
358
+ \implies
359
+ \impliedby
360
+ \in
361
+ \inf
362
+ \infinity
363
+ \infty
364
+ \injlim
365
+ \int
366
+ \integral
367
+ \intercal
368
+ \intersection
369
+ \Intersection
370
+ \intop
371
+ \invamp
372
+ \iota
373
+ \Iota
374
+ \it
375
+ ```
376
+
377
+ ## J
378
+
379
+ ``` latex
380
+ \jmath
381
+ \Join
382
+ ```
383
+
384
+ ## K
385
+
386
+ ``` latex
387
+ \Kappa
388
+ \kappa
389
+ \ker
390
+ \kern
391
+ ```
392
+
393
+ ## L
394
+
395
+ ``` latex
396
+ \Lambda
397
+ \lambda
398
+ \land
399
+ \lang
400
+ \langle
401
+ \LARGE
402
+ \Large
403
+ \large
404
+ \LaTeX
405
+ \lbrace
406
+ \lbrack
407
+ \lceil
408
+ \lcorner
409
+ \ldotp
410
+ \ldots
411
+ \le
412
+ \leadsto
413
+ \Leftarrow
414
+ \leftarrow
415
+ \leftarrowtail
416
+ \leftharpoondown
417
+ \leftharpoonup
418
+ \leftleftarrows
419
+ \Leftrightarrow
420
+ \leftrightarrow
421
+ \leftrightarrows
422
+ \leftrightharpoons
423
+ \leftrightsquigarrow
424
+ \leftrightsquigarrow
425
+ \leftroot
426
+ \leftsquigarrow
427
+ \leftthreetimes
428
+ \lefttorightarrow
429
+ \leq
430
+ \leqq
431
+ \leqslant
432
+ \lessapprox
433
+ \lessdot
434
+ \lesseqgtr
435
+ \lesseqqgtr
436
+ \lessgtr
437
+ \lesssim
438
+ \lfloor
439
+ \lg
440
+ \lgroup
441
+ \lhd
442
+ \lim
443
+ \liminf
444
+ \limits
445
+ \limsup
446
+ \ll
447
+ \llangle
448
+ \llap
449
+ \llcorner
450
+ \Lleftarrow
451
+ \lll
452
+ \llless
453
+ \lmoustache
454
+ \ln
455
+ \lnapprox
456
+ \lneq
457
+ \lneqq
458
+ \lnot
459
+ \lnsim
460
+ \log
461
+ \lor
462
+ \Longleftarrow
463
+ \longleftarrow
464
+ \Longleftrightarrow
465
+ \longleftrightarrow
466
+ \longmapsto
467
+ \longrightarrow
468
+ \Longrightarrow
469
+ \looparrowleft
470
+ \looparrowright
471
+ \lrcorner
472
+ \lower
473
+ \lozenge
474
+ \Lsh
475
+ \lt
476
+ \ltimes
477
+ \lVert
478
+ \lvert
479
+ \lvertneqq
480
+ ```
481
+
482
+ ## M
483
+
484
+ ``` latex
485
+ \maltese
486
+ \map
487
+ \mapsto
488
+ \mathbb
489
+ \mathbf
490
+ \mathbin
491
+ \mathcal
492
+ \mathclap
493
+ \mathclose
494
+ \mathfr
495
+ \mathfrak
496
+ \mathit
497
+ \mathinner
498
+ \mathllap
499
+ \mathop
500
+ \mathopen
501
+ \mathord
502
+ \mathpunct
503
+ \mathraisebox
504
+ \mathrel
505
+ \mathring
506
+ \mathrlap
507
+ \mathrm
508
+ \mathscr
509
+ \mathsf
510
+ \mathstrut
511
+ \mathtt
512
+ \max
513
+ \mbox
514
+ \measuredangle
515
+ \medspace
516
+ \mho
517
+ \mid
518
+ \min
519
+ \minusb
520
+ \mkern
521
+ \mod
522
+ \models
523
+ \moveleft
524
+ \moveright
525
+ \mp
526
+ \mskip
527
+ \mspace
528
+ \mtexnum
529
+ \mu
530
+ \Mu
531
+ \multimap
532
+ \multiscripts
533
+ ```
534
+
535
+ ## N
536
+
537
+ ``` latex
538
+ \nabla
539
+ \natural
540
+ \ncong
541
+ \ne
542
+ \neArr
543
+ \nearr
544
+ \neArrow
545
+ \nearrow
546
+ \neg
547
+ \negmedspace
548
+ \negthickspace
549
+ \negthinspace
550
+ \neq
551
+ \nequiv
552
+ \nexists
553
+ \ngeq
554
+ \ngeqq
555
+ \ngeqslant
556
+ \ngtr
557
+ \ni
558
+ \nLeftarrow
559
+ \nleftarrow
560
+ \nLeftrightarrow
561
+ \nleftrightarrow
562
+ \nleq
563
+ \nleqq
564
+ \nleqslant
565
+ \nless
566
+ \nmid
567
+ \nobreakspace
568
+ \nolimits
569
+ \nonumber
570
+ \normalsize
571
+ \not
572
+ \notag
573
+ \notin
574
+ \notni
575
+ \nparallel
576
+ \nprec
577
+ \npreceq
578
+ \nRightarrow
579
+ \nrightarrow
580
+ \nshortmid
581
+ \nshortparallel
582
+ \nsim
583
+ \nsubset
584
+ \nsubseteq
585
+ \nsubseteqq
586
+ \nsucc
587
+ \nsucceq
588
+ \nsupset
589
+ \nsupseteq
590
+ \nsupseteqq
591
+ \ntriangleleft
592
+ \ntrianglelefteq
593
+ \ntriangleright
594
+ \ntrianglerighteq
595
+ \Nu
596
+ \nu
597
+ \nvDash
598
+ \nvdash
599
+ \nVDash
600
+ \nVdash
601
+ \nwArr
602
+ \nwarr
603
+ \nwArrow
604
+ \nwarrow
605
+ ```
606
+
607
+ ## O
608
+
609
+ ``` latex
610
+ \odash
611
+ \odot
612
+ \oint
613
+ \oldstyle
614
+ \Omega
615
+ \omega
616
+ \omicron
617
+ \ominus
618
+ \operatorname
619
+ \oplus
620
+ \Oplus
621
+ \oslash
622
+ \otimes
623
+ \Otimes
624
+ \over
625
+ \overbrace
626
+ \overbracket
627
+ \overleftarrow
628
+ \overleftrightarrow
629
+ \overline
630
+ \overrightarrow
631
+ \overset
632
+ \overwithdelims
633
+ \owns
634
+ ```
635
+
636
+ ## P
637
+
638
+ ``` latex
639
+ \parallel
640
+ \parr
641
+ \partial
642
+ \Perp
643
+ \perp
644
+ \phantom
645
+ \Phi
646
+ \phi
647
+ \Pi
648
+ \pi
649
+ \pitchfork
650
+ \plusb
651
+ \pm
652
+ \pmb
653
+ \pmod
654
+ \pod
655
+ \Pr
656
+ \prec
657
+ \precapprox
658
+ \preccurlyeq
659
+ \preceq
660
+ \precnapprox
661
+ \precneqq
662
+ \precnsim
663
+ \precsim
664
+ \prime
665
+ \prod
666
+ \product
667
+ \projlim
668
+ \propto
669
+ \Psi
670
+ \psi
671
+ ```
672
+
673
+ ## Q
674
+
675
+ ``` latex
676
+ \qed
677
+ \qquad
678
+ \quad
679
+ \quadrupleintegral
680
+ ```
681
+
682
+ ## R
683
+
684
+ ``` latex
685
+ \raise
686
+ \rang
687
+ \rangle
688
+ \rbrace
689
+ \rbrack
690
+ \rceil
691
+ \Re
692
+ \restriction
693
+ \rfloor
694
+ \rgroup
695
+ \rhd
696
+ \Rho
697
+ \rho
698
+ \Rightarrow
699
+ \rightarrow
700
+ \rightarrowtail
701
+ \rightharpoondown
702
+ \rightharpoonup
703
+ \rightleftarrows
704
+ \rightleftharpoons
705
+ \rightrightarrows
706
+ \rightsquigarrow
707
+ \rightthreetimes
708
+ \righttoleftarrow
709
+ \risingdotseq
710
+ \rlap
711
+ \rm
712
+ \rmoustache
713
+ \root
714
+ \Rrightarrow
715
+ \rrangle
716
+ \Rsh
717
+ \rtimes
718
+ \rVert
719
+ \rvert
720
+ ```
721
+
722
+ ## S
723
+
724
+ ``` latex
725
+ \S
726
+ \scr
727
+ \scriptscriptsize
728
+ \scriptscriptstyle
729
+ \scriptsize
730
+ \scriptstyle
731
+ \searr
732
+ \seArr
733
+ \searrow
734
+ \seArrow
735
+ \sec
736
+ \setminus
737
+ \sf
738
+ \sharp
739
+ \shortmid
740
+ \shortparallel
741
+ \sideset
742
+ \Sigma
743
+ \sigma
744
+ \sim
745
+ \simeq
746
+ \sin
747
+ \sinh
748
+ \slash
749
+ \skew
750
+ \small
751
+ \smallfrown
752
+ \smallint
753
+ \smallsetminus
754
+ \smallsmile
755
+ \smash
756
+ \smile
757
+ \Space
758
+ \space
759
+ \spadesuit
760
+ \sphericalangle
761
+ \sqcap
762
+ \sqcup
763
+ \sqrt
764
+ \sqsubset
765
+ \sqsubseteq
766
+ \sqsupset
767
+ \sqsupseteq
768
+ \square
769
+ \sslash
770
+ \stackrel
771
+ \star
772
+ \strut
773
+ \subset
774
+ \Subset
775
+ \subseteq
776
+ \subseteqq
777
+ \subsetneq
778
+ \subsetneqq
779
+ \substack
780
+ \succ
781
+ \succapprox
782
+ \succcurlyeq
783
+ \succeq
784
+ \succnapprox
785
+ \succneqq
786
+ \succnsim
787
+ \succsim
788
+ \sum
789
+ \sup
790
+ \supset
791
+ \Supset
792
+ \supseteq
793
+ \supseteqq
794
+ \supsetneq
795
+ \supsetneqq
796
+ \surd
797
+ \swarr
798
+ \swArr
799
+ \swarrow
800
+ \swArrow
801
+ ```
802
+
803
+ ## T
804
+
805
+ ``` latex
806
+ \tan
807
+ \tanh
808
+ \tau
809
+ \Tau
810
+ \tbinom
811
+ \tensor
812
+ \TeX
813
+ \text
814
+ \textbf
815
+ \textit
816
+ \textrm
817
+ \textsf
818
+ \textsize
819
+ \textstyle
820
+ \texttt
821
+ \tfrac
822
+ \therefore
823
+ \Theta
824
+ \theta
825
+ \thickapprox
826
+ \thicksim
827
+ \thickspace
828
+ \thinspace
829
+ \tilde
830
+ \times
831
+ \timesb
832
+ \Tiny
833
+ \tiny
834
+ \to
835
+ \top
836
+ \triangle
837
+ \triangledown
838
+ \triangleleft
839
+ \trianglelefteq
840
+ \triangleq
841
+ \triangleright
842
+ \trianglerighteq
843
+ \tripleintegral
844
+ \tt
845
+ \twoheadleftarrow
846
+ \twoheadrightarrow
847
+ ```
848
+
849
+ ## U
850
+
851
+ ``` latex
852
+ \udots
853
+ \ulcorner
854
+ \underbrace
855
+ \underbracket
856
+ \underleftarrow
857
+ \underleftrightarrow
858
+ \underline
859
+ \underoverset (such as `\underoverset{subscript}{superscript}{symbol}`)
860
+ \underrightarrow
861
+ \underset
862
+ \Union
863
+ \union
864
+ \unlhd
865
+ \unrhd
866
+ \uparr
867
+ \Uparrow
868
+ \uparrow
869
+ \updarr
870
+ \Updownarrow
871
+ \updownarrow
872
+ \upharpoonleft
873
+ \upharpoonright
874
+ \uplus
875
+ \uproot
876
+ \Upsi
877
+ \Upsilon
878
+ \upsilon
879
+ \upuparrows
880
+ \urcorner
881
+ ```
882
+
883
+ ## V
884
+
885
+ ``` latex
886
+ \varDelta
887
+ \varepsilon
888
+ \varGamma
889
+ \varinjlim
890
+ \varkappa
891
+ \varLambda
892
+ \varliminf
893
+ \varlimsup
894
+ \varnothing
895
+ \varOmega
896
+ \varphi
897
+ \varPhi
898
+ \varpi
899
+ \varPi
900
+ \varprojlim
901
+ \varpropto
902
+ \varPsi
903
+ \varrho
904
+ \varsigma
905
+ \varSigma
906
+ \varsubsetneq
907
+ \varsubsetneqq
908
+ \varsupsetneq
909
+ \varsupsetneqq
910
+ \vartheta
911
+ \varTheta
912
+ \vartriangle
913
+ \vartriangleleft
914
+ \vartriangleright
915
+ \varUpsilon
916
+ \varXi
917
+ \Vbar
918
+ \vcenter
919
+ \vDash
920
+ \vdash
921
+ \VDash
922
+ \Vdash
923
+ \vdots
924
+ \vec
925
+ \vee
926
+ \Vee
927
+ \veebar
928
+ \verb
929
+ \Vert
930
+ \vert
931
+ \vphantom
932
+ \Vvdash
933
+ ```
934
+
935
+ ## W
936
+
937
+ ``` latex
938
+ \wedge
939
+ \Wedge
940
+ \widebar
941
+ \widecheck
942
+ \widehat
943
+ \widetilde
944
+ \widevec
945
+ \wp
946
+ \wr
947
+ ```
948
+
949
+ ## X
950
+
951
+ ``` latex
952
+ \xcancel
953
+ \xhookleftarrow
954
+ \xhookrightarrow
955
+ \Xi
956
+ \xi
957
+ \xleftarrow
958
+ \xLeftarrow
959
+ \xleftrightarrow
960
+ \xLeftrightarrow
961
+ \xleftrightharpoons
962
+ \xlongequal
963
+ \xmapsto
964
+ \xrightarrow
965
+ \xRightarrow
966
+ \xrightleftharpoons
967
+ \xtofrom
968
+ \xtwoheadleftarrow
969
+ \xtwoheadrightarrow
970
+ ```
971
+
972
+ ## Y
973
+
974
+ ``` latex
975
+ \yen
976
+ ```
977
+
978
+ ## Z
979
+
980
+ ``` latex
981
+ \zeta
982
+ \Zeta
983
+ ```
984
+
985
+ ## Environments
986
+
987
+ ``` latex
988
+ \begin{env}...\end{env}
989
+ ```
990
+
991
+ where `env` is one of
992
+
993
+ ``` latex
994
+ align
995
+ align*
996
+ alignat
997
+ alignat*
998
+ aligned
999
+ alignedat
1000
+ array
1001
+
1002
+ Bmatrix
1003
+ bmatrix
1004
+
1005
+ cases
1006
+
1007
+ eqnarray
1008
+ eqnarray*
1009
+ equation
1010
+ equation*
1011
+
1012
+ gather
1013
+ gather*
1014
+ gathered
1015
+
1016
+ matrix
1017
+ multline
1018
+ multline*
1019
+
1020
+ pmatrix
1021
+
1022
+ smallmatrix
1023
+ split
1024
+ subarray
1025
+ svg
1026
+
1027
+ Vmatrix
1028
+ vmatrix
1029
+ ```
1030
+
1031
+ ### The `array` Environment
1032
+
1033
+ As in standard LaTeX, the `array` environment takes one optional
1034
+ argument, indicating the alignment of the whole array with the respect
1035
+ to the equation axis, and one mandatory argument, indicating the
1036
+ alignment of the columns. Thus
1037
+
1038
+ ``` latex
1039
+ \begin{array}[t]{clrc}
1040
+ 1 & 2 & 3 & 4 \\
1041
+ 5 & 6 & 7 & 8 \\
1042
+ 9 & 10& 11& 12
1043
+ \end{array}
1044
+ ```
1045
+
1046
+ produces an array with four columns. The first and last column are
1047
+ centered; the second and third are, respectively, left- and
1048
+ right-aligned. The top line of the array is aligned with the equation
1049
+ axis.
1050
+
1051
+ As in AMSLaTeX
1052
+
1053
+ ``` latex
1054
+ \begin{matrix}
1055
+ ...
1056
+ \end{matrix}
1057
+ ```
1058
+
1059
+ is precisely equivalent to
1060
+
1061
+ ```
1062
+ \begin{array}{cc...c}
1063
+ ...
1064
+ \end{array}
1065
+ ```
1066
+
1067
+ except that you don't have to explicitly state the number of columns.
1068
+
1069
+ ### Column separators
1070
+
1071
+ While defining columns, you can use `|` to indicate an unbroken vertical line, and `:` to indicate a dashed line. For example:
1072
+
1073
+ ``` latex
1074
+ \begin{array}[b]{c:c|c}
1075
+ Bad & Good & Ugly
1076
+ \end{array}
1077
+ ```
1078
+
1079
+ This creates a dashed column between `Bad & Good` and an unbroken line between `Good & Bad`.
1080
+
1081
+ Placing either a `:` or `|` as the first or last character creates a frame around the array. For example:
1082
+
1083
+
1084
+ ``` latex
1085
+ \begin{array}[b]{|c:c|c}
1086
+ Bad & Good & Ugly
1087
+ \end{array}
1088
+ ```
1089
+
1090
+ This creates an unbroken frame around the array. It's also equivalent to
1091
+
1092
+
1093
+ ``` latex
1094
+ \begin{array}[b]{c:c|c|}
1095
+ Bad & Good & Ugly
1096
+ \end{array}
1097
+ ```
1098
+
1099
+ ### The `svg` Environment
1100
+
1101
+ Using the `svg` environment:
1102
+
1103
+ ``` latex
1104
+ \begin{svg}
1105
+ ...
1106
+ \end{svg}
1107
+ ```
1108
+
1109
+ allows you to embed snippets of SVG in mtex equations. To assist in [Instiki](http://golem.ph.utexas.edu/instiki/show/HomePage)'s LaTeX export feature, you can also include a `graphicx` command:
1110
+
1111
+ ``` latex
1112
+ \begin{svg}
1113
+ ...
1114
+ \end{svg}
1115
+ \includegraphics[width=...]{foo}
1116
+ ```
1117
+
1118
+ where `foo.pdf` is a file containing a PDF version of the graphic. In mtex, the `\includegraphics` command is defined as a NOOP, and the SVG is embedded in the MathML output. In Instiki's LaTeX export, the opposite is true: the `svg` environment is a NOOP, and the `\includegraphics` command is included in the output.
1119
+
1120
+ ## WebTeX-style Arrays and Array Options
1121
+
1122
+ The [WebTeX notation for arrays](https://golem.ph.utexas.edu/~distler/WebTeX/docs/wtxsec7.html#ARRAY) is also supported.
1123
+
1124
+ The `\array{}` command allows much finer control over the layout of arrays than is available in the standard (AMS)LaTeX-style environments above.
1125
+
1126
+ <dl>
1127
+ <dt><code>\array</code></dt>
1128
+ <dd>
1129
+ <dl>
1130
+ <dt><code>\arrayopts</code></dt>
1131
+ <dd>
1132
+ <code>\collayout</code> (=<code>\colalign</code>)
1133
+ <code>\rowalign</code>
1134
+ <code>\align</code>
1135
+ <code>\equalcols</code>
1136
+ <code>\equalrows</code>
1137
+ <code>\collines</code>
1138
+ <code>\rowlines</code>
1139
+ <code>\frame</code>
1140
+ <code>\padding</code>
1141
+ </dd>
1142
+ <dt><code>\rowopts</code></dt>
1143
+ <dd>
1144
+ <code>\colalign</code>
1145
+ <code>\rowalign</code>
1146
+ </dd>
1147
+ <dt><code>\cellopts</code></dt>
1148
+ <dd>
1149
+ <code>\colalign</code>
1150
+ <code>\rowalign</code>
1151
+ <code>\rowspan</code>
1152
+ <code>\colspan</code>
1153
+ </dd>
1154
+ </dl>
1155
+ </dd>
1156
+ </dl>
1157
+
1158
+ ## Numbers
1159
+
1160
+ In MathML, numbers are represented as `<mn>127.3</mn>`. mtex2MML does its best to intelligently parse what's a number and what's not. Unfortunately, conventions for things like [decimal markers](http://en.wikipedia.org/wiki/Decimal_separator) are very culture-dependent, and incompatibly-so. If you don't like the way mtex2MML parses the would-be numbers in your input, you can force it to interpret a certain string as a number, using the `\mtexnum{}` command.
1161
+
1162
+ ## Colors
1163
+
1164
+ `\color{colourspec}` changes the current foreground color. `colourspec` is either:
1165
+
1166
+ * A CSS named color: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_Keywords
1167
+ * A LaTeX named color: http://en.wikibooks.org/wiki/LaTeX/Colors
1168
+ * An RGB color value:
1169
+ * `#rgb` or `#rrggbb`, a three- or six-digit hexadecimal number.
1170
+ `#000000` is black `#FFFFFF` is white, and `#1AC=#11AACC`.
1171
+
1172
+ For example:
1173
+
1174
+ ``` latex
1175
+ a { b \color{red} c \color{#0F0} d } e
1176
+ ```
1177
+
1178
+ renders `a`, `b`, and `e` in the default color (usually black), `c` in red, and `d` in green.
1179
+
1180
+ The alternate LaTeX syntax, involving specifying a color model is not supported:
1181
+
1182
+ ``` latex
1183
+ \color[cmyk]{0, 0.1, 0.5, 0.3}
1184
+ ```
1185
+
1186
+ A new command, `\bgcolor{colourspec}` works the same way, but changes the current background color.
1187
+
1188
+ `\colorbox` changes the background color, and adds some padding, using the `mpadding` element.
1189
+
1190
+ ## Interactivity
1191
+
1192
+
1193
+ <dl>
1194
+ <dt><code>\href{<i>url</i>}{<i>expression</i>}</code></dt>
1195
+ <dd>Turns a mathematical <i>expression</i> into a clickable link. This makes use of <a href="http://www.w3.org/TR/xlink/">Xlink</a>.</dd>
1196
+
1197
+ <dt><code>\statusline{<i>message</i>}{<i>expression</i>}</code></dt>
1198
+ <dd>Displays the <i>message</i> text in the browser's status-line, when the user hovers his mouse over the mathematical <i>expression</i>.</dd>
1199
+
1200
+ <dt><code>\tooltip{<i>message</i>}{<i>expression</i>}</code></dt>
1201
+ <dd>Displays the <i>message</i> text as a tooltip, when the user hovers his mouse over the mathematical <i>expression</i>.</dd>
1202
+
1203
+ <dt><code>\fghilight{<i>colourspec</i>}{<i>expression</i>}</code> (<code>\fghighlight</code>)</dt>
1204
+ <dd>Change the foreground color of an expression when the user hovers over it.</dd>
1205
+
1206
+ <dt><code>\bghilight{<i>colourspec</i>}{<i>expression</i>}</code> (<code>\bghighlight</code>)</dt>
1207
+ <dd>Change the background color of an expression when the user hovers over it.</dd>
1208
+
1209
+ <dt><code>\toggle{<i>expression1</i>}{<i>expression2</i>}</code></dt>
1210
+ <dd>Toggle between these two expressions when the user clicks on them.</dd>
1211
+
1212
+ <dt><code>\begintoggle{<i>expression1</i>}{<i>expression2</i>}...{<i>expressionN</i>}\endtoggle</code></dt>
1213
+ <dd>Toggle between these <i>n</i> expressions when the user clicks on them.</dd>
1214
+ </dl>