jgm / texmath

A Haskell library for converting LaTeX math to MathML.

This URL has Read+Write access

texmath / texmath.cabal
100644 71 lines (63 sloc) 2.52 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Name: texmath
Version: 0.1.0.4
Cabal-version: >= 1.2
Build-type: Simple
Synopsis: Conversion of LaTeX math formulas to MathML.
Description: The texmathml library provides functions to convert LaTeX
                     math formulas to presentation MathML. It supports
                     basic LaTeX and AMS extensions, but not macros.
Category: Text
Stability: Experimental
License: GPL
License-File: LICENSE
Author: John MacFarlane
Maintainer: jgm@berkeley.edu
Homepage: http://github.com/jgm/texmath
Data-Files: cgi/texmath.xhtml,
                     tests/runtests.sh,
                     tests/01.tex, tests/01.xhtml,
                     tests/02.tex, tests/02.xhtml,
                     tests/03.tex, tests/03.xhtml,
                     tests/04.tex, tests/04.xhtml,
                     tests/05.tex, tests/05.xhtml,
                     tests/06.tex, tests/06.xhtml,
                     tests/07.tex, tests/07.xhtml,
                     tests/08.tex, tests/08.xhtml,
                     tests/09.tex, tests/09.xhtml,
                     tests/10.tex, tests/10.xhtml,
                     tests/11.tex, tests/11.xhtml,
                     tests/12.tex, tests/12.xhtml,
                     tests/13.tex, tests/13.xhtml,
                     tests/14.tex, tests/14.xhtml,
                     tests/15.tex, tests/15.xhtml,
                     tests/16.tex, tests/16.xhtml,
                     tests/17.tex, tests/17.xhtml,
                     tests/18.tex, tests/18.xhtml
 
Flag cgi
  description: Compile cgi executable.
  default: True
 
Flag test
  description: Compile test executable.
  default: True
 
Library
    Build-depends: base >= 4 && < 5, xml, parsec >= 2 && < 3, containers
 
    Exposed-modules: Text.TeXMath, Text.TeXMath.Parser, Text.TeXMath.MathMLWriter
 
    Ghc-Options: -Wall
    Ghc-Prof-Options: -auto-all
 
Executable testTeXMathML
    Main-is: testTeXMathML.hs
    Ghc-Options: -Wall
    Ghc-Prof-Options: -auto-all
    if flag(test)
      Buildable: True
    else
      Buildable: False
 
Executable texmath-cgi
    Main-is: cgi/texmath-cgi.hs
    Build-depends: cgi, json
    Ghc-Options: -Wall
    Ghc-Prof-Options: -auto-all
    if flag(cgi)
      Buildable: True
    else
      Buildable: False