mathematical 1.6.14 → 1.6.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) 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/lasem/COPYING +118 -99
  6. data/ext/mathematical/lasem/{NEWS → NEWS.md} +10 -0
  7. data/ext/mathematical/lasem/README.md +65 -0
  8. data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +2 -2
  9. data/ext/mathematical/lasem/docs/meson.build +3 -0
  10. data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
  11. data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
  12. data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
  13. data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
  14. data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
  15. data/ext/mathematical/lasem/itex2mml/README.itex2MML +5 -2
  16. data/ext/mathematical/lasem/itex2mml/itex2MML.h +10 -10
  17. data/ext/mathematical/lasem/itex2mml/itex2MML.l +126 -27
  18. data/ext/mathematical/lasem/itex2mml/itex2MML.y +262 -99
  19. data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
  20. data/ext/mathematical/lasem/lasem.doap +7 -7
  21. data/ext/mathematical/lasem/meson.build +46 -0
  22. data/ext/mathematical/lasem/meson_options.txt +5 -0
  23. data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
  24. data/ext/mathematical/lasem/po/LINGUAS +0 -2
  25. data/ext/mathematical/lasem/po/eu.po +30 -66
  26. data/ext/mathematical/lasem/po/meson.build +4 -0
  27. data/ext/mathematical/lasem/src/lasemrender.c +1 -6
  28. data/ext/mathematical/lasem/src/lsm.c +2 -0
  29. data/ext/mathematical/lasem/src/lsmattributes.c +2 -5
  30. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +71 -7
  31. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +7 -5
  32. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +11 -1
  33. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -1
  34. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +6 -1
  35. data/ext/mathematical/lasem/src/lsmmathmlview.c +21 -3
  36. data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
  37. data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
  38. data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
  39. data/ext/mathematical/lasem/src/lsmproperties.c +2 -5
  40. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +6 -3
  41. data/ext/mathematical/lasem/src/lsmsvgtraits.c +10 -1
  42. data/ext/mathematical/lasem/src/meson.build +321 -0
  43. data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
  44. data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
  45. data/ext/mathematical/lasem/tests/dom.c +0 -6
  46. data/ext/mathematical/lasem/tests/filter.c +8 -7
  47. data/ext/mathematical/lasem/tests/lasem.supp +185 -0
  48. data/ext/mathematical/lasem/tests/lsmtest.c +2 -9
  49. data/ext/mathematical/lasem/tests/meson.build +39 -0
  50. data/ext/mathematical/lasem/tests/str.c +0 -4
  51. data/ext/mathematical/lasem/tests/suite.c +0 -4
  52. data/ext/mathematical/lasem/viewer/meson.build +17 -0
  53. data/ext/mathematical/lasem/viewer/viewer.c +248 -0
  54. data/ext/mathematical/mtex2MML/script/tag +15 -14
  55. data/ext/mathematical/mtex2MML/src/lexer.l +4 -4
  56. data/ext/mathematical/mtex2MML/src/mtex2MML.h +7 -7
  57. data/ext/mathematical/mtex2MML/src/parser.y +5 -5
  58. data/ext/mathematical/mtex2MML/tests/clar.c +2 -2
  59. data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +2 -2
  60. data/lib/mathematical/configuration.rb +8 -4
  61. data/lib/mathematical/corrections.rb +3 -1
  62. data/lib/mathematical/validator.rb +11 -8
  63. data/lib/mathematical/version.rb +3 -1
  64. data/lib/mathematical.rb +21 -19
  65. data/mathematical.gemspec +21 -22
  66. metadata +36 -336
  67. data/ext/mathematical/lasem/AUTHORS +0 -1
  68. data/ext/mathematical/lasem/ChangeLog +0 -0
  69. data/ext/mathematical/lasem/MAINTAINERS +0 -3
  70. data/ext/mathematical/lasem/Makefile.am +0 -34
  71. data/ext/mathematical/lasem/Makefile.decl +0 -57
  72. data/ext/mathematical/lasem/README +0 -28
  73. data/ext/mathematical/lasem/RELEASING +0 -85
  74. data/ext/mathematical/lasem/autogen.sh +0 -180
  75. data/ext/mathematical/lasem/configure.ac +0 -139
  76. data/ext/mathematical/lasem/docs/Makefile.am +0 -14
  77. data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
  78. data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
  79. data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
  80. data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
  81. data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
  82. data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
  83. data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
  84. data/ext/mathematical/lasem/lasem.pc.in +0 -11
  85. data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
  86. data/ext/mathematical/lasem/po/ChangeLog +0 -0
  87. data/ext/mathematical/lasem/po/ro.po +0 -64
  88. data/ext/mathematical/lasem/src/Makefile.am +0 -349
  89. data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
  90. data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
  91. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
  92. data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
  93. data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
  94. data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
  95. data/ext/mathematical/lasem/tests/Makefile.am +0 -34
  96. data/ext/mathematical/lib/liblasem.dylib +0 -0
  97. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  98. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -512
  99. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCCompiler.cmake +0 -76
  100. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCXXCompiler.cmake +0 -88
  101. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
  102. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
  103. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeSystem.cmake +0 -15
  104. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdC/CMakeCCompilerId.c +0 -671
  105. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -660
  106. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
  107. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +0 -22
  108. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -351
  109. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
  110. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
  111. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
  112. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
  113. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
  114. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
  115. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
  116. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
  117. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
  118. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
  119. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
  120. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
  121. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
  122. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
  123. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
  124. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
  125. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
  126. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
  127. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
  128. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
  129. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
  130. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
  131. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
  132. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
  133. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
  134. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
  135. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
  136. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
  137. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
  138. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
  139. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
  140. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
  141. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
  142. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
  143. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
  144. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
  145. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
  146. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
  147. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
  148. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
  149. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
  150. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
  151. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
  152. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
  153. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
  154. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
  155. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
  156. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
  157. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
  158. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
  159. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
  160. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
  161. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
  162. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
  163. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
  164. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
  165. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
  166. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
  167. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
  168. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
  169. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
  170. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
  171. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
  172. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
  173. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
  174. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
  175. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
  176. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
  177. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
  178. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
  179. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
  180. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
  181. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
  182. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
  183. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1033
  184. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
  185. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
  186. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
  187. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
  188. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
  189. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
  190. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
  191. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
  192. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
  193. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
  194. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
  195. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
  196. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
  197. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
  198. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
  199. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
  200. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
  201. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
  202. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
  203. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
  204. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
  205. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
  206. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
  207. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
  208. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
  209. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
  210. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
  211. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
  212. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
  213. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
  214. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
  215. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
  216. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
  217. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
  218. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
  219. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
  220. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
  221. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
  222. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
  223. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
  224. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
  225. data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
  226. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
  227. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
  228. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
  229. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
  230. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
  231. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
  232. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
  233. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
  234. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
  235. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
  236. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
  237. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
  238. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
  239. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
  240. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
  241. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
  242. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
  243. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
  244. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
  245. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
  246. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
  247. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
  248. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
  249. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
  250. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
  254. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
  255. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
  256. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
  257. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
  258. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
  259. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
  260. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
  261. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
  262. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
  263. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
  264. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
  265. data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
  266. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
  267. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
  268. data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
  269. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
  270. data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
  271. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  272. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
  273. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
  274. data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
  275. data/ext/mathematical/mtex2MML/build/parser.h +0 -625
  276. data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
  277. data/test/mathematical/basic_test.rb +0 -89
  278. data/test/mathematical/corrections_test.rb +0 -16
  279. data/test/mathematical/delimiters_test.rb +0 -69
  280. data/test/mathematical/fixtures/after/backslashes.html +0 -5
  281. data/test/mathematical/fixtures/after/brackets_display.html +0 -1
  282. data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
  283. data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
  284. data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
  285. data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
  286. data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
  287. data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
  288. data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
  289. data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
  290. data/test/mathematical/fixtures/after/equation_display.html +0 -1
  291. data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
  292. data/test/mathematical/fixtures/after/parens_inline.html +0 -1
  293. data/test/mathematical/fixtures/before/backslashes.text +0 -17
  294. data/test/mathematical/fixtures/before/brackets_display.text +0 -1
  295. data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
  296. data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
  297. data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
  298. data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
  299. data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
  300. data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
  301. data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
  302. data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
  303. data/test/mathematical/fixtures/before/equation_display.text +0 -1
  304. data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
  305. data/test/mathematical/fixtures/before/parens_inline.text +0 -1
  306. data/test/mathematical/fixtures/performance/big_file.text +0 -1755
  307. data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
  308. data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
  309. data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
  310. data/test/mathematical/fixtures/png/pmatrix.png +0 -0
  311. data/test/mathematical/fixtures_test.rb +0 -51
  312. data/test/mathematical/maliciousness_test.rb +0 -152
  313. data/test/mathematical/mathjax_test.rb +0 -26
  314. data/test/mathematical/mathml_test.rb +0 -21
  315. data/test/mathematical/multiples_test.rb +0 -71
  316. data/test/mathematical/performance_test.rb +0 -15
  317. data/test/mathematical/png_test.rb +0 -30
  318. data/test/test_helper.rb +0 -72
@@ -1,113 +1,125 @@
1
- GNU LIBRARY GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1991 Free Software Foundation, Inc.
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 2.1, February 1999
6
3
 
4
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7
6
  Everyone is permitted to copy and distribute verbatim copies
8
7
  of this license document, but changing it is not allowed.
9
8
 
10
- [This is the first released version of the library GPL. It is
11
- numbered 2 because it goes with version 2 of the ordinary GPL.]
9
+ [This is the first released version of the Lesser GPL. It also counts
10
+ as the successor of the GNU Library Public License, version 2, hence
11
+ the version number 2.1.]
12
12
 
13
- Preamble
13
+ Preamble
14
14
 
15
15
  The licenses for most software are designed to take away your
16
16
  freedom to share and change it. By contrast, the GNU General Public
17
17
  Licenses are intended to guarantee your freedom to share and change
18
18
  free software--to make sure the software is free for all its users.
19
19
 
20
- This license, the Library General Public License, applies to some
21
- specially designated Free Software Foundation software, and to any
22
- other libraries whose authors decide to use it. You can use it for
23
- your libraries, too.
24
-
25
- When we speak of free software, we are referring to freedom, not
26
- price. Our General Public Licenses are designed to make sure that you
27
- have the freedom to distribute copies of free software (and charge for
28
- this service if you wish), that you receive source code or can get it
29
- if you want it, that you can change the software or use pieces of it
30
- in new free programs; and that you know you can do these things.
20
+ This license, the Lesser General Public License, applies to some
21
+ specially designated software packages--typically libraries--of the
22
+ Free Software Foundation and other authors who decide to use it. You
23
+ can use it too, but we suggest you first think carefully about whether
24
+ this license or the ordinary General Public License is the better
25
+ strategy to use in any particular case, based on the explanations below.
26
+
27
+ When we speak of free software, we are referring to freedom of use,
28
+ not price. Our General Public Licenses are designed to make sure that
29
+ you have the freedom to distribute copies of free software (and charge
30
+ for this service if you wish); that you receive source code or can get
31
+ it if you want it; that you can change the software and use pieces of
32
+ it in new free programs; and that you are informed that you can do
33
+ these things.
31
34
 
32
35
  To protect your rights, we need to make restrictions that forbid
33
- anyone to deny you these rights or to ask you to surrender the rights.
34
- These restrictions translate to certain responsibilities for you if
35
- you distribute copies of the library, or if you modify it.
36
+ distributors to deny you these rights or to ask you to surrender these
37
+ rights. These restrictions translate to certain responsibilities for
38
+ you if you distribute copies of the library or if you modify it.
36
39
 
37
40
  For example, if you distribute copies of the library, whether gratis
38
41
  or for a fee, you must give the recipients all the rights that we gave
39
42
  you. You must make sure that they, too, receive or can get the source
40
- code. If you link a program with the library, you must provide
41
- complete object files to the recipients so that they can relink them
42
- with the library, after making changes to the library and recompiling
43
+ code. If you link other code with the library, you must provide
44
+ complete object files to the recipients, so that they can relink them
45
+ with the library after making changes to the library and recompiling
43
46
  it. And you must show them these terms so they know their rights.
44
47
 
45
- Our method of protecting your rights has two steps: (1) copyright
46
- the library, and (2) offer you this license which gives you legal
48
+ We protect your rights with a two-step method: (1) we copyright the
49
+ library, and (2) we offer you this license, which gives you legal
47
50
  permission to copy, distribute and/or modify the library.
48
51
 
49
- Also, for each distributor's protection, we want to make certain
50
- that everyone understands that there is no warranty for this free
51
- library. If the library is modified by someone else and passed on, we
52
- want its recipients to know that what they have is not the original
53
- version, so that any problems introduced by others will not reflect on
54
- the original authors' reputations.
52
+ To protect each distributor, we want to make it very clear that
53
+ there is no warranty for the free library. Also, if the library is
54
+ modified by someone else and passed on, the recipients should know
55
+ that what they have is not the original version, so that the original
56
+ author's reputation will not be affected by problems that might be
57
+ introduced by others.
55
58
 
56
- Finally, any free program is threatened constantly by software
57
- patents. We wish to avoid the danger that companies distributing free
58
- software will individually obtain patent licenses, thus in effect
59
- transforming the program into proprietary software. To prevent this,
60
- we have made it clear that any patent must be licensed for everyone's
61
- free use or not licensed at all.
62
-
63
- Most GNU software, including some libraries, is covered by the ordinary
64
- GNU General Public License, which was designed for utility programs. This
65
- license, the GNU Library General Public License, applies to certain
66
- designated libraries. This license is quite different from the ordinary
67
- one; be sure to read it in full, and don't assume that anything in it is
68
- the same as in the ordinary license.
69
-
70
- The reason we have a separate public license for some libraries is that
71
- they blur the distinction we usually make between modifying or adding to a
72
- program and simply using it. Linking a program with a library, without
73
- changing the library, is in some sense simply using the library, and is
74
- analogous to running a utility program or application program. However, in
75
- a textual and legal sense, the linked executable is a combined work, a
76
- derivative of the original library, and the ordinary General Public License
77
- treats it as such.
78
-
79
- Because of this blurred distinction, using the ordinary General
80
- Public License for libraries did not effectively promote software
81
- sharing, because most developers did not use the libraries. We
82
- concluded that weaker conditions might promote sharing better.
83
-
84
- However, unrestricted linking of non-free programs would deprive the
85
- users of those programs of all benefit from the free status of the
86
- libraries themselves. This Library General Public License is intended to
87
- permit developers of non-free programs to use free libraries, while
88
- preserving your freedom as a user of such programs to change the free
89
- libraries that are incorporated in them. (We have not seen how to achieve
90
- this as regards changes in header files, but we have achieved it as regards
91
- changes in the actual functions of the Library.) The hope is that this
92
- will lead to faster development of free libraries.
59
+ Finally, software patents pose a constant threat to the existence of
60
+ any free program. We wish to make sure that a company cannot
61
+ effectively restrict the users of a free program by obtaining a
62
+ restrictive license from a patent holder. Therefore, we insist that
63
+ any patent license obtained for a version of the library must be
64
+ consistent with the full freedom of use specified in this license.
65
+
66
+ Most GNU software, including some libraries, is covered by the
67
+ ordinary GNU General Public License. This license, the GNU Lesser
68
+ General Public License, applies to certain designated libraries, and
69
+ is quite different from the ordinary General Public License. We use
70
+ this license for certain libraries in order to permit linking those
71
+ libraries into non-free programs.
72
+
73
+ When a program is linked with a library, whether statically or using
74
+ a shared library, the combination of the two is legally speaking a
75
+ combined work, a derivative of the original library. The ordinary
76
+ General Public License therefore permits such linking only if the
77
+ entire combination fits its criteria of freedom. The Lesser General
78
+ Public License permits more lax criteria for linking other code with
79
+ the library.
80
+
81
+ We call this license the "Lesser" General Public License because it
82
+ does Less to protect the user's freedom than the ordinary General
83
+ Public License. It also provides other free software developers Less
84
+ of an advantage over competing non-free programs. These disadvantages
85
+ are the reason we use the ordinary General Public License for many
86
+ libraries. However, the Lesser license provides advantages in certain
87
+ special circumstances.
88
+
89
+ For example, on rare occasions, there may be a special need to
90
+ encourage the widest possible use of a certain library, so that it becomes
91
+ a de-facto standard. To achieve this, non-free programs must be
92
+ allowed to use the library. A more frequent case is that a free
93
+ library does the same job as widely used non-free libraries. In this
94
+ case, there is little to gain by limiting the free library to free
95
+ software only, so we use the Lesser General Public License.
96
+
97
+ In other cases, permission to use a particular library in non-free
98
+ programs enables a greater number of people to use a large body of
99
+ free software. For example, permission to use the GNU C Library in
100
+ non-free programs enables many more people to use the whole GNU
101
+ operating system, as well as its variant, the GNU/Linux operating
102
+ system.
103
+
104
+ Although the Lesser General Public License is Less protective of the
105
+ users' freedom, it does ensure that the user of a program that is
106
+ linked with the Library has the freedom and the wherewithal to run
107
+ that program using a modified version of the Library.
93
108
 
94
109
  The precise terms and conditions for copying, distribution and
95
110
  modification follow. Pay close attention to the difference between a
96
111
  "work based on the library" and a "work that uses the library". The
97
- former contains code derived from the library, while the latter only
98
- works together with the library.
99
-
100
- Note that it is possible for a library to be covered by the ordinary
101
- General Public License rather than by this special one.
112
+ former contains code derived from the library, whereas the latter must
113
+ be combined with the library in order to run.
102
114
 
103
- GNU LIBRARY GENERAL PUBLIC LICENSE
115
+ GNU LESSER GENERAL PUBLIC LICENSE
104
116
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
105
117
 
106
- 0. This License Agreement applies to any software library which
107
- contains a notice placed by the copyright holder or other authorized
108
- party saying it may be distributed under the terms of this Library
109
- General Public License (also called "this License"). Each licensee is
110
- addressed as "you".
118
+ 0. This License Agreement applies to any software library or other
119
+ program which contains a notice placed by the copyright holder or
120
+ other authorized party saying it may be distributed under the terms of
121
+ this Lesser General Public License (also called "this License").
122
+ Each licensee is addressed as "you".
111
123
 
112
124
  A "library" means a collection of software functions and/or data
113
125
  prepared so as to be conveniently linked with application programs
@@ -134,7 +146,7 @@ such a program is covered only if its contents constitute a work based
134
146
  on the Library (independent of the use of the Library in a tool for
135
147
  writing it). Whether that is true depends on what the Library does
136
148
  and what the program that uses the Library does.
137
-
149
+
138
150
  1. You may copy and distribute verbatim copies of the Library's
139
151
  complete source code as you receive it, in any medium, provided that
140
152
  you conspicuously and appropriately publish on each copy an
@@ -256,7 +268,7 @@ distribute the object code for the work under the terms of Section 6.
256
268
  Any executables containing that work also fall under Section 6,
257
269
  whether or not they are linked directly with the Library itself.
258
270
 
259
- 6. As an exception to the Sections above, you may also compile or
271
+ 6. As an exception to the Sections above, you may also combine or
260
272
  link a "work that uses the Library" with the Library to produce a
261
273
  work containing portions of the Library, and distribute that work
262
274
  under terms of your choice, provided that the terms permit
@@ -283,23 +295,31 @@ of these things:
283
295
  Library will not necessarily be able to recompile the application
284
296
  to use the modified definitions.)
285
297
 
286
- b) Accompany the work with a written offer, valid for at
298
+ b) Use a suitable shared library mechanism for linking with the
299
+ Library. A suitable mechanism is one that (1) uses at run time a
300
+ copy of the library already present on the user's computer system,
301
+ rather than copying library functions into the executable, and (2)
302
+ will operate properly with a modified version of the library, if
303
+ the user installs one, as long as the modified version is
304
+ interface-compatible with the version that the work was made with.
305
+
306
+ c) Accompany the work with a written offer, valid for at
287
307
  least three years, to give the same user the materials
288
308
  specified in Subsection 6a, above, for a charge no more
289
309
  than the cost of performing this distribution.
290
310
 
291
- c) If distribution of the work is made by offering access to copy
311
+ d) If distribution of the work is made by offering access to copy
292
312
  from a designated place, offer equivalent access to copy the above
293
313
  specified materials from the same place.
294
314
 
295
- d) Verify that the user has already received a copy of these
315
+ e) Verify that the user has already received a copy of these
296
316
  materials or that you have already sent this user a copy.
297
317
 
298
318
  For an executable, the required form of the "work that uses the
299
319
  Library" must include any data and utility programs needed for
300
320
  reproducing the executable from it. However, as a special exception,
301
- the source code distributed need not include anything that is normally
302
- distributed (in either source or binary form) with the major
321
+ the materials to be distributed need not include anything that is
322
+ normally distributed (in either source or binary form) with the major
303
323
  components (compiler, kernel, and so on) of the operating system on
304
324
  which the executable runs, unless that component itself accompanies
305
325
  the executable.
@@ -348,7 +368,7 @@ Library), the recipient automatically receives a license from the
348
368
  original licensor to copy, distribute, link with or modify the Library
349
369
  subject to these terms and conditions. You may not impose any further
350
370
  restrictions on the recipients' exercise of the rights granted herein.
351
- You are not responsible for enforcing compliance by third parties to
371
+ You are not responsible for enforcing compliance by third parties with
352
372
  this License.
353
373
 
354
374
  11. If, as a consequence of a court judgment or allegation of patent
@@ -391,7 +411,7 @@ excluded. In such case, this License incorporates the limitation as if
391
411
  written in the body of this License.
392
412
 
393
413
  13. The Free Software Foundation may publish revised and/or new
394
- versions of the Library General Public License from time to time.
414
+ versions of the Lesser General Public License from time to time.
395
415
  Such new versions will be similar in spirit to the present version,
396
416
  but may differ in detail to address new problems or concerns.
397
417
 
@@ -412,7 +432,7 @@ decision will be guided by the two goals of preserving the free status
412
432
  of all derivatives of our free software and of promoting the sharing
413
433
  and reuse of software generally.
414
434
 
415
- NO WARRANTY
435
+ NO WARRANTY
416
436
 
417
437
  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
418
438
  WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
@@ -435,7 +455,7 @@ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
435
455
  SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
436
456
  DAMAGES.
437
457
 
438
- END OF TERMS AND CONDITIONS
458
+ END OF TERMS AND CONDITIONS
439
459
 
440
460
  How to Apply These Terms to Your New Libraries
441
461
 
@@ -454,19 +474,18 @@ convey the exclusion of warranty; and each file should have at least the
454
474
  Copyright (C) <year> <name of author>
455
475
 
456
476
  This library is free software; you can redistribute it and/or
457
- modify it under the terms of the GNU Library General Public
477
+ modify it under the terms of the GNU Lesser General Public
458
478
  License as published by the Free Software Foundation; either
459
- version 2 of the License, or (at your option) any later version.
479
+ version 2.1 of the License, or (at your option) any later version.
460
480
 
461
481
  This library is distributed in the hope that it will be useful,
462
482
  but WITHOUT ANY WARRANTY; without even the implied warranty of
463
483
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
464
- Library General Public License for more details.
484
+ Lesser General Public License for more details.
465
485
 
466
- You should have received a copy of the GNU Library General Public
467
- License along with this library; if not, write to the
468
- Free Software Foundation, Inc., 59 Temple Place - Suite 330,
469
- Boston, MA 02111-1307 USA.
486
+ You should have received a copy of the GNU Lesser General Public
487
+ License along with this library; if not, write to the Free Software
488
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
470
489
 
471
490
  Also add information on how to contact you by electronic and paper mail.
472
491
 
@@ -1,3 +1,13 @@
1
+ Release 0.5.2
2
+ =============
3
+
4
+ * viewer: new simple mathml and svg viewer (mjakeman)
5
+ * itex2mml: update to 1.6.1 (Emmanuel)
6
+ * build: switch to meson (Emmanuel)
7
+ * build: deprecation warning fixes (Emmanuel)
8
+ * documentation: port API doc to gi-docgen (Emmanuel)
9
+ * ci: linux pipeline, valgrind checks, publication of aravis test suite rendering (Emmanuel)
10
+
1
11
  Release 0.5.1
2
12
  =============
3
13
 
@@ -0,0 +1,65 @@
1
+ # ![](lasem.svg)
2
+
3
+ ### What is Lasem ?
4
+
5
+ Lasem is a C/Gobject based SVG/Mathml renderer. It uses cairo and pango as it's
6
+ rendering abstraction layer, and then support numerous output formats: xlib,
7
+ PNG, SVG, PDF, PS, EPS...
8
+
9
+ The API tries to follow the SVG and MathML DOM.
10
+
11
+ It currently includes two simple applications:
12
+
13
+ lasem-render, which takes a filename as argument and generates either a SVG, a
14
+ PDF or a PS file, depending on the output file extension. There's a debug mode
15
+ option (-d) that displays the bounding boxes of elements as blue rectangles, the
16
+ logical extents of text as red boxes and the ink extents of text as green boxes.
17
+ It accepts either MathML, Latex maths and SVG input. For the latex input,
18
+ lasemrender uses the embedded itex2mml library for the conversion to MathML.
19
+
20
+ lsm-test, which, if launched without argument, renders recursively all svg and
21
+ mml files in a directory, and generate an html file which displays the browser
22
+ rendering, lasem rendering, and if present the reference output. The html
23
+ filename is lasemtest.xml. It's main use is the rendering of the sample files in
24
+ the samples directory, by invoking "cd test && ./lsm-test data".
25
+
26
+ ### Documentation
27
+
28
+ The latest documentation is available
29
+ [here](https://lasemproject.github.io/lasem).
30
+
31
+ The Lasem test suite is rendered in a single page
32
+ [here](https://lasemproject.github.io/lasem/lasemtest.xml). The first column is
33
+ the Lasem rendering, the middle one the reference rendering and the last one the
34
+ rendering of your browser.
35
+
36
+ ### Installing Lasem
37
+
38
+ Lasem uses the meson build system ( http://mesonbuild.com/ ). After you have
39
+ downloaded the latest release from
40
+ [https://github.com/LasemProject/lasem/releases](https://github.com/LasemProject/lasem/releases),
41
+ you can build and install Lasem like [any other meson
42
+ project](http://mesonbuild.com/Quick-guide.html#compiling-a-meson-project):
43
+
44
+ ```
45
+ meson build
46
+ cd build
47
+ ninja
48
+ ninja install
49
+ ```
50
+
51
+ The build can be configured at any time using `meson configure` in the build
52
+ directory. `meson configure` invoked without any other argument will show the
53
+ configuration options.
54
+
55
+ On some platforms (like Ubuntu), you may have to configure the dynamic linker
56
+ (ld) to let it know where the aravis libraries are installed, and run ldconfig
57
+ as root in order to update ld cache.
58
+
59
+ ### Requirements
60
+
61
+ gobject, glib, gio, gdk-pixbuf, gdk, cairo, pangocairo, libxml, bison, flex
62
+
63
+ For the runtime, the following ttf fonts should be installed: cmr10, cmmi10,
64
+ cmex10 and cmsy10. They are provided by the lyx-fonts package in fedora, and
65
+ the fonts-lyx package in debian/ubuntu.
@@ -89,13 +89,13 @@ software or see the
89
89
 
90
90
  .SH AUTHORS
91
91
  \fBlasem-render-0.6\fR's primary author is Emmanuel Pacaud
92
- <emmanuel@gnome.org>.
92
+ <emmanuel.pacaud@free.fr>.
93
93
 
94
94
  The initial version of this manpage was written by J.H.M. Dassen (Ray)
95
95
  <jdassen@debian.org>.
96
96
 
97
97
  .SH SEE ALSO
98
- .URL "https://live.gnome.org/Lasem" "The Lasem homepage" .
98
+ .URL "https://github.com/LasemProject/lasem" "The Lasem Github Repository" .
99
99
 
100
100
  .URL "http://blogs.gnome.org/emmanuel/category/lasem/" "Blog entries on Lasem" .
101
101
 
@@ -0,0 +1,3 @@
1
+ install_man('lasem-render-0.6.1')
2
+
3
+ subdir('reference/lasem')
@@ -0,0 +1,32 @@
1
+ Title: Installation
2
+
3
+ # Installing Lasem
4
+
5
+ Lasem uses the meson build system ( http://mesonbuild.com/ ). After you have
6
+ downloaded the latest release from
7
+ [https://github.com/LasemProject/lasem/releases](https://github.com/LasemProject/lasem/releases),
8
+ you can build and install Lasem like [any other meson
9
+ project](http://mesonbuild.com/Quick-guide.html#compiling-a-meson-project):
10
+
11
+ ```
12
+ meson setup build
13
+ cd build
14
+ ninja
15
+ ninja install
16
+ ```
17
+
18
+ The build can be configured at any time using `meson configure` in the build
19
+ directory. `meson configure` invoked without any other argument will show the
20
+ configuration options.
21
+
22
+ On some platforms (like Ubuntu), you may have to configure the dynamic linker
23
+ (ld) to let it know where the aravis libraries are installed, and run ldconfig
24
+ as root in order to update ld cache.
25
+
26
+ ## Requirements
27
+
28
+ gobject, glib, gio, gdk-pixbuf, gdk, cairo, pangocairo, libxml, bison, flex
29
+
30
+ For the runtime, the following ttf fonts should be installed: cmr10, cmmi10,
31
+ cmex10 and cmsy10. They are provided by the lyx-fonts package in fedora, and
32
+ the fonts-lyx package in debian/ubuntu.
@@ -0,0 +1,47 @@
1
+ [library]
2
+ version = "@version@"
3
+ browse_url = "https://github.com/LasemProject/lasem"
4
+ repository_url = "https://github.com/LasemProject/lasem.git"
5
+ website_url = "https://github.com/LasemProject/lasem"
6
+ docs_url = "https://lasemproject.github.io/docs/lasem-0.8/"
7
+ authors = "Lasem Project Team"
8
+ logo_url = "lasem.svg"
9
+ license = "LGPL-2.1-or-later"
10
+ description = "The Lasem Mathml and SVG Rendering Library"
11
+ dependencies = [ ]
12
+ devhelp = true
13
+ search_index = true
14
+
15
+ [dependencies."GLib-2.0"]
16
+ name = "GLib"
17
+ description = "Portable utility library"
18
+ docs_url = "https://docs.gtk.org/glib/"
19
+
20
+ [dependencies."GObject-2.0"]
21
+ name = "GObject"
22
+ description = "The base type system library"
23
+ docs_url = "https://docs.gtk.org/gobject/"
24
+
25
+ [dependencies."GIO-2.0"]
26
+ name = "GIO"
27
+ description = "GObject Interfaces and Objects, Networking, IPC, and I/O"
28
+ docs_url = "https://docs.gtk.org/gio/"
29
+
30
+ [theme]
31
+ name = "basic"
32
+ show_index_summary = true
33
+ show_class_hierarchy = true
34
+
35
+ [source-location]
36
+ base_url = "https://github.com/LasemProject/lasem/blob/main/"
37
+
38
+ [extra]
39
+ # The same order will be used when generating the index
40
+ content_files = [
41
+ 'overview.md',
42
+ 'building.md',
43
+ ]
44
+ content_images = [
45
+ '../../../lasem.svg'
46
+ ]
47
+ urlmap_file = "urlmap.js"
@@ -0,0 +1,44 @@
1
+ toml_conf = configuration_data()
2
+ toml_conf.set('version', meson.project_version())
3
+
4
+ gidocgen = find_program('gi-docgen')
5
+
6
+ gidocgen_common_args = [
7
+ '--quiet',
8
+ '--no-namespace-dir',
9
+ ]
10
+
11
+ docs_dir = get_option('datadir') / 'doc'
12
+
13
+ expand_content_md_files = [
14
+ 'overview.md',
15
+ 'building.md',
16
+ ]
17
+
18
+ lasem_toml=configure_file(
19
+ input: 'lasem.toml.in',
20
+ output: 'lasem.toml',
21
+ configuration: toml_conf,
22
+ install: true,
23
+ install_dir: docs_dir / 'lasem-@0@'.format(lasem_api_version)
24
+ )
25
+
26
+ custom_target(
27
+ 'lasem-doc',
28
+ input: [ lasem_toml, lasem_gir[0] ],
29
+ output: 'lasem-@0@'.format(lasem_api_version),
30
+ command: [
31
+ gidocgen,
32
+ 'generate',
33
+ gidocgen_common_args,
34
+ '--add-include-path=@0@'.format(meson.current_build_dir() / '../../../src'),
35
+ '--config=@INPUT0@',
36
+ '--output-dir=@OUTPUT@',
37
+ '--content-dir=@0@'.format(meson.current_source_dir()),
38
+ '@INPUT1@'
39
+ ],
40
+ depend_files: [ expand_content_md_files ],
41
+ build_by_default: true,
42
+ install: true,
43
+ install_dir: docs_dir
44
+ )
@@ -0,0 +1,24 @@
1
+ Title: Overview
2
+
3
+ # What is Lasem ?
4
+
5
+ Lasem is a C/Gobject based SVG/Mathml renderer. It uses cairo and pango as it's
6
+ rendering abstraction layer, and then support numerous output formats: xlib,
7
+ PNG, SVG, PDF, PS, EPS...
8
+
9
+ The API tries to follow the SVG and MathML DOM.
10
+
11
+ It currently includes two simple applications:
12
+
13
+ **lasem-render**, which takes a filename as argument and generates either a SVG, a
14
+ PDF or a PS file, depending on the output file extension. There's a debug mode
15
+ option (-d) that displays the bounding boxes of elements as blue rectangles, the
16
+ logical extents of text as red boxes and the ink extents of text as green boxes.
17
+ It accepts either MathML, Latex maths and SVG input. For the latex input,
18
+ lasemrender uses the embedded itex2mml library for the conversion to MathML.
19
+
20
+ **lsm-test**, which, if launched without argument, renders recursively all svg and
21
+ mml files in a directory, and generate an html file which displays the browser
22
+ rendering, lasem rendering, and if present the reference output. The html
23
+ filename is `lasemtest.xml`. It's main use is the rendering of the sample files
24
+ in the samples directory, by invoking `cd test && ./lsm-test data`.
@@ -0,0 +1,5 @@
1
+ baseURLs = [
2
+ [ 'GLib', 'https://docs.gtk.org/glib/' ],
3
+ [ 'GObject', 'https://docs.gtk.org/gobject/' ],
4
+ [ 'Gio', 'https://docs.gtk.org/gio/' ],
5
+ ]
@@ -1,9 +1,12 @@
1
1
  itex2MML[1] transforms itex (a dialect of latex) into MathML. itex2MML is developed by
2
2
  Paul Gartside and Jacques Distler.
3
3
 
4
- Currently, we include itex2MML 1.4.5, with the following modification:
4
+ Currently, we include itex2MML 1.6.1, with the following modification:
5
5
 
6
- - printf use is removed from itex2MML.y.
6
+ - printf use is removed in CHAR from itex2MML.y
7
+ - a unused lable is removed from itex2MML.y
8
+ - %option noinput is added in itex2MML.l
9
+ - y.tab.h is renamed itex2MML.tab.h in itex2MML.l
7
10
 
8
11
  Some documentation can be found here [4].
9
12