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

[ bsd3, image, library ] [ Propose Tags ]
Dependencies base (>=4.7 && <4.10), directory (>=1.2 && <1.4), errors (>=2.0 && <2.2), filepath (>=1.3 && <1.5), JuicyPixels (==3.2.*), process (>=1.2 && <1.5), temporary (==1.2.*), transformers (>=0.3 && <0.6), transformers‑compat (==0.4.*) [details]
License BSD-3-Clause
Copyright Liam O'Connor, 2015
Author Liam O'Connor
Category Image
Home page
Source repo head: git clone
Uploaded by LiamOConnorDavis at Sun Jun 4 10:49:25 UTC 2017
Distributions NixOS:
Downloads 1182 total (18 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-06-04 [all 1 reports]
Hackage Matrix CI

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.





if building with older base versions


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


Maintainer's Corner

For package maintainers and hackage trustees