Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phadej/latex-svg
Render LaTeX math to SVG mages
https://github.com/phadej/latex-svg
Last synced: 2 months ago
JSON representation
Render LaTeX math to SVG mages
- Host: GitHub
- URL: https://github.com/phadej/latex-svg
- Owner: phadej
- License: bsd-3-clause
- Created: 2020-03-05T20:39:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T21:15:42.000Z (over 4 years ago)
- Last Synced: 2023-12-20T12:17:40.057Z (about 1 year ago)
- Language: Haskell
- Size: 69.3 KB
- Stars: 16
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LaTeX SVG
This is a fork for [`latex-formulae`](https://github.com/liamoc/latex-formulae)
which produces SVG images instead of raster PNGs.Some differences:
- Uses `latex` and `dvisvgm`, ImageMagick *is not required*. (You don't need to tweak `policy.xml`)
- `latex-svg-image` supports global cache (off by default), which speedups hakyll site builds.
- `latex-svg-hakyll` has `initFormulaCompilerSVGPure` variant, which doesn't need `IO` to be created. You don't need to thread `renderFormulae` 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 with `latex-formulae`
- `2819k` in size with `latex-svg`Also rendering SVG images is more expensive.