latex-formulae-image

A library for rendering LaTeX formulae as images using an actual LaTeX installation

http://github.com/liamoc/latex-formulae#readme

Version on this page:0.1.1.1
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

See all snapshots latex-formulae-image appears in

BSD-3-Clause licensed by Liam O'Connor
Maintained by [email protected]
This version can be pinned in stack with:latex-formulae-image-0.1.1.1@sha256:92ee13de6bd93434a4d9f5819fee6bae153314e975073b6f5d15ce680d6eb009,2338

Module documentation for 0.1.1.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 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.