3 ms·
Does anybody know if there is a C/C++ (MIT oder equal) library that has few dependencies and can generate images from equations, similar to MathJax? (I.e. not L
by terhechte 7y ago
Does anybody know if there is a C/C++ (MIT oder equal) library that has few dependencies and can generate images from equations, similar to MathJax? (I.e. not LaTeX due to not a library and a lot of dependencies)
- ivan_ah 7y agoNot a C/C++ library, but you can maybe call out to node to get SVGs, see https://github.com/mathjax/MathJax-demos-node/blob/master/component/tex2svg https://github.com/mathjax/MathJax-demos-node/blob/master/co... via http://docs.mathjax.org/en/latest/server/start.html#node-start http://docs.mathjax.org/en/latest/server/start.html#node-sta... then Inkscape for svg to png conversion, see https://github.com/softcover/softcover/blob/master/lib/softcover/builders/epub.rb#L361-L369 https://github.com/softcover/softcover/blob/master/lib/softc... But I think the above pipeline is even more external-dependecyful than using the real latex...