This is a fork for latex-formulae
which produces SVG images instead of raster PNGs.
Some differences:
-
Uses
latex
anddvisvgm
, ImageMagick is not required. (You don't need to tweakpolicy.xml
) -
latex-svg-image
supports global cache (off by default), which speedups hakyll site builds. -
latex-svg-hakyll
hasinitFormulaCompilerSVGPure
variant, which doesn't needIO
to be created. You don't need to threadrenderFormulae
function through. -
Drawback is that result pages become bigger. For example a formula-heavy https://oleg.fi/gists/posts/2018-12-12-find-correct-laws.html is
576k
in size withlatex-formulae
2819k
in size withlatex-svg
Also rendering SVG images is more expensive.