latex-formulae-image

A library for rendering LaTeX formulae as images using an actual LaTeX installation http://github.com/liamoc/latex-formulae#readme

LTS Haskell 6.31:0.1.1.2
Stackage Nightly 2017-01-17:0.1.1.2
Latest on Hackage:0.1.1.2
BSD3 licensed by Liam O'Connor
Maintained by liamoc@cse.unsw.edu.au

Module documentation for 0.1.1.2

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 latex, dvips and ImageMagick's convert to be present in the system. convert 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.

comments powered byDisqus