git.iko.soy/typeable/pandoc
on 1.9 help sign in
typeable/pandoc/pandoc.cabal
365 lines 15 kB history raw
1Name: pandoc
2Version: 1.9
3Cabal-Version: >= 1.6
4Build-Type: Custom
5License: GPL
6License-File: COPYING
7Copyright: (c) 2006-2012 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Bug-Reports: https://github.com/jgm/pandoc/issues
11Stability: alpha
12Homepage: http://johnmacfarlane.net/pandoc
13Category: Text
14Tested-With: GHC == 6.12.1, GHC == 7.0.4, GHC == 7.4.1
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, LaTeX and Textile, and it can write
20 markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
21 OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
22 groff man pages, plain text, Emacs Org-Mode, AsciiDoc, EPUB,
23 and S5 and Slidy HTML slide shows.
24 .
25 Pandoc extends standard markdown syntax with footnotes,
26 embedded LaTeX, definition lists, tables, and other
27 features. A compatibility mode is provided for those
28 who need a drop-in replacement for Markdown.pl.
29 .
30 In contrast to existing tools for converting markdown
31 to HTML, which use regex substitutions, pandoc has
32 a modular design: it consists of a set of readers,
33 which parse text in a given format and produce a native
34 representation of the document, and a set of writers,
35 which convert this native representation into a target
36 format. Thus, adding an input or output format requires
37 only adding a reader or writer.
38Data-Files:
39 -- templates
40 templates/default.html, templates/default.html5,
41 templates/default.docbook, templates/default.beamer,
42 templates/default.opendocument, templates/default.latex,
43 templates/default.context, templates/default.texinfo,
44 templates/default.man, templates/default.markdown,
45 templates/default.rst, templates/default.plain,
46 templates/default.mediawiki, templates/default.rtf,
47 templates/default.s5, templates/default.slidy,
48 templates/default.dzslides, templates/default.asciidoc,
49 templates/default.textile, templates/default.org,
50 templates/epub-titlepage.html, templates/epub-page.html,
51 templates/epub-coverimage.html,
52 -- data for ODT writer
53 reference.odt,
54 -- data for docx writer
55 reference.docx,
56 -- stylesheet for EPUB writer
57 epub.css,
58 -- data for LaTeXMathML writer
59 data/LaTeXMathML.js,
60 data/MathMLinHTML.js,
61 -- data for S5 writer
62 s5/default/slides.min.js,
63 s5/default/slides.js,
64 s5/default/s5-core.css,
65 s5/default/framing.css,
66 s5/default/pretty.css,
67 s5/default/opera.css,
68 s5/default/outline.css,
69 s5/default/print.css,
70 s5/default/slides.css,
71 s5/default/iepngfix.htc,
72 -- data for slidy writer
73 slidy/styles/slidy.css,
74 slidy/scripts/slidy.js.gz,
75 slidy/graphics/fold.gif,
76 slidy/graphics/unfold.gif,
77 slidy/graphics/nofold-dim.gif,
78 slidy/graphics/unfold-dim.gif,
79 slidy/graphics/fold-dim.gif,
80 -- data for dzslides writer
81 dzslides/template.html,
82 -- data for citeproc
83 default.csl,
84 -- documentation
85 README, INSTALL, COPYRIGHT, BUGS, changelog
86Extra-Source-Files:
87 -- code to create pandoc.1 man page
88 MakeManPage.hs,
89 man/man1/pandoc.1.template,
90 man/man5/pandoc_markdown.5.template,
91 -- generated man pages (produced post-build)
92 man/man1/pandoc.1,
93 man/man5/pandoc_markdown.5,
94 -- benchmarks
95 Benchmark.hs,
96 -- tests
97 tests/bodybg.gif,
98 tests/html-reader.html,
99 tests/html-reader.native,
100 tests/insert,
101 tests/lalune.jpg,
102 tests/movie.jpg,
103 tests/biblio.bib,
104 tests/chicago-author-date.csl,
105 tests/ieee.csl,
106 tests/mhra.csl,
107 tests/latex-reader.latex,
108 tests/latex-reader.native,
109 tests/textile-reader.textile,
110 tests/textile-reader.native,
111 tests/markdown-reader-more.txt,
112 tests/markdown-reader-more.native,
113 tests/markdown-citations.txt,
114 tests/markdown-citations.chicago-author-date.txt,
115 tests/markdown-citations.mhra.txt,
116 tests/markdown-citations.ieee.txt,
117 tests/textile-reader.textile,
118 tests/rst-reader.native,
119 tests/rst-reader.rst,
120 tests/s5.basic.html,
121 tests/s5.fancy.html,
122 tests/s5.fragment.html,
123 tests/s5.inserts.html,
124 tests/s5.native,
125 tests/tables.context,
126 tests/tables.docbook,
127 tests/tables.html,
128 tests/tables.latex,
129 tests/tables.man,
130 tests/tables.plain,
131 tests/tables.markdown,
132 tests/tables.mediawiki,
133 tests/tables.textile,
134 tests/tables.native,
135 tests/tables.opendocument,
136 tests/tables.org,
137 tests/tables.asciidoc,
138 tests/tables.texinfo,
139 tests/tables.rst,
140 tests/tables.rtf,
141 tests/tables.txt,
142 tests/tables-rstsubset.native,
143 tests/testsuite.native,
144 tests/testsuite.txt,
145 tests/writer.latex,
146 tests/writer.context,
147 tests/writer.docbook,
148 tests/writer.html,
149 tests/writer.man,
150 tests/writer.markdown,
151 tests/writer.plain,
152 tests/writer.mediawiki,
153 tests/writer.textile,
154 tests/writer.native,
155 tests/writer.opendocument,
156 tests/writer.org,
157 tests/writer.asciidoc,
158 tests/writer.rst,
159 tests/writer.rtf,
160 tests/writer.texinfo,
161 tests/lhs-test.native,
162 tests/lhs-test.markdown,
163 tests/lhs-test.markdown+lhs,
164 tests/lhs-test.rst,
165 tests/lhs-test.rst+lhs,
166 tests/lhs-test.latex,
167 tests/lhs-test.latex+lhs,
168 tests/lhs-test.html,
169 tests/lhs-test.html+lhs,
170 tests/lhs-test.fragment.html+lhs
171Extra-Tmp-Files: man/man1/pandoc.1,
172 man/man5/pandoc_markdown.5
174Source-repository head
175 type: git
176 location: git://github.com/jgm/pandoc.git
178Flag executable
179 Description: Build the pandoc executable.
180 Default: True
181Flag library
182 Description: Build the pandoc library.
183 Default: True
184Flag tests
185 Description: Build test-pandoc.
186 Default: False
188Library
189 -- Note: the following material must be in both Library and Executable stanzas.
190 -- It needs to be duplicated because of the library & executable flags.
191 -- BEGIN DUPLICATED SECTION
192 Build-Depends: containers >= 0.1 && < 0.5,
193 parsec >= 3.1 && < 3.2,
194 blaze-html >= 0.4.3.0 && < 0.5,
195 mtl >= 1.1 && < 2.1,
196 network >= 2 && < 2.4,
197 filepath >= 1.1 && < 1.4,
198 process >= 1 && < 1.2,
199 directory >= 1 && < 1.2,
200 bytestring >= 0.9 && < 1.0,
201 zip-archive >= 0.1.1.7 && < 0.2,
202 utf8-string >= 0.3 && < 0.4,
203 old-locale >= 1 && < 1.1,
204 time >= 1.2 && < 1.5,
205 HTTP >= 4000.0.5 && < 4000.3,
206 texmath >= 0.6 && < 0.7,
207 xml >= 1.3.12 && < 1.4,
208 random >= 1 && < 1.1,
209 extensible-exceptions >= 0.1 && < 0.2,
210 citeproc-hs >= 0.3.4 && < 0.4,
211 pandoc-types >= 1.9.0.2 && < 1.10,
212 json >= 0.5 && < 0.6,
213 tagsoup >= 0.12.5 && < 0.13,
214 base64-bytestring >= 0.1 && < 0.2,
215 zlib >= 0.5 && <= 0.6,
216 highlighting-kate >= 0.5.0.1 && < 0.6,
217 temporary >= 1.1 && < 1.2
218 if impl(ghc >= 6.10)
219 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
220 else
221 Build-depends: base >= 3 && < 4
222 if impl(ghc >= 6.12)
223 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
224 else
225 Ghc-Options: -O2 -Wall
226 if impl(ghc >= 7.0.1)
227 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
228 else
229 Ghc-Prof-Options: -auto-all -caf-all
230 Extensions: CPP
231 Hs-Source-Dirs: src
232 -- END DUPLICATED SECTION
234 Exposed-Modules: Text.Pandoc,
235 Text.Pandoc.Pretty,
236 Text.Pandoc.Shared,
237 Text.Pandoc.Parsing,
238 Text.Pandoc.Highlighting,
239 Text.Pandoc.Readers.HTML,
240 Text.Pandoc.Readers.LaTeX,
241 Text.Pandoc.Readers.Markdown,
242 Text.Pandoc.Readers.RST,
243 Text.Pandoc.Readers.TeXMath,
244 Text.Pandoc.Readers.Textile,
245 Text.Pandoc.Readers.Native,
246 Text.Pandoc.Writers.Native,
247 Text.Pandoc.Writers.Docbook,
248 Text.Pandoc.Writers.HTML,
249 Text.Pandoc.Writers.LaTeX,
250 Text.Pandoc.Writers.ConTeXt,
251 Text.Pandoc.Writers.OpenDocument,
252 Text.Pandoc.Writers.Texinfo,
253 Text.Pandoc.Writers.Man,
254 Text.Pandoc.Writers.Markdown,
255 Text.Pandoc.Writers.RST,
256 Text.Pandoc.Writers.Org,
257 Text.Pandoc.Writers.AsciiDoc,
258 Text.Pandoc.Writers.Textile,
259 Text.Pandoc.Writers.MediaWiki,
260 Text.Pandoc.Writers.RTF,
261 Text.Pandoc.Writers.ODT,
262 Text.Pandoc.Writers.Docx,
263 Text.Pandoc.Writers.EPUB,
264 Text.Pandoc.PDF,
265 Text.Pandoc.Templates,
266 Text.Pandoc.Biblio,
267 Text.Pandoc.SelfContained
268 Other-Modules: Text.Pandoc.XML,
269 Text.Pandoc.UTF8,
270 Text.Pandoc.MIME,
271 Text.Pandoc.UUID,
272 Text.Pandoc.ImageSize,
273 Text.Pandoc.Slides,
274 Paths_pandoc
276 if flag(library)
277 Buildable: True
278 else
279 Buildable: False
281Executable pandoc
282 -- Note: the following material must be in both Library and Executable stanzas.
283 -- It needs to be duplicated because of the library & executable flags.
284 -- BEGIN DUPLICATED SECTION
285 Build-Depends: containers >= 0.1 && < 0.5,
286 parsec >= 3.1 && < 3.2,
287 blaze-html >= 0.4.3.0 && < 0.5,
288 mtl >= 1.1 && < 2.1,
289 network >= 2 && < 2.4,
290 filepath >= 1.1 && < 1.4,
291 process >= 1 && < 1.2,
292 directory >= 1 && < 1.2,
293 bytestring >= 0.9 && < 1.0,
294 zip-archive >= 0.1.1.7 && < 0.2,
295 utf8-string >= 0.3 && < 0.4,
296 old-locale >= 1 && < 1.1,
297 time >= 1.2 && < 1.5,
298 HTTP >= 4000.0.5 && < 4000.3,
299 texmath >= 0.6 && < 0.7,
300 xml >= 1.3.12 && < 1.4,
301 random >= 1 && < 1.1,
302 extensible-exceptions >= 0.1 && < 0.2,
303 citeproc-hs >= 0.3.4 && < 0.4,
304 pandoc-types >= 1.9.0.2 && < 1.10,
305 json >= 0.5 && < 0.6,
306 tagsoup >= 0.12.5 && < 0.13,
307 base64-bytestring >= 0.1 && < 0.2,
308 zlib >= 0.5 && <= 0.6,
309 highlighting-kate >= 0.5.0.1 && < 0.6,
310 temporary >= 1.1 && < 1.2
311 if impl(ghc >= 6.10)
312 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
313 else
314 Build-depends: base >= 3 && < 4
315 if impl(ghc >= 6.12)
316 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
317 else
318 Ghc-Options: -O2 -Wall
319 if impl(ghc >= 7.0.1)
320 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
321 else
322 Ghc-Prof-Options: -auto-all -caf-all
323 Extensions: CPP
324 Hs-Source-Dirs: src
325 -- END DUPLICATED SECTION
327 Main-Is: pandoc.hs
328 if flag(executable)
329 Buildable: True
330 else
331 Buildable: False
333Executable test-pandoc
334 Hs-Source-Dirs: src
335 Main-Is: test-pandoc.hs
336 if impl(ghc >= 7)
337 cpp-options: -D_LIT=lit
338 else
339 cpp-options: -D_LIT=$lit
340 if !flag(tests)
341 Buildable: False
342 else
343 if impl(ghc >= 6.12)
344 Ghc-Options: -Wall -fno-warn-unused-do-bind
345 else
346 Ghc-Options: -Wall
347 Extensions: CPP
348 Build-Depends: base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.5,
349 test-framework-hunit >= 0.2 && < 0.3,
350 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
351 QuickCheck >= 2.4 && < 2.6,
352 HUnit >= 1.2 && < 1.3,
353 template-haskell >= 2.4 && < 2.8,
354 ansi-terminal == 0.5.*
355 Other-Modules: Tests.Old
356 Tests.Helpers
357 Tests.Arbitrary
358 Tests.Shared
359 Tests.Readers.LaTeX
360 Tests.Readers.Markdown
361 Tests.Readers.RST
362 Tests.Writers.Native
363 Tests.Writers.ConTeXt
364 Tests.Writers.HTML
365 Tests.Writers.Markdown