|
| 1 | +cabal-version: 2.2 |
| 2 | +name: latex-svg-image |
| 3 | +version: 0.2.0.0.0.1 |
| 4 | +license: BSD-3-Clause |
| 5 | +license-file: LICENSE |
| 6 | +copyright: 2020 Oleg Grenrus, 2015-2019 Liam O'Connor |
| 7 | +maintainer: Oleg Grenrus <oleg.grenrus@iki.fi> |
| 8 | +author: Oleg Grenrus, Liam O'Connor |
| 9 | +tested-with: ghc ==8.10.7 || ==9.6.4 || ==9.8.1 |
| 10 | +homepage: http://github.com/phadej/latex-svg#readme |
| 11 | +synopsis: |
| 12 | + A library for rendering LaTeX formulae as SVG using an actual LaTeX |
| 13 | + |
| 14 | +description: |
| 15 | + This library provides the basic infrastructure necessary to convert LaTeX |
| 16 | + formulae into SVG images, using a real LaTeX installation. This is useful in |
| 17 | + particular for showing formulae on websites, where using alternatives like |
| 18 | + MathJax is not an option (e.g, when you want to use various LaTeX packages that |
| 19 | + MathJax doesn't support). |
| 20 | + . |
| 21 | + This library requires @latex@, @dvisvgm@ to be present in the system. |
| 22 | + . |
| 23 | + The companion library to this, @latex-svg-pandoc@, provides useful tools to |
| 24 | + integrate this library with pandoc, when generating HTML documents. |
| 25 | + . |
| 26 | + This is a fork of https://github.com/liamoc/latex-formulae |
| 27 | + |
| 28 | +category: Image |
| 29 | +build-type: Simple |
| 30 | + |
| 31 | +source-repository head |
| 32 | + type: git |
| 33 | + location: https://github.com/phadej/latex-svg |
| 34 | + subdir: latex-svg-image |
| 35 | + |
| 36 | +library |
| 37 | + exposed-modules: Image.LaTeX.Render |
| 38 | + hs-source-dirs: src |
| 39 | + default-language: Haskell2010 |
| 40 | + ghc-options: -Wall |
| 41 | + build-depends: |
| 42 | + base >=4.14.3 && <4.22, |
| 43 | + deepseq >=1.4.4 && <1.6, |
| 44 | + directory ^>=1.3.6, |
| 45 | + filepath >=1.4.2.1 && <1.6, |
| 46 | + parsec ^>=3.1.14, |
| 47 | + process ^>=1.6.13.2, |
| 48 | + temporary ^>=1.3, |
| 49 | + transformers >=0.5.6.2 && <1.7, |
| 50 | + base64-bytestring ^>=1.2.1, |
| 51 | + bytestring >=0.10.12 && <0.13, |
| 52 | + cryptohash-sha256 ^>=0.11.102.1 |
0 commit comments