[Haskell-cafe] ANN: latex-svg
michael at orlitzky.com
Wed Mar 11 03:05:09 UTC 2020
On 3/6/20 7:41 AM, Oleg Grenrus wrote:
> - One drawback is that result pages become bigger (and slower). For
> example a formula-heavy
> https://oleg.fi/gists/posts/2018-12-12-find-correct-laws.html is
> - 576k in size with latex-formulae
> - 2819k in size with latex-svg (almost 5 times larger).
> Rendering SVG images is also more CPU expensive.
I've been looking for a way to do away with MathJax for a while, and
this is pretty cool. I know this is probably tricky to do in Hakyll, but
you might be able to address the page-size issue by saving the SVG files
externally and gzipping them. That would also get rid of some of the
XHTML strict warnings (like the duplicate id="page1").
More information about the Haskell-Cafe