git.iko.soy/typeable/pandoc
on 1.9.3 help sign in
typeable/pandoc/pandoc.cabal
443 lines 18 kB history raw
1Name: pandoc
2Version: 1.9.3
3Cabal-Version: >= 1.10
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.js,
63 s5/default/s5-core.css,
64 s5/default/framing.css,
65 s5/default/pretty.css,
66 s5/default/opera.css,
67 s5/default/outline.css,
68 s5/default/print.css,
69 s5/default/slides.css,
70 s5/default/iepngfix.htc,
71 s5/default/blank.gif,
72 s5/default/bodybg.gif,
73 -- data for slidy writer
74 slidy/styles/slidy.css,
75 slidy/scripts/slidy.js.gz,
76 slidy/graphics/fold.gif,
77 slidy/graphics/unfold.gif,
78 slidy/graphics/nofold-dim.gif,
79 slidy/graphics/unfold-dim.gif,
80 slidy/graphics/fold-dim.gif,
81 -- data for dzslides writer
82 dzslides/template.html,
83 -- data for citeproc
84 default.csl,
85 -- documentation
86 README, INSTALL, COPYRIGHT, BUGS, changelog
87Extra-Source-Files:
88 -- code to create pandoc.1 man page
89 MakeManPage.hs,
90 man/man1/pandoc.1.template,
91 man/man5/pandoc_markdown.5.template,
92 -- generated man pages (produced post-build)
93 man/man1/pandoc.1,
94 man/man5/pandoc_markdown.5,
95 -- benchmarks
96 Benchmark.hs,
97 -- tests
98 tests/bodybg.gif,
99 tests/html-reader.html,
100 tests/html-reader.native,
101 tests/insert,
102 tests/lalune.jpg,
103 tests/movie.jpg,
104 tests/biblio.bib,
105 tests/chicago-author-date.csl,
106 tests/ieee.csl,
107 tests/mhra.csl,
108 tests/latex-reader.latex,
109 tests/latex-reader.native,
110 tests/textile-reader.textile,
111 tests/textile-reader.native,
112 tests/markdown-reader-more.txt,
113 tests/markdown-reader-more.native,
114 tests/markdown-citations.txt,
115 tests/markdown-citations.chicago-author-date.txt,
116 tests/markdown-citations.mhra.txt,
117 tests/markdown-citations.ieee.txt,
118 tests/textile-reader.textile,
119 tests/rst-reader.native,
120 tests/rst-reader.rst,
121 tests/s5.basic.html,
122 tests/s5.fancy.html,
123 tests/s5.fragment.html,
124 tests/s5.inserts.html,
125 tests/s5.native,
126 tests/tables.context,
127 tests/tables.docbook,
128 tests/tables.html,
129 tests/tables.latex,
130 tests/tables.man,
131 tests/tables.plain,
132 tests/tables.markdown,
133 tests/tables.mediawiki,
134 tests/tables.textile,
135 tests/tables.native,
136 tests/tables.opendocument,
137 tests/tables.org,
138 tests/tables.asciidoc,
139 tests/tables.texinfo,
140 tests/tables.rst,
141 tests/tables.rtf,
142 tests/tables.txt,
143 tests/tables-rstsubset.native,
144 tests/testsuite.native,
145 tests/testsuite.txt,
146 tests/writer.latex,
147 tests/writer.context,
148 tests/writer.docbook,
149 tests/writer.html,
150 tests/writer.man,
151 tests/writer.markdown,
152 tests/writer.plain,
153 tests/writer.mediawiki,
154 tests/writer.textile,
155 tests/writer.native,
156 tests/writer.opendocument,
157 tests/writer.org,
158 tests/writer.asciidoc,
159 tests/writer.rst,
160 tests/writer.rtf,
161 tests/writer.texinfo,
162 tests/lhs-test.native,
163 tests/lhs-test.markdown,
164 tests/lhs-test.markdown+lhs,
165 tests/lhs-test.rst,
166 tests/lhs-test.rst+lhs,
167 tests/lhs-test.latex,
168 tests/lhs-test.latex+lhs,
169 tests/lhs-test.html,
170 tests/lhs-test.html+lhs,
171 tests/lhs-test.fragment.html+lhs
172Extra-Tmp-Files: man/man1/pandoc.1,
173 man/man5/pandoc_markdown.5
175Source-repository head
176 type: git
177 location: git://github.com/jgm/pandoc.git
179Flag executable
180 Description: Build the pandoc executable.
181 Default: True
182Flag library
183 Description: Build the pandoc library.
184 Default: True
185Flag tests
186 Description: Build test-pandoc.
187 Default: False
188Flag blaze_html_0_5
189 Description: Use blaze-html 0.5 and blaze-markup 0.5
190 Default: False
192Library
193 -- Note: the following is duplicated in all stanzas.
194 -- It needs to be duplicated because of the library & executable flags.
195 -- BEGIN DUPLICATED SECTION
196 Build-Depends: containers >= 0.1 && < 0.5,
197 parsec >= 3.1 && < 3.2,
198 mtl >= 1.1 && < 2.2,
199 network >= 2 && < 2.4,
200 filepath >= 1.1 && < 1.4,
201 process >= 1 && < 1.2,
202 directory >= 1 && < 1.2,
203 bytestring >= 0.9 && < 1.0,
204 zip-archive >= 0.1.1.7 && < 0.2,
205 utf8-string >= 0.3 && < 0.4,
206 old-locale >= 1 && < 1.1,
207 time >= 1.2 && < 1.5,
208 HTTP >= 4000.0.5 && < 4000.3,
209 texmath >= 0.6.0.2 && < 0.7,
210 xml >= 1.3.12 && < 1.4,
211 random >= 1 && < 1.1,
212 extensible-exceptions >= 0.1 && < 0.2,
213 citeproc-hs >= 0.3.4 && < 0.4,
214 pandoc-types >= 1.9.0.2 && < 1.10,
215 json >= 0.4 && < 0.6,
216 tagsoup >= 0.12.5 && < 0.13,
217 base64-bytestring >= 0.1 && < 0.2,
218 zlib >= 0.5 && < 0.6,
219 highlighting-kate >= 0.5.0.2 && < 0.6,
220 temporary >= 1.1 && < 1.2
221 if flag(blaze_html_0_5)
222 build-depends:
223 blaze-html >= 0.5 && < 0.6,
224 blaze-markup >= 0.5.1 && < 0.6
225 else
226 build-depends:
227 blaze-html >= 0.4.3.0 && < 0.5
228 if impl(ghc >= 6.10)
229 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
230 else
231 Build-depends: base >= 3 && < 4
232 if impl(ghc >= 6.12)
233 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
234 else
235 Ghc-Options: -O2 -Wall
236 if impl(ghc >= 7.0.1)
237 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
238 else
239 Ghc-Prof-Options: -auto-all -caf-all
240 Default-Language: Haskell98
241 Default-Extensions: CPP
242 Other-Extensions: PatternGuards, OverloadedStrings,
243 ScopedTypeVariables, GeneralizedNewtypeDeriving,
244 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
245 FlexibleInstances
246 Hs-Source-Dirs: src
247 -- END DUPLICATED SECTION
249 Exposed-Modules: Text.Pandoc,
250 Text.Pandoc.Pretty,
251 Text.Pandoc.Shared,
252 Text.Pandoc.Parsing,
253 Text.Pandoc.Highlighting,
254 Text.Pandoc.Readers.HTML,
255 Text.Pandoc.Readers.LaTeX,
256 Text.Pandoc.Readers.Markdown,
257 Text.Pandoc.Readers.RST,
258 Text.Pandoc.Readers.DocBook,
259 Text.Pandoc.Readers.TeXMath,
260 Text.Pandoc.Readers.Textile,
261 Text.Pandoc.Readers.Native,
262 Text.Pandoc.Writers.Native,
263 Text.Pandoc.Writers.Docbook,
264 Text.Pandoc.Writers.HTML,
265 Text.Pandoc.Writers.LaTeX,
266 Text.Pandoc.Writers.ConTeXt,
267 Text.Pandoc.Writers.OpenDocument,
268 Text.Pandoc.Writers.Texinfo,
269 Text.Pandoc.Writers.Man,
270 Text.Pandoc.Writers.Markdown,
271 Text.Pandoc.Writers.RST,
272 Text.Pandoc.Writers.Org,
273 Text.Pandoc.Writers.AsciiDoc,
274 Text.Pandoc.Writers.Textile,
275 Text.Pandoc.Writers.MediaWiki,
276 Text.Pandoc.Writers.RTF,
277 Text.Pandoc.Writers.ODT,
278 Text.Pandoc.Writers.Docx,
279 Text.Pandoc.Writers.EPUB,
280 Text.Pandoc.PDF,
281 Text.Pandoc.Templates,
282 Text.Pandoc.Biblio,
283 Text.Pandoc.SelfContained
284 Other-Modules: Text.Pandoc.XML,
285 Text.Pandoc.UTF8,
286 Text.Pandoc.MIME,
287 Text.Pandoc.UUID,
288 Text.Pandoc.ImageSize,
289 Text.Pandoc.Slides,
290 Paths_pandoc
292 if flag(library)
293 Buildable: True
294 else
295 Buildable: False
297Executable pandoc
298 -- Note: the following is duplicated in all stanzas.
299 -- It needs to be duplicated because of the library & executable flags.
300 -- BEGIN DUPLICATED SECTION
301 Build-Depends: containers >= 0.1 && < 0.5,
302 parsec >= 3.1 && < 3.2,
303 mtl >= 1.1 && < 2.2,
304 network >= 2 && < 2.4,
305 filepath >= 1.1 && < 1.4,
306 process >= 1 && < 1.2,
307 directory >= 1 && < 1.2,
308 bytestring >= 0.9 && < 1.0,
309 zip-archive >= 0.1.1.7 && < 0.2,
310 utf8-string >= 0.3 && < 0.4,
311 old-locale >= 1 && < 1.1,
312 time >= 1.2 && < 1.5,
313 HTTP >= 4000.0.5 && < 4000.3,
314 texmath >= 0.6.0.2 && < 0.7,
315 xml >= 1.3.12 && < 1.4,
316 random >= 1 && < 1.1,
317 extensible-exceptions >= 0.1 && < 0.2,
318 citeproc-hs >= 0.3.4 && < 0.4,
319 pandoc-types >= 1.9.0.2 && < 1.10,
320 json >= 0.4 && < 0.6,
321 tagsoup >= 0.12.5 && < 0.13,
322 base64-bytestring >= 0.1 && < 0.2,
323 zlib >= 0.5 && < 0.6,
324 highlighting-kate >= 0.5.0.2 && < 0.6,
325 temporary >= 1.1 && < 1.2
326 if flag(blaze_html_0_5)
327 build-depends:
328 blaze-html >= 0.5 && < 0.6,
329 blaze-markup >= 0.5.1 && < 0.6
330 else
331 build-depends:
332 blaze-html >= 0.4.3.0 && < 0.5
333 if impl(ghc >= 6.10)
334 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
335 else
336 Build-depends: base >= 3 && < 4
337 if impl(ghc >= 6.12)
338 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
339 else
340 Ghc-Options: -O2 -Wall
341 if impl(ghc >= 7.0.1)
342 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
343 else
344 Ghc-Prof-Options: -auto-all -caf-all
345 Default-Language: Haskell98
346 Default-Extensions: CPP
347 Other-Extensions: PatternGuards, OverloadedStrings,
348 ScopedTypeVariables, GeneralizedNewtypeDeriving,
349 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
350 FlexibleInstances
351 Hs-Source-Dirs: src
352 -- END DUPLICATED SECTION
354 Main-Is: pandoc.hs
355 if flag(executable)
356 Buildable: True
357 else
358 Buildable: False
360Executable test-pandoc
361 Main-Is: test-pandoc.hs
362 -- Note: the following is duplicated in all stanzas.
363 -- It needs to be duplicated because of the library & executable flags.
364 -- BEGIN DUPLICATED SECTION
365 Build-Depends: containers >= 0.1 && < 0.5,
366 parsec >= 3.1 && < 3.2,
367 mtl >= 1.1 && < 2.2,
368 network >= 2 && < 2.4,
369 filepath >= 1.1 && < 1.4,
370 process >= 1 && < 1.2,
371 directory >= 1 && < 1.2,
372 bytestring >= 0.9 && < 1.0,
373 zip-archive >= 0.1.1.7 && < 0.2,
374 utf8-string >= 0.3 && < 0.4,
375 old-locale >= 1 && < 1.1,
376 time >= 1.2 && < 1.5,
377 HTTP >= 4000.0.5 && < 4000.3,
378 texmath >= 0.6.0.2 && < 0.7,
379 xml >= 1.3.12 && < 1.4,
380 random >= 1 && < 1.1,
381 extensible-exceptions >= 0.1 && < 0.2,
382 citeproc-hs >= 0.3.4 && < 0.4,
383 pandoc-types >= 1.9.0.2 && < 1.10,
384 json >= 0.4 && < 0.6,
385 tagsoup >= 0.12.5 && < 0.13,
386 base64-bytestring >= 0.1 && < 0.2,
387 zlib >= 0.5 && < 0.6,
388 highlighting-kate >= 0.5.0.2 && < 0.6,
389 temporary >= 1.1 && < 1.2
390 if flag(blaze_html_0_5)
391 build-depends:
392 blaze-html >= 0.5 && < 0.6,
393 blaze-markup >= 0.5.1 && < 0.6
394 else
395 build-depends:
396 blaze-html >= 0.4.3.0 && < 0.5
397 if impl(ghc >= 6.10)
398 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
399 else
400 Build-depends: base >= 3 && < 4
401 if impl(ghc >= 6.12)
402 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
403 else
404 Ghc-Options: -O2 -Wall
405 if impl(ghc >= 7.0.1)
406 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
407 else
408 Ghc-Prof-Options: -auto-all -caf-all
409 Default-Language: Haskell98
410 Default-Extensions: CPP
411 Other-Extensions: PatternGuards, OverloadedStrings,
412 ScopedTypeVariables, GeneralizedNewtypeDeriving,
413 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
414 FlexibleInstances
415 Hs-Source-Dirs: src
416 -- END DUPLICATED SECTION
417 if !flag(tests)
418 Buildable: False
419 else
420 Buildable: True
421 if impl(ghc >= 7)
422 cpp-options: -D_LIT=lit
423 else
424 cpp-options: -D_LIT=$lit
425 Other-Extensions: TemplateHaskell, QuasiQuotes
426 Build-Depends: Diff, test-framework >= 0.3 && < 0.7,
427 test-framework-hunit >= 0.2 && < 0.3,
428 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
429 QuickCheck >= 2.4 && < 2.6,
430 HUnit >= 1.2 && < 1.3,
431 template-haskell >= 2.4 && < 2.8,
432 ansi-terminal == 0.5.*
433 Other-Modules: Tests.Old
434 Tests.Helpers
435 Tests.Arbitrary
436 Tests.Shared
437 Tests.Readers.LaTeX
438 Tests.Readers.Markdown
439 Tests.Readers.RST
440 Tests.Writers.Native
441 Tests.Writers.ConTeXt
442 Tests.Writers.HTML
443 Tests.Writers.Markdown