cabal-version: 2.2
name: latex-svg-image
version: 0.2
synopsis:
A library for rendering LaTeX formulae as SVG using an actual LaTeX
description:
This library provides the basic infrastructure necessary to convert LaTeX
formulae into SVG 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@, @dvisvgm@ to be present in the system.
.
The companion library to this, @latex-svg-pandoc@, provides useful tools to
integrate this library with pandoc, when generating HTML documents.
.
This is a fork of https://github.com/liamoc/latex-formulae
homepage: http://github.com/phadej/latex-svg#readme
license: BSD-3-Clause
license-file: LICENSE
author: Oleg Grenrus, Liam O'Connor
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
copyright: 2020 Oleg Grenrus, 2015-2019 Liam O'Connor
category: Image
build-type: Simple
tested-with: GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.3
source-repository head
type: git
location: https://github.com/phadej/latex-svg
subdir: latex-svg-image
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall
exposed-modules: Image.LaTeX.Render
build-depends:
, base >=4.10 && <4.14
, deepseq ^>=1.4.3.0
, directory ^>=1.3.0.1
, filepath ^>=1.4.1.2
, parsec ^>=3.1.13.0
, process ^>=1.6.1.0
, temporary ^>=1.3
, transformers ^>=0.5.2.0
-- used for caching
build-depends:
, base64-bytestring ^>=1.0.0.3
, bytestring ^>=0.10.8.2
, cryptohash-sha256 ^>=0.11.101.0