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
@@ -0,0 +1,672 @@
1
+ var svg_ns = "http://www.w3.org/2000/svg";
2
+ var xlink_ns = "http://www.w3.org/1999/xlink";
3
+
4
+ var count=0;
5
+ var column = 0;
6
+ var topsvg = document.documentElement;
7
+ var startY = 50;
8
+ var rowHeight = 8;
9
+ var rowWidth = 240;
10
+ var fontSize = "8";
11
+ var isPassed = true;
12
+
13
+
14
+ /************************************************************************
15
+ ************************************************************************
16
+ * Utility Functions
17
+ ************************************************************************
18
+ ************************************************************************/
19
+
20
+
21
+ function drawString( text, color )
22
+ {
23
+ node_to_insert=document.createElementNS(svg_ns,"text");
24
+ node_to_insert.setAttributeNS(null,"font-size",fontSize);
25
+ var xVal = 5 +( column * rowWidth );
26
+ node_to_insert.setAttributeNS(null,"x", xVal.toString() );
27
+ var yVal = startY + count++ * rowHeight;
28
+ node_to_insert.setAttributeNS(null, "y", yVal.toString() );
29
+ node_to_insert.setAttributeNS(null, "fill", color );
30
+ node_to_insert.textContent=text ;
31
+ document.getElementById( "test-body-content" ).appendChild(node_to_insert);
32
+
33
+ if ( count > 26 && column == 0 )
34
+ {
35
+ count = 1;
36
+ column++;
37
+ }
38
+ }
39
+
40
+
41
+
42
+
43
+ /**
44
+ * Get a string representation of the given SVGPath object.
45
+ */
46
+ function getSVGPathString( path )
47
+ {
48
+ if ( 0 == path.numberOfSegments )
49
+ {
50
+ return "";
51
+ }
52
+
53
+ var str = "[ ";
54
+ for ( var segNum = 0; segNum < path.numberOfSegments; ++segNum )
55
+ {
56
+ var pathSeg = path.getSegment( segNum );
57
+
58
+ var numParams = 2;
59
+ switch( pathSeg )
60
+ {
61
+ case SVGPath.MOVE_TO:
62
+ str += "M";
63
+ break;
64
+
65
+ case SVGPath.LINE_TO:
66
+ str += "L";
67
+ break;
68
+
69
+ case SVGPath.CURVE_TO:
70
+ str += "C";
71
+ numParams = 6;
72
+ break;
73
+
74
+ case SVGPath.QUAD_TO:
75
+ str += "Q";
76
+ numParams = 4;
77
+ break;
78
+
79
+ case SVGPath.CLOSE:
80
+ str += "Z";
81
+ numParams = 0;
82
+ break;
83
+
84
+ default:
85
+ // Should not happen.
86
+ return 0;
87
+ }
88
+
89
+ str += " ";
90
+
91
+ for ( var parNum = 0; parNum < numParams; ++parNum )
92
+ {
93
+ str += path.getSegmentParam( segNum, parNum ).toString();
94
+ str += " ";
95
+ }
96
+
97
+ str += " ";
98
+ }
99
+
100
+ str += "]";
101
+ return str;
102
+ }
103
+
104
+
105
+ /**
106
+ * Check if two SVGPath objects are equal.
107
+ * p1 : first path
108
+ * p2 : second path
109
+ * dev : allowed +/- deviation for float values
110
+ * Returns 1 if they are equal, 0 otherwise.
111
+ */
112
+ function isEqualSVGPath( p1, p2, dev )
113
+ {
114
+ if ( p1.numberOfSegments != p2.numberOfSegments )
115
+ {
116
+ return 0;
117
+ }
118
+
119
+ for ( var segNum = 0; segNum < p1.numberOfSegments; ++segNum )
120
+ {
121
+ var p1Seg = p1.getSegment( segNum );
122
+ var p2Seg = p2.getSegment( segNum );
123
+ if ( p1Seg != p2Seg )
124
+ {
125
+ return 0;
126
+ }
127
+
128
+ var numParams = 2;
129
+ switch( p1Seg )
130
+ {
131
+ case SVGPath.MOVE_TO:
132
+ break;
133
+
134
+ case SVGPath.LINE_TO:
135
+ break;
136
+
137
+ case SVGPath.CURVE_TO:
138
+ numParams = 6;
139
+ break;
140
+
141
+ case SVGPath.QUAD_TO:
142
+ numParams = 4;
143
+ break;
144
+
145
+ case SVGPath.CLOSE:
146
+ numParams = 0;
147
+ break;
148
+
149
+ default:
150
+ // Should not happen.
151
+ return 0;
152
+ }
153
+
154
+ for ( var parNum = 0; parNum < numParams; ++parNum )
155
+ {
156
+ var p1Param = p1.getSegmentParam( segNum, parNum );
157
+ var p2Param = p2.getSegmentParam( segNum, parNum );
158
+ if
159
+ (
160
+ ( ( p1Param < ( p2Param - dev ) ) || ( p1Param >( p2Param + dev ) ) ) &&
161
+ ( ( p2Param < ( p1Param - dev ) ) || ( p2Param >( p1Param + dev ) ) )
162
+ )
163
+ {
164
+ return 0;
165
+ }
166
+ }
167
+ }
168
+ return 1;
169
+ }
170
+
171
+
172
+ /************************************************************************
173
+ ************************************************************************
174
+ * Test Iteration Object Definitions
175
+ ************************************************************************
176
+ ************************************************************************/
177
+
178
+
179
+ /**
180
+ * Create a get*Trait() test iteration object.
181
+ * id : iter id
182
+ * fnName : function name (e.g. getTrait, getTraitNS, etc.)
183
+ * ns : namespace
184
+ * elem : SVG element
185
+ * attr : attribute/property name
186
+ * expected : expected value, 0 if no value is expected
187
+ * dev : allowed +/- deviation for float values
188
+ * ecode : expected exception code, 0 if no exception is expected
189
+ * ename : expected exception string, for display purposes, 0 if no exception is expected
190
+ */
191
+ function getTraitIter
192
+ (
193
+ id,
194
+ fnName,
195
+ ns,
196
+ elem,
197
+ attr,
198
+ expected,
199
+ dev,
200
+ ecode,
201
+ ename
202
+ )
203
+ {
204
+ this.id = id;
205
+ this.fnName = fnName;
206
+ this.ns = ns;
207
+ this.elem = elem;
208
+ this.attr = attr;
209
+ this.expected = expected;
210
+ this.dev = dev;
211
+ this.ecode = ecode;
212
+ this.ename = ename;
213
+ }
214
+
215
+
216
+ /**
217
+ * Create a set*Trait() test iteration object.
218
+ * id : iter id
219
+ * fnName : function name (e.g. setTrait, setTraitNS, etc.)
220
+ * getFnName : getter function name (e.g. getTrait, getTraitNS, etc.), used for verification
221
+ * ns : namespace
222
+ * elem : SVG element
223
+ * attr : attribute/property name
224
+ * value : value to set
225
+ * expected : expected value from getter function, 0 if no value expected
226
+ * dev : allowed +/- deviation for float values
227
+ * ecode : expected exception code, 0 if no exception expected
228
+ * ename : expected exception string, for display purposes, 0 if no exception expected
229
+ */
230
+ function setTraitIter
231
+ (
232
+ id,
233
+ fnName,
234
+ getFnName,
235
+ ns,
236
+ elem,
237
+ attr,
238
+ value,
239
+ expected,
240
+ dev,
241
+ ecode,
242
+ ename
243
+ )
244
+ {
245
+ this.id = id;
246
+ this.fnName = fnName;
247
+ this.getFnName = getFnName;
248
+ this.ns = ns;
249
+ this.elem = elem;
250
+ this.attr = attr;
251
+ this.value = value;
252
+ this.expected = expected;
253
+ this.dev = dev;
254
+ this.ecode = ecode;
255
+ this.ename = ename;
256
+ }
257
+
258
+
259
+ /************************************************************************
260
+ ************************************************************************
261
+ * Single Test Iteration Run Methods
262
+ ************************************************************************
263
+ ************************************************************************/
264
+
265
+
266
+ /**
267
+ * Run a single get*Trait() test iteration.
268
+ * iter : a getTraitIter object
269
+ */
270
+ function runSingleGetTraitIter( iter )
271
+ {
272
+ //DEBUG
273
+ //drawString( "runSingleGetTraitIter( "
274
+ // + "id=" + iter.id
275
+ // + ", fnName=" + iter.fnName
276
+ // + ", ns=" + iter.ns
277
+ // + ", elem=" + iter.elem
278
+ // + ", attr=" + iter.attr
279
+ // + ", expected=" + iter.expected
280
+ // + ", dev=" + iter.dev
281
+ // + ", ecode=" + iter.ecode
282
+ // + ", ename=" + iter.ename
283
+ // + " )" );
284
+
285
+ try
286
+ {
287
+ var cmd = iter.id + ": ";
288
+ var fnNameLen = iter.fnName.length;
289
+ var fnNameSuffix = iter.fnName.substring( fnNameLen - 2, fnNameLen );
290
+ if ( fnNameSuffix == "NS" )
291
+ {
292
+ cmd += iter.elem.id
293
+ + "."
294
+ + iter.fnName
295
+ + "( "
296
+ + iter.ns
297
+ + ", \""
298
+ + iter.attr
299
+ + "\" )";
300
+ value = iter.elem[iter.fnName]( iter.ns, iter.attr );
301
+ }
302
+ else if ( fnNameSuffix == "it" )
303
+ {
304
+ cmd += iter.elem.id
305
+ + "."
306
+ + iter.fnName
307
+ + "( \""
308
+ + iter.attr
309
+ + "\" )";
310
+ value = iter.elem[iter.fnName](iter.attr);
311
+ }
312
+ else
313
+ {
314
+ isPassed = false;
315
+ drawString( "runSingleGetTraitIter: Invalid fnName = " + iter.fnName, "red" );
316
+ }
317
+
318
+ if ( iter.ecode )
319
+ {
320
+ isPassed = false;
321
+ drawString( "No exception was thrown! Expected " + iter.ename, "red" );
322
+ }
323
+ else if ( iter.fnName.match("Float") )
324
+ {
325
+ if ( ( value >= ( iter.expected - iter.dev ) ) && ( value <= ( iter.expected + iter.dev ) ) )
326
+ {
327
+ drawString( cmd + " = \"" + value + "\" (" + iter.expected + " +/- " + iter.dev + ")", "green" );
328
+ }
329
+ else
330
+ {
331
+ isPassed = false;
332
+ drawString( cmd + " = \"" + value + "\", expected = " + iter.expected + " +/- " + iter.dev, "red" );
333
+ }
334
+ }
335
+ else if ( iter.fnName.match("Matrix") )
336
+ {
337
+ if
338
+ (
339
+ ( value.getComponent(0) >= ( iter.expected.getComponent(0) - iter.dev ) )
340
+ && ( value.getComponent(0) <= ( iter.expected.getComponent(0) + iter.dev ) )
341
+ && ( value.getComponent(1) >= ( iter.expected.getComponent(1) - iter.dev ) )
342
+ && ( value.getComponent(1) <= ( iter.expected.getComponent(1) + iter.dev ) )
343
+ && ( value.getComponent(2) >= ( iter.expected.getComponent(2) - iter.dev ) )
344
+ && ( value.getComponent(2) <= ( iter.expected.getComponent(2) + iter.dev ) )
345
+ && ( value.getComponent(3) >= ( iter.expected.getComponent(3) - iter.dev ) )
346
+ && ( value.getComponent(3) <= ( iter.expected.getComponent(3) + iter.dev ) )
347
+ && ( value.getComponent(4) >= ( iter.expected.getComponent(4) - iter.dev ) )
348
+ && ( value.getComponent(4) <= ( iter.expected.getComponent(4) + iter.dev ) )
349
+ && ( value.getComponent(5) >= ( iter.expected.getComponent(5) - iter.dev ) )
350
+ && ( value.getComponent(5) <= ( iter.expected.getComponent(5) + iter.dev ) )
351
+ )
352
+ {
353
+ drawString( cmd + " = ["
354
+ + value.getComponent(0) + " "
355
+ + value.getComponent(1) + " "
356
+ + value.getComponent(2) + " "
357
+ + value.getComponent(3) + " "
358
+ + value.getComponent(4) + " "
359
+ + value.getComponent(5)
360
+ + "] ( ["
361
+ + iter.expected.getComponent(0) + " "
362
+ + iter.expected.getComponent(1) + " "
363
+ + iter.expected.getComponent(2) + " "
364
+ + iter.expected.getComponent(3) + " "
365
+ + iter.expected.getComponent(4) + " "
366
+ + iter.expected.getComponent(5)
367
+ + "] +/- " + iter.dev + ")", "green" );
368
+ }
369
+ else
370
+ {
371
+ isPassed = false;
372
+ drawString( cmd + " = ["
373
+ + value.getComponent(0) + " "
374
+ + value.getComponent(1) + " "
375
+ + value.getComponent(2) + " "
376
+ + value.getComponent(3) + " "
377
+ + value.getComponent(4) + " "
378
+ + value.getComponent(5)
379
+ + "], expected = ["
380
+ + iter.expected.getComponent(0) + " "
381
+ + iter.expected.getComponent(1) + " "
382
+ + iter.expected.getComponent(2) + " "
383
+ + iter.expected.getComponent(3) + " "
384
+ + iter.expected.getComponent(4) + " "
385
+ + iter.expected.getComponent(5)
386
+ + "] +/- " + iter.dev, "red" );
387
+ }
388
+ }
389
+ else if ( iter.fnName.match("Rect") )
390
+ {
391
+ if
392
+ (
393
+ ( value.x >= ( iter.expected.x - iter.dev ) )
394
+ && ( value.x <= ( iter.expected.x + iter.dev ) )
395
+ && ( value.y >= ( iter.expected.y - iter.dev ) )
396
+ && ( value.y <= ( iter.expected.y + iter.dev ) )
397
+ && ( value.width >= ( iter.expected.width - iter.dev ) )
398
+ && ( value.width <= ( iter.expected.width + iter.dev ) )
399
+ && ( value.height >= ( iter.expected.height - iter.dev ) )
400
+ && ( value.height <= ( iter.expected.height + iter.dev ) )
401
+ )
402
+ {
403
+ drawString( cmd + " = ["
404
+ + value.x + " "
405
+ + value.y + " "
406
+ + value.width + " "
407
+ + value.height
408
+ + "] ( ["
409
+ + iter.expected.x + " "
410
+ + iter.expected.y + " "
411
+ + iter.expected.width + " "
412
+ + iter.expected.height
413
+ + "] +/- " + iter.dev + ")", "green" );
414
+ }
415
+ else
416
+ {
417
+ isPassed = false;
418
+ drawString( cmd + " = ["
419
+ + value.x + " "
420
+ + value.y + " "
421
+ + value.width + " "
422
+ + value.height
423
+ + "], expected = ["
424
+ + iter.expected.x + " "
425
+ + iter.expected.y + " "
426
+ + iter.expected.width + " "
427
+ + iter.expected.height
428
+ + "] +/- " + iter.dev, "red" );
429
+ }
430
+ }
431
+ else if ( iter.fnName.match("Path") )
432
+ {
433
+ if ( isEqualSVGPath ( value, iter.expected, iter.dev ) )
434
+ {
435
+ drawString( cmd + " = " + getSVGPathString(value)
436
+ + " ( " + getSVGPathString(iter.expected) + " +/- " + iter.dev + " )", "green" );
437
+ }
438
+ else
439
+ {
440
+ isPassed = false;
441
+ drawString( cmd + " = " + getSVGPathString(value)
442
+ + ", expected = " + getSVGPathString(iter.expected) + " +/- " + iter.dev, "red" );
443
+ }
444
+ }
445
+ else if ( iter.fnName.match("RGBColor") )
446
+ {
447
+ if ( value == null && iter.expected == null )
448
+ {
449
+ drawString( cmd + " = [ null ] ( null ) ", "green" );
450
+ }
451
+ else if
452
+ (
453
+ ( value.red >= ( iter.expected.red - iter.dev ) ) &&
454
+ ( value.red <= ( iter.expected.red + iter.dev ) ) &&
455
+ ( value.green >= ( iter.expected.green - iter.dev ) ) &&
456
+ ( value.green <= ( iter.expected.green + iter.dev ) ) &&
457
+ ( value.blue >= ( iter.expected.blue - iter.dev ) ) &&
458
+ ( value.blue <= ( iter.expected.blue + iter.dev ) )
459
+ )
460
+ {
461
+ drawString( cmd + " = [ "
462
+ + value.red + ", "
463
+ + value.green + ", "
464
+ + value.blue
465
+ + " ] ( "
466
+ + iter.expected.red + ", "
467
+ + iter.expected.green + ", "
468
+ + iter.expected.blue
469
+ + " ] +/- " + iter.dev + " )", "green" );
470
+ }
471
+ else
472
+ {
473
+ isPassed = false;
474
+ drawString( cmd + " = [ "
475
+ + value.red + ", "
476
+ + value.green + ", "
477
+ + value.blue
478
+ + " ], expected = [ "
479
+ + iter.expected.red + ", "
480
+ + iter.expected.green + ", "
481
+ + iter.expected.blue
482
+ + " ] +/- " + iter.dev, "red" );
483
+ }
484
+ }
485
+ else
486
+ {
487
+ if ( value == iter.expected )
488
+ {
489
+ drawString( cmd + " = \"" + value + "\"", "green" );
490
+ }
491
+ else
492
+ {
493
+ isPassed = false;
494
+ drawString( cmd + " = \"" + value + "\", expected = \"" + iter.expected + "\"", "red" );
495
+ }
496
+ }
497
+ }
498
+ catch(e)
499
+ {
500
+ if ( e.code == iter.ecode )
501
+ {
502
+ drawString( cmd + ", got expected exception = " + iter.ename, "green" );
503
+ }
504
+ else
505
+ {
506
+ isPassed = false;
507
+ drawString( cmd + ", got unexpected exception = (" + e.code + ") "
508
+ + ", expecting = (" + iter.ecode + ") " + iter.ename, "red" );
509
+ }
510
+ }
511
+ }
512
+
513
+
514
+ /**
515
+ * Run a single set*Trait() test iteration.
516
+ * iter : a setTraitIter object
517
+ */
518
+ function runSingleSetTraitIter( iter )
519
+ {
520
+ //DEBUG
521
+ //drawString( "runSingleSetTraitIter( "
522
+ // + "id=" + iter.id
523
+ // + ", fnName=" + iter.fnName
524
+ // + ", getFnName=" + iter.getFnName
525
+ // + ", ns=" + iter.ns
526
+ // + ", elem=" + iter.elem
527
+ // + ", attr=" + iter.attr
528
+ // + ", value=" + iter.value
529
+ // + ", expected=" + iter.expected
530
+ // + ", dev=" + iter.dev
531
+ // + ", ecode=" + iter.ecode
532
+ // + ", ename=" + iter.ename
533
+ // + " )" );
534
+
535
+
536
+ try
537
+ {
538
+ var cmd = iter.id + ": ";
539
+ var fnNameLen = iter.fnName.length;
540
+ var fnNameSuffix = iter.fnName.substring( fnNameLen - 2, fnNameLen );
541
+ if ( fnNameSuffix == "NS" )
542
+ {
543
+ cmd += iter.elem.id
544
+ + "."
545
+ + iter.fnName
546
+ + "( "
547
+ + iter.ns
548
+ + ", \""
549
+ + iter.attr
550
+ + "\", \""
551
+ + iter.value
552
+ + "\" )";
553
+ iter.elem[iter.fnName]( iter.ns, iter.attr, iter.value );
554
+ drawString( cmd, "green" );
555
+ }
556
+ else if ( fnNameSuffix == "it" )
557
+ {
558
+ cmd += iter.elem.id
559
+ + "."
560
+ + iter.fnName
561
+ + "( \""
562
+ + iter.attr
563
+ + "\", \""
564
+ + iter.value
565
+ + "\" )";
566
+ iter.elem[iter.fnName]( iter.attr, iter.value );
567
+ drawString( cmd, "green" );
568
+ }
569
+ else
570
+ {
571
+ isPassed = false;
572
+ drawString( "runSingleSetTraitIter: Invalid fnName = " + iter.fnName , "red");
573
+ }
574
+
575
+ if ( iter.ecode )
576
+ {
577
+ isPassed = false;
578
+ drawString( "No exception was thrown! Expected " + iter.ename, "red" );
579
+ }
580
+ else
581
+ {
582
+ runSingleGetTraitIter
583
+ (
584
+ new getTraitIter
585
+ (
586
+ iter.id,
587
+ iter.getFnName,
588
+ iter.ns,
589
+ iter.elem,
590
+ iter.attr,
591
+ iter.expected,
592
+ iter.dev,
593
+ 0,
594
+ 0
595
+ )
596
+ );
597
+ }
598
+
599
+ }
600
+ catch(e)
601
+ {
602
+ if ( e.code == iter.ecode )
603
+ {
604
+ drawString( cmd + ", got expected exception = " + iter.ename, "green" );
605
+ }
606
+ else
607
+ {
608
+ isPassed = false;
609
+ drawString( cmd + ", got unexpected exception = (" + e.code + ") "
610
+ + ", expecting = (" + iter.ecode + ") " + iter.ename, "red" );
611
+ }
612
+ }
613
+
614
+ }
615
+
616
+
617
+ /************************************************************************
618
+ ************************************************************************
619
+ * Bulk Test Iteration Run Methods
620
+ ************************************************************************
621
+ ************************************************************************/
622
+
623
+
624
+ /**
625
+ * Run all given getTraitIters.
626
+ * iters : array of getTraitIter objects
627
+ */
628
+ function runGetTraitIters( iters )
629
+ {
630
+ var value = "";
631
+ var elem = 0;
632
+
633
+ for( var i = 0; i < iters.length; ++i )
634
+ {
635
+ try
636
+ {
637
+ runSingleGetTraitIter( iters[i] );
638
+ }
639
+ catch(e)
640
+ {
641
+ isPassed = false;
642
+ drawString( "runGetTraitIter: Unexpected exception thrown! (" + e.code + ") ", "red" );
643
+ }
644
+ }
645
+ }
646
+
647
+
648
+ /**
649
+ * Run all given setTraitIters.
650
+ * iters : array of setTraitIter objects
651
+ */
652
+ function runSetTraitIters( iters )
653
+ {
654
+ var value = "";
655
+ var elem = 0;
656
+
657
+ for( var i = 0; i < iters.length; ++i )
658
+ {
659
+ try
660
+ {
661
+ runSingleSetTraitIter( iters[i] );
662
+ }
663
+ catch(e)
664
+ {
665
+ isPassed = false;
666
+ drawString( "runSetTraitIters: Unexpected exception thrown! (" + e.code + ") ", "red" );
667
+ }
668
+ }
669
+ }
670
+
671
+
672
+