git.iko.soy/typeable/pandoc
on 1.3 help sign in
typeable/pandoc/pandoc.cabal
245 lines 9.5 kB history raw
1Name: pandoc
2Version: 1.3
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>
10Bug-Reports: http://code.google.com/p/pandoc/issues/list
11Stability: alpha
12Homepage: http://johnmacfarlane.net/pandoc
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.
37Data-Files:
38 -- documentation
39 README, INSTALL, COPYRIGHT, BUGS, changelog,
40 -- wrappers
41 markdown2pdf, html2markdown, hsmarkdown
42Extra-Source-Files:
43 -- sources for man pages
44 man/man1/pandoc.1.md, man/man1/markdown2pdf.1.md,
45 man/man1/html2markdown.1.md, man/man1/hsmarkdown.1.md,
46 -- Makefile
47 Makefile,
48 -- data for DefaultHeaders.hs
49 data/headers/ConTeXt.header,
50 data/headers/Docbook.header,
51 data/headers/LaTeX.header,
52 data/headers/OpenDocument.header,
53 data/headers/RTF.header,
54 data/headers/S5.header,
55 -- data for LaTeXMathML writer
56 data/LaTeXMathML.js.comment,
57 data/LaTeXMathML.js.packed,
58 -- data for S5 writer
59 data/ui/default/slides.js.comment,
60 data/ui/default/slides.js.packed,
61 data/ui/default/s5-core.css,
62 data/ui/default/framing.css,
63 data/ui/default/pretty.css,
64 data/ui/default/opera.css,
65 data/ui/default/outline.css,
66 data/ui/default/print.css,
67 -- data for ODT writer
68 data/odt-styles/meta.xml,
69 data/odt-styles/settings.xml,
70 data/odt-styles/META-INF/manifest.xml,
71 data/odt-styles/Thumbnails/thumbnail.png,
72 data/odt-styles/styles.xml,
73 data/odt-styles/mimetype,
74 -- tests
75 tests/bodybg.gif,
76 tests/writer.latex,
77 tests/html-reader.html,
78 tests/html-reader.native,
79 tests/insert,
80 tests/lalune.jpg,
81 tests/movie.jpg,
82 tests/latex-reader.latex,
83 tests/latex-reader.native,
84 tests/markdown-reader-more.txt,
85 tests/markdown-reader-more.native,
86 tests/rst-reader.native,
87 tests/rst-reader.rst,
88 tests/s5.basic.html,
89 tests/s5.fancy.html,
90 tests/s5.fragment.html,
91 tests/s5.inserts.html,
92 tests/s5.native,
93 tests/tables.context,
94 tests/tables.docbook,
95 tests/tables.html,
96 tests/tables.latex,
97 tests/tables.man,
98 tests/tables.markdown,
99 tests/tables.mediawiki,
100 tests/tables.native,
101 tests/tables.opendocument,
102 tests/tables.texinfo,
103 tests/tables.rst,
104 tests/tables.rtf,
105 tests/tables.txt,
106 tests/testsuite.native,
107 tests/testsuite.txt,
108 tests/writer.context,
109 tests/writer.docbook,
110 tests/writer.html,
111 tests/writer.man,
112 tests/writer.markdown,
113 tests/writer.mediawiki,
114 tests/writer.native,
115 tests/writer.opendocument,
116 tests/writer.rst,
117 tests/writer.rtf,
118 tests/writer.texinfo,
119 tests/lhs-test.native,
120 tests/lhs-test.markdown,
121 tests/lhs-test.markdown+lhs,
122 tests/lhs-test.rst,
123 tests/lhs-test.rst+lhs,
124 tests/lhs-test.latex,
125 tests/lhs-test.latex+lhs,
126 tests/lhs-test.html,
127 tests/lhs-test.html+lhs,
128 tests/lhs-test.fragment.html+lhs,
129 tests/Diff.hs,
130 tests/RunTests.hs
131Extra-Tmp-Files: man/man1/pandoc.1, man/man1/hsmarkdown.1,
132 man/man1/html2markdown.1, man/man1/markdown2pdf.1
134Flag highlighting
135 Description: Compile in support for syntax highlighting of code blocks.
136 Default: False
137Flag executable
138 Description: Build the pandoc executable.
139 Default: True
140Flag wrappers
141 Description: Build the wrappers (hsmarkdown, markdown2pdf).
142 Default: True
143Flag library
144 Description: Build the pandoc library.
145 Default: True
146Flag citeproc
147 Description: Compile in support for citeproc-hs bibliographic formatting.
148 Default: False
150Library
151 Build-Depends: pretty >= 1, containers >= 0.1,
152 parsec >= 2.1 && < 3, xhtml >= 3000.0,
153 mtl >= 1.1, network >= 2, filepath >= 1.1,
154 process >= 1, directory >= 1, template-haskell >= 2.2,
155 bytestring >= 0.9, zip-archive >= 0.1.1,
156 utf8-string >= 0.3, old-time >= 1
157 if impl(ghc >= 6.10)
158 Build-depends: base >= 4 && < 5, syb
159 else
160 Build-depends: base >= 3 && < 4
161 if flag(highlighting)
162 Build-depends: highlighting-kate >= 0.2.3
163 cpp-options: -D_HIGHLIGHTING
164 if flag(citeproc)
165 Build-depends: citeproc-hs
166 Exposed-Modules: Text.Pandoc.Biblio
167 cpp-options: -D_CITEPROC
168 Hs-Source-Dirs: src
169 Exposed-Modules: Text.Pandoc,
170 Text.Pandoc.Blocks,
171 Text.Pandoc.Definition,
172 Text.Pandoc.CharacterReferences,
173 Text.Pandoc.Shared,
174 Text.Pandoc.ODT,
175 Text.Pandoc.LaTeXMathML,
176 Text.Pandoc.DefaultHeaders,
177 Text.Pandoc.Highlighting,
178 Text.Pandoc.Readers.HTML,
179 Text.Pandoc.Readers.LaTeX,
180 Text.Pandoc.Readers.Markdown,
181 Text.Pandoc.Readers.RST,
182 Text.Pandoc.Readers.TeXMath,
183 Text.Pandoc.Writers.Docbook,
184 Text.Pandoc.Writers.HTML,
185 Text.Pandoc.Writers.LaTeX,
186 Text.Pandoc.Writers.ConTeXt,
187 Text.Pandoc.Writers.OpenDocument,
188 Text.Pandoc.Writers.Texinfo,
189 Text.Pandoc.Writers.Man,
190 Text.Pandoc.Writers.Markdown,
191 Text.Pandoc.Writers.RST,
192 Text.Pandoc.Writers.MediaWiki,
193 Text.Pandoc.Writers.RTF,
194 Text.Pandoc.Writers.S5
195 Other-Modules: Text.Pandoc.XML,
196 Text.Pandoc.TH,
197 Paths_pandoc
198 Extensions: CPP, TemplateHaskell, FlexibleInstances
199 Ghc-Options: -O2 -Wall
200 Ghc-Prof-Options: -auto-all -caf-all
202 if flag(library)
203 Buildable: True
204 else
205 Buildable: False
207Executable pandoc
208 Hs-Source-Dirs: src
209 Main-Is: pandoc.hs
210 Ghc-Options: -O2 -Wall -threaded
211 Ghc-Prof-Options: -auto-all -caf-all
212 Extensions: CPP, TemplateHaskell
214 if flag(highlighting)
215 cpp-options: -D_HIGHLIGHTING
216 if flag(citeproc)
217 Build-depends: citeproc-hs >= 0.2
218 cpp-options: -D_CITEPROC
219 if flag(executable)
220 Buildable: True
221 else
222 Buildable: False
224Executable hsmarkdown
225 Hs-Source-Dirs: src
226 Main-Is: hsmarkdown.hs
227 Ghc-Options: -Wall -threaded
228 Ghc-Prof-Options: -auto-all
229 Extensions: CPP, TemplateHaskell
230 if flag(wrappers)
231 Buildable: True
232 else
233 Buildable: False
235Executable markdown2pdf
236 Hs-Source-Dirs: src
237 Main-Is: markdown2pdf.hs
238 Ghc-Options: -Wall -threaded
239 Ghc-Prof-Options: -auto-all
240 Extensions: CPP, TemplateHaskell
241 if flag(wrappers)
242 Buildable: True
243 else
244 Buildable: False