mathematical 1.6.14 → 1.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -1
- data/Rakefile +31 -21
- data/ext/mathematical/extconf.rb +71 -69
- data/ext/mathematical/lasem/COPYING +118 -99
- data/ext/mathematical/lasem/{NEWS → NEWS.md} +10 -0
- data/ext/mathematical/lasem/README.md +65 -0
- data/ext/mathematical/lasem/docs/lasem-render-0.6.1 +2 -2
- data/ext/mathematical/lasem/docs/meson.build +3 -0
- data/ext/mathematical/lasem/docs/reference/lasem/building.md +32 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.toml.in +47 -0
- data/ext/mathematical/lasem/docs/reference/lasem/meson.build +44 -0
- data/ext/mathematical/lasem/docs/reference/lasem/overview.md +24 -0
- data/ext/mathematical/lasem/docs/reference/lasem/urlmap.js +5 -0
- data/ext/mathematical/lasem/itex2mml/README.itex2MML +5 -2
- data/ext/mathematical/lasem/itex2mml/itex2MML.h +10 -10
- data/ext/mathematical/lasem/itex2mml/itex2MML.l +126 -27
- data/ext/mathematical/lasem/itex2mml/itex2MML.y +262 -99
- data/ext/mathematical/lasem/itex2mml/meson.build +17 -0
- data/ext/mathematical/lasem/lasem.doap +7 -7
- data/ext/mathematical/lasem/meson.build +46 -0
- data/ext/mathematical/lasem/meson_options.txt +5 -0
- data/ext/mathematical/lasem/org.lasem.Viewer.json +41 -0
- data/ext/mathematical/lasem/po/LINGUAS +0 -2
- data/ext/mathematical/lasem/po/eu.po +30 -66
- data/ext/mathematical/lasem/po/meson.build +4 -0
- data/ext/mathematical/lasem/src/lasemrender.c +1 -6
- data/ext/mathematical/lasem/src/lsm.c +2 -0
- data/ext/mathematical/lasem/src/lsmattributes.c +2 -5
- data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +71 -7
- data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +7 -5
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +11 -1
- data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -1
- data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +6 -1
- data/ext/mathematical/lasem/src/lsmmathmlview.c +21 -3
- data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
- data/ext/mathematical/lasem/src/lsmmisc.c +15 -0
- data/ext/mathematical/lasem/src/lsmmisc.h +32 -0
- data/ext/mathematical/lasem/src/lsmproperties.c +2 -5
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +6 -3
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +10 -1
- data/ext/mathematical/lasem/src/meson.build +321 -0
- data/ext/mathematical/lasem/subprojects/gi-docgen.wrap +6 -0
- data/ext/mathematical/lasem/tests/data/mathml/tex/misc/array.tex +3 -0
- data/ext/mathematical/lasem/tests/dom.c +0 -6
- data/ext/mathematical/lasem/tests/filter.c +8 -7
- data/ext/mathematical/lasem/tests/lasem.supp +185 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +2 -9
- data/ext/mathematical/lasem/tests/meson.build +39 -0
- data/ext/mathematical/lasem/tests/str.c +0 -4
- data/ext/mathematical/lasem/tests/suite.c +0 -4
- data/ext/mathematical/lasem/viewer/meson.build +17 -0
- data/ext/mathematical/lasem/viewer/viewer.c +248 -0
- data/ext/mathematical/mtex2MML/script/tag +15 -14
- data/ext/mathematical/mtex2MML/src/lexer.l +4 -4
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +7 -7
- data/ext/mathematical/mtex2MML/src/parser.y +5 -5
- data/ext/mathematical/mtex2MML/tests/clar.c +2 -2
- data/ext/mathematical/mtex2MML/tests/deps/trim/package.json +2 -2
- data/lib/mathematical/configuration.rb +8 -4
- data/lib/mathematical/corrections.rb +3 -1
- data/lib/mathematical/validator.rb +11 -8
- data/lib/mathematical/version.rb +3 -1
- data/lib/mathematical.rb +21 -19
- data/mathematical.gemspec +21 -22
- metadata +36 -336
- data/ext/mathematical/lasem/AUTHORS +0 -1
- data/ext/mathematical/lasem/ChangeLog +0 -0
- data/ext/mathematical/lasem/MAINTAINERS +0 -3
- data/ext/mathematical/lasem/Makefile.am +0 -34
- data/ext/mathematical/lasem/Makefile.decl +0 -57
- data/ext/mathematical/lasem/README +0 -28
- data/ext/mathematical/lasem/RELEASING +0 -85
- data/ext/mathematical/lasem/autogen.sh +0 -180
- data/ext/mathematical/lasem/configure.ac +0 -139
- data/ext/mathematical/lasem/docs/Makefile.am +0 -14
- data/ext/mathematical/lasem/docs/reference/Makefile.am +0 -3
- data/ext/mathematical/lasem/docs/reference/lasem/Makefile.am +0 -205
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-docs.xml +0 -75
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-overview.xml +0 -64
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-sections.txt +0 -213
- data/ext/mathematical/lasem/docs/reference/lasem/lasem.types +0 -110
- data/ext/mathematical/lasem/itex2mml/Makefile.am +0 -37
- data/ext/mathematical/lasem/lasem.pc.in +0 -11
- data/ext/mathematical/lasem/m4/introspection.m4 +0 -96
- data/ext/mathematical/lasem/po/ChangeLog +0 -0
- data/ext/mathematical/lasem/po/ro.po +0 -64
- data/ext/mathematical/lasem/src/Makefile.am +0 -349
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c.template +0 -39
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h.template +0 -26
- data/ext/mathematical/lasem/tests/Makefile.am +0 -34
- data/ext/mathematical/lib/liblasem.dylib +0 -0
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +0 -512
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCCompiler.cmake +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeCXXCompiler.cmake +0 -88
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_C.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeDetermineCompilerABI_CXX.bin +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CMakeSystem.cmake +0 -15
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdC/CMakeCCompilerId.c +0 -671
- data/ext/mathematical/mtex2MML/build/CMakeFiles/3.16.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -660
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +0 -16
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeError.log +0 -22
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +0 -351
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +0 -34
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +0 -177
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +0 -1033
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +0 -41
- data/ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +0 -44
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +0 -206
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +0 -244
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +0 -42
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +0 -203
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +0 -19
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +0 -3
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +0 -49
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/progress.make +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +0 -11
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +0 -76
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/progress.make +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +0 -43
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +0 -217
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +0 -20
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/progress.make +0 -12
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +0 -59
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +0 -473
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +0 -37
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/depend.make +0 -2
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +0 -10
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +0 -1
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/progress.make +0 -29
- data/ext/mathematical/mtex2MML/build/CMakeFiles/progress.marks +0 -1
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +0 -8
- data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +0 -105
- data/ext/mathematical/mtex2MML/build/Makefile +0 -1485
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +0 -102
- data/ext/mathematical/mtex2MML/build/lexer.c +0 -8903
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +0 -10
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +0 -42
- data/ext/mathematical/mtex2MML/build/parser.c +0 -10334
- data/ext/mathematical/mtex2MML/build/parser.h +0 -625
- data/ext/mathematical/mtex2MML/build/parser.output +0 -120719
- data/test/mathematical/basic_test.rb +0 -89
- data/test/mathematical/corrections_test.rb +0 -16
- data/test/mathematical/delimiters_test.rb +0 -69
- data/test/mathematical/fixtures/after/backslashes.html +0 -5
- data/test/mathematical/fixtures/after/brackets_display.html +0 -1
- data/test/mathematical/fixtures/after/compliance_accents.html +0 -17
- data/test/mathematical/fixtures/after/compliance_arrows.html +0 -71
- data/test/mathematical/fixtures/after/compliance_colors.html +0 -4
- data/test/mathematical/fixtures/after/compliance_greek_letters.html +0 -42
- data/test/mathematical/fixtures/after/compliance_large_math.html +0 -19
- data/test/mathematical/fixtures/after/compliance_log_symbols.html +0 -34
- data/test/mathematical/fixtures/after/compliance_operators.html +0 -262
- data/test/mathematical/fixtures/after/dollar_sign_inline.html +0 -1
- data/test/mathematical/fixtures/after/equation_display.html +0 -1
- data/test/mathematical/fixtures/after/multiple_dollar_inline.html +0 -1
- data/test/mathematical/fixtures/after/parens_inline.html +0 -1
- data/test/mathematical/fixtures/before/backslashes.text +0 -17
- data/test/mathematical/fixtures/before/brackets_display.text +0 -1
- data/test/mathematical/fixtures/before/compliance_accents.text +0 -17
- data/test/mathematical/fixtures/before/compliance_arrows.text +0 -71
- data/test/mathematical/fixtures/before/compliance_colors.text +0 -4
- data/test/mathematical/fixtures/before/compliance_greek_letters.text +0 -42
- data/test/mathematical/fixtures/before/compliance_large_math.text +0 -19
- data/test/mathematical/fixtures/before/compliance_log_symbols.text +0 -34
- data/test/mathematical/fixtures/before/compliance_operators.text +0 -262
- data/test/mathematical/fixtures/before/dollar_sign_inline.text +0 -1
- data/test/mathematical/fixtures/before/equation_display.text +0 -1
- data/test/mathematical/fixtures/before/multiple_dollar_inline.text +0 -1
- data/test/mathematical/fixtures/before/parens_inline.text +0 -1
- data/test/mathematical/fixtures/performance/big_file.text +0 -1755
- data/test/mathematical/fixtures/png/numeric_test_1.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_2.png +0 -0
- data/test/mathematical/fixtures/png/numeric_test_3.png +0 -0
- data/test/mathematical/fixtures/png/pmatrix.png +0 -0
- data/test/mathematical/fixtures_test.rb +0 -51
- data/test/mathematical/maliciousness_test.rb +0 -152
- data/test/mathematical/mathjax_test.rb +0 -26
- data/test/mathematical/mathml_test.rb +0 -21
- data/test/mathematical/multiples_test.rb +0 -71
- data/test/mathematical/performance_test.rb +0 -15
- data/test/mathematical/png_test.rb +0 -30
- data/test/test_helper.rb +0 -72
@@ -1,113 +1,125 @@
|
|
1
|
-
|
2
|
-
|
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
|
11
|
-
|
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
|
-
|
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
|
21
|
-
specially designated
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
-
|
34
|
-
These restrictions translate to certain responsibilities for
|
35
|
-
you distribute copies of the library
|
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
|
41
|
-
complete object files to the recipients so that they can relink them
|
42
|
-
with the library
|
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
|
-
|
46
|
-
|
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
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
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,
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
Most GNU software, including some libraries, is covered by the
|
64
|
-
GNU General Public License,
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
Public License
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
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,
|
98
|
-
|
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
|
-
|
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
|
107
|
-
contains a notice placed by the copyright holder or
|
108
|
-
party saying it may be distributed under the terms of
|
109
|
-
General Public License (also called "this License").
|
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
|
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)
|
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
|
-
|
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
|
-
|
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
|
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
|
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
|
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
|
-
|
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
|
-
|
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
|
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
|
-
|
484
|
+
Lesser General Public License for more details.
|
465
485
|
|
466
|
-
You should have received a copy of the GNU
|
467
|
-
License along with this library; if not, write to the
|
468
|
-
|
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@
|
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://
|
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,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`.
|
@@ -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
|
+
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
|
|