mathematical 1.6.13 → 1.6.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1424) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -1
  3. data/Rakefile +31 -21
  4. data/ext/mathematical/extconf.rb +71 -69
  5. data/ext/mathematical/mathematical.h +1 -0
  6. data/lib/mathematical/configuration.rb +8 -4
  7. data/lib/mathematical/corrections.rb +3 -1
  8. data/lib/mathematical/validator.rb +11 -8
  9. data/lib/mathematical/version.rb +3 -1
  10. data/lib/mathematical.rb +21 -19
  11. data/mathematical.gemspec +21 -22
  12. metadata +11 -1492
  13. data/ext/mathematical/lasem/AUTHORS +0 -1
  14. data/ext/mathematical/lasem/COPYING +0 -483
  15. data/ext/mathematical/lasem/ChangeLog +0 -0
  16. data/ext/mathematical/lasem/MAINTAINERS +0 -3
  17. data/ext/mathematical/lasem/Makefile.am +0 -34
  18. data/ext/mathematical/lasem/Makefile.decl +0 -57
  19. data/ext/mathematical/lasem/NEWS +0 -136
  20. data/ext/mathematical/lasem/README +0 -28
  21. data/ext/mathematical/lasem/RELEASING +0 -85
  22. data/ext/mathematical/lasem/TODO +0 -50
  23. data/ext/mathematical/lasem/autogen.sh +0 -180
  24. data/ext/mathematical/lasem/configure.ac +0 -139
  25. data/ext/mathematical/lasem/docs/Makefile.am +0 -14
  26. data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +0 -106
  27. data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
  28. data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
  29. data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
  30. data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
  31. data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
  32. data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
  33. data/ext/mathematical/lasem/itex2mml/COPYING.itex2MML +0 -3
  34. data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
  35. data/ext/mathematical/lasem/itex2mml/README.itex2MML +0 -13
  36. data/ext/mathematical/lasem/itex2mml/itex2MML.h +0 -63
  37. data/ext/mathematical/lasem/itex2mml/itex2MML.l +0 -1084
  38. data/ext/mathematical/lasem/itex2mml/itex2MML.y +0 -1945
  39. data/ext/mathematical/lasem/lasem.doap +0 -21
  40. data/ext/mathematical/lasem/lasem.pc.in +0 -11
  41. data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
  42. data/ext/mathematical/lasem/po/ChangeLog +0 -0
  43. data/ext/mathematical/lasem/po/LINGUAS +0 -33
  44. data/ext/mathematical/lasem/po/POTFILES.in +0 -195
  45. data/ext/mathematical/lasem/po/POTFILES.skip +0 -1
  46. data/ext/mathematical/lasem/po/bs.po +0 -65
  47. data/ext/mathematical/lasem/po/cs.po +0 -102
  48. data/ext/mathematical/lasem/po/da.po +0 -99
  49. data/ext/mathematical/lasem/po/de.po +0 -104
  50. data/ext/mathematical/lasem/po/el.po +0 -73
  51. data/ext/mathematical/lasem/po/es.po +0 -107
  52. data/ext/mathematical/lasem/po/eu.po +0 -102
  53. data/ext/mathematical/lasem/po/fr.po +0 -65
  54. data/ext/mathematical/lasem/po/fur.po +0 -101
  55. data/ext/mathematical/lasem/po/gl.po +0 -64
  56. data/ext/mathematical/lasem/po/hu.po +0 -105
  57. data/ext/mathematical/lasem/po/id.po +0 -102
  58. data/ext/mathematical/lasem/po/it.po +0 -104
  59. data/ext/mathematical/lasem/po/lt.po +0 -106
  60. data/ext/mathematical/lasem/po/lv.po +0 -109
  61. data/ext/mathematical/lasem/po/nb.po +0 -62
  62. data/ext/mathematical/lasem/po/nl.po +0 -102
  63. data/ext/mathematical/lasem/po/oc.po +0 -65
  64. data/ext/mathematical/lasem/po/pl.po +0 -102
  65. data/ext/mathematical/lasem/po/pt.po +0 -77
  66. data/ext/mathematical/lasem/po/pt_BR.po +0 -105
  67. data/ext/mathematical/lasem/po/ro.po +0 -64
  68. data/ext/mathematical/lasem/po/ru.po +0 -66
  69. data/ext/mathematical/lasem/po/sl.po +0 -117
  70. data/ext/mathematical/lasem/po/sr.po +0 -105
  71. data/ext/mathematical/lasem/po/sr@latin.po +0 -105
  72. data/ext/mathematical/lasem/po/sv.po +0 -105
  73. data/ext/mathematical/lasem/po/tg.po +0 -64
  74. data/ext/mathematical/lasem/po/tr.po +0 -105
  75. data/ext/mathematical/lasem/po/zh_CN.po +0 -100
  76. data/ext/mathematical/lasem/src/Makefile.am +0 -349
  77. data/ext/mathematical/lasem/src/lasemrender.c +0 -362
  78. data/ext/mathematical/lasem/src/lsm.c +0 -31
  79. data/ext/mathematical/lasem/src/lsm.h +0 -39
  80. data/ext/mathematical/lasem/src/lsmattributes.c +0 -279
  81. data/ext/mathematical/lasem/src/lsmattributes.h +0 -75
  82. data/ext/mathematical/lasem/src/lsmcairo.c +0 -598
  83. data/ext/mathematical/lasem/src/lsmcairo.h +0 -51
  84. data/ext/mathematical/lasem/src/lsmdebug.c +0 -185
  85. data/ext/mathematical/lasem/src/lsmdebug.h +0 -73
  86. data/ext/mathematical/lasem/src/lsmdom.h +0 -43
  87. data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +0 -131
  88. data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +0 -59
  89. data/ext/mathematical/lasem/src/lsmdomdocument.c +0 -272
  90. data/ext/mathematical/lasem/src/lsmdomdocument.h +0 -75
  91. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +0 -81
  92. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +0 -55
  93. data/ext/mathematical/lasem/src/lsmdomelement.c +0 -148
  94. data/ext/mathematical/lasem/src/lsmdomelement.h +0 -62
  95. data/ext/mathematical/lasem/src/lsmdomentities.c +0 -2166
  96. data/ext/mathematical/lasem/src/lsmdomentities.h +0 -35
  97. data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
  98. data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
  99. data/ext/mathematical/lasem/src/lsmdomimplementation.c +0 -82
  100. data/ext/mathematical/lasem/src/lsmdomimplementation.h +0 -41
  101. data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +0 -118
  102. data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +0 -64
  103. data/ext/mathematical/lasem/src/lsmdomnode.c +0 -737
  104. data/ext/mathematical/lasem/src/lsmdomnode.h +0 -122
  105. data/ext/mathematical/lasem/src/lsmdomnodelist.c +0 -70
  106. data/ext/mathematical/lasem/src/lsmdomnodelist.h +0 -58
  107. data/ext/mathematical/lasem/src/lsmdomparser.c +0 -523
  108. data/ext/mathematical/lasem/src/lsmdomparser.h +0 -54
  109. data/ext/mathematical/lasem/src/lsmdomtext.c +0 -82
  110. data/ext/mathematical/lasem/src/lsmdomtext.h +0 -55
  111. data/ext/mathematical/lasem/src/lsmdomtypes.h +0 -44
  112. data/ext/mathematical/lasem/src/lsmdomview.c +0 -423
  113. data/ext/mathematical/lasem/src/lsmdomview.h +0 -94
  114. data/ext/mathematical/lasem/src/lsmitex.c +0 -79
  115. data/ext/mathematical/lasem/src/lsmitex.h +0 -36
  116. data/ext/mathematical/lasem/src/lsmmathml.h +0 -66
  117. data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +0 -93
  118. data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +0 -57
  119. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +0 -102
  120. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +0 -56
  121. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +0 -102
  122. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +0 -56
  123. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +0 -219
  124. data/ext/mathematical/lasem/src/lsmmathmlattributes.h +0 -126
  125. data/ext/mathematical/lasem/src/lsmmathmldocument.c +0 -307
  126. data/ext/mathematical/lasem/src/lsmmathmldocument.h +0 -61
  127. data/ext/mathematical/lasem/src/lsmmathmlelement.c +0 -491
  128. data/ext/mathematical/lasem/src/lsmmathmlelement.h +0 -107
  129. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +0 -142
  130. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +0 -64
  131. data/ext/mathematical/lasem/src/lsmmathmlenums.c +0 -500
  132. data/ext/mathematical/lasem/src/lsmmathmlenums.h +0 -224
  133. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
  134. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
  135. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +0 -58
  136. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +0 -56
  137. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +0 -180
  138. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +0 -65
  139. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +0 -253
  140. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +0 -62
  141. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +0 -597
  142. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +0 -45
  143. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +0 -187
  144. data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +0 -60
  145. data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +0 -191
  146. data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +0 -58
  147. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +0 -212
  148. data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +0 -81
  149. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +0 -3332
  150. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +0 -54
  151. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +0 -309
  152. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +0 -73
  153. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +0 -137
  154. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +0 -61
  155. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +0 -71
  156. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +0 -56
  157. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +0 -43
  158. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +0 -54
  159. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +0 -303
  160. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +0 -83
  161. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +0 -266
  162. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +0 -71
  163. data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +0 -58
  164. data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +0 -56
  165. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +0 -282
  166. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +0 -78
  167. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +0 -84
  168. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +0 -56
  169. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +0 -156
  170. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +0 -60
  171. data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +0 -123
  172. data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +0 -58
  173. data/ext/mathematical/lasem/src/lsmmathmlstyle.c +0 -130
  174. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +0 -89
  175. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +0 -391
  176. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +0 -94
  177. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +0 -122
  178. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +0 -62
  179. data/ext/mathematical/lasem/src/lsmmathmltableelement.c +0 -572
  180. data/ext/mathematical/lasem/src/lsmmathmltableelement.h +0 -78
  181. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +0 -120
  182. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +0 -64
  183. data/ext/mathematical/lasem/src/lsmmathmltraits.c +0 -867
  184. data/ext/mathematical/lasem/src/lsmmathmltraits.h +0 -129
  185. data/ext/mathematical/lasem/src/lsmmathmltypes.h +0 -67
  186. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +0 -485
  187. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +0 -82
  188. data/ext/mathematical/lasem/src/lsmmathmlutils.c +0 -170
  189. data/ext/mathematical/lasem/src/lsmmathmlutils.h +0 -57
  190. data/ext/mathematical/lasem/src/lsmmathmlview.c +0 -1325
  191. data/ext/mathematical/lasem/src/lsmmathmlview.h +0 -179
  192. data/ext/mathematical/lasem/src/lsmproperties.c +0 -418
  193. data/ext/mathematical/lasem/src/lsmproperties.h +0 -85
  194. data/ext/mathematical/lasem/src/lsmstr.c +0 -231
  195. data/ext/mathematical/lasem/src/lsmstr.h +0 -114
  196. data/ext/mathematical/lasem/src/lsmsvg.h +0 -67
  197. data/ext/mathematical/lasem/src/lsmsvgaelement.c +0 -73
  198. data/ext/mathematical/lasem/src/lsmsvgaelement.h +0 -55
  199. data/ext/mathematical/lasem/src/lsmsvgattributes.h +0 -168
  200. data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +0 -153
  201. data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +0 -59
  202. data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +0 -134
  203. data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +0 -59
  204. data/ext/mathematical/lasem/src/lsmsvgcolors.c +0 -212
  205. data/ext/mathematical/lasem/src/lsmsvgcolors.h +0 -39
  206. data/ext/mathematical/lasem/src/lsmsvgdefselement.c +0 -74
  207. data/ext/mathematical/lasem/src/lsmsvgdefselement.h +0 -55
  208. data/ext/mathematical/lasem/src/lsmsvgdocument.c +0 -306
  209. data/ext/mathematical/lasem/src/lsmsvgdocument.h +0 -64
  210. data/ext/mathematical/lasem/src/lsmsvgelement.c +0 -371
  211. data/ext/mathematical/lasem/src/lsmsvgelement.h +0 -80
  212. data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +0 -158
  213. data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +0 -60
  214. data/ext/mathematical/lasem/src/lsmsvgenums.c +0 -674
  215. data/ext/mathematical/lasem/src/lsmsvgenums.h +0 -416
  216. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
  217. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
  218. data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +0 -105
  219. data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +0 -58
  220. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +0 -115
  221. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +0 -58
  222. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +0 -109
  223. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +0 -58
  224. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +0 -206
  225. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +0 -64
  226. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +0 -124
  227. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +0 -60
  228. data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +0 -266
  229. data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +0 -66
  230. data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +0 -86
  231. data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +0 -55
  232. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +0 -114
  233. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +0 -57
  234. data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +0 -169
  235. data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +0 -61
  236. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +0 -98
  237. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +0 -55
  238. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +0 -87
  239. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +0 -57
  240. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +0 -116
  241. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +0 -58
  242. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +0 -112
  243. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +0 -58
  244. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +0 -168
  245. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +0 -66
  246. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +0 -134
  247. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +0 -60
  248. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +0 -1537
  249. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +0 -92
  250. data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +0 -102
  251. data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +0 -57
  252. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +0 -142
  253. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +0 -61
  254. data/ext/mathematical/lasem/src/lsmsvggelement.c +0 -73
  255. data/ext/mathematical/lasem/src/lsmsvggelement.h +0 -55
  256. data/ext/mathematical/lasem/src/lsmsvggradientelement.c +0 -151
  257. data/ext/mathematical/lasem/src/lsmsvggradientelement.h +0 -68
  258. data/ext/mathematical/lasem/src/lsmsvgimageelement.c +0 -261
  259. data/ext/mathematical/lasem/src/lsmsvgimageelement.h +0 -67
  260. data/ext/mathematical/lasem/src/lsmsvglength.c +0 -152
  261. data/ext/mathematical/lasem/src/lsmsvglength.h +0 -65
  262. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +0 -271
  263. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +0 -60
  264. data/ext/mathematical/lasem/src/lsmsvglineelement.c +0 -153
  265. data/ext/mathematical/lasem/src/lsmsvglineelement.h +0 -60
  266. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +0 -266
  267. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +0 -74
  268. data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +0 -232
  269. data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +0 -64
  270. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +0 -221
  271. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +0 -60
  272. data/ext/mathematical/lasem/src/lsmsvgpathelement.c +0 -115
  273. data/ext/mathematical/lasem/src/lsmsvgpathelement.h +0 -59
  274. data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +0 -398
  275. data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +0 -69
  276. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +0 -106
  277. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +0 -57
  278. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +0 -106
  279. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +0 -57
  280. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +0 -323
  281. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +0 -61
  282. data/ext/mathematical/lasem/src/lsmsvgrectelement.c +0 -184
  283. data/ext/mathematical/lasem/src/lsmsvgrectelement.h +0 -62
  284. data/ext/mathematical/lasem/src/lsmsvgstopelement.c +0 -106
  285. data/ext/mathematical/lasem/src/lsmsvgstopelement.h +0 -57
  286. data/ext/mathematical/lasem/src/lsmsvgstyle.c +0 -546
  287. data/ext/mathematical/lasem/src/lsmsvgstyle.h +0 -217
  288. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +0 -266
  289. data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +0 -71
  290. data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +0 -103
  291. data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +0 -55
  292. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +0 -148
  293. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +0 -58
  294. data/ext/mathematical/lasem/src/lsmsvgtextelement.c +0 -203
  295. data/ext/mathematical/lasem/src/lsmsvgtextelement.h +0 -60
  296. data/ext/mathematical/lasem/src/lsmsvgtraits.c +0 -1481
  297. data/ext/mathematical/lasem/src/lsmsvgtraits.h +0 -122
  298. data/ext/mathematical/lasem/src/lsmsvgtransformable.c +0 -106
  299. data/ext/mathematical/lasem/src/lsmsvgtransformable.h +0 -54
  300. data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +0 -174
  301. data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +0 -60
  302. data/ext/mathematical/lasem/src/lsmsvgtypes.h +0 -83
  303. data/ext/mathematical/lasem/src/lsmsvguseelement.c +0 -238
  304. data/ext/mathematical/lasem/src/lsmsvguseelement.h +0 -69
  305. data/ext/mathematical/lasem/src/lsmsvgview.c +0 -2797
  306. data/ext/mathematical/lasem/src/lsmsvgview.h +0 -203
  307. data/ext/mathematical/lasem/src/lsmtraits.c +0 -171
  308. data/ext/mathematical/lasem/src/lsmtraits.h +0 -51
  309. data/ext/mathematical/lasem/src/lsmtypes.h +0 -36
  310. data/ext/mathematical/lasem/src/lsmutils.c +0 -54
  311. data/ext/mathematical/lasem/src/lsmutils.h +0 -56
  312. data/ext/mathematical/lasem/tests/Makefile.am +0 -34
  313. data/ext/mathematical/lasem/tests/data/mathml/gtkmathview/README +0 -5
  314. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-02.tex +0 -1
  315. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03-inline.tex +0 -1
  316. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction-03.tex +0 -1
  317. data/ext/mathematical/lasem/tests/data/mathml/tex/fractions/fraction.tex +0 -1
  318. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/closed.tex +0 -1
  319. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/multiples.tex +0 -1
  320. data/ext/mathematical/lasem/tests/data/mathml/tex/integrals/standard.tex +0 -1
  321. data/ext/mathematical/lasem/tests/data/mathml/tex/matrices/matrix-01.tex +0 -5
  322. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-cr.tex +0 -7
  323. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases-space.tex +0 -7
  324. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/cases.tex +0 -7
  325. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/color.tex +0 -1
  326. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-2.tex +0 -1
  327. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex-inline.tex +0 -7
  328. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/complex.tex +0 -7
  329. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic-inline.tex +0 -1
  330. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/quadratic.tex +0 -1
  331. data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-01.tex +0 -1
  332. data/ext/mathematical/lasem/tests/data/mathml/tex/radicals/radical-02.tex +0 -1
  333. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/accents.tex +0 -1
  334. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/script.tex +0 -1
  335. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/stack.tex +0 -1
  336. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/subscript.tex +0 -1
  337. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums-inline.tex +0 -1
  338. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/sums.tex +0 -1
  339. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript-inline.tex +0 -1
  340. data/ext/mathematical/lasem/tests/data/mathml/tex/scripts/superscript.tex +0 -1
  341. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/bmpCursor.bmp +0 -0
  342. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/brushedMetal.jpg +0 -0
  343. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpeg.jpg +0 -0
  344. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/jpegCursor.jpg +0 -0
  345. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaBridge.jpg +0 -0
  346. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaSteps.jpg +0 -0
  347. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/operaWalk.jpg +0 -0
  348. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors.tif +0 -0
  349. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb.tif +0 -0
  350. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_pb_tile.tif +0 -0
  351. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/sm_colors_tile.tif +0 -0
  352. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tde.jpg +0 -0
  353. data/ext/mathematical/lasem/tests/data/svg/batik/resources/images/tiffCursor.tif +0 -0
  354. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/image1.jpg +0 -0
  355. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-01.jpg +0 -0
  356. data/ext/mathematical/lasem/tests/data/svg/svg1.1/images/struct-image-02.jpg +0 -0
  357. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/CNN.3gp +0 -0
  358. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/SVG-1.1-monolithic-fixed.dtd +0 -1622
  359. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/TraitAccess.common.es +0 -672
  360. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/advice.wav +0 -0
  361. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/beep.wav +0 -0
  362. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/boing_x.wav +0 -0
  363. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/clock.mp4 +0 -0
  364. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud-ps411q4app.jpg +0 -0
  365. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q25s.jpg +0 -0
  366. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q65float.jpg +0 -0
  367. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75o.jpg +0 -0
  368. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75p.jpg +0 -0
  369. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud411q75s.jpg +0 -0
  370. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloud444q65o.jpg +0 -0
  371. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudgsq75s.jpg +0 -0
  372. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudoddq65o.jpg +0 -0
  373. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/cloudqllo.jpg +0 -0
  374. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/copyright-documents-19990405.html +0 -89
  375. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/disco.jpg +0 -0
  376. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.3gp +0 -0
  377. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.jpg +0 -0
  378. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/dogandball.mov +0 -0
  379. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.3gp +0 -0
  380. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/duckfeeding.mov +0 -0
  381. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/excuse_me.wav +0 -0
  382. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/externalscript.js +0 -1
  383. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton.jpg +0 -0
  384. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton1.jpg +0 -0
  385. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton2.jpg +0 -0
  386. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton3.jpg +0 -0
  387. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/greentopbutton4.jpg +0 -0
  388. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/heroesLanding.3gp +0 -0
  389. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image1.jpg +0 -0
  390. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/image2_b.jpg +0 -0
  391. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/myimage.jpg +0 -0
  392. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pacman.wav +0 -0
  393. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/plant.jpg +0 -0
  394. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image0.jpg +0 -0
  395. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image1.jpg +0 -0
  396. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image2.jpg +0 -0
  397. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image3.jpg +0 -0
  398. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image4.jpg +0 -0
  399. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image5.jpg +0 -0
  400. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image6.jpg +0 -0
  401. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image7.jpg +0 -0
  402. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image8.jpg +0 -0
  403. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/pref_image9.jpg +0 -0
  404. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script1.js +0 -1
  405. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script10.js +0 -1
  406. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script2.js +0 -1
  407. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script3.js +0 -1
  408. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script4.js +0 -1
  409. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script5.js +0 -1
  410. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script6.js +0 -1
  411. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script7.js +0 -1
  412. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script8.js +0 -1
  413. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/script9.js +0 -1
  414. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.3gp +0 -0
  415. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/skier.jpg +0 -0
  416. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-01.jpg +0 -0
  417. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/struct-image-02.jpg +0 -0
  418. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/svgRef4.css +0 -4
  419. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/welcome.wav +0 -0
  420. data/ext/mathematical/lasem/tests/data/svg/svg1.2/images/xmltree.xml +0 -4
  421. data/ext/mathematical/lasem/tests/dom.c +0 -272
  422. data/ext/mathematical/lasem/tests/filter.c +0 -152
  423. data/ext/mathematical/lasem/tests/fuzztest.sh +0 -12
  424. data/ext/mathematical/lasem/tests/lsmtest.c +0 -599
  425. data/ext/mathematical/lasem/tests/str.c +0 -48
  426. data/ext/mathematical/lasem/tests/suite.c +0 -144
  427. data/ext/mathematical/lasem/tests/suite.ini +0 -27
  428. data/ext/mathematical/lasem/tools/change-license +0 -3
  429. data/ext/mathematical/lasem/tools/charlist.dtd +0 -73
  430. data/ext/mathematical/lasem/tools/entities-to-c.xsl +0 -1067
  431. data/ext/mathematical/lasem/tools/fuzzxml +0 -243
  432. data/ext/mathematical/lasem/tools/generate-entity-array.c +0 -2136
  433. data/ext/mathematical/lasem/tools/unicode.xml +0 -44303
  434. data/ext/mathematical/lib/liblasem.dylib +0 -0
  435. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  436. data/ext/mathematical/mtex2MML/CMakeLists.txt +0 -255
  437. data/ext/mathematical/mtex2MML/CONTRIBUTING.md +0 -22
  438. data/ext/mathematical/mtex2MML/README.md +0 -143
  439. data/ext/mathematical/mtex2MML/SUPPORTED.md +0 -1216
  440. data/ext/mathematical/mtex2MML/appveyor.yml +0 -35
  441. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -497
  442. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeCCompiler.cmake +0 -76
  443. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeCXXCompiler.cmake +0 -79
  444. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeDetermineCompilerABI_C.bin +0 -0
  445. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeDetermineCompilerABI_CXX.bin +0 -0
  446. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeSystem.cmake +0 -15
  447. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdC/CMakeCCompilerId.c +0 -665
  448. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdC/a.out +0 -0
  449. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -644
  450. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdCXX/a.out +0 -0
  451. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  452. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -347
  453. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
  454. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
  455. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
  456. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
  457. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
  458. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
  459. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
  460. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
  461. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
  462. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
  463. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
  464. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
  465. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
  466. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
  467. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
  468. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
  469. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
  470. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
  471. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
  472. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
  473. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
  474. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
  475. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
  476. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
  477. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
  478. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
  479. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
  480. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
  481. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
  482. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
  483. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
  484. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
  485. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
  486. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
  487. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
  488. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
  489. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
  490. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
  491. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
  492. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
  493. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
  494. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
  495. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
  496. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
  497. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
  498. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
  499. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
  500. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
  501. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
  502. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
  503. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
  504. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
  505. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
  506. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
  507. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
  508. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
  509. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
  510. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
  511. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
  512. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
  513. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
  514. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
  515. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
  516. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
  517. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
  518. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
  519. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
  520. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
  521. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
  522. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
  523. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
  524. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
  525. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
  526. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
  527. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1050
  528. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
  529. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
  530. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
  531. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
  532. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
  533. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
  534. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
  535. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
  536. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
  537. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
  538. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
  539. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
  540. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
  541. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
  542. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
  543. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
  544. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
  545. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
  546. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
  547. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
  548. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
  549. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
  550. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
  551. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
  552. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
  553. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
  554. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
  555. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
  556. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
  557. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
  558. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
  559. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
  560. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
  561. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
  562. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
  563. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
  564. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
  565. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
  566. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
  567. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
  568. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
  569. data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
  570. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
  571. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
  572. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
  573. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
  574. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
  575. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
  576. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
  577. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
  578. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
  579. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
  580. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
  581. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
  582. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
  583. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
  584. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
  585. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
  586. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
  587. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
  588. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
  589. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
  590. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
  591. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
  592. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
  593. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
  594. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
  595. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
  596. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
  597. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
  598. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
  599. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
  600. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
  601. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
  602. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
  603. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
  604. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
  605. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
  606. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
  607. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
  608. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
  609. data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
  610. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
  611. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
  612. data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
  613. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
  614. data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
  615. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  616. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
  617. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
  618. data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
  619. data/ext/mathematical/mtex2MML/build/parser.h +0 -625
  620. data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
  621. data/ext/mathematical/mtex2MML/cmake/Modules/astyle.cmake +0 -12
  622. data/ext/mathematical/mtex2MML/deps/uthash/package.json +0 -27
  623. data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +0 -239
  624. data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +0 -1074
  625. data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +0 -895
  626. data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +0 -108
  627. data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +0 -398
  628. data/ext/mathematical/mtex2MML/script/bootstrap +0 -39
  629. data/ext/mathematical/mtex2MML/script/cibuild +0 -58
  630. data/ext/mathematical/mtex2MML/script/tag +0 -27
  631. data/ext/mathematical/mtex2MML/src/colors.c +0 -44
  632. data/ext/mathematical/mtex2MML/src/colors.h +0 -23
  633. data/ext/mathematical/mtex2MML/src/em.c +0 -99
  634. data/ext/mathematical/mtex2MML/src/em.h +0 -31
  635. data/ext/mathematical/mtex2MML/src/environment.c +0 -515
  636. data/ext/mathematical/mtex2MML/src/environment.h +0 -85
  637. data/ext/mathematical/mtex2MML/src/lexer.l +0 -1594
  638. data/ext/mathematical/mtex2MML/src/libmtex2MML.pc.in +0 -10
  639. data/ext/mathematical/mtex2MML/src/main.c +0 -187
  640. data/ext/mathematical/mtex2MML/src/mtex2MML.h +0 -89
  641. data/ext/mathematical/mtex2MML/src/parser.y +0 -3817
  642. data/ext/mathematical/mtex2MML/src/string_dup.c +0 -23
  643. data/ext/mathematical/mtex2MML/src/string_dup.h +0 -23
  644. data/ext/mathematical/mtex2MML/src/string_extras.c +0 -47
  645. data/ext/mathematical/mtex2MML/src/string_extras.h +0 -30
  646. data/ext/mathematical/mtex2MML/src/win32-shims/unistd.h +0 -51
  647. data/ext/mathematical/mtex2MML/tests/array.c +0 -127
  648. data/ext/mathematical/mtex2MML/tests/basic.c +0 -96
  649. data/ext/mathematical/mtex2MML/tests/clar/fixtures.h +0 -38
  650. data/ext/mathematical/mtex2MML/tests/clar/fs.h +0 -335
  651. data/ext/mathematical/mtex2MML/tests/clar/print.h +0 -66
  652. data/ext/mathematical/mtex2MML/tests/clar/sandbox.h +0 -141
  653. data/ext/mathematical/mtex2MML/tests/clar.c +0 -644
  654. data/ext/mathematical/mtex2MML/tests/clar.h +0 -163
  655. data/ext/mathematical/mtex2MML/tests/clar_test.h +0 -20
  656. data/ext/mathematical/mtex2MML/tests/cornercases.c +0 -46
  657. data/ext/mathematical/mtex2MML/tests/debug/mtex2MML_debug.cc +0 -21
  658. data/ext/mathematical/mtex2MML/tests/delimiters.c +0 -242
  659. data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.c +0 -62
  660. data/ext/mathematical/mtex2MML/tests/deps/file2str/file2str.h +0 -12
  661. data/ext/mathematical/mtex2MML/tests/deps/file2str/package.json +0 -9
  662. data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.c +0 -151
  663. data/ext/mathematical/mtex2MML/tests/deps/mkdtemp/mkdtemp.h +0 -10
  664. data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +0 -7
  665. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.c +0 -27
  666. data/ext/mathematical/mtex2MML/tests/deps/trim/trim.h +0 -7
  667. data/ext/mathematical/mtex2MML/tests/env.c +0 -334
  668. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-1.html +0 -86
  669. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-2.html +0 -148
  670. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/amscd-3.html +0 -188
  671. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/arrows-2.html +0 -156
  672. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-1.html +0 -45
  673. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/AMScd/min-2.html +0 -35
  674. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-1.html +0 -16
  675. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-2.html +0 -3
  676. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/accents-3.html +0 -5
  677. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/buildrel-1.html +0 -3
  678. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue490.html +0 -0
  679. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue877.html +0 -3
  680. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/issue937.html +0 -3
  681. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbrace-1.html +0 -3
  682. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overbracket-1.html +0 -3
  683. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/overset-1.html +0 -3
  684. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/sideset-1.html +0 -5
  685. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/stackrel-1.html +0 -3
  686. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/subarray-1.html +0 -1
  687. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/substack-1.html +0 -3
  688. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbrace-1.html +0 -3
  689. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underbracket-1.html +0 -3
  690. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/above-below/underset-1.html +0 -3
  691. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/mathtip-1.html +0 -6
  692. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/texttip-1.html +0 -6
  693. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/action/toggle-1.html +0 -7
  694. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/Newextarrow-1.html +0 -10
  695. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-1.html +0 -34
  696. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-2.html +0 -30
  697. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-3.html +0 -9
  698. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-4.html +0 -13
  699. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/arrows/arrows-5.html +0 -7
  700. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathbin-1.html +0 -7
  701. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathinner-1.html +0 -3
  702. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1a.html +0 -3
  703. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-1b.html +0 -5
  704. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathop-2.html +0 -5
  705. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathopenclose-1.html +0 -3
  706. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathord-1.html +0 -3
  707. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathpunct-1.html +0 -3
  708. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/atoms/mathrel-1.html +0 -3
  709. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/backslashed-1.html +0 -16
  710. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-1.html +0 -3
  711. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/basic-operators-2.html +0 -25
  712. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/basic-operators/remap-1.html +0 -5
  713. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/color-1.html +0 -3
  714. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/colorbox-1.html +0 -3
  715. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-1.html +0 -37
  716. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/definecolor-2.html +0 -79
  717. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/fcolorbox-1.html +0 -7
  718. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/issue446.html +0 -5
  719. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/colors/namedcolors-1.html +0 -70
  720. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-1.html +0 -3
  721. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-2.html +0 -3
  722. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/big-3.html +0 -3
  723. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-1.html +0 -3
  724. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/delimiters-2.html +0 -4
  725. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue775.html +0 -3
  726. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1a.html +0 -6
  727. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-1b.html +0 -6
  728. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-2.html +0 -6
  729. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-3.html +0 -6
  730. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-4.html +0 -6
  731. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/issue776-5.html +0 -6
  732. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/delimiters/left-right-1.html +0 -3
  733. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1a.html +0 -7
  734. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/align-1b.html +0 -7
  735. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1a.html +0 -6
  736. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignat-1b.html +0 -6
  737. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-1.html +0 -9
  738. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/aligned-2.html +0 -14
  739. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/alignedat-1.html +0 -8
  740. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalign-1.html +0 -8
  741. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqalignno-1.html +0 -8
  742. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1a.html +0 -7
  743. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-1b.html +0 -7
  744. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/eqnarray-2.html +0 -64
  745. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-1.html +0 -5
  746. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/equation-2.html +0 -5
  747. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1a.html +0 -7
  748. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gather-1b.html +0 -7
  749. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-1.html +0 -7
  750. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/gathered-2.html +0 -12
  751. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1a.html +0 -5
  752. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-1b.html +0 -5
  753. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2a.html +0 -5
  754. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-2b.html +0 -5
  755. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3a.html +0 -5
  756. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/issue982-3b.html +0 -5
  757. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/leqalignno-1.html +0 -11
  758. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1a.html +0 -7
  759. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/multline-1b.html +0 -7
  760. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/environments/split-1.html +0 -9
  761. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noErrors-1.html +0 -5
  762. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/errors/noUndefined-1.html +0 -3
  763. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/above-1.html +0 -3
  764. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/abovewithdelims-1.html +0 -3
  765. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atop-1.html +0 -3
  766. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/atopwithdelims-1.html +0 -3
  767. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/binom-1.html +0 -3
  768. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brace-1.html +0 -3
  769. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/brack-1.html +0 -3
  770. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/cfrac-1.html +0 -3
  771. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/choose-1.html +0 -3
  772. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dbinom-1.html +0 -3
  773. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/dfrac-1.html +0 -3
  774. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1a.html +0 -3
  775. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/frac-1b.html +0 -3
  776. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/genfrac-1.html +0 -3
  777. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/issue969.html +0 -3
  778. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/overwithdelims-1.html +0 -3
  779. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tbinom-1.html +0 -3
  780. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/frac/tfrac-1.html +0 -3
  781. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-1.html +0 -1
  782. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue1152-2.html +0 -4
  783. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue375.html +0 -3
  784. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue856.html +0 -3
  785. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1a.html +0 -5
  786. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1b.html +0 -5
  787. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1c.html +0 -5
  788. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/issues/issue901-1d.html +0 -5
  789. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/boxes-1.html +0 -5
  790. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1a.html +0 -3
  791. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/kern-1b.html +0 -3
  792. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/llap-1.html +0 -3
  793. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/lower-1.html +0 -4
  794. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/mathstrut-1.html +0 -3
  795. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveleft-1.html +0 -3
  796. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/moveright-1.html +0 -3
  797. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/newline-1.html +0 -3
  798. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/phantom-1.html +0 -4
  799. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/raise-1.html +0 -3
  800. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/rlap-1.html +0 -3
  801. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/shove-1.html +0 -19
  802. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1a.html +0 -3
  803. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/skip-1b.html +0 -3
  804. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/smash-1.html +0 -3
  805. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/spaces-1.html +0 -18
  806. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +0 -3
  807. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/vcenter-1.html +0 -3
  808. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-1.html +0 -32
  809. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-2.html +0 -13
  810. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-3.html +0 -6
  811. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/greek-4.html +0 -13
  812. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/letters/hebrew-1.html +0 -6
  813. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/begingroup-1.html +0 -15
  814. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/def-1.html +0 -5
  815. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/let-1.html +0 -14
  816. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-1.html +0 -7
  817. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-2.html +0 -25
  818. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-3.html +0 -50
  819. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-5.html +0 -5
  820. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-6.html +0 -7
  821. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/macro/macro-7.html +0 -7
  822. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/Bbb-1.html +0 -3
  823. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/bf-1.html +0 -3
  824. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/boldsymbol-1.html +0 -9
  825. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +0 -3
  826. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +0 -3
  827. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/it-1.html +0 -3
  828. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbb-1.html +0 -3
  829. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1a.html +0 -3
  830. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-1b.html +0 -3
  831. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathbf-2.html +0 -3
  832. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +0 -3
  833. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +0 -3
  834. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathit-1.html +0 -3
  835. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +0 -3
  836. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +0 -3
  837. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathsf-1.html +0 -3
  838. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathtt-1.html +0 -3
  839. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mit-1.html +0 -3
  840. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/pmb-1.html +0 -3
  841. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +0 -3
  842. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +0 -3
  843. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/sf-1.html +0 -3
  844. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/text-1.html +0 -3
  845. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textbf-1.html +0 -3
  846. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textit-1.html +0 -3
  847. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +0 -3
  848. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textsf-1.html +0 -3
  849. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/texttt-1.html +0 -3
  850. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/tt-1.html +0 -3
  851. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1a.html +0 -7
  852. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-1b.html +0 -7
  853. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-2.html +0 -3
  854. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/array-3.html +0 -3
  855. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-1.html +0 -7
  856. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/bmatrix-2.html +0 -7
  857. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-1.html +0 -7
  858. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/matrix-2.html +0 -7
  859. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-1.html +0 -7
  860. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/pmatrix-2.html +0 -8
  861. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/smallmatrix-1.html +0 -3
  862. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-1.html +0 -7
  863. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/matrices/vmatrix-2.html +0 -7
  864. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-1.html +0 -120
  865. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-2.html +0 -35
  866. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/advanced-3.html +0 -138
  867. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/amounts-1.html +0 -46
  868. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-1.html +0 -235
  869. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/arrows-2.html +0 -159
  870. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/basics-1.html +0 -139
  871. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/bonds-1.html +0 -256
  872. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/environments-1.html +0 -81
  873. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/isotopes-1.html +0 -30
  874. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/math-1.html +0 -101
  875. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mhchem/special_symbols-1.html +0 -176
  876. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Rule-1.html +0 -5
  877. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/Tiny-1.html +0 -3
  878. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/class-1.html +0 -3
  879. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/cssId-1.html +0 -3
  880. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-1.html +0 -3
  881. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/href-2.html +0 -3
  882. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/require-1.html +0 -3
  883. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/style-1.html +0 -3
  884. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/non-standard/unicode-1.html +0 -8
  885. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/LaTeX-1.html +0 -4
  886. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/bbox-1.html +0 -6
  887. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/boxed-1.html +0 -3
  888. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cancel-1.html +0 -6
  889. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/cases-1.html +0 -3
  890. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/displaylines-1.html +0 -7
  891. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/enclose-1.html +0 -8
  892. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/functions-1.html +0 -34
  893. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-1.html +0 -5
  894. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-2.html +0 -8
  895. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/limits-3.html +0 -3
  896. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mathsize-1.html +0 -11
  897. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/mod-1.html +0 -5
  898. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/not-1.html +0 -5
  899. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/pod-1.html +0 -3
  900. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-1.html +0 -8
  901. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-2.html +0 -4
  902. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/primes-3.html +0 -3
  903. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-1.html +0 -7
  904. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/style-2.html +0 -0
  905. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-1.html +0 -3
  906. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/other/verb-2.html +0 -3
  907. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/eqref-1.html +0 -5
  908. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-1.html +0 -7
  909. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/label-2.html +0 -1
  910. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/notag-1.html +0 -5
  911. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-1.html +0 -5
  912. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-2.html +0 -5
  913. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/references/ref-3.html +0 -5
  914. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-1.html +0 -3
  915. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-2.html +0 -3
  916. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/root-3.html +0 -3
  917. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-1.html +0 -3
  918. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/roots/sqrt-2.html +0 -3
  919. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/binaryops-1.html +0 -32
  920. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/dots-1.html +0 -26
  921. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-1.html +0 -4
  922. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/largeops-2.html +0 -3
  923. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/relations-1.html +0 -39
  924. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-1.html +0 -25
  925. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-2.html +0 -31
  926. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-3.html +0 -40
  927. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-4.html +0 -39
  928. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-5.html +0 -56
  929. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/symbols/symbols-6.html +0 -49
  930. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-1.no_tex +0 -8
  931. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-2.no_tex +0 -13
  932. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/amscd-3.no_tex +0 -23
  933. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-1.no_tex +0 -23
  934. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/arrows-2.no_tex +0 -26
  935. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-1.no_tex +0 -14
  936. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/AMScd/min-2.no_tex +0 -14
  937. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-1.txt +0 -16
  938. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-2.txt +0 -3
  939. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/accents-3.txt +0 -5
  940. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/buildrel-1.txt +0 -3
  941. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue490.no_tex +0 -3
  942. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue877.txt +0 -3
  943. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/issue937.txt +0 -3
  944. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbrace-1.txt +0 -3
  945. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overbracket-1.txt +0 -3
  946. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/overset-1.txt +0 -3
  947. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/sideset-1.txt +0 -6
  948. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/stackrel-1.txt +0 -3
  949. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/subarray-1.txt +0 -1
  950. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/substack-1.txt +0 -3
  951. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbrace-1.txt +0 -3
  952. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underbracket-1.txt +0 -3
  953. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/above-below/underset-1.txt +0 -3
  954. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/mathtip-1.no_tex +0 -2
  955. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/texttip-1.no_tex +0 -2
  956. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/action/toggle-1.no_tex +0 -3
  957. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/Newextarrow-1.xtex +0 -4
  958. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-1.txt +0 -34
  959. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-2.txt +0 -30
  960. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-3.txt +0 -9
  961. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-4.txt +0 -13
  962. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/arrows/arrows-5.txt +0 -7
  963. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathbin-1.no_tex +0 -3
  964. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathinner-1.txt +0 -3
  965. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1a.txt +0 -3
  966. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-1b.txt +0 -5
  967. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathop-2.xtex +0 -3
  968. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathopenclose-1.txt +0 -3
  969. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathord-1.txt +0 -3
  970. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathpunct-1.txt +0 -3
  971. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/atoms/mathrel-1.txt +0 -3
  972. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/backslashed-1.txt +0 -16
  973. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-1.txt +0 -3
  974. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/basic-operators-2.xtex +0 -5
  975. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/basic-operators/remap-1.txt +0 -5
  976. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/color-1.txt +0 -3
  977. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/colorbox-1.txt +0 -3
  978. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1a.xtex +0 -7
  979. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1b.xtex +0 -7
  980. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-1c.xtex +0 -7
  981. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/definecolor-2.xtex +0 -13
  982. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/fcolorbox-1.xtex +0 -3
  983. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/issue446.xtex +0 -5
  984. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/colors/namedcolors-1.txt +0 -70
  985. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-1.txt +0 -3
  986. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-2.txt +0 -3
  987. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/big-3.txt +0 -3
  988. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-1.txt +0 -3
  989. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/delimiters-2.txt +0 -4
  990. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue775.txt +0 -3
  991. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1a.txt +0 -6
  992. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-1b.txt +0 -6
  993. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-2.txt +0 -6
  994. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-3.txt +0 -6
  995. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-4.txt +0 -6
  996. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/issue776-5.txt +0 -6
  997. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/delimiters/left-right-1.txt +0 -3
  998. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1a.txt +0 -7
  999. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/align-1b.txt +0 -7
  1000. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1a.txt +0 -6
  1001. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignat-1b.txt +0 -6
  1002. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-1.txt +0 -9
  1003. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/aligned-2.txt +0 -14
  1004. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/alignedat-1.txt +0 -8
  1005. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalign-1.txt +0 -8
  1006. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqalignno-1.txt +0 -8
  1007. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1a.txt +0 -7
  1008. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1b.txt +0 -7
  1009. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-1c.no_tex +0 -7
  1010. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/eqnarray-2a.no_tex +0 -8
  1011. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-1.txt +0 -5
  1012. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/equation-2.txt +0 -5
  1013. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1a.txt +0 -7
  1014. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gather-1b.txt +0 -7
  1015. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-1.txt +0 -7
  1016. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/gathered-2.txt +0 -12
  1017. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1a.txt +0 -5
  1018. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-1b.txt +0 -5
  1019. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2a.txt +0 -5
  1020. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-2b.txt +0 -5
  1021. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3a.txt +0 -5
  1022. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/issue982-3b.txt +0 -5
  1023. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/leqalignno-1.xtex +0 -8
  1024. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1a.txt +0 -7
  1025. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/multline-1b.txt +0 -7
  1026. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/environments/split-1.txt +0 -9
  1027. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noErrors-1.no_tex +0 -3
  1028. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/errors/noUndefined-1.no_tex +0 -2
  1029. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/above-1.txt +0 -3
  1030. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/abovewithdelims-1.txt +0 -3
  1031. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atop-1.txt +0 -3
  1032. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/atopwithdelims-1.txt +0 -3
  1033. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/binom-1.txt +0 -3
  1034. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brace-1.txt +0 -3
  1035. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/brack-1.txt +0 -3
  1036. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/cfrac-1.txt +0 -3
  1037. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/choose-1.txt +0 -3
  1038. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dbinom-1.txt +0 -3
  1039. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/dfrac-1.txt +0 -3
  1040. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1a.txt +0 -3
  1041. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/frac-1b.txt +0 -3
  1042. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/genfrac-1.txt +0 -3
  1043. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/issue969.txt +0 -3
  1044. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/overwithdelims-1.txt +0 -3
  1045. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tbinom-1.txt +0 -3
  1046. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/frac/tfrac-1.txt +0 -3
  1047. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1151.no_tex +0 -3
  1048. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-1.xtex +0 -1
  1049. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue1152-2.txt +0 -4
  1050. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue375.txt +0 -3
  1051. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue856.txt +0 -3
  1052. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1a.txt +0 -5
  1053. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1b.txt +0 -5
  1054. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1c.txt +0 -5
  1055. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue901-1d.txt +0 -5
  1056. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-1.xtex +0 -6
  1057. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/issues/issue903-2.xtex +0 -16
  1058. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/boxes-1.txt +0 -5
  1059. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1a.txt +0 -3
  1060. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/kern-1b.txt +0 -3
  1061. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/llap-1.txt +0 -3
  1062. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/lower-1.txt +0 -4
  1063. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/mathstrut-1.txt +0 -3
  1064. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveleft-1.txt +0 -3
  1065. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/moveright-1.txt +0 -3
  1066. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/newline-1.txt +0 -3
  1067. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/phantom-1.txt +0 -4
  1068. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/raise-1.txt +0 -3
  1069. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/rlap-1.txt +0 -3
  1070. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/shove-1.xtex +0 -7
  1071. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1a.txt +0 -3
  1072. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/skip-1b.txt +0 -3
  1073. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/smash-1.txt +0 -3
  1074. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/spaces-1.txt +0 -18
  1075. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/strut-1.txt +0 -3
  1076. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/layout/vcenter-1.txt +0 -3
  1077. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-1.txt +0 -32
  1078. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-2.txt +0 -13
  1079. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-3.txt +0 -6
  1080. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/greek-4.txt +0 -13
  1081. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/letters/hebrew-1.txt +0 -6
  1082. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/begingroup-1.no_tex +0 -8
  1083. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/def-1.no_tex +0 -4
  1084. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/let-1.no_tex +0 -5
  1085. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1a.no_tex +0 -3
  1086. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-1b.no_tex +0 -3
  1087. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-2.no_tex +0 -3
  1088. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-3.no_tex +0 -5
  1089. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-5.no_tex +0 -3
  1090. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-6.no_tex +0 -5
  1091. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/macro/macro-7.no_tex +0 -11
  1092. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/Bbb-1.txt +0 -3
  1093. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/bf-1.txt +0 -3
  1094. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/boldsymbol-1.txt +0 -9
  1095. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/cal-1.txt +0 -3
  1096. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/frak-1.txt +0 -3
  1097. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/it-1.txt +0 -3
  1098. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbb-1.txt +0 -3
  1099. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1a.txt +0 -3
  1100. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-1b.txt +0 -3
  1101. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathbf-2.txt +0 -3
  1102. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathcal-1.txt +0 -3
  1103. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathfrak-1.txt +0 -3
  1104. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathit-1.txt +0 -3
  1105. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathrm-1.txt +0 -3
  1106. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathscr-1.txt +0 -3
  1107. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathsf-1.txt +0 -3
  1108. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mathtt-1.txt +0 -3
  1109. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/mit-1.txt +0 -3
  1110. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/pmb-1.txt +0 -3
  1111. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/rm-1.txt +0 -3
  1112. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/scr-1.txt +0 -3
  1113. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/sf-1.txt +0 -3
  1114. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/text-1.txt +0 -3
  1115. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textbf-1.txt +0 -3
  1116. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textit-1.txt +0 -3
  1117. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textrm-1.txt +0 -3
  1118. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/textsf-1.txt +0 -3
  1119. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/texttt-1.txt +0 -3
  1120. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mathvariant/tt-1.txt +0 -3
  1121. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1a.txt +0 -7
  1122. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-1b.txt +0 -7
  1123. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-2.txt +0 -3
  1124. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/array-3.txt +0 -3
  1125. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-1.txt +0 -7
  1126. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/bmatrix-2.txt +0 -7
  1127. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-1.txt +0 -7
  1128. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/matrix-2.txt +0 -7
  1129. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-1.txt +0 -7
  1130. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/pmatrix-2.txt +0 -8
  1131. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/smallmatrix-1.txt +0 -3
  1132. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-1.txt +0 -7
  1133. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/matrices/vmatrix-2.txt +0 -7
  1134. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-1.no_tex +0 -8
  1135. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-2.no_tex +0 -3
  1136. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/advanced-3.no_tex +0 -7
  1137. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/amounts-1.no_tex +0 -4
  1138. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-1.no_tex +0 -10
  1139. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/arrows-2.no_tex +0 -9
  1140. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/basics-1.no_tex +0 -13
  1141. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/bonds-1.no_tex +0 -11
  1142. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/environments-1.no_tex +0 -6
  1143. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/isotopes-1.no_tex +0 -3
  1144. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/math-1.no_tex +0 -4
  1145. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/mhchem/special_symbols-1.no_tex +0 -7
  1146. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Rule-1.no_tex +0 -3
  1147. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/Tiny-1.txt +0 -3
  1148. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/class-1.no_tex +0 -3
  1149. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/cssId-1.no_tex +0 -3
  1150. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-1.no_tex +0 -3
  1151. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/href-2.no_tex +0 -3
  1152. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/require-1.no_tex +0 -5
  1153. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/style-1.no_tex +0 -3
  1154. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/non-standard/unicode-1.no_tex +0 -3
  1155. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/LaTeX-1.txt +0 -4
  1156. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/bbox-1.txt +0 -6
  1157. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/boxed-1.txt +0 -3
  1158. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cancel-1.txt +0 -6
  1159. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/cases-1.txt +0 -3
  1160. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/displaylines-1.xtex +0 -8
  1161. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/enclose-1.txt +0 -8
  1162. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/functions-1.txt +0 -34
  1163. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-1.txt +0 -7
  1164. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-2.txt +0 -8
  1165. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/limits-3.txt +0 -3
  1166. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mathsize-1.txt +0 -11
  1167. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/mod-1.txt +0 -5
  1168. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/not-1.txt +0 -5
  1169. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/pod-1.txt +0 -3
  1170. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-1.txt +0 -8
  1171. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-2.txt +0 -4
  1172. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/primes-3.txt +0 -3
  1173. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-1.txt +0 -7
  1174. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/style-2.no_tex +0 -10
  1175. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-1.txt +0 -3
  1176. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/other/verb-2.txt +0 -3
  1177. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/eqref-1.no_tex +0 -7
  1178. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-1.no_tex +0 -3
  1179. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/label-2.no_tex +0 -2
  1180. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/notag-1.txt +0 -5
  1181. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1a.no_tex +0 -2
  1182. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-1b.no_tex +0 -2
  1183. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-2.no_tex +0 -2
  1184. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/ref-3.no_tex +0 -2
  1185. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-1.no_tex +0 -1
  1186. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-2.no_tex +0 -1
  1187. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-3.no_tex +0 -3
  1188. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/references/tag-4.no_tex +0 -3
  1189. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-1.txt +0 -3
  1190. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-2.txt +0 -3
  1191. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/root-3.txt +0 -3
  1192. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-1.txt +0 -3
  1193. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/roots/sqrt-2.txt +0 -3
  1194. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/binaryops-1.txt +0 -32
  1195. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/dots-1.txt +0 -26
  1196. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-1.txt +0 -4
  1197. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/largeops-2.txt +0 -3
  1198. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/relations-1.txt +0 -39
  1199. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-1.txt +0 -25
  1200. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-2.txt +0 -31
  1201. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-3.txt +0 -40
  1202. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-4.txt +0 -39
  1203. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-5.txt +0 -56
  1204. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-tex/symbols/symbols-6.txt +0 -49
  1205. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/TODO.md +0 -3
  1206. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.html +0 -32
  1207. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_nesting.txt +0 -32
  1208. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.html +0 -8
  1209. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment.txt +0 -8
  1210. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.html +0 -12
  1211. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_pos_alignment_with_hline.txt +0 -12
  1212. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.html +0 -5
  1213. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column.txt +0 -5
  1214. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.html +0 -5
  1215. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_vertical_column_with_align.txt +0 -5
  1216. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.html +0 -9
  1217. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline.txt +0 -9
  1218. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.html +0 -10
  1219. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_hline_and_hdashline.txt +0 -10
  1220. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.html +0 -10
  1221. data/ext/mathematical/mtex2MML/tests/fixtures/array/array_with_vertical_and_horizontal_dashes.txt +0 -10
  1222. data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.html +0 -6
  1223. data/ext/mathematical/mtex2MML/tests/fixtures/array/augmented_matrix.txt +0 -6
  1224. data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.html +0 -5
  1225. data/ext/mathematical/mtex2MML/tests/fixtures/array/basic_array.txt +0 -5
  1226. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +0 -7
  1227. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.txt +0 -8
  1228. data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.html +0 -1
  1229. data/ext/mathematical/mtex2MML/tests/fixtures/basic/block.txt +0 -1
  1230. data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.html +0 -6
  1231. data/ext/mathematical/mtex2MML/tests/fixtures/basic/comments.txt +0 -6
  1232. data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.html +0 -1
  1233. data/ext/mathematical/mtex2MML/tests/fixtures/basic/filter.txt +0 -3
  1234. data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.html +0 -1
  1235. data/ext/mathematical/mtex2MML/tests/fixtures/basic/inline.txt +0 -1
  1236. data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.html +0 -3
  1237. data/ext/mathematical/mtex2MML/tests/fixtures/basic/strict_filter.txt +0 -3
  1238. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.html +0 -3
  1239. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_filter.txt +0 -3
  1240. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.html +0 -23
  1241. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.txt +0 -23
  1242. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.html +0 -3
  1243. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/broken_up_inline_env.txt +0 -3
  1244. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.html +0 -24
  1245. data/ext/mathematical/mtex2MML/tests/fixtures/cornercases/some_crazy_alignment.txt +0 -24
  1246. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.html +0 -1
  1247. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.txt +0 -3
  1248. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.html +0 -1
  1249. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.txt +0 -4
  1250. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.html +0 -1
  1251. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.txt +0 -4
  1252. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.html +0 -1
  1253. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.txt +0 -3
  1254. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/brackets.html +0 -1
  1255. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.html +0 -2
  1256. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_filter.txt +0 -27
  1257. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.html +0 -27
  1258. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/dollar_spacings_text_filter.txt +0 -27
  1259. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/double_dollar.html +0 -1
  1260. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping.txt +0 -35
  1261. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_brackets.html +0 -35
  1262. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_dollars.html +0 -35
  1263. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/escaping_with_parens.html +0 -35
  1264. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed.html +0 -1
  1265. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.html +0 -8
  1266. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.txt +0 -11
  1267. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/parens.html +0 -1
  1268. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_dollar.html +0 -1
  1269. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.html +0 -1
  1270. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/single_equation.txt +0 -3
  1271. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.html +0 -6
  1272. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_ex_spacing.txt +0 -6
  1273. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.html +0 -6
  1274. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_ex_spacing.txt +0 -6
  1275. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.html +0 -5
  1276. data/ext/mathematical/mtex2MML/tests/fixtures/env/aligned_no_lines.txt +0 -5
  1277. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.html +0 -5
  1278. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_ex_spacing.txt +0 -5
  1279. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.html +0 -5
  1280. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_ex_spacing.txt +0 -5
  1281. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.html +0 -4
  1282. data/ext/mathematical/mtex2MML/tests/fixtures/env/bbmatrix_no_lines.txt +0 -4
  1283. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.html +0 -5
  1284. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_ex_spacing.txt +0 -5
  1285. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.html +0 -5
  1286. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_ex_spacing.txt +0 -5
  1287. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.html +0 -4
  1288. data/ext/mathematical/mtex2MML/tests/fixtures/env/bmatrix_no_lines.txt +0 -4
  1289. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.html +0 -7
  1290. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_ex_spacing.txt +0 -7
  1291. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.html +0 -7
  1292. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_ex_spacing.txt +0 -7
  1293. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.html +0 -6
  1294. data/ext/mathematical/mtex2MML/tests/fixtures/env/cases_no_lines.txt +0 -6
  1295. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.html +0 -6
  1296. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_ex_spacing.txt +0 -6
  1297. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.html +0 -6
  1298. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_ex_spacing.txt +0 -6
  1299. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.html +0 -5
  1300. data/ext/mathematical/mtex2MML/tests/fixtures/env/gathered_no_lines.txt +0 -5
  1301. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.html +0 -7
  1302. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_ex_spacing.txt +0 -7
  1303. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.html +0 -7
  1304. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_ex_spacing.txt +0 -7
  1305. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.html +0 -6
  1306. data/ext/mathematical/mtex2MML/tests/fixtures/env/matrix_no_lines.txt +0 -6
  1307. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.html +0 -5
  1308. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_ex_spacing.txt +0 -5
  1309. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.html +0 -5
  1310. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_ex_spacing.txt +0 -5
  1311. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.html +0 -4
  1312. data/ext/mathematical/mtex2MML/tests/fixtures/env/pmatrix_no_lines.txt +0 -4
  1313. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.html +0 -8
  1314. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_ex_spacing.txt +0 -8
  1315. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.html +0 -7
  1316. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_ex_spacing.txt +0 -7
  1317. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.html +0 -5
  1318. data/ext/mathematical/mtex2MML/tests/fixtures/env/smallmatrix_no_lines.txt +0 -5
  1319. data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.html +0 -7
  1320. data/ext/mathematical/mtex2MML/tests/fixtures/env/spaces_after_rowsep.txt +0 -7
  1321. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.html +0 -6
  1322. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_ex_spacing.txt +0 -6
  1323. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.html +0 -6
  1324. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_ex_spacing.txt +0 -6
  1325. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.html +0 -5
  1326. data/ext/mathematical/mtex2MML/tests/fixtures/env/split_no_lines.txt +0 -5
  1327. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.html +0 -5
  1328. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_ex_spacing.txt +0 -5
  1329. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.html +0 -5
  1330. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_ex_spacing.txt +0 -5
  1331. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.html +0 -4
  1332. data/ext/mathematical/mtex2MML/tests/fixtures/env/vmatrix_no_lines.txt +0 -4
  1333. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.html +0 -6
  1334. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_ex_spacing.txt +0 -6
  1335. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.html +0 -6
  1336. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_ex_spacing.txt +0 -6
  1337. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.html +0 -5
  1338. data/ext/mathematical/mtex2MML/tests/fixtures/env/vvmatrix_no_lines.txt +0 -5
  1339. data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.html +0 -1
  1340. data/ext/mathematical/mtex2MML/tests/fixtures/functions/max_limits.txt +0 -1
  1341. data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.html +0 -1
  1342. data/ext/mathematical/mtex2MML/tests/fixtures/functions/min_limits.txt +0 -1
  1343. data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.html +0 -1
  1344. data/ext/mathematical/mtex2MML/tests/fixtures/functions/prod_limits.txt +0 -1
  1345. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/excess_parsing.txt +0 -1
  1346. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.html +0 -1
  1347. data/ext/mathematical/mtex2MML/tests/fixtures/maliciousness/just_enough_parsing.txt +0 -1
  1348. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.html +0 -11
  1349. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_equations.txt +0 -13
  1350. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.html +0 -7
  1351. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/multiple_notag_nonumber.txt +0 -7
  1352. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.html +0 -5
  1353. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_equation.txt +0 -5
  1354. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.html +0 -6
  1355. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_nonumber.txt +0 -6
  1356. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.html +0 -6
  1357. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/single_notag.txt +0 -6
  1358. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.html +0 -3
  1359. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_label.txt +0 -3
  1360. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.html +0 -3
  1361. data/ext/mathematical/mtex2MML/tests/fixtures/numbered_equations/skip_tag.txt +0 -3
  1362. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +0 -12
  1363. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.txt +0 -1755
  1364. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.html +0 -1
  1365. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.txt +0 -1
  1366. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.html +0 -1
  1367. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.txt +0 -1
  1368. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.html +0 -1
  1369. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.txt +0 -1
  1370. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.html +0 -1
  1371. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.txt +0 -1
  1372. data/ext/mathematical/mtex2MML/tests/functions.c +0 -55
  1373. data/ext/mathematical/mtex2MML/tests/generate.py +0 -244
  1374. data/ext/mathematical/mtex2MML/tests/helpers.c +0 -29
  1375. data/ext/mathematical/mtex2MML/tests/helpers.h +0 -8
  1376. data/ext/mathematical/mtex2MML/tests/main.c +0 -35
  1377. data/ext/mathematical/mtex2MML/tests/maliciousness.c +0 -107
  1378. data/ext/mathematical/mtex2MML/tests/mathjax.c +0 -2040
  1379. data/ext/mathematical/mtex2MML/tests/mathjax_generate.py +0 -72
  1380. data/ext/mathematical/mtex2MML/tests/numbered_equations.c +0 -92
  1381. data/ext/mathematical/mtex2MML/tests/performance.c +0 -39
  1382. data/ext/mathematical/mtex2MML/tests/symbols.c +0 -69
  1383. data/test/mathematical/basic_test.rb +0 -89
  1384. data/test/mathematical/corrections_test.rb +0 -16
  1385. data/test/mathematical/delimiters_test.rb +0 -69
  1386. data/test/mathematical/fixtures/after/backslashes.html +0 -5
  1387. data/test/mathematical/fixtures/after/brackets_display.html +0 -1
  1388. data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
  1389. data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
  1390. data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
  1391. data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
  1392. data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
  1393. data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
  1394. data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
  1395. data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
  1396. data/test/mathematical/fixtures/after/equation_display.html +0 -1
  1397. data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
  1398. data/test/mathematical/fixtures/after/parens_inline.html +0 -1
  1399. data/test/mathematical/fixtures/before/backslashes.text +0 -17
  1400. data/test/mathematical/fixtures/before/brackets_display.text +0 -1
  1401. data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
  1402. data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
  1403. data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
  1404. data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
  1405. data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
  1406. data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
  1407. data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
  1408. data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
  1409. data/test/mathematical/fixtures/before/equation_display.text +0 -1
  1410. data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
  1411. data/test/mathematical/fixtures/before/parens_inline.text +0 -1
  1412. data/test/mathematical/fixtures/performance/big_file.text +0 -1755
  1413. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  1414. data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
  1415. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  1416. data/test/mathematical/fixtures/png/pmatrix.png +0 -0
  1417. data/test/mathematical/fixtures_test.rb +0 -51
  1418. data/test/mathematical/maliciousness_test.rb +0 -152
  1419. data/test/mathematical/mathjax_test.rb +0 -26
  1420. data/test/mathematical/mathml_test.rb +0 -21
  1421. data/test/mathematical/multiples_test.rb +0 -71
  1422. data/test/mathematical/performance_test.rb +0 -15
  1423. data/test/mathematical/png_test.rb +0 -30
  1424. data/test/test_helper.rb +0 -72
@@ -1,1537 +0,0 @@
1
- /* Lasem
2
- *
3
- * Copyright © 2004 Caleb Moore
4
- * Copyright © 2012 Emmanuel Pacaud
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General
17
- * Public License along with this library; if not, write to the
18
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
- * Boston, MA 02110-1335, USA.
20
- *
21
- * Authors:
22
- * Caleb Moore <c.moore@student.unsw.edu.au>
23
- * Emmanuel Pacaud <emmanuel@gnome.org>
24
- * Mario Klingemann <mario@quasimondo.com>
25
- *
26
- * Image manipulation routines in this file are an adaptation of the code
27
- * of librsvg: https://git.gnome.org/browse/librsvg
28
- */
29
-
30
- #include <lsmsvgfiltersurface.h>
31
- #include <lsmsvgenums.h>
32
- #include <lsmutils.h>
33
- #include <math.h>
34
- #include <string.h>
35
-
36
- static const int channelmap[4] = {2, 1, 0, 3};
37
-
38
- struct _LsmSvgFilterSurface {
39
- char *name;
40
- cairo_surface_t *surface;
41
- LsmBox subregion;
42
-
43
- gint ref_count;
44
- };
45
-
46
- LsmSvgFilterSurface *
47
- lsm_svg_filter_surface_new (const char *name, unsigned int width, unsigned int height, const LsmBox *subregion)
48
- {
49
- LsmSvgFilterSurface *filter_surface;
50
- cairo_surface_t *surface;
51
-
52
- surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);
53
-
54
- filter_surface = lsm_svg_filter_surface_new_with_content (name, surface, subregion);
55
-
56
- cairo_surface_destroy (surface);
57
-
58
- return filter_surface;
59
- }
60
-
61
- LsmSvgFilterSurface *
62
- lsm_svg_filter_surface_new_with_content (const char *name, cairo_surface_t *surface, const LsmBox *subregion)
63
- {
64
- LsmSvgFilterSurface *filter_surface;
65
- LsmBox null_subregion = {0, 0, 0, 0};
66
-
67
- if (surface == NULL ||
68
- cairo_surface_get_type (surface) != CAIRO_SURFACE_TYPE_IMAGE ||
69
- cairo_image_surface_get_format (surface) != CAIRO_FORMAT_ARGB32) {
70
- surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 0, 0);
71
- subregion = &null_subregion;
72
- } else if (subregion == NULL)
73
- subregion = &null_subregion;
74
-
75
- cairo_surface_reference (surface);
76
-
77
- filter_surface = g_new (LsmSvgFilterSurface, 1);
78
- filter_surface->name = g_strdup (name);
79
- filter_surface->subregion = *subregion;
80
- filter_surface->surface = surface;
81
- filter_surface->ref_count = 1;
82
-
83
- return filter_surface;
84
- }
85
-
86
- LsmSvgFilterSurface *
87
- lsm_svg_filter_surface_new_similar (const char *name, LsmSvgFilterSurface *model, const LsmBox *subregion)
88
- {
89
- if (model == NULL)
90
- return lsm_svg_filter_surface_new (name, 0, 0, subregion);
91
-
92
- return lsm_svg_filter_surface_new (name,
93
- cairo_image_surface_get_width (model->surface),
94
- cairo_image_surface_get_height (model->surface),
95
- subregion != NULL ? subregion : &model->subregion);
96
- }
97
-
98
- const char *
99
- lsm_svg_filter_surface_get_name (LsmSvgFilterSurface *surface)
100
- {
101
- g_return_val_if_fail (surface != NULL, NULL);
102
-
103
- return surface->name;
104
- }
105
-
106
- cairo_surface_t *
107
- lsm_svg_filter_surface_get_cairo_surface (LsmSvgFilterSurface *surface)
108
- {
109
- g_return_val_if_fail (surface != NULL, NULL);
110
-
111
- return surface->surface;
112
- }
113
-
114
- const LsmBox *
115
- lsm_svg_filter_surface_get_subregion (LsmSvgFilterSurface *surface)
116
- {
117
- static const LsmBox null_subregion = {0, 0, 0, 0};
118
-
119
- if (surface == NULL)
120
- return &null_subregion;
121
-
122
- return &surface->subregion;
123
- }
124
-
125
- LsmSvgFilterSurface *
126
- lsm_svg_filter_surface_ref (LsmSvgFilterSurface *filter_surface)
127
- {
128
- g_return_val_if_fail (filter_surface != NULL, NULL);
129
-
130
- g_atomic_int_inc (&filter_surface->ref_count);
131
-
132
- return filter_surface;
133
- }
134
-
135
- void
136
- lsm_svg_filter_surface_unref (LsmSvgFilterSurface *filter_surface)
137
- {
138
- g_return_if_fail (filter_surface != NULL);
139
- g_return_if_fail (filter_surface->ref_count > 0);
140
-
141
- if (g_atomic_int_dec_and_test (&filter_surface->ref_count)) {
142
- cairo_surface_destroy (filter_surface->surface);
143
- g_free (filter_surface->name);
144
- g_free (filter_surface);
145
- }
146
- }
147
-
148
- G_DEFINE_BOXED_TYPE (LsmSvgFilterSurface, lsm_svg_filter_surface, lsm_svg_filter_surface_ref, lsm_svg_filter_surface_unref)
149
-
150
- /*
151
- * The stack blur algorithm was invented by Mario Klingemann <mario@quasimondo.com>
152
- * http://incubator.quasimondo.com/processing/fast_blur_deluxe.php
153
- *
154
- * Compared to Mario's original source code, the lookup table is removed as the benefit
155
- * doesn't worth the memory usage in case of large radiuses. Also, the following code adds
156
- * alpha channel support and different radius for vertical and horizontal directions.
157
- */
158
-
159
- static void
160
- stack_blur (cairo_surface_t *input, cairo_surface_t *output, int rx, int ry)
161
- {
162
- guint32 *input_pixels;
163
- guint32 *output_pixels;
164
- int w, h, wm, hm, wh, div;
165
- int *r, *g, *b, *a;
166
-
167
- int rsum,gsum,bsum,asum,x,y,i,p,yp,yi,yw;
168
- int *vmin;
169
- int divsum;
170
-
171
- yw=yi=0;
172
-
173
- int *stack;
174
- int stackpointer;
175
- int stackstart;
176
- int *sir;
177
- int rbs;
178
- int r1;
179
- int routsum,goutsum,boutsum, aoutsum;
180
- int rinsum,ginsum,binsum, ainsum;
181
- int rowstride;
182
-
183
- g_return_if_fail (rx > 0 || ry > 0);
184
-
185
- input_pixels = (guint32 *) cairo_image_surface_get_data (input);
186
- output_pixels = (guint32 *) cairo_image_surface_get_data (output);
187
- rowstride = cairo_image_surface_get_stride (input);
188
- w = cairo_image_surface_get_width (input);
189
- h = cairo_image_surface_get_height (input);
190
-
191
- g_return_if_fail (cairo_image_surface_get_width (output) == w);
192
- g_return_if_fail (cairo_image_surface_get_height (output) == h);
193
- g_return_if_fail (cairo_image_surface_get_stride (output) == rowstride);
194
-
195
- wm = w - 1;
196
- hm = h - 1;
197
- wh = w * h;
198
-
199
- r = g_new (int, wh);
200
- g = g_new (int, wh);
201
- b = g_new (int, wh);
202
- a = g_new (int, wh);
203
-
204
- div = 2 * rx + 1;
205
- divsum = (div + 1) >> 1;
206
- divsum *= divsum;
207
- stack = g_new (int, div * 4);
208
- r1 = rx + 1;
209
-
210
- vmin = g_new (int, w);
211
- for (y =0; y < h; y++) {
212
- rinsum=ginsum=binsum=ainsum=routsum=goutsum=boutsum=aoutsum=rsum=gsum=bsum=asum=0;
213
- yi = y * rowstride / 4;
214
-
215
- for (i = -rx; i <= rx; i++) {
216
- p = input_pixels [yi + MIN (wm, MAX (i, 0))];
217
- sir = &stack [4 * (i + rx)];
218
- sir[0]=(p & 0x00ff0000)>>16;
219
- sir[1]=(p & 0x0000ff00)>>8;
220
- sir[2]=(p & 0x000000ff);
221
- sir[3]=(p & 0xff0000ff)>>24;
222
- rbs= r1 - ABS (i);
223
- rsum+=sir[0]*rbs;
224
- gsum+=sir[1]*rbs;
225
- bsum+=sir[2]*rbs;
226
- asum+=sir[3]*rbs;
227
- if (i>0){
228
- rinsum+=sir[0];
229
- ginsum+=sir[1];
230
- binsum+=sir[2];
231
- ainsum+=sir[3];
232
- } else {
233
- routsum+=sir[0];
234
- goutsum+=sir[1];
235
- boutsum+=sir[2];
236
- aoutsum+=sir[3];
237
- }
238
- }
239
- stackpointer=rx;
240
-
241
- for (x=0;x<w;x++){
242
-
243
- r[yi] = rsum / divsum;
244
- g[yi] = gsum / divsum;
245
- b[yi] = bsum / divsum;
246
- a[yi] = asum / divsum;
247
- rsum-=routsum;
248
- gsum-=goutsum;
249
- bsum-=boutsum;
250
- asum-=aoutsum;
251
-
252
- stackstart=stackpointer-rx+div;
253
- sir = &stack [4 * (stackstart % div)];
254
-
255
- routsum-=sir[0];
256
- goutsum-=sir[1];
257
- boutsum-=sir[2];
258
- aoutsum-=sir[3];
259
-
260
- if(y==0){
261
- vmin[x]=MIN (x + rx + 1, wm);
262
- }
263
- p = input_pixels [yw + vmin[x]];
264
-
265
- sir[0]=(p & 0x00ff0000)>>16;
266
- sir[1]=(p & 0x0000ff00)>>8;
267
- sir[2]=(p & 0x000000ff);
268
- sir[3]=(p & 0xff000000)>>24;
269
-
270
- rinsum+=sir[0];
271
- ginsum+=sir[1];
272
- binsum+=sir[2];
273
- ainsum+=sir[3];
274
-
275
- rsum+=rinsum;
276
- gsum+=ginsum;
277
- bsum+=binsum;
278
- asum+=ainsum;
279
-
280
- stackpointer = (stackpointer + 1) % div;
281
- sir = &stack [4 * ((stackpointer) % div)];
282
-
283
- routsum+=sir[0];
284
- goutsum+=sir[1];
285
- boutsum+=sir[2];
286
- aoutsum+=sir[3];
287
-
288
- rinsum-=sir[0];
289
- ginsum-=sir[1];
290
- binsum-=sir[2];
291
- ainsum-=sir[3];
292
-
293
- yi++;
294
- }
295
- yw+=w;
296
- }
297
- g_free (vmin);
298
- g_free (stack);
299
-
300
- div = 2 * ry + 1;
301
- divsum = (div + 1) >> 1;
302
- divsum *= divsum;
303
-
304
- stack = g_new0 (int, div * 4);
305
- r1 = ry + 1;
306
-
307
- vmin = g_new0 (int, h);
308
- for (x=0;x<w;x++){
309
- rinsum=ginsum=binsum=ainsum=routsum=goutsum=boutsum=aoutsum=rsum=gsum=bsum=asum=0;
310
- yp=-ry*w;
311
- for(i=-ry;i<=ry;i++){
312
- yi= MAX(0,yp)+x;
313
-
314
- sir = &stack [4 * (i + ry)];
315
-
316
- sir[0]=r[yi];
317
- sir[1]=g[yi];
318
- sir[2]=b[yi];
319
- sir[3]=a[yi];
320
-
321
- rbs=r1 - ABS(i);
322
-
323
- rsum+=r[yi]*rbs;
324
- gsum+=g[yi]*rbs;
325
- bsum+=b[yi]*rbs;
326
- asum+=a[yi]*rbs;
327
-
328
- if (i>0){
329
- rinsum+=sir[0];
330
- ginsum+=sir[1];
331
- binsum+=sir[2];
332
- ainsum+=sir[3];
333
- } else {
334
- routsum+=sir[0];
335
- goutsum+=sir[1];
336
- boutsum+=sir[2];
337
- aoutsum+=sir[3];
338
- }
339
-
340
- if(i<hm){
341
- yp+=w;
342
- }
343
- }
344
- yi=x;
345
- stackpointer=ry;
346
- for (y=0;y<h;y++){
347
- output_pixels [yi] =
348
- ((asum / divsum) << 24) |
349
- ((rsum / divsum) << 16) |
350
- ((gsum / divsum) << 8) |
351
- (bsum / divsum);
352
- rsum-=routsum;
353
- gsum-=goutsum;
354
- bsum-=boutsum;
355
- asum-=aoutsum;
356
-
357
- stackstart=stackpointer-ry+div;
358
- sir = &stack [4 * (stackstart % div)];
359
-
360
- routsum-=sir[0];
361
- goutsum-=sir[1];
362
- boutsum-=sir[2];
363
- aoutsum-=sir[3];
364
-
365
- if(x==0) {
366
- vmin[y] = MIN(y+r1,hm)*w;
367
- }
368
- p=x+vmin[y];
369
-
370
- sir[0]=r[p];
371
- sir[1]=g[p];
372
- sir[2]=b[p];
373
- sir[3]=a[p];
374
-
375
- rinsum+=sir[0];
376
- ginsum+=sir[1];
377
- binsum+=sir[2];
378
- ainsum+=sir[3];
379
-
380
- rsum+=rinsum;
381
- gsum+=ginsum;
382
- bsum+=binsum;
383
- asum+=ainsum;
384
-
385
- stackpointer=(stackpointer+1)%div;
386
- sir = &stack[4 * stackpointer];
387
-
388
- routsum+=sir[0];
389
- goutsum+=sir[1];
390
- boutsum+=sir[2];
391
- aoutsum+=sir[3];
392
-
393
- rinsum-=sir[0];
394
- ginsum-=sir[1];
395
- binsum-=sir[2];
396
- ainsum-=sir[3];
397
-
398
- yi+= rowstride / 4;
399
- }
400
- }
401
- g_free (vmin);
402
- g_free (stack);
403
-
404
- g_free (r);
405
- g_free (g);
406
- g_free (b);
407
- g_free (a);
408
- }
409
-
410
- void
411
- lsm_svg_filter_surface_blur (LsmSvgFilterSurface *input,
412
- LsmSvgFilterSurface *output,
413
- double sx, double sy)
414
- {
415
- int kx, ky;
416
- int width, height;
417
-
418
- g_return_if_fail (input != NULL);
419
- g_return_if_fail (output != NULL);
420
-
421
- cairo_surface_flush (input->surface);
422
-
423
- kx = floor (sx * 3 * sqrt (2 * M_PI) / 4 + 0.5);
424
- ky = floor (sy * 3 * sqrt (2 * M_PI) / 4 + 0.5);
425
-
426
- width = cairo_image_surface_get_width (input->surface);
427
- height = cairo_image_surface_get_height (input->surface);
428
-
429
- if (width != cairo_image_surface_get_width (output->surface) ||
430
- height != cairo_image_surface_get_height (output->surface))
431
- return;
432
-
433
- if (width < 1 || height < 1)
434
- return;
435
-
436
- if (kx > 1 || ky > 1) {
437
- int x1, y1, x2, y2;
438
- cairo_surface_t *blur_surface;
439
- gboolean do_clip = FALSE;
440
-
441
- x1 = output->subregion.x - kx;
442
- y1 = output->subregion.y - ky;
443
- x2 = output->subregion.width + output->subregion.x + kx;
444
- y2 = output->subregion.height + output->subregion.y + ky;
445
- x1 = CLAMP (x1, 0, width);
446
- y1 = CLAMP (y1, 0, height);
447
- x2 = CLAMP (x2, x1, width);
448
- y2 = CLAMP (y2, y1, height);
449
-
450
-
451
- if (input->subregion.x < output->subregion.x ||
452
- input->subregion.y < output->subregion.y ||
453
- input->subregion.width > output->subregion.width ||
454
- input->subregion.height > output->subregion.height) {
455
- do_clip = TRUE;
456
- blur_surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);
457
- } else
458
- blur_surface = output->surface;
459
-
460
- stack_blur (input->surface, blur_surface, kx, ky);
461
-
462
- cairo_surface_mark_dirty (blur_surface);
463
-
464
- if (do_clip) {
465
- cairo_t *cairo;
466
-
467
- cairo = cairo_create (output->surface);
468
- cairo_rectangle (cairo,
469
- output->subregion.x, output->subregion.y,
470
- output->subregion.width, output->subregion.height);
471
- cairo_clip (cairo);
472
- cairo_set_source_surface (cairo, blur_surface, 0, 0);
473
- cairo_paint (cairo);
474
- cairo_destroy (cairo);
475
-
476
- cairo_surface_destroy (blur_surface);
477
- }
478
- } else {
479
- cairo_t *cairo;
480
-
481
- cairo = cairo_create (output->surface);
482
- cairo_rectangle (cairo,
483
- output->subregion.x, output->subregion.y,
484
- output->subregion.width, output->subregion.height);
485
- cairo_clip (cairo);
486
- cairo_set_source_surface (cairo, input->surface, 0, 0);
487
- cairo_paint (cairo);
488
- cairo_destroy (cairo);
489
- }
490
- }
491
-
492
- void
493
- lsm_svg_filter_surface_flood (LsmSvgFilterSurface *surface,
494
- double red,
495
- double green,
496
- double blue,
497
- double opacity)
498
- {
499
- cairo_t *cairo;
500
-
501
- g_return_if_fail (surface != NULL);
502
-
503
- cairo = cairo_create (surface->surface);
504
- cairo_rectangle (cairo, surface->subregion.x, surface->subregion.y, surface->subregion.width, surface->subregion.height);
505
- cairo_clip (cairo);
506
- cairo_set_source_rgba (cairo, red, green, blue, opacity);
507
- cairo_paint (cairo);
508
- }
509
-
510
- void
511
- lsm_svg_filter_surface_blend (LsmSvgFilterSurface *input_1,
512
- LsmSvgFilterSurface *input_2,
513
- LsmSvgFilterSurface *output,
514
- int blending_mode)
515
- {
516
- cairo_t *cairo;
517
- cairo_operator_t op;
518
-
519
- g_return_if_fail (input_1 != NULL);
520
- g_return_if_fail (input_2 != NULL);
521
- g_return_if_fail (output != NULL);
522
-
523
- switch (blending_mode) {
524
- case LSM_SVG_BLENDING_MODE_MULTIPLY:
525
- op = CAIRO_OPERATOR_MULTIPLY;
526
- break;
527
- case LSM_SVG_BLENDING_MODE_SCREEN:
528
- op = CAIRO_OPERATOR_SCREEN;
529
- break;
530
- case LSM_SVG_BLENDING_MODE_DARKEN:
531
- op = CAIRO_OPERATOR_DARKEN;
532
- break;
533
- case LSM_SVG_BLENDING_MODE_LIGHTEN:
534
- op = CAIRO_OPERATOR_LIGHTEN;
535
- break;
536
- case LSM_SVG_BLENDING_MODE_IN:
537
- op = CAIRO_OPERATOR_IN;
538
- break;
539
- case LSM_SVG_BLENDING_MODE_OUT:
540
- op = CAIRO_OPERATOR_OUT;
541
- break;
542
- case LSM_SVG_BLENDING_MODE_ATOP:
543
- op = CAIRO_OPERATOR_ATOP;
544
- break;
545
- case LSM_SVG_BLENDING_MODE_XOR:
546
- op = CAIRO_OPERATOR_XOR;
547
- break;
548
- default:
549
- op = CAIRO_OPERATOR_OVER;
550
- break;
551
- }
552
-
553
- cairo = cairo_create (output->surface);
554
- cairo_rectangle (cairo, output->subregion.x, output->subregion.y, output->subregion.width, output->subregion.height);
555
- cairo_clip (cairo);
556
- cairo_set_source_surface (cairo, input_2->surface, 0, 0);
557
- cairo_paint (cairo);
558
- cairo_set_source_surface (cairo, input_1->surface, 0, 0);
559
- cairo_set_operator (cairo, op);
560
- cairo_paint (cairo);
561
- cairo_destroy (cairo);
562
- }
563
-
564
- void
565
- lsm_svg_filter_surface_offset (LsmSvgFilterSurface *input,
566
- LsmSvgFilterSurface *output,
567
- int dx, int dy)
568
- {
569
- cairo_t *cairo;
570
-
571
- g_return_if_fail (input != NULL);
572
- g_return_if_fail (output != NULL);
573
-
574
- cairo = cairo_create (output->surface);
575
- cairo_rectangle (cairo, output->subregion.x, output->subregion.y, output->subregion.width, output->subregion.height);
576
- cairo_clip (cairo);
577
- cairo_set_source_surface (cairo, input->surface, dx, dy);
578
- cairo_paint (cairo);
579
- cairo_destroy (cairo);
580
- }
581
-
582
- void
583
- lsm_svg_filter_surface_merge (LsmSvgFilterSurface *input,
584
- LsmSvgFilterSurface *output)
585
- {
586
- cairo_t *cairo;
587
-
588
- g_return_if_fail (input != NULL);
589
- g_return_if_fail (output != NULL);
590
-
591
- cairo = cairo_create (output->surface);
592
- cairo_rectangle (cairo, output->subregion.x, output->subregion.y, output->subregion.width, output->subregion.height);
593
- cairo_clip (cairo);
594
- cairo_set_source_surface (cairo, input->surface, 0, 0);
595
- cairo_paint (cairo);
596
- cairo_destroy (cairo);
597
- }
598
-
599
- void
600
- lsm_svg_filter_surface_tile (LsmSvgFilterSurface *input, LsmSvgFilterSurface *output)
601
- {
602
- cairo_t *cairo;
603
- cairo_surface_t *surface;
604
- cairo_pattern_t *pattern;
605
-
606
- g_return_if_fail (input != NULL);
607
- g_return_if_fail (output != NULL);
608
-
609
- surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, input->subregion.width, input->subregion.height);
610
- cairo = cairo_create (surface);
611
- cairo_set_source_surface (cairo, input->surface, -input->subregion.x, -input->subregion.y);
612
- cairo_paint (cairo);
613
- cairo_destroy (cairo);
614
-
615
- cairo = cairo_create (output->surface);
616
- cairo_rectangle (cairo, output->subregion.x, output->subregion.y, output->subregion.width, output->subregion.height);
617
- cairo_clip (cairo);
618
- cairo_set_source_surface (cairo, surface, input->subregion.x, input->subregion.y);
619
- pattern = cairo_get_source (cairo);
620
- cairo_pattern_set_extend (pattern, CAIRO_EXTEND_REPEAT);
621
- cairo_paint (cairo);
622
- cairo_destroy (cairo);
623
- cairo_surface_destroy (surface);
624
- }
625
-
626
- void
627
- lsm_svg_filter_surface_alpha (LsmSvgFilterSurface *input, LsmSvgFilterSurface *output)
628
- {
629
- cairo_t *cairo;
630
-
631
- g_return_if_fail (input != NULL);
632
- g_return_if_fail (output != NULL);
633
-
634
- cairo = cairo_create (output->surface);
635
- cairo_set_source_rgb (cairo, 0, 0, 0);
636
- cairo_mask_surface (cairo, input->surface, 0, 0);
637
-
638
- cairo_destroy (cairo);
639
- }
640
-
641
- void
642
- lsm_svg_filter_surface_color_matrix (LsmSvgFilterSurface *input, LsmSvgFilterSurface *output,
643
- LsmSvgColorFilterType type, unsigned n_values, const double *values)
644
- {
645
- cairo_t *cairo;
646
- unsigned i;
647
- int matrix[20];
648
- double cosval;
649
- double sinval;
650
- int ch;
651
- gint x, y, x1, x2, y1, y2;
652
- gint width, height;
653
- gint rowstride;
654
- gint sum;
655
- guchar *in_pixels;
656
- guchar *output_pixels;
657
- double setting;
658
-
659
- g_return_if_fail (input != NULL);
660
- g_return_if_fail (output != NULL);
661
- g_return_if_fail (values != NULL || n_values < 1);
662
-
663
- width = cairo_image_surface_get_width (input->surface);
664
- height = cairo_image_surface_get_height (input->surface);
665
-
666
- if (width != cairo_image_surface_get_width (output->surface) ||
667
- height != cairo_image_surface_get_height (output->surface))
668
- return;
669
-
670
- if (height < 1 || width < 1)
671
- return;
672
-
673
- memset (matrix, 0, sizeof (*matrix) * G_N_ELEMENTS (matrix));
674
-
675
- switch (type) {
676
- case LSM_SVG_COLOR_FILTER_TYPE_MATRIX:
677
- for (i = 0; i < G_N_ELEMENTS (matrix) && i < n_values; i++)
678
- matrix[i] = values[i] * 255.0;
679
- break;
680
- case LSM_SVG_COLOR_FILTER_TYPE_SATURATE:
681
- if (n_values > 0)
682
- setting = values[0];
683
- else
684
- setting = 1.0;
685
-
686
- matrix[0] = 255.0 * (0.213 + 0.787 * setting);
687
- matrix[1] = 255.0 * (0.715 - 0.715 * setting);
688
- matrix[2] = 255.0 * (0.072 - 0.072 * setting);
689
- matrix[5] = 255.0 * (0.213 - 0.213 * setting);
690
- matrix[6] = 255.0 * (0.715 + 0.285 * setting);
691
- matrix[7] = 255.0 * (0.072 - 0.072 * setting);
692
- matrix[10] = 255.0 * (0.213 - 0.213 * setting);
693
- matrix[11] = 255.0 * (0.715 - 0.715 * setting);
694
- matrix[12] = 255.0 * (0.072 + 0.928 * setting);
695
- matrix[18] = 255;
696
- break;
697
- case LSM_SVG_COLOR_FILTER_TYPE_HUE_ROTATE:
698
- if (n_values > 0)
699
- setting = values[0];
700
- else
701
- setting = 0.0;
702
-
703
- cosval = cos (setting);
704
- sinval = sin (setting);
705
-
706
- matrix[0] = (0.213 + cosval * 0.787 + sinval * -0.213) * 255.;
707
- matrix[1] = (0.715 + cosval * -0.715 + sinval * -0.715) * 255.;
708
- matrix[2] = (0.072 + cosval * -0.072 + sinval * 0.928) * 255.;
709
- matrix[5] = (0.213 + cosval * -0.213 + sinval * 0.143) * 255.;
710
- matrix[6] = (0.715 + cosval * 0.285 + sinval * 0.140) * 255.;
711
- matrix[7] = (0.072 + cosval * -0.072 + sinval * -0.283) * 255.;
712
- matrix[10] = (0.213 + cosval * -0.213 + sinval * -0.787) * 255.;
713
- matrix[11] = (0.715 + cosval * -0.715 + sinval * 0.715) * 255.;
714
- matrix[12] = (0.072 + cosval * 0.928 + sinval * 0.072) * 255.;
715
- matrix[18] = 255;
716
- break;
717
- case LSM_SVG_COLOR_FILTER_TYPE_LUMINANCE_TO_ALPHA:
718
- matrix[15] = 0.2125 * 255.;
719
- matrix[16] = 0.7154 * 255.;
720
- matrix[17] = 0.0721 * 255.;
721
- break;
722
- default:
723
- return;
724
- }
725
-
726
- cairo_surface_flush (input->surface);
727
- cairo = cairo_create (output->surface);
728
-
729
- in_pixels = cairo_image_surface_get_data (input->surface);
730
- output_pixels = cairo_image_surface_get_data (output->surface);
731
- rowstride = cairo_image_surface_get_stride (input->surface);
732
-
733
- x1 = CLAMP (input->subregion.x, 0, width);
734
- x2 = CLAMP (input->subregion.x + input->subregion.width, 0, width);
735
- y1 = CLAMP (input->subregion.y, 0, height);
736
- y2 = CLAMP (input->subregion.y + input->subregion.height, 0, height);
737
-
738
- for (y = y1; y < y2; y++)
739
- for (x = x1; x < x2; x++) {
740
- int umch;
741
- int alpha = in_pixels[4 * x + y * rowstride + channelmap[3]];
742
- if (!alpha)
743
- for (umch = 0; umch < 4; umch++) {
744
- sum = matrix[umch * 5 + 4];
745
- if (sum > 255)
746
- sum = 255;
747
- if (sum < 0)
748
- sum = 0;
749
- output_pixels[4 * x + y * rowstride + channelmap[umch]] = sum;
750
- } else
751
- for (umch = 0; umch < 4; umch++) {
752
- int umi;
753
- ch = channelmap[umch];
754
- sum = 0;
755
- for (umi = 0; umi < 4; umi++) {
756
- i = channelmap[umi];
757
- if (umi != 3)
758
- sum += matrix[umch * 5 + umi] *
759
- in_pixels[4 * x + y * rowstride + i] / alpha;
760
- else
761
- sum += matrix[umch * 5 + umi] *
762
- in_pixels[4 * x + y * rowstride + i] / 255;
763
- }
764
- sum += matrix[umch * 5 + 4];
765
-
766
-
767
-
768
- if (sum > 255)
769
- sum = 255;
770
- if (sum < 0)
771
- sum = 0;
772
-
773
- output_pixels[4 * x + y * rowstride + ch] = sum;
774
- }
775
- for (umch = 0; umch < 3; umch++) {
776
- ch = channelmap[umch];
777
- output_pixels[4 * x + y * rowstride + ch] =
778
- output_pixels[4 * x + y * rowstride + ch] *
779
- output_pixels[4 * x + y * rowstride + channelmap[3]] / 255;
780
- }
781
- }
782
-
783
- cairo_surface_mark_dirty (output->surface);
784
-
785
- cairo_destroy (cairo);
786
- }
787
-
788
- void
789
- lsm_svg_filter_surface_convolve_matrix (LsmSvgFilterSurface *input, LsmSvgFilterSurface *output,
790
- unsigned order_x, unsigned order_y, unsigned n_values, const double *values,
791
- double divisor, double bias, unsigned target_x, unsigned target_y,
792
- LsmSvgEdgeMode edge_mode, gboolean preserve_alpha)
793
- {
794
- cairo_t *cairo;
795
- int ch;
796
- gint x, y, x1, x2, y1, y2;
797
- gint width, height;
798
- gint rowstride;
799
- guchar *in_pixels;
800
- guchar *output_pixels;
801
- double kval, sum;
802
- guchar sval;
803
- int sx, sy, kx, ky;
804
- double dx = 1.0, dy = 1.0;
805
- int umch, i, j;
806
- gint tempresult;
807
-
808
- g_return_if_fail (input != NULL);
809
- g_return_if_fail (output != NULL);
810
- g_return_if_fail (values != NULL || n_values < 1);
811
-
812
- if (divisor <= 0.0)
813
- return;
814
-
815
- width = cairo_image_surface_get_width (input->surface);
816
- height = cairo_image_surface_get_height (input->surface);
817
-
818
- if (width != cairo_image_surface_get_width (output->surface) ||
819
- height != cairo_image_surface_get_height (output->surface))
820
- return;
821
-
822
- if (height < 1 || width < 1)
823
- return;
824
-
825
- if (order_y * order_x != n_values)
826
- return;
827
-
828
- if (target_x > order_x || target_y > order_y)
829
- return;
830
-
831
- x1 = CLAMP (input->subregion.x, 0, width);
832
- x2 = CLAMP (input->subregion.x + input->subregion.width, 0, width);
833
- y1 = CLAMP (input->subregion.y, 0, height);
834
- y2 = CLAMP (input->subregion.y + input->subregion.height, 0, height);
835
-
836
- cairo_surface_flush (input->surface);
837
- cairo = cairo_create (output->surface);
838
-
839
- in_pixels = cairo_image_surface_get_data (input->surface);
840
- output_pixels = cairo_image_surface_get_data (output->surface);
841
- rowstride = cairo_image_surface_get_stride (input->surface);
842
-
843
- for (y = y1; y < y2; y++)
844
- for (x = x1; x < x2; x++) {
845
- for (umch = 0; umch < 3 + !preserve_alpha; umch++) {
846
- ch = channelmap[umch];
847
- sum = 0;
848
- for (i = 0; i < order_y; i++)
849
- for (j = 0; j < order_x; j++) {
850
- int alpha;
851
- sx = x - target_x + j * dx;
852
- sy = y - target_y + i * dy;
853
- if (edge_mode == LSM_SVG_EDGE_MODE_DUPLICATE) {
854
- if (sx < x1)
855
- sx = x1;
856
- if (sx >= x2)
857
- sx = x2 - 1;
858
- if (sy < y1)
859
- sy = y1;
860
- if (sy >= y2)
861
- sy = y2 - 1;
862
- } else if (edge_mode == LSM_SVG_EDGE_MODE_WRAP) {
863
- if (sx < x1 || (sx >= x2))
864
- sx = x1 + (sx - x1) % (x2 - x1);
865
- if (sy < y1 || (sy >= y2))
866
- sy = y1 + (sy - y1) % (y2 - y1);
867
- } else if (edge_mode == LSM_SVG_EDGE_MODE_NONE)
868
- if (sx < x1 || (sx >= x2) ||
869
- sy < y1 || (sy >= y2))
870
- continue;
871
-
872
- kx = order_x - j - 1;
873
- ky = order_y - i - 1;
874
- alpha = in_pixels[4 * sx + sy * rowstride + 3];
875
- if (ch == 3)
876
- sval = alpha;
877
- else if (alpha)
878
- sval = in_pixels[4 * sx + sy * rowstride + ch] * 255 / alpha;
879
- else
880
- sval = 0;
881
- kval = values[kx + ky * order_x];
882
- sum += (double) sval *kval;
883
- }
884
- tempresult = sum / divisor + bias;
885
-
886
- if (tempresult > 255)
887
- tempresult = 255;
888
- if (tempresult < 0)
889
- tempresult = 0;
890
-
891
- output_pixels[4 * x + y * rowstride + ch] = tempresult;
892
- }
893
- if (preserve_alpha)
894
- output_pixels[4 * x + y * rowstride + channelmap[3]] =
895
- in_pixels[4 * x + y * rowstride + channelmap[3]];
896
- for (umch = 0; umch < 3; umch++) {
897
- ch = channelmap[umch];
898
- output_pixels[4 * x + y * rowstride + ch] =
899
- output_pixels[4 * x + y * rowstride + ch] *
900
- output_pixels[4 * x + y * rowstride + channelmap[3]] / 255;
901
- }
902
- }
903
-
904
- cairo_surface_mark_dirty (output->surface);
905
-
906
- cairo_destroy (cairo);
907
- }
908
-
909
- static guchar
910
- _get_interp_pixel (guchar * src, gdouble ox, gdouble oy, guchar ch,
911
- gint x1, gint x2, gint y1, gint y2,
912
- guint rowstride)
913
- {
914
- double xmod, ymod;
915
- double dist1, dist2, dist3, dist4;
916
- double c, c1, c2, c3, c4;
917
- double fox, foy, cox, coy;
918
-
919
- xmod = fmod (ox, 1.0);
920
- ymod = fmod (oy, 1.0);
921
-
922
- dist1 = (1 - xmod) * (1 - ymod);
923
- dist2 = (xmod) * (1 - ymod);
924
- dist3 = (xmod) * (ymod);
925
- dist4 = (1 - xmod) * (ymod);
926
-
927
- fox = floor (ox);
928
- foy = floor (oy);
929
- cox = ceil (ox);
930
- coy = ceil (oy);
931
-
932
- if (fox <= x1 || fox >= x2 ||
933
- foy <= y1 || foy >= y2)
934
- c1 = 0;
935
- else
936
- c1 = src[(guint) foy * rowstride + (guint) fox * 4 + ch];
937
-
938
- if (cox <= x1 || cox >= x2 ||
939
- foy <= y1 || foy >= y2)
940
- c2 = 0;
941
- else
942
- c2 = src[(guint) foy * rowstride + (guint) cox * 4 + ch];
943
-
944
- if (cox <= x1 || cox >= x2 ||
945
- coy <= y1 || coy >= y2)
946
- c3 = 0;
947
- else
948
- c3 = src[(guint) coy * rowstride + (guint) cox * 4 + ch];
949
-
950
- if (fox <= x1 || fox >= x2 ||
951
- coy <= y1 || coy >= y2)
952
- c4 = 0;
953
- else
954
- c4 = src[(guint) coy * rowstride + (guint) fox * 4 + ch];
955
-
956
- c = (c1 * dist1 + c2 * dist2 + c3 * dist3 + c4 * dist4) / (dist1 + dist2 + dist3 + dist4);
957
-
958
- return (guchar) c;
959
- }
960
-
961
- void
962
- lsm_svg_filter_surface_displacement_map (LsmSvgFilterSurface *input_1,
963
- LsmSvgFilterSurface *input_2,
964
- LsmSvgFilterSurface *output,
965
- double x_scale,
966
- double y_scale,
967
- LsmSvgChannelSelector x_channel_selector,
968
- LsmSvgChannelSelector y_channel_selector)
969
- {
970
- guchar ch, xch, ych;
971
- gint x, y, x1, x2, y1, y2;
972
- double ox, oy;
973
- gint rowstride, height, width;
974
- guchar *in_pixels;
975
- guchar *in2_pixels;
976
- guchar *output_pixels;
977
- cairo_t *cairo;
978
-
979
- g_return_if_fail (input_1 != NULL);
980
- g_return_if_fail (input_2 != NULL);
981
- g_return_if_fail (output != NULL);
982
-
983
- height = cairo_image_surface_get_height (input_1->surface);
984
- width = cairo_image_surface_get_width (input_1->surface);
985
-
986
- if (width != cairo_image_surface_get_width (input_2->surface) ||
987
- height != cairo_image_surface_get_height (input_2->surface))
988
- return;
989
-
990
- if (width != cairo_image_surface_get_width (output->surface) ||
991
- height != cairo_image_surface_get_height (output->surface))
992
- return;
993
-
994
- cairo_surface_flush (input_1->surface);
995
- cairo_surface_flush (input_2->surface);
996
-
997
- cairo = cairo_create (output->surface);
998
-
999
- in_pixels = cairo_image_surface_get_data (input_1->surface);
1000
- in2_pixels = cairo_image_surface_get_data (input_2->surface);
1001
-
1002
- rowstride = cairo_image_surface_get_stride (input_1->surface);
1003
-
1004
- output_pixels = cairo_image_surface_get_data (output->surface);
1005
-
1006
- switch (x_channel_selector) {
1007
- case LSM_SVG_CHANNEL_SELECTOR_RED:
1008
- xch = 0;
1009
- break;
1010
- case LSM_SVG_CHANNEL_SELECTOR_GREEN:
1011
- xch = 1;
1012
- break;
1013
- case LSM_SVG_CHANNEL_SELECTOR_BLUE:
1014
- xch = 2;
1015
- break;
1016
- case LSM_SVG_CHANNEL_SELECTOR_ALPHA:
1017
- xch = 3;
1018
- break;
1019
- default:
1020
- xch = 4;
1021
- };
1022
-
1023
- switch (y_channel_selector) {
1024
- case LSM_SVG_CHANNEL_SELECTOR_RED:
1025
- ych = 0;
1026
- break;
1027
- case LSM_SVG_CHANNEL_SELECTOR_GREEN:
1028
- ych = 1;
1029
- break;
1030
- case LSM_SVG_CHANNEL_SELECTOR_BLUE:
1031
- ych = 2;
1032
- break;
1033
- case LSM_SVG_CHANNEL_SELECTOR_ALPHA:
1034
- ych = 3;
1035
- break;
1036
- default:
1037
- ych = 4;
1038
- };
1039
-
1040
- x1 = CLAMP (input_1->subregion.x, 0, width);
1041
- x2 = CLAMP (input_1->subregion.x + input_1->subregion.width, 0, width);
1042
- y1 = CLAMP (input_1->subregion.y, 0, height);
1043
- y2 = CLAMP (input_1->subregion.y + input_1->subregion.height, 0, height);
1044
-
1045
- xch = channelmap[xch];
1046
- ych = channelmap[ych];
1047
- for (y = y1; y < y2; y++)
1048
- for (x = x1; x < x2; x++) {
1049
- if (xch != 4)
1050
- ox = x + x_scale *
1051
- ((double) in2_pixels[y * rowstride + x * 4 + xch] / 255.0 - 0.5);
1052
- else
1053
- ox = x;
1054
-
1055
- if (ych != 4)
1056
- oy = y + y_scale *
1057
- ((double) in2_pixels[y * rowstride + x * 4 + ych] / 255.0 - 0.5);
1058
- else
1059
- oy = y;
1060
-
1061
- for (ch = 0; ch < 4; ch++) {
1062
- output_pixels[y * rowstride + x * 4 + ch] =
1063
- _get_interp_pixel (in_pixels, ox, oy, ch, x1, x2, y1, y2, rowstride);
1064
- }
1065
- }
1066
-
1067
- cairo_surface_mark_dirty (output->surface);
1068
-
1069
- cairo_destroy (cairo);
1070
- }
1071
-
1072
- void
1073
- lsm_svg_filter_surface_specular_lighting (LsmSvgFilterSurface *output,
1074
- double surface_scale, double specular_constant, double specular_exponent,
1075
- double dx, double dy)
1076
- {
1077
- cairo_t *cairo;
1078
- int width, height;
1079
- #if 0
1080
- guchar *output_pixels;
1081
- gint rowstride;
1082
- gint x1, x2, y1, y2;
1083
- #endif
1084
-
1085
- g_return_if_fail (output != NULL);
1086
-
1087
- width = cairo_image_surface_get_width (output->surface);
1088
- height = cairo_image_surface_get_height (output->surface);
1089
-
1090
- if (height < 1 || width < 1)
1091
- return;
1092
-
1093
- cairo = cairo_create (output->surface);
1094
-
1095
- #if 0
1096
- output_pixels = cairo_image_surface_get_data (output->surface);
1097
- rowstride = cairo_image_surface_get_stride (output->surface);
1098
-
1099
- x1 = CLAMP (output->subregion.x, 0, width);
1100
- x2 = CLAMP (output->subregion.x + output->subregion.width, 0, width);
1101
- y1 = CLAMP (output->subregion.y, 0, height);
1102
- y2 = CLAMP (output->subregion.y + output->subregion.height, 0, height);
1103
- #endif
1104
-
1105
- cairo_surface_mark_dirty (output->surface);
1106
-
1107
- cairo_destroy (cairo);
1108
- }
1109
-
1110
- void
1111
- lsm_svg_filter_surface_image (LsmSvgFilterSurface *output, GdkPixbuf *pixbuf,
1112
- LsmSvgPreserveAspectRatio preserve_aspect_ratio)
1113
- {
1114
- cairo_t *cairo;
1115
- int width, height;
1116
- double zoom_x, zoom_y;
1117
-
1118
- g_return_if_fail (output != NULL);
1119
- g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
1120
-
1121
- if (output->subregion.width < 1 ||
1122
- output->subregion.height < 1)
1123
- return;
1124
-
1125
- /* TODO Implement preserve_aspect_ratio support */
1126
-
1127
- width = gdk_pixbuf_get_height (pixbuf);
1128
- height = gdk_pixbuf_get_width (pixbuf);
1129
-
1130
- if (height < 1 || width < 1)
1131
- return;
1132
-
1133
- zoom_x = (double) output->subregion.width / (double) width;
1134
- zoom_y = (double) output->subregion.height / (double) height;
1135
-
1136
- cairo = cairo_create (output->surface);
1137
-
1138
- cairo_translate (cairo, output->subregion.x, output->subregion.y);
1139
- cairo_scale (cairo, zoom_x, zoom_y);
1140
- lsm_cairo_set_source_pixbuf (cairo, pixbuf, 0, 0);
1141
- cairo_paint (cairo);
1142
-
1143
- cairo_destroy (cairo);
1144
- }
1145
-
1146
- void
1147
- lsm_svg_filter_surface_morphology (LsmSvgFilterSurface *input, LsmSvgFilterSurface *output,
1148
- LsmSvgMorphologyOperator op, double rx, double ry)
1149
- {
1150
- cairo_t *cairo;
1151
- int i, j;
1152
- int ch, extreme;
1153
- gint x, y, x1, x2, y1, y2;
1154
- gint width, height;
1155
- gint rowstride;
1156
- guchar *in_pixels;
1157
- guchar *output_pixels;
1158
- gint kx, ky;
1159
- guchar val;
1160
-
1161
- g_return_if_fail (input != NULL);
1162
- g_return_if_fail (output != NULL);
1163
-
1164
- width = cairo_image_surface_get_width (input->surface);
1165
- height = cairo_image_surface_get_height (input->surface);
1166
-
1167
- if (width != cairo_image_surface_get_width (output->surface) ||
1168
- height != cairo_image_surface_get_height (output->surface))
1169
- return;
1170
-
1171
- if (height < 1 || width < 1)
1172
- return;
1173
-
1174
- kx = rx;
1175
- ky = ry;
1176
-
1177
- if (kx < 1 && ky < 1)
1178
- return;
1179
-
1180
- cairo_surface_flush (input->surface);
1181
- cairo = cairo_create (output->surface);
1182
-
1183
- in_pixels = cairo_image_surface_get_data (input->surface);
1184
- output_pixels = cairo_image_surface_get_data (output->surface);
1185
- rowstride = cairo_image_surface_get_stride (input->surface);
1186
-
1187
- x1 = CLAMP (input->subregion.x, 0, width);
1188
- x2 = CLAMP (input->subregion.x + input->subregion.width, 0, width);
1189
- y1 = CLAMP (input->subregion.y, 0, height);
1190
- y2 = CLAMP (input->subregion.y + input->subregion.height, 0, height);
1191
-
1192
- for (y = y1; y < y2; y++)
1193
- for (x = x1; x < x2; x++)
1194
- for (ch = 0; ch < 4; ch++) {
1195
- if (op == LSM_SVG_MORPHOLOGY_OPERATOR_ERODE)
1196
- extreme = 255;
1197
- else
1198
- extreme = 0;
1199
- for (i = -ky; i < ky + 1; i++)
1200
- for (j = -kx; j < kx + 1; j++) {
1201
- if (y + i >= height || y + i < 0 || x + j >= width || x + j < 0)
1202
- continue;
1203
-
1204
- val = in_pixels[(y + i) * rowstride + (x + j) * 4 + ch];
1205
-
1206
-
1207
- if (op == LSM_SVG_MORPHOLOGY_OPERATOR_ERODE) {
1208
- if (extreme > val)
1209
- extreme = val;
1210
- } else {
1211
- if (extreme < val)
1212
- extreme = val;
1213
- }
1214
-
1215
- }
1216
- output_pixels[y * rowstride + x * 4 + ch] = extreme;
1217
- }
1218
-
1219
- cairo_surface_mark_dirty (output->surface);
1220
-
1221
- cairo_destroy (cairo);
1222
- }
1223
-
1224
- /* Produces results in the range [1, 2**31 - 2].
1225
- Algorithm is: r = (a * r) mod m
1226
- where a = 16807 and m = 2**31 - 1 = 2147483647
1227
- See [Park & Miller], CACM vol. 31 no. 10 p. 1195, Oct. 1988
1228
- To test: the algorithm should produce the result 1043618065
1229
- as the 10,000th generated number if the original seed is 1.
1230
- */
1231
-
1232
- #define LSM_SVG_TURBULENCE_RAND_m 2147483647 /* 2**31 - 1 */
1233
- #define LSM_SVG_TURBULENCE_RAND_a 16807 /* 7**5; primitive root of m */
1234
- #define LSM_SVG_TURBULENCE_RAND_q 127773 /* m / a */
1235
- #define LSM_SVG_TURBULENCE_RAND_r 2836 /* m % a */
1236
- #define LSM_SVG_TURBULENCE_BSize 0x100
1237
- #define LSM_SVG_TURBULENCE_BM 0xff
1238
- #define LSM_SVG_TURBULENCE_PerlinN 0x1000
1239
- #define LSM_SVG_TURBULENCE_NP 12 /* 2^PerlinN */
1240
- #define LSM_SVG_TURBULENCE_NM 0xfff
1241
-
1242
- typedef struct {
1243
- double base_frequency_x;
1244
- double base_frequency_y;
1245
- int n_octaves;
1246
- double seed;
1247
- LsmSvgStitchTiles stitch_tiles;
1248
- LsmSvgTurbulenceType type;
1249
-
1250
- int uLatticeSelector[LSM_SVG_TURBULENCE_BSize + LSM_SVG_TURBULENCE_BSize + 2];
1251
- double fGradient[4][LSM_SVG_TURBULENCE_BSize + LSM_SVG_TURBULENCE_BSize + 2][2];
1252
- } LsmSvgTurbulence;
1253
-
1254
- typedef struct {
1255
- int nWidth; /* How much to subtract to wrap for stitching. */
1256
- int nHeight;
1257
- int nWrapX; /* Minimum value to wrap. */
1258
- int nWrapY;
1259
- } LsmSvgTurbulenceStitchInfo;
1260
-
1261
- static long
1262
- _turbulence_setup_seed (int lSeed)
1263
- {
1264
- if (lSeed <= 0)
1265
- lSeed = -(lSeed % (LSM_SVG_TURBULENCE_RAND_m - 1)) + 1;
1266
- if (lSeed > LSM_SVG_TURBULENCE_RAND_m - 1)
1267
- lSeed = LSM_SVG_TURBULENCE_RAND_m - 1;
1268
- return lSeed;
1269
- }
1270
-
1271
- static long
1272
- _turbulence_random (int lSeed)
1273
- {
1274
- long result;
1275
-
1276
- result =
1277
- LSM_SVG_TURBULENCE_RAND_a * (lSeed % LSM_SVG_TURBULENCE_RAND_q) -
1278
- LSM_SVG_TURBULENCE_RAND_r * (lSeed / LSM_SVG_TURBULENCE_RAND_q);
1279
- if (result <= 0)
1280
- result += LSM_SVG_TURBULENCE_RAND_m;
1281
- return result;
1282
- }
1283
-
1284
- static void
1285
- _turbulence_init (LsmSvgTurbulence *turbulence)
1286
- {
1287
- double s;
1288
- int i, j, k, lSeed;
1289
-
1290
- lSeed = _turbulence_setup_seed (turbulence->seed);
1291
- for (k = 0; k < 4; k++) {
1292
- for (i = 0; i < LSM_SVG_TURBULENCE_BSize; i++) {
1293
- turbulence->uLatticeSelector[i] = i;
1294
- for (j = 0; j < 2; j++)
1295
- turbulence->fGradient[k][i][j] =
1296
- (double) (((lSeed =
1297
- _turbulence_random (lSeed)) % (LSM_SVG_TURBULENCE_BSize +
1298
- LSM_SVG_TURBULENCE_BSize)) -
1299
- LSM_SVG_TURBULENCE_BSize) / LSM_SVG_TURBULENCE_BSize;
1300
- s = (double) (sqrt (turbulence->fGradient[k][i][0] * turbulence->fGradient[k][i][0] +
1301
- turbulence->fGradient[k][i][1] * turbulence->fGradient[k][i][1]));
1302
- turbulence->fGradient[k][i][0] /= s;
1303
- turbulence->fGradient[k][i][1] /= s;
1304
- }
1305
- }
1306
-
1307
- while (--i) {
1308
- k = turbulence->uLatticeSelector[i];
1309
- turbulence->uLatticeSelector[i] = turbulence->uLatticeSelector[j =
1310
- (lSeed = _turbulence_random (lSeed)) % LSM_SVG_TURBULENCE_BSize];
1311
- turbulence->uLatticeSelector[j] = k;
1312
- }
1313
-
1314
- for (i = 0; i < LSM_SVG_TURBULENCE_BSize + 2; i++) {
1315
- turbulence->uLatticeSelector[LSM_SVG_TURBULENCE_BSize + i] = turbulence->uLatticeSelector[i];
1316
- for (k = 0; k < 4; k++)
1317
- for (j = 0; j < 2; j++)
1318
- turbulence->fGradient[k][LSM_SVG_TURBULENCE_BSize + i][j] = turbulence->fGradient[k][i][j];
1319
- }
1320
- }
1321
-
1322
- #define _turbulence_s_curve(t) ( t * t * (3. - 2. * t) )
1323
- #define _turbulence_lerp(t, a, b) ( a + t * (b - a) )
1324
-
1325
- static double
1326
- _turbulence_noise2 (LsmSvgTurbulence * turbulence,
1327
- int nColorChannel, double vec[2], LsmSvgTurbulenceStitchInfo *pStitchInfo)
1328
- {
1329
- int bx0, bx1, by0, by1, b00, b10, b01, b11;
1330
- double rx0, rx1, ry0, ry1, *q, sx, sy, a, b, t, u, v;
1331
- register int i, j;
1332
-
1333
- t = vec[0] + LSM_SVG_TURBULENCE_PerlinN;
1334
- bx0 = (int) t;
1335
- bx1 = bx0 + 1;
1336
- rx0 = t - (int) t;
1337
- rx1 = rx0 - 1.0f;
1338
- t = vec[1] + LSM_SVG_TURBULENCE_PerlinN;
1339
- by0 = (int) t;
1340
- by1 = by0 + 1;
1341
- ry0 = t - (int) t;
1342
- ry1 = ry0 - 1.0f;
1343
-
1344
- /* If stitching, adjust lattice points accordingly. */
1345
- if (pStitchInfo != NULL) {
1346
- if (bx0 >= pStitchInfo->nWrapX)
1347
- bx0 -= pStitchInfo->nWidth;
1348
- if (bx1 >= pStitchInfo->nWrapX)
1349
- bx1 -= pStitchInfo->nWidth;
1350
- if (by0 >= pStitchInfo->nWrapY)
1351
- by0 -= pStitchInfo->nHeight;
1352
- if (by1 >= pStitchInfo->nWrapY)
1353
- by1 -= pStitchInfo->nHeight;
1354
- }
1355
-
1356
- bx0 &= LSM_SVG_TURBULENCE_BM;
1357
- bx1 &= LSM_SVG_TURBULENCE_BM;
1358
- by0 &= LSM_SVG_TURBULENCE_BM;
1359
- by1 &= LSM_SVG_TURBULENCE_BM;
1360
- i = turbulence->uLatticeSelector[bx0];
1361
- j = turbulence->uLatticeSelector[bx1];
1362
- b00 = turbulence->uLatticeSelector[i + by0];
1363
- b10 = turbulence->uLatticeSelector[j + by0];
1364
- b01 = turbulence->uLatticeSelector[i + by1];
1365
- b11 = turbulence->uLatticeSelector[j + by1];
1366
- sx = (double) (_turbulence_s_curve (rx0));
1367
- sy = (double) (_turbulence_s_curve (ry0));
1368
- q = turbulence->fGradient[nColorChannel][b00];
1369
- u = rx0 * q[0] + ry0 * q[1];
1370
- q = turbulence->fGradient[nColorChannel][b10];
1371
- v = rx1 * q[0] + ry0 * q[1];
1372
- a = _turbulence_lerp (sx, u, v);
1373
- q = turbulence->fGradient[nColorChannel][b01];
1374
- u = rx0 * q[0] + ry1 * q[1];
1375
- q = turbulence->fGradient[nColorChannel][b11];
1376
- v = rx1 * q[0] + ry1 * q[1];
1377
- b = _turbulence_lerp (sx, u, v);
1378
-
1379
- return _turbulence_lerp (sy, a, b);
1380
- }
1381
-
1382
- static double
1383
- _turbulence (LsmSvgTurbulence * turbulence,
1384
- int nColorChannel, double *point,
1385
- double fTileX, double fTileY, double fTileWidth, double fTileHeight)
1386
- {
1387
- LsmSvgTurbulenceStitchInfo stitch;
1388
- LsmSvgTurbulenceStitchInfo *pStitchInfo = NULL; /* Not stitching when NULL. */
1389
-
1390
- double fSum = 0.0f, vec[2], ratio = 1.;
1391
- int nOctave;
1392
-
1393
- /* Adjust the base frequencies if necessary for stitching. */
1394
- if (turbulence->stitch_tiles == LSM_SVG_STITCH_TILES_STITCH) {
1395
- /* When stitching tiled turbulence, the frequencies must be adjusted
1396
- so that the tile borders will be continuous. */
1397
- if (turbulence->base_frequency_x != 0.0) {
1398
- double fLoFreq = (double) (floor (fTileWidth * turbulence->base_frequency_x)) / fTileWidth;
1399
- double fHiFreq = (double) (ceil (fTileWidth * turbulence->base_frequency_x)) / fTileWidth;
1400
- if (turbulence->base_frequency_x / fLoFreq < fHiFreq / turbulence->base_frequency_x)
1401
- turbulence->base_frequency_x = fLoFreq;
1402
- else
1403
- turbulence->base_frequency_x = fHiFreq;
1404
- }
1405
-
1406
- if (turbulence->base_frequency_y != 0.0) {
1407
- double fLoFreq = (double) (floor (fTileHeight * turbulence->base_frequency_y)) / fTileHeight;
1408
- double fHiFreq = (double) (ceil (fTileHeight * turbulence->base_frequency_y)) / fTileHeight;
1409
- if (turbulence->base_frequency_y / fLoFreq < fHiFreq / turbulence->base_frequency_y)
1410
- turbulence->base_frequency_y = fLoFreq;
1411
- else
1412
- turbulence->base_frequency_y = fHiFreq;
1413
- }
1414
-
1415
- /* Set up initial stitch values. */
1416
- pStitchInfo = &stitch;
1417
- stitch.nWidth = (int) (fTileWidth * turbulence->base_frequency_x + 0.5f);
1418
- stitch.nWrapX = fTileX * turbulence->base_frequency_x + LSM_SVG_TURBULENCE_PerlinN + stitch.nWidth;
1419
- stitch.nHeight = (int) (fTileHeight * turbulence->base_frequency_y + 0.5f);
1420
- stitch.nWrapY = fTileY * turbulence->base_frequency_y + LSM_SVG_TURBULENCE_PerlinN + stitch.nHeight;
1421
- }
1422
-
1423
- vec[0] = point[0] * turbulence->base_frequency_x;
1424
- vec[1] = point[1] * turbulence->base_frequency_y;
1425
-
1426
- for (nOctave = 0; nOctave < turbulence->n_octaves; nOctave++) {
1427
- if (turbulence->type == LSM_SVG_TURBULENCE_TYPE_FRACTAL_NOISE)
1428
- fSum +=
1429
- (double) (_turbulence_noise2 (turbulence, nColorChannel, vec, pStitchInfo) / ratio);
1430
- else
1431
- fSum +=
1432
- (double) (fabs (_turbulence_noise2 (turbulence, nColorChannel, vec, pStitchInfo)) /
1433
- ratio);
1434
-
1435
- vec[0] *= 2;
1436
- vec[1] *= 2;
1437
- ratio *= 2;
1438
-
1439
- if (pStitchInfo != NULL) {
1440
- /* Update stitch values. Subtracting PerlinN before the multiplication and
1441
- adding it afterward simplifies to subtracting it once. */
1442
- stitch.nWidth *= 2;
1443
- stitch.nWrapX = 2 * stitch.nWrapX - LSM_SVG_TURBULENCE_PerlinN;
1444
- stitch.nHeight *= 2;
1445
- stitch.nWrapY = 2 * stitch.nWrapY - LSM_SVG_TURBULENCE_PerlinN;
1446
- }
1447
- }
1448
-
1449
- return fSum;
1450
- }
1451
-
1452
- void
1453
- lsm_svg_filter_surface_turbulence (LsmSvgFilterSurface *output,
1454
- double base_frequency_x, double base_frequency_y,
1455
- int n_octaves, double seed,
1456
- LsmSvgStitchTiles stitch_tiles, LsmSvgTurbulenceType type,
1457
- const cairo_matrix_t *transform)
1458
- {
1459
- LsmSvgTurbulence turbulence;
1460
- cairo_t *cairo;
1461
- gint x, y, x1, x2, y1, y2;
1462
- gint width, height, tileWidth, tileHeight;
1463
- gint rowstride;
1464
- guchar *output_pixels;
1465
- cairo_matrix_t affine;
1466
-
1467
- g_return_if_fail (output != NULL);
1468
- g_return_if_fail (transform != NULL);
1469
-
1470
- affine = *transform;
1471
- if (cairo_matrix_invert (&affine) != CAIRO_STATUS_SUCCESS)
1472
- return;
1473
-
1474
- width = cairo_image_surface_get_width (output->surface);
1475
- height = cairo_image_surface_get_height (output->surface);
1476
-
1477
- if (height < 1 || width < 1)
1478
- return;
1479
-
1480
- cairo = cairo_create (output->surface);
1481
-
1482
- output_pixels = cairo_image_surface_get_data (output->surface);
1483
- rowstride = cairo_image_surface_get_stride (output->surface);
1484
-
1485
- x1 = CLAMP (output->subregion.x, 0, width);
1486
- x2 = CLAMP (output->subregion.x + output->subregion.width, 0, width);
1487
- y1 = CLAMP (output->subregion.y, 0, height);
1488
- y2 = CLAMP (output->subregion.y + output->subregion.height, 0, height);
1489
-
1490
- turbulence.base_frequency_x = base_frequency_x;
1491
- turbulence.base_frequency_y = base_frequency_y;
1492
- turbulence.n_octaves = n_octaves;
1493
- turbulence.seed = seed;
1494
- turbulence.stitch_tiles = stitch_tiles;
1495
- turbulence.type = type;
1496
-
1497
- _turbulence_init (&turbulence);
1498
-
1499
- tileWidth = x2 - x1;
1500
- tileHeight = y2 - y1;
1501
-
1502
- for (y = 0; y < tileHeight; y++) {
1503
- for (x = 0; x < tileWidth; x++) {
1504
- gint i;
1505
- double point[2];
1506
- guchar *pixel;
1507
- point[0] = affine.xx * (x + x1) + affine.xy * (y + y1) + affine.x0;
1508
- point[1] = affine.yx * (x + x1) + affine.yy * (y + y1) + affine.y0;
1509
-
1510
- pixel = output_pixels + 4 * (x + x1) + (y + y1) * rowstride;
1511
-
1512
- for (i = 0; i < 4; i++) {
1513
- double cr;
1514
-
1515
- cr = _turbulence (&turbulence, i, point, (double) x, (double) y,
1516
- (double) tileWidth, (double) tileHeight);
1517
-
1518
- if (type == LSM_SVG_TURBULENCE_TYPE_FRACTAL_NOISE)
1519
- cr = ((cr * 255.) + 255.) / 2.;
1520
- else
1521
- cr = (cr * 255.);
1522
-
1523
- cr = CLAMP (cr, 0., 255.);
1524
-
1525
- pixel[channelmap[i]] = (guchar) cr;
1526
- }
1527
- for (i = 0; i < 3; i++)
1528
- pixel[channelmap[i]] =
1529
- pixel[channelmap[i]] * pixel[channelmap[3]] / 255;
1530
-
1531
- }
1532
- }
1533
-
1534
- cairo_surface_mark_dirty (output->surface);
1535
-
1536
- cairo_destroy (cairo);
1537
- }