A library for rendering LaTeX formulae as images using an actual LaTeX installation
|Version on this page:||0.1.1.2|
|LTS Haskell 6.35:||0.1.1.3|
|Stackage Nightly 2017-01-17:||0.1.1.2|
|Latest on Hackage:||0.1.1.4@rev:1|
This library provides the basic infrastructure necessary to convert LaTeX formulae into images, using a real LaTeX installation. This is useful in particular for showing formulae on websites, where using alternatives like MathJax is not an option (e.g, when you want to use various LaTeX packages that MathJax doesn't support).
This library requires
dvips and ImageMagick's
convert to be present in the system.
needs to understand PostScript files.
We also use a few tricks to compute where the baseline is in the image, so these images can be effectively typeset inline with other text.
The companion library to this,
latex-formulae-pandoc, provides useful tools to integrate this library with pandoc,
when generating HTML documents.