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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffbd446aff2f144f09ebaff13ce6c5bff830a257
4
- data.tar.gz: b82dbbc07967f1515c716119fc94ebf89043d56c
3
+ metadata.gz: 5588d6615987e1aa91fa50edffec32ad041326e6
4
+ data.tar.gz: 5b01922f101357a4984dc20dab4d4af5993ed6cc
5
5
  SHA512:
6
- metadata.gz: 9eaf03ea6e56ce7a0b9e9f3b7391caea1146eb384b4fad5188aa3e302747948d2d61608f214603c464ece0bda674ca53860009a6b02774c8d708d6909e65ee53
7
- data.tar.gz: 2dab048259665b50def9e496f4384c28d0874c583744e963f054c09c7367b6a4e87146e6bf145ed54ed79f7cabdd3ae3edf6f3fc91db90d55ddcea2bcd9dfdf6
6
+ metadata.gz: 78a532431a9be68b292aafa8158c3fe60edb6cae80b790c5c9e86039e3840af9ab799f6ea428cdaab0f45d551062cbd2a42c30e769365b4eea3e3ddcc700afab
7
+ data.tar.gz: bd8392d35e6504b6f867dce9b5f3f1bb028774069b6a02dfba456d68daa5dc0475a28baf7c4b5767965f04382bd6d52518861efeadd9065b76b1c8143bfbe30f
data/README.md CHANGED
@@ -20,6 +20,8 @@ Or install it yourself as:
20
20
 
21
21
  $ gem install mathematical
22
22
 
23
+ **Note:** you'll probably need to run [`script/bootstrap`](script/bootstrap) to fetch all the necessary dependencies.
24
+
23
25
  ## Usage
24
26
 
25
27
  The simplest way to do this is
@@ -245,3 +247,28 @@ MathToItex(string).convert do |eq, type|
245
247
  %|<img class="#{type.to_s}-math" data-math-type="#{type.to_s}-math" src="#{svg_content}"/>|
246
248
  end
247
249
  ```
250
+
251
+ ## Troubleshooting
252
+
253
+ ### Issues building Lasem
254
+
255
+ If you're having issues building Lasem, or have Lasem already preinstalled, you should set the `MATHEMATICAL_USE_SYSTEM_LASEM` environment variable to skip the build:
256
+
257
+ * If you use bundler:
258
+
259
+ MATHEMATICAL_USE_SYSTEM_LASEM=1 bundle install
260
+
261
+ * If you use gem install:
262
+
263
+ MATHEMATICAL_USE_SYSTEM_LASEM=1 gem install mathematical
264
+
265
+ ### Issues with font alignment on OS X
266
+
267
+ If there's an issue with the resulting file(s) on OS X, chances are the problem is Cairo 1.14.2, which at the time of this writing, is the latest version of Cairo available on OS X via Homebrew.
268
+
269
+ [This thread](http://git.io/vnXpv) has more information on the problem and a possible work-around. For right now, it's suggested that you use an older (but still functional) version of Cairo and Pango:
270
+
271
+ ```
272
+ brew install https://raw.githubusercontent.com/Homebrew/homebrew/26d5775494b3535820c48442c23af44f72974880/Library/Formula/cairo.rb
273
+ brew install https://raw.githubusercontent.com/Homebrew/homebrew/e8a4de3960191c5726084416a3b78c5fcd5a3b05/Library/Formula/pango.rb
274
+ ```
data/Rakefile CHANGED
@@ -6,8 +6,6 @@ require 'fileutils'
6
6
  require 'tmpdir'
7
7
 
8
8
  LASEM_DIR = File.expand_path(File.join(File.dirname(__FILE__), 'ext', 'mathematical', 'lasem'))
9
- LASEM_SRC_DIR = File.join(LASEM_DIR, 'src')
10
- LASEM_LIB_DIR = File.join(LASEM_SRC_DIR, '.libs')
11
9
 
12
10
  Rake::TestTask.new do |t|
13
11
  t.libs << 'test'
@@ -21,18 +19,16 @@ Rake::ExtensionTask.new('mathematical', spec) do |ext|
21
19
  ext.lib_dir = File.join('lib', 'mathematical')
22
20
  end
23
21
 
24
- Gem::PackageTask.new(spec)
22
+ task default: [:test]
25
23
 
26
- task :compile => [:set_vars]
24
+ Gem::PackageTask.new(spec)
27
25
 
28
26
  Rake::Task[:test].prerequisites
29
27
 
30
- task default: [:test]
28
+ task :build => [:clean]
31
29
 
32
- desc 'Sets necessary environment variables for dynamically linking Lasem'
33
- task :set_vars do
34
- ENV['DYLD_LIBRARY_PATH'] = "#{LASEM_LIB_DIR}:#{ENV['DYLD_LIBRARY_PATH']}"
35
- ENV['LD_LIBRARY_PATH'] = "#{LASEM_LIB_DIR}:#{ENV['LD_LIBRARY_PATH']}"
30
+ Rake::Task[:clean].enhance do
31
+ Dir.chdir(LASEM_DIR) { puts `git clean -fdx`; }
36
32
  end
37
33
 
38
34
  desc 'Copy samples to gh-pages'
data/ext/README.md ADDED
@@ -0,0 +1,21 @@
1
+ Lasem aims to be a C/Gobject based SVG/Mathml renderer and editor, supporting CSS
2
+ style sheets (only rendering is implemented for now). It uses cairo and pango as
3
+ it's rendering abstraction layer, and then support numerous output formats: xlib,
4
+ PNG, SVG, PDF, PS, EPS... It's written by Emmanuel Pacaud.
5
+
6
+ Lasem was added as a Git submodule of this project.
7
+
8
+ Some documentation can be found here:
9
+
10
+ * http://blogs.gnome.org/emmanuel/category/lasem/
11
+ * https://git.gnome.org/browse/lasem/
12
+
13
+ ### Notes on building for OS X
14
+
15
+ * In *autogen.sh*, rename `libtoolize` to `glibtoolize`
16
+ * Debug with `-d dom,measure,update,render,viewport`
17
+
18
+ * * *
19
+
20
+ mtex2MML transforms itex (a dialect of LaTeX) into MathML. mtex2MML is developed by
21
+ me, but was forked from an original project by Paul Gartside and Jacques Distler.
@@ -0,0 +1,76 @@
1
+ #
2
+ #
3
+ # General project setup
4
+ #
5
+ #
6
+ project(lasem)
7
+ enable_language(C)
8
+ cmake_minimum_required(VERSION 2.8.7 FATAL_ERROR)
9
+ cmake_policy(SET CMP0015 NEW)
10
+
11
+ set(LIBRARY "lasem")
12
+ set(VERSION 0.6)
13
+
14
+ find_package(PkgConfig)
15
+ include(FindNewerRubies.cmake)
16
+
17
+ set(LASEM_SRC_DIR ${CMAKE_SOURCE_DIR}/lasem/src/)
18
+ set(MTEX2MML_SRC_DIR ${CMAKE_SOURCE_DIR}/mtex2MML/src/)
19
+ set(MTEX2MML_BUILD_DIR ${CMAKE_SOURCE_DIR}/mtex2MML/build/)
20
+ set(INCLUDE_DIRS ${INCLUDE_DIRS} ${RUBY_INCLUDE_PATH} ${MTEX2MML_SRC_DIR} ${LASEM_SRC_DIR})
21
+
22
+ file(GLOB_RECURSE LASEM_SRC ${LASEM_SRC_DIR}/*.c)
23
+ file(GLOB_RECURSE LASEM_HEADERS ${LASEM_SRC_DIR}/*.h)
24
+ list(REMOVE_ITEM LASEM_SRC "${LASEM_SRC_DIR}/lasemrender.c")
25
+ list(REMOVE_ITEM LASEM_SRC "${LASEM_SRC_DIR}/lsmitex.c")
26
+ list(APPEND LASEM_SRC "${CMAKE_SOURCE_DIR}/lasem_overrides.c")
27
+
28
+ # If you're reading this and it's giving you errors, fix it and send
29
+ # me the patch. Much appreciated.
30
+ add_definitions(-DPACKAGE_LOCALE_DIR="/usr/share/locale")
31
+
32
+ add_library(${LIBRARY} SHARED
33
+ ${LASEM_SRC}
34
+ )
35
+
36
+ #
37
+ #
38
+ # Find the `pkg-config` modules
39
+ #
40
+ #
41
+ pkg_check_modules(GLIB2 REQUIRED glib-2.0)
42
+ pkg_check_modules(CAIRO REQUIRED cairo)
43
+ pkg_check_modules(PANGO REQUIRED pango)
44
+ pkg_check_modules(GDK-PIXBUF2 REQUIRED gdk-pixbuf-2.0)
45
+ pkg_check_modules(LIBXML2 REQUIRED libxml-2.0)
46
+ pkg_check_modules(GIO2 REQUIRED gio-2.0)
47
+ pkg_check_modules(PANGO_CAIRO REQUIRED pangocairo)
48
+
49
+ #
50
+ #
51
+ # Add the headers and libraries
52
+ #
53
+ #
54
+
55
+ include_directories(${LIBRARY}
56
+ ${INCLUDE_DIRS}
57
+ ${GLIB2_INCLUDE_DIRS}
58
+ ${CAIRO_INCLUDE_DIRS}
59
+ ${PANGO_INCLUDE_DIRS}
60
+ ${GDK-PIXBUF2_INCLUDE_DIRS}
61
+ ${LIBXML2_INCLUDE_DIRS}
62
+ ${GIO2_INCLUDE_DIRS}
63
+ ${PANGO_CAIRO_INCLUDE_DIRS}
64
+ )
65
+
66
+ target_link_libraries(${LIBRARY}
67
+ ${GLIB2_LIBRARIES}
68
+ ${CAIRO_LIBRARIES}
69
+ ${PANGO_LIBRARIES}
70
+ ${GDK-PIXBUF2_LIBRARIES}
71
+ ${LIBXML2_LIBRARIES}
72
+ ${GIO2_LIBRARIES}
73
+ ${PANGO_CAIRO_LIBRARIES}
74
+ ${RUBY_LIBRARY}
75
+ ${MTEX2MML_BUILD_DIR}/libmtex2MML.a
76
+ )
@@ -0,0 +1,292 @@
1
+ #.rst:
2
+ # FindRuby
3
+ # --------
4
+ #
5
+ # Find Ruby
6
+ #
7
+ # This module finds if Ruby is installed and determines where the
8
+ # include files and libraries are. Ruby 1.8, 1.9, 2.0, 2.1 & 2.2 are
9
+ # supported.
10
+ #
11
+ # The minimum required version of Ruby can be specified using the
12
+ # standard syntax, e.g. find_package(Ruby 1.8)
13
+ #
14
+ # It also determines what the name of the library is. This code sets
15
+ # the following variables:
16
+ #
17
+ # ``RUBY_EXECUTABLE``
18
+ # full path to the ruby binary
19
+ # ``RUBY_INCLUDE_DIRS``
20
+ # include dirs to be used when using the ruby library
21
+ # ``RUBY_LIBRARY``
22
+ # full path to the ruby library
23
+ # ``RUBY_VERSION``
24
+ # the version of ruby which was found, e.g. "1.8.7"
25
+ # ``RUBY_FOUND``
26
+ # set to true if ruby ws found successfully
27
+ #
28
+ # Also:
29
+ #
30
+ # ``RUBY_INCLUDE_PATH``
31
+ # same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
32
+
33
+ #=============================================================================
34
+ # Copyright 2004-2009 Kitware, Inc.
35
+ # Copyright 2008-2009 Alexander Neundorf <neundorf@kde.org>
36
+ #
37
+ # Distributed under the OSI-approved BSD License (the "License");
38
+ # see accompanying file Copyright.txt for details.
39
+ #
40
+ # This software is distributed WITHOUT ANY WARRANTY; without even the
41
+ # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
42
+ # See the License for more information.
43
+ #=============================================================================
44
+ # (To distribute this file outside of CMake, substitute the full
45
+ # License text for the above reference.)
46
+
47
+ # RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
48
+ # RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
49
+ # RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
50
+ # RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
51
+ # RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
52
+
53
+ # uncomment the following line to get debug output for this file
54
+ # set(_RUBY_DEBUG_OUTPUT TRUE)
55
+
56
+ # Determine the list of possible names of the ruby executable depending
57
+ # on which version of ruby is required
58
+ set(_RUBY_POSSIBLE_EXECUTABLE_NAMES ruby)
59
+
60
+ # if 1.9 is required, don't look for ruby18 and ruby1.8, default to version 1.8
61
+ if(DEFINED Ruby_FIND_VERSION_MAJOR AND DEFINED Ruby_FIND_VERSION_MINOR)
62
+ set(Ruby_FIND_VERSION_SHORT_NODOT "${Ruby_FIND_VERSION_MAJOR}${RUBY_FIND_VERSION_MINOR}")
63
+ # we can't construct that if only major version is given
64
+ set(_RUBY_POSSIBLE_EXECUTABLE_NAMES
65
+ ruby${Ruby_FIND_VERSION_MAJOR}.${Ruby_FIND_VERSION_MINOR}
66
+ ruby${Ruby_FIND_VERSION_MAJOR}${Ruby_FIND_VERSION_MINOR}
67
+ ${_RUBY_POSSIBLE_EXECUTABLE_NAMES})
68
+ else()
69
+ set(Ruby_FIND_VERSION_SHORT_NODOT "18")
70
+ endif()
71
+
72
+ if(NOT Ruby_FIND_VERSION_EXACT)
73
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.2 ruby22)
74
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.1 ruby21)
75
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.0 ruby20)
76
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.9 ruby19)
77
+
78
+ # if we want a version below 1.9, also look for ruby 1.8
79
+ if("${Ruby_FIND_VERSION_SHORT_NODOT}" VERSION_LESS "19")
80
+ list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.8 ruby18)
81
+ endif()
82
+
83
+ list(REMOVE_DUPLICATES _RUBY_POSSIBLE_EXECUTABLE_NAMES)
84
+ endif()
85
+
86
+ find_program(RUBY_EXECUTABLE NAMES ${_RUBY_POSSIBLE_EXECUTABLE_NAMES})
87
+
88
+ if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
89
+ function(_RUBY_CONFIG_VAR RBVAR OUTVAR)
90
+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['${RBVAR}']"
91
+ RESULT_VARIABLE _RUBY_SUCCESS
92
+ OUTPUT_VARIABLE _RUBY_OUTPUT
93
+ ERROR_QUIET)
94
+ if(_RUBY_SUCCESS OR _RUBY_OUTPUT STREQUAL "")
95
+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['${RBVAR}']"
96
+ RESULT_VARIABLE _RUBY_SUCCESS
97
+ OUTPUT_VARIABLE _RUBY_OUTPUT
98
+ ERROR_QUIET)
99
+ endif()
100
+ set(${OUTVAR} "${_RUBY_OUTPUT}" PARENT_SCOPE)
101
+ endfunction()
102
+
103
+
104
+ # query the ruby version
105
+ _RUBY_CONFIG_VAR("MAJOR" RUBY_VERSION_MAJOR)
106
+ _RUBY_CONFIG_VAR("MINOR" RUBY_VERSION_MINOR)
107
+ _RUBY_CONFIG_VAR("TEENY" RUBY_VERSION_PATCH)
108
+
109
+ # query the different directories
110
+ _RUBY_CONFIG_VAR("archdir" RUBY_ARCH_DIR)
111
+ _RUBY_CONFIG_VAR("arch" RUBY_ARCH)
112
+ _RUBY_CONFIG_VAR("rubyhdrdir" RUBY_HDR_DIR)
113
+ _RUBY_CONFIG_VAR("rubyarchhdrdir" RUBY_ARCHHDR_DIR)
114
+ _RUBY_CONFIG_VAR("libdir" RUBY_POSSIBLE_LIB_DIR)
115
+ _RUBY_CONFIG_VAR("rubylibdir" RUBY_RUBY_LIB_DIR)
116
+
117
+ # site_ruby
118
+ _RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR)
119
+ _RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
120
+
121
+ # vendor_ruby available ?
122
+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'"
123
+ OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
124
+
125
+ if(RUBY_HAS_VENDOR_RUBY)
126
+ _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR)
127
+ _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR)
128
+ endif()
129
+
130
+ # save the results in the cache so we don't have to run ruby the next time again
131
+ set(RUBY_VERSION_MAJOR ${RUBY_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE)
132
+ set(RUBY_VERSION_MINOR ${RUBY_VERSION_MINOR} CACHE PATH "The Ruby minor version" FORCE)
133
+ set(RUBY_VERSION_PATCH ${RUBY_VERSION_PATCH} CACHE PATH "The Ruby patch version" FORCE)
134
+ set(RUBY_ARCH_DIR ${RUBY_ARCH_DIR} CACHE PATH "The Ruby arch dir" FORCE)
135
+ set(RUBY_HDR_DIR ${RUBY_HDR_DIR} CACHE PATH "The Ruby header dir (1.9+)" FORCE)
136
+ set(RUBY_ARCHHDR_DIR ${RUBY_ARCHHDR_DIR} CACHE PATH "The Ruby arch header dir (2.0+)" FORCE)
137
+ set(RUBY_POSSIBLE_LIB_DIR ${RUBY_POSSIBLE_LIB_DIR} CACHE PATH "The Ruby lib dir" FORCE)
138
+ set(RUBY_RUBY_LIB_DIR ${RUBY_RUBY_LIB_DIR} CACHE PATH "The Ruby ruby-lib dir" FORCE)
139
+ set(RUBY_SITEARCH_DIR ${RUBY_SITEARCH_DIR} CACHE PATH "The Ruby site arch dir" FORCE)
140
+ set(RUBY_SITELIB_DIR ${RUBY_SITELIB_DIR} CACHE PATH "The Ruby site lib dir" FORCE)
141
+ set(RUBY_HAS_VENDOR_RUBY ${RUBY_HAS_VENDOR_RUBY} CACHE BOOL "Vendor Ruby is available" FORCE)
142
+ set(RUBY_VENDORARCH_DIR ${RUBY_VENDORARCH_DIR} CACHE PATH "The Ruby vendor arch dir" FORCE)
143
+ set(RUBY_VENDORLIB_DIR ${RUBY_VENDORLIB_DIR} CACHE PATH "The Ruby vendor lib dir" FORCE)
144
+
145
+ mark_as_advanced(
146
+ RUBY_ARCH_DIR
147
+ RUBY_ARCH
148
+ RUBY_HDR_DIR
149
+ RUBY_ARCHHDR_DIR
150
+ RUBY_POSSIBLE_LIB_DIR
151
+ RUBY_RUBY_LIB_DIR
152
+ RUBY_SITEARCH_DIR
153
+ RUBY_SITELIB_DIR
154
+ RUBY_HAS_VENDOR_RUBY
155
+ RUBY_VENDORARCH_DIR
156
+ RUBY_VENDORLIB_DIR
157
+ RUBY_VERSION_MAJOR
158
+ RUBY_VERSION_MINOR
159
+ RUBY_VERSION_PATCH
160
+ )
161
+ endif()
162
+
163
+ # In case RUBY_EXECUTABLE could not be executed (e.g. cross compiling)
164
+ # try to detect which version we found. This is not too good.
165
+ if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
166
+ # by default assume 1.8.0
167
+ set(RUBY_VERSION_MAJOR 1)
168
+ set(RUBY_VERSION_MINOR 8)
169
+ set(RUBY_VERSION_PATCH 0)
170
+ # check whether we found 1.9.x
171
+ if(${RUBY_EXECUTABLE} MATCHES "ruby1.?9")
172
+ set(RUBY_VERSION_MAJOR 1)
173
+ set(RUBY_VERSION_MINOR 9)
174
+ endif()
175
+ # check whether we found 2.0.x
176
+ if(${RUBY_EXECUTABLE} MATCHES "ruby2.?0")
177
+ set(RUBY_VERSION_MAJOR 2)
178
+ set(RUBY_VERSION_MINOR 0)
179
+ endif()
180
+ # check whether we found 2.1.x
181
+ if(${RUBY_EXECUTABLE} MATCHES "ruby2.?1")
182
+ set(RUBY_VERSION_MAJOR 2)
183
+ set(RUBY_VERSION_MINOR 1)
184
+ endif()
185
+ # check whether we found 2.2.x
186
+ if(${RUBY_EXECUTABLE} MATCHES "ruby2.?2")
187
+ set(RUBY_VERSION_MAJOR 2)
188
+ set(RUBY_VERSION_MINOR 2)
189
+ endif()
190
+ endif()
191
+
192
+ if(RUBY_VERSION_MAJOR)
193
+ set(RUBY_VERSION "${RUBY_VERSION_MAJOR}.${RUBY_VERSION_MINOR}.${RUBY_VERSION_PATCH}")
194
+ set(_RUBY_VERSION_SHORT "${RUBY_VERSION_MAJOR}.${RUBY_VERSION_MINOR}")
195
+ set(_RUBY_VERSION_SHORT_NODOT "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}")
196
+ set(_RUBY_NODOT_VERSION "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}${RUBY_VERSION_PATCH}")
197
+ endif()
198
+
199
+ find_path(RUBY_INCLUDE_DIR
200
+ NAMES ruby.h
201
+ HINTS
202
+ ${RUBY_HDR_DIR}
203
+ ${RUBY_ARCH_DIR}
204
+ /usr/lib/ruby/${_RUBY_VERSION_SHORT}/i586-linux-gnu/ )
205
+
206
+ set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIR} )
207
+
208
+ # if ruby > 1.8 is required or if ruby > 1.8 was found, search for the config.h dir
209
+ if( "${Ruby_FIND_VERSION_SHORT_NODOT}" GREATER 18 OR "${_RUBY_VERSION_SHORT_NODOT}" GREATER 18 OR RUBY_HDR_DIR)
210
+ find_path(RUBY_CONFIG_INCLUDE_DIR
211
+ NAMES ruby/config.h config.h
212
+ HINTS
213
+ ${RUBY_HDR_DIR}/${RUBY_ARCH}
214
+ ${RUBY_ARCH_DIR}
215
+ ${RUBY_ARCHHDR_DIR}
216
+ )
217
+
218
+ set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIRS} ${RUBY_CONFIG_INCLUDE_DIR} )
219
+ endif()
220
+
221
+
222
+ # Determine the list of possible names for the ruby library
223
+ set(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT} ruby${_RUBY_VERSION_SHORT_NODOT} ruby-${_RUBY_VERSION_SHORT} ruby-${RUBY_VERSION})
224
+
225
+ if(WIN32)
226
+ set( _RUBY_MSVC_RUNTIME "" )
227
+ if( MSVC60 )
228
+ set( _RUBY_MSVC_RUNTIME "60" )
229
+ endif()
230
+ if( MSVC70 )
231
+ set( _RUBY_MSVC_RUNTIME "70" )
232
+ endif()
233
+ if( MSVC71 )
234
+ set( _RUBY_MSVC_RUNTIME "71" )
235
+ endif()
236
+ if( MSVC80 )
237
+ set( _RUBY_MSVC_RUNTIME "80" )
238
+ endif()
239
+ if( MSVC90 )
240
+ set( _RUBY_MSVC_RUNTIME "90" )
241
+ endif()
242
+
243
+ set(_RUBY_ARCH_PREFIX "")
244
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
245
+ set(_RUBY_ARCH_PREFIX "x64-")
246
+ endif()
247
+
248
+ list(APPEND _RUBY_POSSIBLE_LIB_NAMES
249
+ "${_RUBY_ARCH_PREFIX}msvcr${_RUBY_MSVC_RUNTIME}-ruby${_RUBY_NODOT_VERSION}"
250
+ "${_RUBY_ARCH_PREFIX}msvcr${_RUBY_MSVC_RUNTIME}-ruby${_RUBY_NODOT_VERSION}-static"
251
+ "${_RUBY_ARCH_PREFIX}msvcrt-ruby${_RUBY_NODOT_VERSION}"
252
+ "${_RUBY_ARCH_PREFIX}msvcrt-ruby${_RUBY_NODOT_VERSION}-static" )
253
+ endif()
254
+
255
+ find_library(RUBY_LIBRARY NAMES ${_RUBY_POSSIBLE_LIB_NAMES} HINTS ${RUBY_POSSIBLE_LIB_DIR} )
256
+
257
+ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
258
+ set(_RUBY_REQUIRED_VARS RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY)
259
+ if(_RUBY_VERSION_SHORT_NODOT GREATER 18)
260
+ list(APPEND _RUBY_REQUIRED_VARS RUBY_CONFIG_INCLUDE_DIR)
261
+ endif()
262
+
263
+ if(_RUBY_DEBUG_OUTPUT)
264
+ message(STATUS "--------FindRuby.cmake debug------------")
265
+ message(STATUS "_RUBY_POSSIBLE_EXECUTABLE_NAMES: ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}")
266
+ message(STATUS "_RUBY_POSSIBLE_LIB_NAMES: ${_RUBY_POSSIBLE_LIB_NAMES}")
267
+ message(STATUS "RUBY_ARCH_DIR: ${RUBY_ARCH_DIR}")
268
+ message(STATUS "RUBY_HDR_DIR: ${RUBY_HDR_DIR}")
269
+ message(STATUS "RUBY_POSSIBLE_LIB_DIR: ${RUBY_POSSIBLE_LIB_DIR}")
270
+ message(STATUS "Found RUBY_VERSION: \"${RUBY_VERSION}\" , short: \"${_RUBY_VERSION_SHORT}\", nodot: \"${_RUBY_VERSION_SHORT_NODOT}\"")
271
+ message(STATUS "_RUBY_REQUIRED_VARS: ${_RUBY_REQUIRED_VARS}")
272
+ message(STATUS "RUBY_EXECUTABLE: ${RUBY_EXECUTABLE}")
273
+ message(STATUS "RUBY_LIBRARY: ${RUBY_LIBRARY}")
274
+ message(STATUS "RUBY_INCLUDE_DIR: ${RUBY_INCLUDE_DIR}")
275
+ message(STATUS "RUBY_CONFIG_INCLUDE_DIR: ${RUBY_CONFIG_INCLUDE_DIR}")
276
+ message(STATUS "--------------------")
277
+ endif()
278
+
279
+ FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ruby REQUIRED_VARS ${_RUBY_REQUIRED_VARS}
280
+ VERSION_VAR RUBY_VERSION )
281
+
282
+ mark_as_advanced(
283
+ RUBY_EXECUTABLE
284
+ RUBY_LIBRARY
285
+ RUBY_INCLUDE_DIR
286
+ RUBY_CONFIG_INCLUDE_DIR
287
+ )
288
+
289
+ # Set some variables for compatibility with previous version of this file
290
+ set(RUBY_POSSIBLE_LIB_PATH ${RUBY_POSSIBLE_LIB_DIR})
291
+ set(RUBY_RUBY_LIB_PATH ${RUBY_RUBY_LIB_DIR})
292
+ set(RUBY_INCLUDE_PATH ${RUBY_INCLUDE_DIRS})