File: texmath.cabal

package info (click to toggle)
haskell-texmath 0.6.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 780 kB
  • ctags: 2
  • sloc: haskell: 1,726; sh: 32; makefile: 4
file content (127 lines) | stat: -rw-r--r-- 6,147 bytes parent folder | download
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Name:                texmath
Version:             0.6.6.1
Cabal-Version:       >= 1.6
Build-type:          Custom
Synopsis:            Conversion of LaTeX math formulas to MathML or OMML.
Description:         The texmathml library provides functions to convert LaTeX
                     math formulas to presentation MathML (which can be used
                     in HTML) or OMML (Office Math Markup Language, used in
                     Microsoft Office). It supports basic LaTeX and AMS
                     extensions, and it can parse and apply LaTeX macros.
                     .
                     Use the @test@ flag to install a standalone executable,
                     @texmath@, that reads a LaTeX formula from @stdin@ and
                     writes MathML to @stdout@.
                     .
                     Use the @cgi@ flag to install a cgi script,
                     @texmath-cgi@.

Category:            Text
Stability:           Experimental
License:             GPL
License-File:        LICENSE
Author:              John MacFarlane
Maintainer:          jgm@berkeley.edu
Homepage:            http://github.com/jgm/texmath
Extra-source-files:  README.markdown,
                     changelog,
                     cgi/texmath.xhtml,
                     tests/runtests.sh,
                     tests/01.tex, tests/01.xhtml, tests/01.omml,
                     tests/02.tex, tests/02.xhtml, tests/02.omml,
                     tests/03.tex, tests/03.xhtml, tests/03.omml,
                     tests/04.tex, tests/04.xhtml, tests/04.omml,
                     tests/05.tex, tests/05.xhtml, tests/05.omml,
                     tests/06.tex, tests/06.xhtml, tests/06.omml,
                     tests/07.tex, tests/07.xhtml, tests/07.omml,
                     tests/08.tex, tests/08.xhtml, tests/08.omml,
                     tests/09.tex, tests/09.xhtml, tests/09.omml,
                     tests/10.tex, tests/10.xhtml, tests/10.omml,
                     tests/11.tex, tests/11.xhtml, tests/11.omml,
                     tests/12.tex, tests/12.xhtml, tests/12.omml,
                     tests/13.tex, tests/13.xhtml, tests/13.omml,
                     tests/14.tex, tests/14.xhtml, tests/14.omml,
                     tests/15.tex, tests/15.xhtml, tests/15.omml,
                     tests/16.tex, tests/16.xhtml, tests/16.omml,
                     tests/17.tex, tests/17.xhtml, tests/17.omml,
                     tests/18.tex, tests/18.xhtml, tests/18.omml,
                     tests/19.tex, tests/19.xhtml, tests/19.omml,
                     tests/20.tex, tests/20.xhtml, tests/20.omml,
                     tests/21.tex, tests/21.xhtml, tests/21.omml,
                     tests/22.tex, tests/22.xhtml, tests/22.omml,
                     tests/axiom_of_power_set.tex, tests/axiom_of_power_set.xhtml, tests/axiom_of_power_set.omml,
                     tests/binomial_coefficient.tex, tests/binomial_coefficient.xhtml, tests/binomial_coefficient.omml,
                     tests/complex_number.tex, tests/complex_number.xhtml, tests/complex_number.omml,
                     tests/deMorgans_law.tex, tests/deMorgans_law.xhtml, tests/deMorgans_law.omml,
                     tests/differentiable_manifold.tex, tests/differentiable_manifold.xhtml, tests/differentiable_manifold.omml,
                     tests/divergence.tex, tests/divergence.xhtml, tests/divergence.omml,
                     tests/moore_determinant.tex, tests/moore_determinant.xhtml, tests/moore_determinant.omml,
                     tests/quadratic_formula.tex, tests/quadratic_formula.xhtml, tests/quadratic_formula.omml,
                     tests/schwinger_dyson.tex, tests/schwinger_dyson.xhtml, tests/schwinger_dyson.omml,
                     tests/sophomores_dream.tex, tests/sophomores_dream.xhtml, tests/sophomores_dream.omml,
                     tests/sphere_volume.tex, tests/sphere_volume.xhtml, tests/sphere_volume.omml,
                     tests/unicode.tex, tests/unicode.xhtml, tests/unicode.omml,
                     tests/ensuremath.tex, tests/ensuremath.xhtml, tests/ensuremath.omml,
                     tests/macros.tex, tests/macros.xhtml, tests/macros.omml,
                     tests/subsup.tex, tests/subsup.xhtml, tests/subsup.omml,
                     tests/stackrel.tex, tests/stackrel.xhtml, tests/stackrel.omml,
                     tests/notin.tex, tests/notin.xhtml, tests/notin.omml,
                     tests/labels.tex, tests/labels.xhtml, tests/labels.omml

Source-repository head
  type:              git
  location:          git://github.com/jgm/texmath.git

Flag cgi
  description:       Compile cgi executable.
  default:           False

Flag test
  description:       Compile test executable.
  default:           False

Library
    Build-depends:       xml, parsec >= 3, containers, pandoc-types
    if impl(ghc >= 6.10)
      Build-depends: base >= 4 && < 5, syb
    else
      Build-depends: base >= 3 && < 4
    Exposed-modules:     Text.TeXMath
                         Text.TeXMath.Types
                         Text.TeXMath.Parser
                         Text.TeXMath.MathML
                         Text.TeXMath.OMML
                         Text.TeXMath.Pandoc
                         Text.TeXMath.Macros
                         Text.TeXMath.ToUnicode

    if impl(ghc >= 6.12)
      Ghc-Options:     -Wall -fno-warn-unused-do-bind
    else
      Ghc-Options:     -Wall
    Ghc-Prof-Options:  -auto-all -caf-all

Executable texmath
    Main-is:             texmath.hs
    if impl(ghc >= 6.12)
      Ghc-Options:     -Wall -fno-warn-unused-do-bind
    else
      Ghc-Options:     -Wall
    Ghc-Prof-Options:  -auto-all -caf-all
    if flag(test)
      Buildable:         True
    else
      Buildable:         False

Executable texmath-cgi
    Main-is:             cgi/texmath-cgi.hs
    if impl(ghc >= 6.12)
      Ghc-Options:     -Wall -fno-warn-unused-do-bind
    else
      Ghc-Options:     -Wall
    Ghc-Prof-Options:  -auto-all -caf-all
    if flag(cgi)
      Buildable:         True
      Build-depends:     cgi, json, utf8-string
    else
      Buildable:         False