git.iko.soy/typeable/pandoc
on 1.0 help sign in
typeable/pandoc/pandoc.cabal
204 lines 8.2 kB history raw
1Name: pandoc
2Version: 1.0
3Cabal-Version: >= 1.2
4Build-Type: Custom
5License: GPL
6License-File: COPYING
7Copyright: (c) 2006-2008 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Stability: alpha
11Homepage: http://johnmacfarlane.net/pandoc
12Package-URL: http://pandoc.googlecode.com/files/pandoc-0.47.tar.gz
13Category: Text
14Tested-With: GHC
15Synopsis: Conversion between markup formats
16Description: Pandoc is a Haskell library for converting from one markup
17 format to another, and a command-line tool that uses
18 this library. It can read markdown and (subsets of)
19 reStructuredText, HTML, and LaTeX, and it can write
20 markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
21 OpenDocument, ODT, RTF, MediaWiki, groff man pages, and
22 S5 HTML slide shows.
23 .
24 Pandoc extends standard markdown syntax with footnotes,
25 embedded LaTeX, definition lists, tables, and other
26 features. A compatibility mode is provided for those
27 who need a drop-in replacement for Markdown.pl.
28 .
29 In contrast to existing tools for converting markdown
30 to HTML, which use regex substitutions, pandoc has
31 a modular design: it consists of a set of readers,
32 which parse text in a given format and produce a native
33 representation of the document, and a set of writers,
34 which convert this native representation into a target
35 format. Thus, adding an input or output format requires
36 only adding a reader or writer.
37Extra-Source-Files:
38 -- documentation
39 README, INSTALL, COPYRIGHT, changelog,
40 -- sources for man pages
41 man/man1/pandoc.1.md, man/man1/markdown2pdf.1.md,
42 man/man1/html2markdown.1.md, man/man1/hsmarkdown.1.md,
43 -- Makefile
44 Makefile,
45 -- wrappers
46 markdown2pdf, html2markdown, hsmarkdown,
47 -- data for DefaultHeaders.hs
48 data/headers/ConTeXt.header,
49 data/headers/Docbook.header,
50 data/headers/LaTeX.header,
51 data/headers/OpenDocument.header,
52 data/headers/RTF.header,
53 data/headers/S5.header,
54 -- data for LaTeXMathML writer
55 data/LaTeXMathML.js.comment,
56 data/LaTeXMathML.js.packed,
57 -- data for S5 writer
58 data/ui/default/slides.js.comment,
59 data/ui/default/slides.js.packed,
60 data/ui/default/s5-core.css,
61 data/ui/default/framing.css,
62 data/ui/default/pretty.css,
63 data/ui/default/opera.css,
64 data/ui/default/outline.css,
65 data/ui/default/print.css,
66 -- data for ODT writer
67 odt-styles/meta.xml,
68 odt-styles/settings.xml,
69 odt-styles/META-INF/manifest.xml,
70 odt-styles/Thumbnails/thumbnail.png,
71 odt-styles/styles.xml,
72 odt-styles/mimetype,
73 -- tests
74 tests/bodybg.gif,
75 tests/writer.latex,
76 tests/html-reader.html,
77 tests/html-reader.native,
78 tests/insert,
79 tests/lalune.jpg,
80 tests/movie.jpg,
81 tests/latex-reader.latex,
82 tests/latex-reader.native,
83 tests/markdown-reader-more.txt,
84 tests/markdown-reader-more.native,
85 tests/rst-reader.native,
86 tests/rst-reader.rst,
87 tests/s5.basic.html,
88 tests/s5.fancy.html,
89 tests/s5.fragment.html,
90 tests/s5.inserts.html,
91 tests/s5.native,
92 tests/tables.context,
93 tests/tables.docbook,
94 tests/tables.html,
95 tests/tables.latex,
96 tests/tables.man,
97 tests/tables.markdown,
98 tests/tables.mediawiki,
99 tests/tables.native,
100 tests/tables.opendocument,
101 tests/tables.texinfo,
102 tests/tables.rst,
103 tests/tables.rtf,
104 tests/tables.txt,
105 tests/testsuite.native,
106 tests/testsuite.txt,
107 tests/writer.context,
108 tests/writer.docbook,
109 tests/writer.html,
110 tests/writer.man,
111 tests/writer.markdown,
112 tests/writer.mediawiki,
113 tests/writer.native,
114 tests/writer.opendocument,
115 tests/writer.rst,
116 tests/writer.rtf,
117 tests/writer.texinfo,
118 tests/Diff.hs,
119 tests/RunTests.hs
120Extra-Tmp-Files: man/man1/pandoc.1, man/man1/hsmarkdown.1,
121 man/man1/html2markdown.1
123Flag highlighting
124 Description: Compile in support for syntax highlighting of code blocks.
125 Default: False
126Flag executable
127 Description: Build the pandoc executable.
128 Default: True
129Flag library
130 Description: Build the pandoc library.
131 Default: True
132Flag citeproc
133 Description: Compile in support for citeproc-hs bibliographic formatting.
134 Default: False
136Library
137 Build-Depends: base >= 3, pretty >= 1, containers >= 0.1,
138 parsec >= 2.1 && < 3, xhtml >= 3000.0,
139 mtl >= 1.1, network >= 2, filepath >= 1.1,
140 process >= 1, directory >= 1, template-haskell >= 2.2,
141 bytestring >= 0.9, zip-archive >= 0.1.1,
142 utf8-string >= 0.3, old-time >= 1
143 if flag(highlighting)
144 Build-depends: highlighting-kate >= 0.2.3
145 cpp-options: -D_HIGHLIGHTING
146 if flag(citeproc)
147 Build-depends: citeproc-hs
148 Exposed-Modules: Text.Pandoc.Biblio
149 cpp-options: -D_CITEPROC
150 Hs-Source-Dirs: .
151 Exposed-Modules: Text.Pandoc,
152 Text.Pandoc.Blocks,
153 Text.Pandoc.Definition,
154 Text.Pandoc.CharacterReferences,
155 Text.Pandoc.Shared,
156 Text.Pandoc.ODT,
157 Text.Pandoc.LaTeXMathML,
158 Text.Pandoc.DefaultHeaders,
159 Text.Pandoc.Highlighting,
160 Text.Pandoc.Readers.HTML,
161 Text.Pandoc.Readers.LaTeX,
162 Text.Pandoc.Readers.Markdown,
163 Text.Pandoc.Readers.RST,
164 Text.Pandoc.Readers.TeXMath,
165 Text.Pandoc.Writers.Docbook,
166 Text.Pandoc.Writers.HTML,
167 Text.Pandoc.Writers.LaTeX,
168 Text.Pandoc.Writers.ConTeXt,
169 Text.Pandoc.Writers.OpenDocument,
170 Text.Pandoc.Writers.Texinfo,
171 Text.Pandoc.Writers.Man,
172 Text.Pandoc.Writers.Markdown,
173 Text.Pandoc.Writers.RST,
174 Text.Pandoc.Writers.MediaWiki,
175 Text.Pandoc.Writers.RTF,
176 Text.Pandoc.Writers.S5
177 Other-Modules: Text.Pandoc.XML,
178 Text.Pandoc.TH
179 Extensions: CPP, TemplateHaskell, FlexibleInstances
180 Ghc-Options: -O2 -Wall -threaded
181 Ghc-Prof-Options: -auto-all
183 if flag(library)
184 Buildable: True
185 else
186 Buildable: False
188Executable pandoc
189 Hs-Source-Dirs: .
190 Main-Is: Main.hs
191 Ghc-Options: -O2 -Wall -threaded
192 Ghc-Prof-Options: -auto-all
193 Extensions: CPP
195 if flag(highlighting)
196 cpp-options: -D_HIGHLIGHTING
197 if flag(citeproc)
198 Build-depends: citeproc-hs
199 cpp-options: -D_CITEPROC
200 if flag(executable)
201 Buildable: True
202 else
203 Buildable: False