mathematical 1.5.12 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -30
  3. data/Rakefile +1 -0
  4. data/ext/mathematical/CMakeLists.txt +4 -1
  5. data/ext/mathematical/extconf.rb +4 -1
  6. data/ext/mathematical/lasem/NEWS +17 -0
  7. data/ext/mathematical/lasem/autogen.sh +5 -2
  8. data/ext/mathematical/lasem/configure.ac +3 -3
  9. data/ext/mathematical/lasem/po/cs.po +50 -18
  10. data/ext/mathematical/lasem/po/de.po +62 -26
  11. data/ext/mathematical/lasem/po/es.po +27 -18
  12. data/ext/mathematical/lasem/po/hu.po +50 -21
  13. data/ext/mathematical/lasem/po/id.po +49 -16
  14. data/ext/mathematical/lasem/po/lt.po +47 -18
  15. data/ext/mathematical/lasem/po/pl.po +53 -24
  16. data/ext/mathematical/lasem/po/pt_BR.po +70 -29
  17. data/ext/mathematical/lasem/po/sl.po +43 -29
  18. data/ext/mathematical/lasem/po/sr.po +67 -27
  19. data/ext/mathematical/lasem/po/sr@latin.po +67 -27
  20. data/ext/mathematical/lasem/po/sv.po +51 -18
  21. data/ext/mathematical/lasem/src/lasemrender.c +107 -14
  22. data/ext/mathematical/lasem/src/lsmitex.c +1 -0
  23. data/ext/mathematical/lasem/src/lsmsvgelement.c +0 -2
  24. data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
  25. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +16 -0
  26. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -1
  27. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +8 -2
  28. data/ext/mathematical/lasem_overrides.c +3 -3
  29. data/ext/mathematical/lib/liblasem.dylib +0 -0
  30. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  31. data/ext/mathematical/mathematical.c +1 -1
  32. data/ext/mathematical/mtex2MML/CMakeLists.txt +5 -0
  33. data/ext/mathematical/mtex2MML/README.md +3 -3
  34. data/ext/mathematical/mtex2MML/SUPPORTED.md +2 -0
  35. data/ext/mathematical/mtex2MML/appveyor.yml +15 -5
  36. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +181 -116
  37. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.6.1/CMakeCCompiler.cmake +67 -0
  38. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.6.1/CMakeCXXCompiler.cmake +68 -0
  39. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CMakeDetermineCompilerABI_C.bin +0 -0
  40. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CMakeDetermineCompilerABI_CXX.bin +0 -0
  41. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.6.1/CMakeSystem.cmake +15 -0
  42. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CompilerIdC/CMakeCCompilerId.c +223 -55
  43. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1/CompilerIdCXX → 3.6.1/CompilerIdC}/a.out +0 -0
  44. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1 → 3.6.1}/CompilerIdCXX/CMakeCXXCompilerId.cpp +202 -44
  45. data/ext/mathematical/mtex2MML/build/CMakeFiles/{2.8.10.1/CompilerIdC → 3.6.1/CompilerIdCXX}/a.out +0 -0
  46. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  47. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +405 -109
  48. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +29 -29
  49. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +4 -20
  50. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +14 -7
  51. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +4 -4
  52. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +4 -20
  53. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +14 -7
  54. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +4 -4
  55. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +4 -20
  56. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +14 -7
  57. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +4 -4
  58. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +4 -20
  59. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +14 -7
  60. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +4 -4
  61. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +4 -20
  62. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +14 -7
  63. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +4 -4
  64. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +4 -20
  65. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +14 -7
  66. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +4 -4
  67. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +4 -20
  68. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +14 -7
  69. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +4 -4
  70. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +4 -20
  71. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +14 -7
  72. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +4 -4
  73. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +4 -20
  74. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +14 -7
  75. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +4 -4
  76. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +4 -20
  77. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +14 -7
  78. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +4 -4
  79. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +4 -20
  80. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +14 -7
  81. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +4 -4
  82. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +4 -20
  83. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +14 -7
  84. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +4 -4
  85. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +4 -20
  86. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +14 -7
  87. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +4 -4
  88. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +4 -20
  89. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +14 -7
  90. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +4 -4
  91. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +4 -20
  92. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +14 -7
  93. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +4 -4
  94. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +4 -20
  95. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +14 -7
  96. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +4 -4
  97. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +4 -20
  98. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +14 -7
  99. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +4 -4
  100. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +4 -20
  101. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +14 -7
  102. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +4 -4
  103. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +68 -60
  104. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +564 -522
  105. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +4 -20
  106. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +14 -7
  107. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +4 -4
  108. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +4 -20
  109. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +14 -7
  110. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +4 -4
  111. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +4 -20
  112. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +14 -7
  113. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +4 -4
  114. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +4 -20
  115. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +14 -7
  116. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +4 -4
  117. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +4 -20
  118. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +14 -7
  119. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +4 -4
  120. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +4 -20
  121. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +14 -7
  122. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +4 -4
  123. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +4 -20
  124. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +14 -7
  125. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +4 -4
  126. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +4 -20
  127. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +14 -7
  128. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +4 -4
  129. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +4 -20
  130. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +14 -7
  131. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +4 -4
  132. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +4 -20
  133. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +14 -7
  134. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +4 -4
  135. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +28 -21
  136. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
  137. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +34 -0
  138. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +405 -0
  139. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +4 -20
  140. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +13 -6
  141. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +4 -4
  142. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +16 -18
  143. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +55 -42
  144. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +4 -4
  145. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -3
  146. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
  147. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +1 -0
  148. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +115 -27
  149. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +16 -18
  150. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +54 -42
  151. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +4 -4
  152. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +1 -1
  153. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +19 -20
  154. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +18 -19
  155. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -3
  156. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
  157. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +9 -8
  158. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +4 -20
  159. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +13 -6
  160. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +4 -4
  161. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +16 -18
  162. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +60 -47
  163. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +4 -4
  164. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -3
  165. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
  166. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +10 -9
  167. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +17 -18
  168. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +178 -124
  169. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +5 -4
  170. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -3
  171. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
  172. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +27 -25
  173. data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +1 -1
  174. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +2 -2
  175. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +25 -7
  176. data/ext/mathematical/mtex2MML/build/Makefile +419 -307
  177. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +32 -32
  178. data/ext/mathematical/mtex2MML/build/lexer.c +4317 -4379
  179. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  180. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +12 -5
  181. data/ext/mathematical/mtex2MML/build/parser.c +5549 -5473
  182. data/ext/mathematical/mtex2MML/build/parser.h +499 -490
  183. data/ext/mathematical/mtex2MML/build/parser.output +93361 -92735
  184. data/ext/mathematical/mtex2MML/deps/strdup/package.json +2 -2
  185. data/ext/mathematical/mtex2MML/deps/strdup/strdup.c +2 -0
  186. data/ext/mathematical/mtex2MML/deps/strdup/strdup.h +2 -0
  187. data/ext/mathematical/mtex2MML/deps/uthash/package.json +2 -1
  188. data/ext/mathematical/mtex2MML/deps/uthash/utarray.h +42 -36
  189. data/ext/mathematical/mtex2MML/deps/uthash/uthash.h +334 -218
  190. data/ext/mathematical/mtex2MML/deps/uthash/utlist.h +282 -144
  191. data/ext/mathematical/mtex2MML/deps/uthash/utringbuffer.h +108 -0
  192. data/ext/mathematical/mtex2MML/deps/uthash/utstring.h +15 -10
  193. data/ext/mathematical/mtex2MML/script/bootstrap +6 -12
  194. data/ext/mathematical/mtex2MML/script/cibuild +47 -1
  195. data/ext/mathematical/mtex2MML/script/{release → tag} +1 -1
  196. data/ext/mathematical/mtex2MML/src/environment.c +73 -13
  197. data/ext/mathematical/mtex2MML/src/environment.h +1 -1
  198. data/ext/mathematical/mtex2MML/src/lexer.l +75 -53
  199. data/ext/mathematical/mtex2MML/src/main.c +65 -36
  200. data/ext/mathematical/mtex2MML/src/mtex2MML.h +5 -1
  201. data/ext/mathematical/mtex2MML/src/parser.y +67 -16
  202. data/ext/mathematical/mtex2MML/tests/basic.c +10 -0
  203. data/ext/mathematical/mtex2MML/tests/delimiters.c +95 -0
  204. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/layout/strut-1.html +1 -1
  205. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/cal-1.html +1 -1
  206. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/frak-1.html +1 -1
  207. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathcal-1.html +1 -1
  208. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathfrak-1.html +1 -1
  209. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathrm-1.html +1 -1
  210. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/mathscr-1.html +1 -1
  211. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/rm-1.html +1 -1
  212. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/scr-1.html +1 -1
  213. data/ext/mathematical/mtex2MML/tests/fixtures/MathJax/LaTeXToMathML-out/mathvariant/textrm-1.html +1 -1
  214. data/ext/mathematical/mtex2MML/tests/fixtures/array/strip_excess_whitespace_in_array_attributes.html +1 -1
  215. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.html +23 -0
  216. data/ext/mathematical/mtex2MML/tests/fixtures/basic/text_rendering.txt +23 -0
  217. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.html +1 -0
  218. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/align.txt +3 -0
  219. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.html +1 -0
  220. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/alignat-1a.txt +4 -0
  221. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.html +1 -0
  222. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/aligned_ex_spacing.txt +4 -0
  223. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.html +1 -0
  224. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/basic_array.txt +3 -0
  225. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.html +8 -0
  226. data/ext/mathematical/mtex2MML/tests/fixtures/delimiters/mixed_env.txt +11 -0
  227. data/ext/mathematical/mtex2MML/tests/fixtures/performance/big_file.html +6 -6
  228. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.html +1 -0
  229. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/gt.txt +1 -0
  230. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.html +1 -0
  231. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/lt.txt +1 -0
  232. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.html +1 -0
  233. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textgreater.txt +1 -0
  234. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.html +1 -0
  235. data/ext/mathematical/mtex2MML/tests/fixtures/symbols/textless.txt +1 -0
  236. data/ext/mathematical/mtex2MML/tests/symbols.c +69 -0
  237. data/lib/mathematical.rb +19 -1
  238. data/lib/mathematical/version.rb +1 -1
  239. data/mathematical.gemspec +2 -1
  240. data/test/mathematical/basic_test.rb +16 -3
  241. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  242. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  243. data/test/mathematical/fixtures/png/pmatrix.png +0 -0
  244. data/test/mathematical/maliciousness_test.rb +0 -1
  245. data/test/mathematical/multiples_test.rb +3 -0
  246. data/test/mathematical/png_test.rb +4 -1
  247. data/test/test_helper.rb +2 -0
  248. metadata +54 -18
  249. data/ext/mathematical/FindNewerRubies.cmake +0 -292
  250. data/ext/mathematical/mtex2MML/build.ps1 +0 -2
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +0 -55
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +0 -56
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake +0 -15
  254. data/ext/mathematical/mtex2MML/src/y.output +0 -117655
@@ -1,14 +1,13 @@
1
- /* A Bison parser, made by GNU Bison 2.3. */
1
+ /* A Bison parser, made by GNU Bison 3.0.4. */
2
2
 
3
- /* Skeleton interface for Bison's Yacc-like parsers in C
3
+ /* Bison interface for Yacc-like parsers in C
4
4
 
5
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6
- Free Software Foundation, Inc.
5
+ Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
7
6
 
8
- This program is free software; you can redistribute it and/or modify
7
+ This program is free software: you can redistribute it and/or modify
9
8
  it under the terms of the GNU General Public License as published by
10
- the Free Software Foundation; either version 2, or (at your option)
11
- any later version.
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
12
11
 
13
12
  This program is distributed in the hope that it will be useful,
14
13
  but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,9 +15,7 @@
16
15
  GNU General Public License for more details.
17
16
 
18
17
  You should have received a copy of the GNU General Public License
19
- along with this program; if not, write to the Free Software
20
- Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
- Boston, MA 02110-1301, USA. */
18
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
22
19
 
23
20
  /* As a special exception, you may create a larger work that contains
24
21
  part or all of the Bison parser skeleton and distribute that work
@@ -33,302 +30,312 @@
33
30
  This special exception was added by the Free Software Foundation in
34
31
  version 2.2 of Bison. */
35
32
 
36
- /* Tokens. */
33
+ #ifndef YY_MTEX2MML_YY_USERS_GJTORIKIAN_DEVELOPMENT_MATHEMATICAL_EXT_MATHEMATICAL_MTEX2MML_BUILD_PARSER_H_INCLUDED
34
+ # define YY_MTEX2MML_YY_USERS_GJTORIKIAN_DEVELOPMENT_MATHEMATICAL_EXT_MATHEMATICAL_MTEX2MML_BUILD_PARSER_H_INCLUDED
35
+ /* Debug traces. */
36
+ #ifndef YYDEBUG
37
+ # define YYDEBUG 0
38
+ #endif
39
+ #if YYDEBUG
40
+ extern int mtex2MML_yydebug;
41
+ #endif
42
+
43
+ /* Token type. */
37
44
  #ifndef YYTOKENTYPE
38
45
  # define YYTOKENTYPE
39
- /* Put the tokens into the symbol table, so that GDB and other debuggers
40
- know about them. */
41
- enum yytokentype {
42
- TEXABOVEWITHDELIMS = 258,
43
- TEXABOVE = 259,
44
- TEXATOPWITHDELIMS = 260,
45
- TEXATOP = 261,
46
- TEXOVERWITHDELIMS = 262,
47
- TEXOVER = 263,
48
- CHAR = 264,
49
- STARTMATH = 265,
50
- STARTDMATH = 266,
51
- ENDMATH = 267,
52
- MTEXT = 268,
53
- MI = 269,
54
- MIB = 270,
55
- MN = 271,
56
- MO = 272,
57
- LIMITS = 273,
58
- NOLIMITS = 274,
59
- SUP = 275,
60
- SUB = 276,
61
- MROWOPEN = 277,
62
- MROWCLOSE = 278,
63
- MATHOPEN = 279,
64
- MATHCLOSE = 280,
65
- MATHORD = 281,
66
- MATHPUNCT = 282,
67
- VCENTER = 283,
68
- LEFT = 284,
69
- RIGHT = 285,
70
- BIG = 286,
71
- BBIG = 287,
72
- BIGG = 288,
73
- BBIGG = 289,
74
- BIGL = 290,
75
- BBIGL = 291,
76
- BIGGL = 292,
77
- BBIGGL = 293,
78
- BIGM = 294,
79
- BBIGM = 295,
80
- BIGGM = 296,
81
- BBIGGM = 297,
82
- FRAC = 298,
83
- TFRAC = 299,
84
- DFRAC = 300,
85
- CFRAC = 301,
86
- GENFRAC = 302,
87
- OPERATORNAME = 303,
88
- MATHOP = 304,
89
- MATHBIN = 305,
90
- MATHREL = 306,
91
- MATHINNER = 307,
92
- MOP = 308,
93
- MOL = 309,
94
- MOLL = 310,
95
- MOF = 311,
96
- MOR = 312,
97
- PERIODDELIM = 313,
98
- COMMADELIM = 314,
99
- OTHERDELIM = 315,
100
- LEFTDELIM = 316,
101
- RIGHTDELIM = 317,
102
- MOS = 318,
103
- MOB = 319,
104
- SQRT = 320,
105
- ROOT = 321,
106
- OF = 322,
107
- LEFTROOT = 323,
108
- UPROOT = 324,
109
- BINOM = 325,
110
- TBINOM = 326,
111
- BRACE = 327,
112
- BRACK = 328,
113
- CHOOSE = 329,
114
- DBINOM = 330,
115
- UNDER = 331,
116
- BUILDREL = 332,
117
- OVER = 333,
118
- OVERBRACE = 334,
119
- OVERBRACKET = 335,
120
- UNDERLINE = 336,
121
- UNDERBRACE = 337,
122
- UNDERBRACKET = 338,
123
- UNDEROVER = 339,
124
- TENSOR = 340,
125
- MULTI = 341,
126
- ALIGNATVALUE = 342,
127
- ARRAYALIGN = 343,
128
- COLUMNALIGN = 344,
129
- ARRAY = 345,
130
- SPACECUBE = 346,
131
- HSPACE = 347,
132
- MOVELEFT = 348,
133
- MOVERIGHT = 349,
134
- RAISE = 350,
135
- LOWER = 351,
136
- PXSTRING = 352,
137
- COLSEP = 353,
138
- COLSEPSPACE = 354,
139
- ROWSEP = 355,
140
- ARRAYOPTS = 356,
141
- COLLAYOUT = 357,
142
- COLALIGN = 358,
143
- ROWALIGN = 359,
144
- ALIGN = 360,
145
- EQROWS = 361,
146
- EQCOLS = 362,
147
- ROWLINES = 363,
148
- COLLINES = 364,
149
- FRAME = 365,
150
- PADDING = 366,
151
- ATTRLIST = 367,
152
- ITALICS = 368,
153
- SANS = 369,
154
- TT = 370,
155
- ENCLOSE = 371,
156
- ENCLOSENOTATION = 372,
157
- ENCLOSEATTR = 373,
158
- ENCLOSETEXT = 374,
159
- BOLD = 375,
160
- BOXED = 376,
161
- FBOX = 377,
162
- HBOX = 378,
163
- MBOX = 379,
164
- BCANCELED = 380,
165
- XCANCELED = 381,
166
- CANCELEDTO = 382,
167
- NOT = 383,
168
- SLASHED = 384,
169
- PMB = 385,
170
- SCR = 386,
171
- RM = 387,
172
- BB = 388,
173
- ST = 389,
174
- END = 390,
175
- BBLOWERCHAR = 391,
176
- BBUPPERCHAR = 392,
177
- BBDIGIT = 393,
178
- CALCHAR = 394,
179
- FRAKCHAR = 395,
180
- CAL = 396,
181
- FRAK = 397,
182
- CLAP = 398,
183
- LLAP = 399,
184
- RLAP = 400,
185
- ROWOPTS = 401,
186
- TEXTSIZE = 402,
187
- OLDSTYLE = 403,
188
- SCSTY = 404,
189
- SCSIZE = 405,
190
- SCSCSIZE = 406,
191
- TINY = 407,
192
- TTINY = 408,
193
- SMALL = 409,
194
- NORMALSIZE = 410,
195
- LARGE = 411,
196
- LLARGE = 412,
197
- LLLARGE = 413,
198
- HUGE = 414,
199
- HHUGE = 415,
200
- DISPLAY = 416,
201
- TEXTSTY = 417,
202
- TEXTBOX = 418,
203
- TEXTSTRING = 419,
204
- COLORSTRING = 420,
205
- STYLESTRING = 421,
206
- VERBBOX = 422,
207
- VERBSTRING = 423,
208
- ACUTE = 424,
209
- GRAVE = 425,
210
- BREVE = 426,
211
- MATHRING = 427,
212
- XMLSTRING = 428,
213
- CELLOPTS = 429,
214
- ROWSPAN = 430,
215
- COLSPAN = 431,
216
- THINSPACE = 432,
217
- ENSPACE = 433,
218
- MEDSPACE = 434,
219
- THICKSPACE = 435,
220
- QUAD = 436,
221
- QQUAD = 437,
222
- NEGSPACE = 438,
223
- NEGMEDSPACE = 439,
224
- NEGTHICKSPACE = 440,
225
- STRUT = 441,
226
- MATHSTRUT = 442,
227
- SMASH = 443,
228
- PHANTOM = 444,
229
- HPHANTOM = 445,
230
- VPHANTOM = 446,
231
- HREF = 447,
232
- UNKNOWNCHAR = 448,
233
- EMPTYMROW = 449,
234
- STATLINE = 450,
235
- TOOLTIP = 451,
236
- TOGGLE = 452,
237
- TOGGLESTART = 453,
238
- TOGGLEEND = 454,
239
- FGHIGHLIGHT = 455,
240
- BGHIGHLIGHT = 456,
241
- COLORBOX = 457,
242
- SPACE = 458,
243
- NUMBER = 459,
244
- INTONE = 460,
245
- INTTWO = 461,
246
- INTTHREE = 462,
247
- OVERLEFTARROW = 463,
248
- OVERLEFTRIGHTARROW = 464,
249
- OVERRIGHTARROW = 465,
250
- UNDERLEFTARROW = 466,
251
- UNDERLEFTRIGHTARROW = 467,
252
- UNDERRIGHTARROW = 468,
253
- BAR = 469,
254
- WIDEBAR = 470,
255
- SKEW = 471,
256
- VEC = 472,
257
- WIDEVEC = 473,
258
- HAT = 474,
259
- WIDEHAT = 475,
260
- CHECK = 476,
261
- WIDECHECK = 477,
262
- TILDE = 478,
263
- WIDETILDE = 479,
264
- DOT = 480,
265
- DDOT = 481,
266
- DDDOT = 482,
267
- DDDDOT = 483,
268
- UNARYMINUS = 484,
269
- UNARYPLUS = 485,
270
- BEGINENV = 486,
271
- ENDENV = 487,
272
- EQUATION = 488,
273
- EQUATION_STAR = 489,
274
- EQALIGN = 490,
275
- EQALIGNNO = 491,
276
- MATRIX = 492,
277
- PMATRIX = 493,
278
- BMATRIX = 494,
279
- BBMATRIX = 495,
280
- VMATRIX = 496,
281
- VVMATRIX = 497,
282
- SUBARRAY = 498,
283
- SVG = 499,
284
- ENDSVG = 500,
285
- SMALLMATRIX = 501,
286
- CASES = 502,
287
- ALIGNED = 503,
288
- ALIGNENV = 504,
289
- ALIGNENV_STAR = 505,
290
- ALIGNAT = 506,
291
- ALIGNAT_STAR = 507,
292
- ALIGNEDAT = 508,
293
- GATHERED = 509,
294
- EQNARRAY = 510,
295
- EQNARRAY_STAR = 511,
296
- MULTLINE = 512,
297
- MULTLINE_STAR = 513,
298
- GATHER_STAR = 514,
299
- GATHER = 515,
300
- SUBSTACK = 516,
301
- SIDESET = 517,
302
- BMOD = 518,
303
- PMOD = 519,
304
- POD = 520,
305
- RMCHAR = 521,
306
- SCRCHAR = 522,
307
- PMBCHAR = 523,
308
- COLOR = 524,
309
- BGCOLOR = 525,
310
- BBOX = 526,
311
- XARROW = 527,
312
- OPTARGOPEN = 528,
313
- OPTARGCLOSE = 529,
314
- MTEXNUM = 530,
315
- RAISEBOX = 531,
316
- NEG = 532,
317
- LATEXSYMBOL = 533,
318
- TEXSYMBOL = 534,
319
- VARINJLIM = 535,
320
- VARLIMINF = 536,
321
- VARLIMSUP = 537,
322
- VARPROJLIM = 538
323
- };
46
+ enum yytokentype
47
+ {
48
+ TEXOVER = 258,
49
+ TEXOVERWITHDELIMS = 259,
50
+ TEXATOP = 260,
51
+ TEXATOPWITHDELIMS = 261,
52
+ TEXABOVE = 262,
53
+ TEXABOVEWITHDELIMS = 263,
54
+ CHAR = 264,
55
+ STARTMATH = 265,
56
+ STARTDMATH = 266,
57
+ ENDMATH = 267,
58
+ MTEXT = 268,
59
+ MI = 269,
60
+ MIB = 270,
61
+ MN = 271,
62
+ MO = 272,
63
+ LIMITS = 273,
64
+ NOLIMITS = 274,
65
+ SUP = 275,
66
+ SUB = 276,
67
+ MROWOPEN = 277,
68
+ MROWCLOSE = 278,
69
+ MATHOPEN = 279,
70
+ MATHCLOSE = 280,
71
+ MATHORD = 281,
72
+ MATHPUNCT = 282,
73
+ VCENTER = 283,
74
+ LEFT = 284,
75
+ RIGHT = 285,
76
+ BIG = 286,
77
+ BBIG = 287,
78
+ BIGG = 288,
79
+ BBIGG = 289,
80
+ BIGL = 290,
81
+ BBIGL = 291,
82
+ BIGGL = 292,
83
+ BBIGGL = 293,
84
+ BIGM = 294,
85
+ BBIGM = 295,
86
+ BIGGM = 296,
87
+ BBIGGM = 297,
88
+ FRAC = 298,
89
+ TFRAC = 299,
90
+ DFRAC = 300,
91
+ CFRAC = 301,
92
+ GENFRAC = 302,
93
+ OPERATORNAME = 303,
94
+ MATHOP = 304,
95
+ MATHBIN = 305,
96
+ MATHREL = 306,
97
+ MATHINNER = 307,
98
+ MOP = 308,
99
+ MOL = 309,
100
+ MOLL = 310,
101
+ MOF = 311,
102
+ MOR = 312,
103
+ PERIODDELIM = 313,
104
+ COMMADELIM = 314,
105
+ OTHERDELIM = 315,
106
+ LEFTDELIM = 316,
107
+ RIGHTDELIM = 317,
108
+ MOS = 318,
109
+ MOB = 319,
110
+ SQRT = 320,
111
+ ROOT = 321,
112
+ OF = 322,
113
+ LEFTROOT = 323,
114
+ UPROOT = 324,
115
+ BINOM = 325,
116
+ TBINOM = 326,
117
+ BRACE = 327,
118
+ BRACK = 328,
119
+ CHOOSE = 329,
120
+ DBINOM = 330,
121
+ UNDER = 331,
122
+ BUILDREL = 332,
123
+ OVER = 333,
124
+ OVERBRACE = 334,
125
+ OVERBRACKET = 335,
126
+ UNDERLINE = 336,
127
+ UNDERBRACE = 337,
128
+ UNDERBRACKET = 338,
129
+ UNDEROVER = 339,
130
+ TENSOR = 340,
131
+ MULTI = 341,
132
+ ALIGNATVALUE = 342,
133
+ ARRAYALIGN = 343,
134
+ COLUMNALIGN = 344,
135
+ ARRAY = 345,
136
+ SPACECUBE = 346,
137
+ HSPACE = 347,
138
+ MOVELEFT = 348,
139
+ MOVERIGHT = 349,
140
+ RAISE = 350,
141
+ LOWER = 351,
142
+ PXSTRING = 352,
143
+ COLSEP = 353,
144
+ COLSEPSPACE = 354,
145
+ ROWSEP = 355,
146
+ NEWLINE = 356,
147
+ ARRAYOPTS = 357,
148
+ COLLAYOUT = 358,
149
+ COLALIGN = 359,
150
+ ROWALIGN = 360,
151
+ ALIGN = 361,
152
+ EQROWS = 362,
153
+ EQCOLS = 363,
154
+ ROWLINES = 364,
155
+ COLLINES = 365,
156
+ FRAME = 366,
157
+ PADDING = 367,
158
+ ATTRLIST = 368,
159
+ ITALICS = 369,
160
+ SANS = 370,
161
+ TT = 371,
162
+ ENCLOSE = 372,
163
+ ENCLOSENOTATION = 373,
164
+ ENCLOSEATTR = 374,
165
+ ENCLOSETEXT = 375,
166
+ BOLD = 376,
167
+ BOXED = 377,
168
+ FBOX = 378,
169
+ HBOX = 379,
170
+ MBOX = 380,
171
+ BCANCELED = 381,
172
+ XCANCELED = 382,
173
+ CANCELEDTO = 383,
174
+ NOT = 384,
175
+ SLASHED = 385,
176
+ PMB = 386,
177
+ SCR = 387,
178
+ RM = 388,
179
+ BB = 389,
180
+ ST = 390,
181
+ END = 391,
182
+ BBLOWERCHAR = 392,
183
+ BBUPPERCHAR = 393,
184
+ BBDIGIT = 394,
185
+ CALCHAR = 395,
186
+ FRAKCHAR = 396,
187
+ CAL = 397,
188
+ FRAK = 398,
189
+ CLAP = 399,
190
+ LLAP = 400,
191
+ RLAP = 401,
192
+ ROWOPTS = 402,
193
+ TEXTSIZE = 403,
194
+ OLDSTYLE = 404,
195
+ SCSTY = 405,
196
+ SCSIZE = 406,
197
+ SCSCSIZE = 407,
198
+ TINY = 408,
199
+ TTINY = 409,
200
+ SMALL = 410,
201
+ NORMALSIZE = 411,
202
+ LARGE = 412,
203
+ LLARGE = 413,
204
+ LLLARGE = 414,
205
+ HUGE = 415,
206
+ HHUGE = 416,
207
+ DISPLAY = 417,
208
+ TEXTSTY = 418,
209
+ TEXTBOX = 419,
210
+ TEXTSTRING = 420,
211
+ COLORSTRING = 421,
212
+ STYLESTRING = 422,
213
+ VERBBOX = 423,
214
+ VERBSTRING = 424,
215
+ ACUTE = 425,
216
+ GRAVE = 426,
217
+ BREVE = 427,
218
+ MATHRING = 428,
219
+ XMLSTRING = 429,
220
+ CELLOPTS = 430,
221
+ ROWSPAN = 431,
222
+ COLSPAN = 432,
223
+ THINSPACE = 433,
224
+ ENSPACE = 434,
225
+ MEDSPACE = 435,
226
+ THICKSPACE = 436,
227
+ QUAD = 437,
228
+ QQUAD = 438,
229
+ NEGSPACE = 439,
230
+ NEGMEDSPACE = 440,
231
+ NEGTHICKSPACE = 441,
232
+ STRUT = 442,
233
+ MATHSTRUT = 443,
234
+ SMASH = 444,
235
+ PHANTOM = 445,
236
+ HPHANTOM = 446,
237
+ VPHANTOM = 447,
238
+ HREF = 448,
239
+ UNKNOWNCHAR = 449,
240
+ EMPTYMROW = 450,
241
+ STATLINE = 451,
242
+ TOOLTIP = 452,
243
+ TOGGLE = 453,
244
+ TOGGLESTART = 454,
245
+ TOGGLEEND = 455,
246
+ FGHIGHLIGHT = 456,
247
+ BGHIGHLIGHT = 457,
248
+ COLORBOX = 458,
249
+ SPACE = 459,
250
+ NUMBER = 460,
251
+ INTONE = 461,
252
+ INTTWO = 462,
253
+ INTTHREE = 463,
254
+ OVERLEFTARROW = 464,
255
+ OVERLEFTRIGHTARROW = 465,
256
+ OVERRIGHTARROW = 466,
257
+ UNDERLEFTARROW = 467,
258
+ UNDERLEFTRIGHTARROW = 468,
259
+ UNDERRIGHTARROW = 469,
260
+ BAR = 470,
261
+ WIDEBAR = 471,
262
+ SKEW = 472,
263
+ VEC = 473,
264
+ WIDEVEC = 474,
265
+ HAT = 475,
266
+ WIDEHAT = 476,
267
+ CHECK = 477,
268
+ WIDECHECK = 478,
269
+ TILDE = 479,
270
+ WIDETILDE = 480,
271
+ DOT = 481,
272
+ DDOT = 482,
273
+ DDDOT = 483,
274
+ DDDDOT = 484,
275
+ UNARYMINUS = 485,
276
+ UNARYPLUS = 486,
277
+ BEGINENV = 487,
278
+ ENDENV = 488,
279
+ EQUATION = 489,
280
+ EQUATION_STAR = 490,
281
+ EQALIGN = 491,
282
+ EQALIGNNO = 492,
283
+ MATRIX = 493,
284
+ PMATRIX = 494,
285
+ BMATRIX = 495,
286
+ BBMATRIX = 496,
287
+ VMATRIX = 497,
288
+ VVMATRIX = 498,
289
+ SUBARRAY = 499,
290
+ SVG = 500,
291
+ ENDSVG = 501,
292
+ SMALLMATRIX = 502,
293
+ CASES = 503,
294
+ ALIGNED = 504,
295
+ ALIGNENV = 505,
296
+ ALIGNENV_STAR = 506,
297
+ ALIGNAT = 507,
298
+ ALIGNAT_STAR = 508,
299
+ ALIGNEDAT = 509,
300
+ GATHERED = 510,
301
+ EQNARRAY = 511,
302
+ EQNARRAY_STAR = 512,
303
+ MULTLINE = 513,
304
+ MULTLINE_STAR = 514,
305
+ GATHER_STAR = 515,
306
+ GATHER = 516,
307
+ SUBSTACK = 517,
308
+ SIDESET = 518,
309
+ BMOD = 519,
310
+ PMOD = 520,
311
+ POD = 521,
312
+ RMCHAR = 522,
313
+ SCRCHAR = 523,
314
+ PMBCHAR = 524,
315
+ COLOR = 525,
316
+ BGCOLOR = 526,
317
+ BBOX = 527,
318
+ XARROW = 528,
319
+ OPTARGOPEN = 529,
320
+ OPTARGCLOSE = 530,
321
+ MTEXNUM = 531,
322
+ RAISEBOX = 532,
323
+ NEG = 533,
324
+ LATEXSYMBOL = 534,
325
+ TEXSYMBOL = 535,
326
+ VARINJLIM = 536,
327
+ VARLIMINF = 537,
328
+ VARLIMSUP = 538,
329
+ VARPROJLIM = 539
330
+ };
324
331
  #endif
325
332
  /* Tokens. */
326
- #define TEXABOVEWITHDELIMS 258
327
- #define TEXABOVE 259
328
- #define TEXATOPWITHDELIMS 260
329
- #define TEXATOP 261
330
- #define TEXOVERWITHDELIMS 262
331
- #define TEXOVER 263
333
+ #define TEXOVER 258
334
+ #define TEXOVERWITHDELIMS 259
335
+ #define TEXATOP 260
336
+ #define TEXATOPWITHDELIMS 261
337
+ #define TEXABOVE 262
338
+ #define TEXABOVEWITHDELIMS 263
332
339
  #define CHAR 264
333
340
  #define STARTMATH 265
334
341
  #define STARTDMATH 266
@@ -421,199 +428,201 @@
421
428
  #define COLSEP 353
422
429
  #define COLSEPSPACE 354
423
430
  #define ROWSEP 355
424
- #define ARRAYOPTS 356
425
- #define COLLAYOUT 357
426
- #define COLALIGN 358
427
- #define ROWALIGN 359
428
- #define ALIGN 360
429
- #define EQROWS 361
430
- #define EQCOLS 362
431
- #define ROWLINES 363
432
- #define COLLINES 364
433
- #define FRAME 365
434
- #define PADDING 366
435
- #define ATTRLIST 367
436
- #define ITALICS 368
437
- #define SANS 369
438
- #define TT 370
439
- #define ENCLOSE 371
440
- #define ENCLOSENOTATION 372
441
- #define ENCLOSEATTR 373
442
- #define ENCLOSETEXT 374
443
- #define BOLD 375
444
- #define BOXED 376
445
- #define FBOX 377
446
- #define HBOX 378
447
- #define MBOX 379
448
- #define BCANCELED 380
449
- #define XCANCELED 381
450
- #define CANCELEDTO 382
451
- #define NOT 383
452
- #define SLASHED 384
453
- #define PMB 385
454
- #define SCR 386
455
- #define RM 387
456
- #define BB 388
457
- #define ST 389
458
- #define END 390
459
- #define BBLOWERCHAR 391
460
- #define BBUPPERCHAR 392
461
- #define BBDIGIT 393
462
- #define CALCHAR 394
463
- #define FRAKCHAR 395
464
- #define CAL 396
465
- #define FRAK 397
466
- #define CLAP 398
467
- #define LLAP 399
468
- #define RLAP 400
469
- #define ROWOPTS 401
470
- #define TEXTSIZE 402
471
- #define OLDSTYLE 403
472
- #define SCSTY 404
473
- #define SCSIZE 405
474
- #define SCSCSIZE 406
475
- #define TINY 407
476
- #define TTINY 408
477
- #define SMALL 409
478
- #define NORMALSIZE 410
479
- #define LARGE 411
480
- #define LLARGE 412
481
- #define LLLARGE 413
482
- #define HUGE 414
483
- #define HHUGE 415
484
- #define DISPLAY 416
485
- #define TEXTSTY 417
486
- #define TEXTBOX 418
487
- #define TEXTSTRING 419
488
- #define COLORSTRING 420
489
- #define STYLESTRING 421
490
- #define VERBBOX 422
491
- #define VERBSTRING 423
492
- #define ACUTE 424
493
- #define GRAVE 425
494
- #define BREVE 426
495
- #define MATHRING 427
496
- #define XMLSTRING 428
497
- #define CELLOPTS 429
498
- #define ROWSPAN 430
499
- #define COLSPAN 431
500
- #define THINSPACE 432
501
- #define ENSPACE 433
502
- #define MEDSPACE 434
503
- #define THICKSPACE 435
504
- #define QUAD 436
505
- #define QQUAD 437
506
- #define NEGSPACE 438
507
- #define NEGMEDSPACE 439
508
- #define NEGTHICKSPACE 440
509
- #define STRUT 441
510
- #define MATHSTRUT 442
511
- #define SMASH 443
512
- #define PHANTOM 444
513
- #define HPHANTOM 445
514
- #define VPHANTOM 446
515
- #define HREF 447
516
- #define UNKNOWNCHAR 448
517
- #define EMPTYMROW 449
518
- #define STATLINE 450
519
- #define TOOLTIP 451
520
- #define TOGGLE 452
521
- #define TOGGLESTART 453
522
- #define TOGGLEEND 454
523
- #define FGHIGHLIGHT 455
524
- #define BGHIGHLIGHT 456
525
- #define COLORBOX 457
526
- #define SPACE 458
527
- #define NUMBER 459
528
- #define INTONE 460
529
- #define INTTWO 461
530
- #define INTTHREE 462
531
- #define OVERLEFTARROW 463
532
- #define OVERLEFTRIGHTARROW 464
533
- #define OVERRIGHTARROW 465
534
- #define UNDERLEFTARROW 466
535
- #define UNDERLEFTRIGHTARROW 467
536
- #define UNDERRIGHTARROW 468
537
- #define BAR 469
538
- #define WIDEBAR 470
539
- #define SKEW 471
540
- #define VEC 472
541
- #define WIDEVEC 473
542
- #define HAT 474
543
- #define WIDEHAT 475
544
- #define CHECK 476
545
- #define WIDECHECK 477
546
- #define TILDE 478
547
- #define WIDETILDE 479
548
- #define DOT 480
549
- #define DDOT 481
550
- #define DDDOT 482
551
- #define DDDDOT 483
552
- #define UNARYMINUS 484
553
- #define UNARYPLUS 485
554
- #define BEGINENV 486
555
- #define ENDENV 487
556
- #define EQUATION 488
557
- #define EQUATION_STAR 489
558
- #define EQALIGN 490
559
- #define EQALIGNNO 491
560
- #define MATRIX 492
561
- #define PMATRIX 493
562
- #define BMATRIX 494
563
- #define BBMATRIX 495
564
- #define VMATRIX 496
565
- #define VVMATRIX 497
566
- #define SUBARRAY 498
567
- #define SVG 499
568
- #define ENDSVG 500
569
- #define SMALLMATRIX 501
570
- #define CASES 502
571
- #define ALIGNED 503
572
- #define ALIGNENV 504
573
- #define ALIGNENV_STAR 505
574
- #define ALIGNAT 506
575
- #define ALIGNAT_STAR 507
576
- #define ALIGNEDAT 508
577
- #define GATHERED 509
578
- #define EQNARRAY 510
579
- #define EQNARRAY_STAR 511
580
- #define MULTLINE 512
581
- #define MULTLINE_STAR 513
582
- #define GATHER_STAR 514
583
- #define GATHER 515
584
- #define SUBSTACK 516
585
- #define SIDESET 517
586
- #define BMOD 518
587
- #define PMOD 519
588
- #define POD 520
589
- #define RMCHAR 521
590
- #define SCRCHAR 522
591
- #define PMBCHAR 523
592
- #define COLOR 524
593
- #define BGCOLOR 525
594
- #define BBOX 526
595
- #define XARROW 527
596
- #define OPTARGOPEN 528
597
- #define OPTARGCLOSE 529
598
- #define MTEXNUM 530
599
- #define RAISEBOX 531
600
- #define NEG 532
601
- #define LATEXSYMBOL 533
602
- #define TEXSYMBOL 534
603
- #define VARINJLIM 535
604
- #define VARLIMINF 536
605
- #define VARLIMSUP 537
606
- #define VARPROJLIM 538
607
-
608
-
609
-
431
+ #define NEWLINE 356
432
+ #define ARRAYOPTS 357
433
+ #define COLLAYOUT 358
434
+ #define COLALIGN 359
435
+ #define ROWALIGN 360
436
+ #define ALIGN 361
437
+ #define EQROWS 362
438
+ #define EQCOLS 363
439
+ #define ROWLINES 364
440
+ #define COLLINES 365
441
+ #define FRAME 366
442
+ #define PADDING 367
443
+ #define ATTRLIST 368
444
+ #define ITALICS 369
445
+ #define SANS 370
446
+ #define TT 371
447
+ #define ENCLOSE 372
448
+ #define ENCLOSENOTATION 373
449
+ #define ENCLOSEATTR 374
450
+ #define ENCLOSETEXT 375
451
+ #define BOLD 376
452
+ #define BOXED 377
453
+ #define FBOX 378
454
+ #define HBOX 379
455
+ #define MBOX 380
456
+ #define BCANCELED 381
457
+ #define XCANCELED 382
458
+ #define CANCELEDTO 383
459
+ #define NOT 384
460
+ #define SLASHED 385
461
+ #define PMB 386
462
+ #define SCR 387
463
+ #define RM 388
464
+ #define BB 389
465
+ #define ST 390
466
+ #define END 391
467
+ #define BBLOWERCHAR 392
468
+ #define BBUPPERCHAR 393
469
+ #define BBDIGIT 394
470
+ #define CALCHAR 395
471
+ #define FRAKCHAR 396
472
+ #define CAL 397
473
+ #define FRAK 398
474
+ #define CLAP 399
475
+ #define LLAP 400
476
+ #define RLAP 401
477
+ #define ROWOPTS 402
478
+ #define TEXTSIZE 403
479
+ #define OLDSTYLE 404
480
+ #define SCSTY 405
481
+ #define SCSIZE 406
482
+ #define SCSCSIZE 407
483
+ #define TINY 408
484
+ #define TTINY 409
485
+ #define SMALL 410
486
+ #define NORMALSIZE 411
487
+ #define LARGE 412
488
+ #define LLARGE 413
489
+ #define LLLARGE 414
490
+ #define HUGE 415
491
+ #define HHUGE 416
492
+ #define DISPLAY 417
493
+ #define TEXTSTY 418
494
+ #define TEXTBOX 419
495
+ #define TEXTSTRING 420
496
+ #define COLORSTRING 421
497
+ #define STYLESTRING 422
498
+ #define VERBBOX 423
499
+ #define VERBSTRING 424
500
+ #define ACUTE 425
501
+ #define GRAVE 426
502
+ #define BREVE 427
503
+ #define MATHRING 428
504
+ #define XMLSTRING 429
505
+ #define CELLOPTS 430
506
+ #define ROWSPAN 431
507
+ #define COLSPAN 432
508
+ #define THINSPACE 433
509
+ #define ENSPACE 434
510
+ #define MEDSPACE 435
511
+ #define THICKSPACE 436
512
+ #define QUAD 437
513
+ #define QQUAD 438
514
+ #define NEGSPACE 439
515
+ #define NEGMEDSPACE 440
516
+ #define NEGTHICKSPACE 441
517
+ #define STRUT 442
518
+ #define MATHSTRUT 443
519
+ #define SMASH 444
520
+ #define PHANTOM 445
521
+ #define HPHANTOM 446
522
+ #define VPHANTOM 447
523
+ #define HREF 448
524
+ #define UNKNOWNCHAR 449
525
+ #define EMPTYMROW 450
526
+ #define STATLINE 451
527
+ #define TOOLTIP 452
528
+ #define TOGGLE 453
529
+ #define TOGGLESTART 454
530
+ #define TOGGLEEND 455
531
+ #define FGHIGHLIGHT 456
532
+ #define BGHIGHLIGHT 457
533
+ #define COLORBOX 458
534
+ #define SPACE 459
535
+ #define NUMBER 460
536
+ #define INTONE 461
537
+ #define INTTWO 462
538
+ #define INTTHREE 463
539
+ #define OVERLEFTARROW 464
540
+ #define OVERLEFTRIGHTARROW 465
541
+ #define OVERRIGHTARROW 466
542
+ #define UNDERLEFTARROW 467
543
+ #define UNDERLEFTRIGHTARROW 468
544
+ #define UNDERRIGHTARROW 469
545
+ #define BAR 470
546
+ #define WIDEBAR 471
547
+ #define SKEW 472
548
+ #define VEC 473
549
+ #define WIDEVEC 474
550
+ #define HAT 475
551
+ #define WIDEHAT 476
552
+ #define CHECK 477
553
+ #define WIDECHECK 478
554
+ #define TILDE 479
555
+ #define WIDETILDE 480
556
+ #define DOT 481
557
+ #define DDOT 482
558
+ #define DDDOT 483
559
+ #define DDDDOT 484
560
+ #define UNARYMINUS 485
561
+ #define UNARYPLUS 486
562
+ #define BEGINENV 487
563
+ #define ENDENV 488
564
+ #define EQUATION 489
565
+ #define EQUATION_STAR 490
566
+ #define EQALIGN 491
567
+ #define EQALIGNNO 492
568
+ #define MATRIX 493
569
+ #define PMATRIX 494
570
+ #define BMATRIX 495
571
+ #define BBMATRIX 496
572
+ #define VMATRIX 497
573
+ #define VVMATRIX 498
574
+ #define SUBARRAY 499
575
+ #define SVG 500
576
+ #define ENDSVG 501
577
+ #define SMALLMATRIX 502
578
+ #define CASES 503
579
+ #define ALIGNED 504
580
+ #define ALIGNENV 505
581
+ #define ALIGNENV_STAR 506
582
+ #define ALIGNAT 507
583
+ #define ALIGNAT_STAR 508
584
+ #define ALIGNEDAT 509
585
+ #define GATHERED 510
586
+ #define EQNARRAY 511
587
+ #define EQNARRAY_STAR 512
588
+ #define MULTLINE 513
589
+ #define MULTLINE_STAR 514
590
+ #define GATHER_STAR 515
591
+ #define GATHER 516
592
+ #define SUBSTACK 517
593
+ #define SIDESET 518
594
+ #define BMOD 519
595
+ #define PMOD 520
596
+ #define POD 521
597
+ #define RMCHAR 522
598
+ #define SCRCHAR 523
599
+ #define PMBCHAR 524
600
+ #define COLOR 525
601
+ #define BGCOLOR 526
602
+ #define BBOX 527
603
+ #define XARROW 528
604
+ #define OPTARGOPEN 529
605
+ #define OPTARGCLOSE 530
606
+ #define MTEXNUM 531
607
+ #define RAISEBOX 532
608
+ #define NEG 533
609
+ #define LATEXSYMBOL 534
610
+ #define TEXSYMBOL 535
611
+ #define VARINJLIM 536
612
+ #define VARLIMINF 537
613
+ #define VARLIMSUP 538
614
+ #define VARPROJLIM 539
610
615
 
616
+ /* Value type. */
611
617
  #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
612
618
  typedef int YYSTYPE;
613
- # define yystype YYSTYPE /* obsolescent; will be withdrawn */
614
- # define YYSTYPE_IS_DECLARED 1
615
619
  # define YYSTYPE_IS_TRIVIAL 1
620
+ # define YYSTYPE_IS_DECLARED 1
616
621
  #endif
617
622
 
623
+
618
624
  extern YYSTYPE mtex2MML_yylval;
619
625
 
626
+ int mtex2MML_yyparse (char **ret_str);
627
+
628
+ #endif /* !YY_MTEX2MML_YY_USERS_GJTORIKIAN_DEVELOPMENT_MATHEMATICAL_EXT_MATHEMATICAL_MTEX2MML_BUILD_PARSER_H_INCLUDED */