latex-formulae-image: A library for rendering LaTeX formulae as images using an actual LaTeX installation

[ bsd3, image, library ] [ Propose Tags ]

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.


[Index] [Quick Jump]


Automatic Flags

if building with older base versions


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,
Dependencies base (>=4.7 && <4.14), directory (>=1.2 && <1.4), errors (>=2.0 && <2.4), filepath (>=1.3 && <1.5), JuicyPixels (>=3.2 && <3.4), process (>=1.2 && <1.7), temporary (>=1.2 && <1.4), transformers (>=0.3 && <0.6), transformers-compat (>=0.4 && <0.5) [details]
License BSD-3-Clause
Copyright Liam O'Connor, 2015
Author Liam O'Connor
Revised Revision 1 made by GeorgeWilson at 2019-11-19T01:49:45Z
Category Image
Home page
Source repo head: git clone
Uploaded by LiamOConnorDavis at 2018-07-22T11:55:33Z
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 4663 total (27 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-22 [all 1 reports]