git.iko.soy/typeable/pandoc
on 1.15.0.5 help sign in
typeable/pandoc/pandoc.cabal
486 lines 20 kB history raw
1Name: pandoc
2Version: 1.15.0.5
3Cabal-Version: >= 1.10
4Build-Type: Custom
5License: GPL
6License-File: COPYING
7Copyright: (c) 2006-2015 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://pandoc.org
13Category: Text
14Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.2
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) HTML,
19 reStructuredText, LaTeX, DocBook, MediaWiki markup, TWiki
20 markup, Haddock markup, OPML, Emacs Org-Mode, txt2tags and
21 Textile, and it can write markdown, reStructuredText, XHTML,
22 HTML 5, LaTeX, ConTeXt, DocBook, OPML, OpenDocument, ODT,
23 Word docx, RTF, MediaWiki, DokuWiki, Textile, groff man
24 pages, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
25 EPUB (v2 and v3), FictionBook2, InDesign ICML, and several
26 kinds of HTML/javascript slide shows (S5, Slidy, Slideous,
27 DZSlides, reveal.js).
28 .
29 Pandoc extends standard markdown syntax with footnotes,
30 embedded LaTeX, definition lists, tables, and other
31 features. A compatibility mode is provided for those
32 who need a drop-in replacement for Markdown.pl.
33 .
34 In contrast to existing tools for converting markdown
35 to HTML, which use regex substitutions, pandoc has
36 a modular design: it consists of a set of readers,
37 which parse text in a given format and produce a native
38 representation of the document, and a set of writers,
39 which convert this native representation into a target
40 format. Thus, adding an input or output format requires
41 only adding a reader or writer.
42Data-Files:
43 -- templates
44 data/templates/default.html
45 data/templates/default.html5
46 data/templates/default.docbook
47 data/templates/default.beamer
48 data/templates/default.opendocument
49 data/templates/default.icml
50 data/templates/default.opml
51 data/templates/default.latex
52 data/templates/default.context
53 data/templates/default.texinfo
54 data/templates/default.man
55 data/templates/default.markdown
56 data/templates/default.commonmark
57 data/templates/default.rst
58 data/templates/default.plain
59 data/templates/default.mediawiki
60 data/templates/default.dokuwiki
61 data/templates/default.rtf
62 data/templates/default.s5
63 data/templates/default.slidy
64 data/templates/default.slideous
65 data/templates/default.revealjs
66 data/templates/default.dzslides
67 data/templates/default.asciidoc
68 data/templates/default.haddock
69 data/templates/default.textile
70 data/templates/default.org
71 data/templates/default.epub
72 data/templates/default.epub3
73 -- source files for reference.docx
74 data/docx/[Content_Types].xml
75 data/docx/_rels/.rels
76 data/docx/docProps/app.xml
77 data/docx/docProps/core.xml
78 data/docx/word/document.xml
79 data/docx/word/fontTable.xml
80 data/docx/word/footnotes.xml
81 data/docx/word/numbering.xml
82 data/docx/word/settings.xml
83 data/docx/word/webSettings.xml
84 data/docx/word/styles.xml
85 data/docx/word/_rels/document.xml.rels
86 data/docx/word/_rels/footnotes.xml.rels
87 data/docx/word/theme/theme1.xml
88 -- source files for reference.odt
89 data/odt/mimetype
90 data/odt/manifest.rdf
91 data/odt/styles.xml
92 data/odt/content.xml
93 data/odt/meta.xml
94 data/odt/settings.xml
95 data/odt/Configurations2/accelerator/current.xml
96 data/odt/Thumbnails/thumbnail.png
97 data/odt/META-INF/manifest.xml
98 -- stylesheet for EPUB writer
99 data/epub.css
100 -- data for LaTeXMathML writer
101 data/LaTeXMathML.js
102 data/MathMLinHTML.js
103 -- data for dzslides writer
104 data/dzslides/template.html
105 -- sample lua custom writer
106 data/sample.lua
107 -- documentation
108 README, COPYRIGHT
109Extra-Source-Files:
110 -- documentation
111 INSTALL, BUGS, CONTRIBUTING.md, changelog
112 man/pandoc.1
113 -- files needed to build man page
114 man/capitalizeHeaders.hs
115 man/removeNotes.hs
116 man/removeLinks.hs
117 man/pandoc.1.template
118 -- trypandoc
119 trypandoc/Makefile
120 trypandoc/index.html
121 -- tests
122 tests/bodybg.gif
123 tests/*.native
124 tests/docbook-reader.docbook
125 tests/html-reader.html
126 tests/opml-reader.opml
127 tests/haddock-reader.haddock
128 tests/insert
129 tests/lalune.jpg
130 tests/movie.jpg
131 tests/media/rId25.jpg
132 tests/media/rId26.jpg
133 tests/media/rId27.jpg
134 tests/latex-reader.latex
135 tests/textile-reader.textile
136 tests/markdown-reader-more.txt
137 tests/markdown-citations.txt
138 tests/textile-reader.textile
139 tests/mediawiki-reader.wiki
140 tests/rst-reader.rst
141 tests/s5-basic.html
142 tests/s5-fancy.html
143 tests/s5-fragment.html
144 tests/s5-inserts.html
145 tests/tables.context
146 tests/tables.docbook
147 tests/tables.dokuwiki
148 tests/tables.icml
149 tests/tables.html
150 tests/tables.latex
151 tests/tables.man
152 tests/tables.plain
153 tests/tables.markdown
154 tests/tables.mediawiki
155 tests/tables.textile
156 tests/tables.opendocument
157 tests/tables.org
158 tests/tables.asciidoc
159 tests/tables.haddock
160 tests/tables.texinfo
161 tests/tables.rst
162 tests/tables.rtf
163 tests/tables.txt
164 tests/tables.fb2
165 tests/testsuite.txt
166 tests/writer.latex
167 tests/writer.context
168 tests/writer.docbook
169 tests/writer.html
170 tests/writer.man
171 tests/writer.markdown
172 tests/writer.plain
173 tests/writer.mediawiki
174 tests/writer.textile
175 tests/writer.opendocument
176 tests/writer.org
177 tests/writer.asciidoc
178 tests/writer.haddock
179 tests/writer.rst
180 tests/writer.icml
181 tests/writer.rtf
182 tests/writer.texinfo
183 tests/writer.fb2
184 tests/writer.opml
185 tests/writer.dokuwiki
186 tests/dokuwiki_inline_formatting.dokuwiki
187 tests/lhs-test.markdown
188 tests/lhs-test.markdown+lhs
189 tests/lhs-test.rst
190 tests/lhs-test.rst+lhs
191 tests/lhs-test.latex
192 tests/lhs-test.latex+lhs
193 tests/lhs-test.html
194 tests/lhs-test.html+lhs
195 tests/lhs-test.fragment.html+lhs
196 tests/pipe-tables.txt
197 tests/dokuwiki_external_images.dokuwiki
198 tests/dokuwiki_external_images.native
199 tests/dokuwiki_multiblock_table.dokuwiki
200 tests/dokuwiki_multiblock_table.native
201 tests/fb2/*.markdown
202 tests/fb2/*.fb2
203 tests/fb2/images-embedded.html
204 tests/fb2/images-embedded.fb2
205 tests/fb2/test-small.png
206 tests/fb2/test.jpg
207 tests/docx/*.docx
208 tests/docx/*.native
209 tests/epub/*.epub
210 tests/epub/*.native
211 tests/txt2tags.t2t
212 tests/twiki-reader.twiki
214Source-repository head
215 type: git
216 location: git://github.com/jgm/pandoc.git
218Flag embed_data_files
219 Description: Embed data files in binary for relocatable executable.
220 Default: False
222Flag trypandoc
223 Description: Build trypandoc cgi executable.
224 Default: False
226Flag https
227 Description: Enable support for downloading of resources over https.
228 Default: True
230Flag network-uri
231 Description: Get Network.URI from the network-uri package
232 Default: True
234Flag old-locale
235 Description: Use old-locale and time < 1.5
236 Default: True
238Library
239 Build-Depends: base >= 4.2 && <5,
240 syb >= 0.1 && < 0.6,
241 containers >= 0.1 && < 0.6,
242 unordered-containers >= 0.2 && < 0.3,
243 array >= 0.3 && < 0.6,
244 parsec >= 3.1 && < 3.2,
245 mtl >= 1.1 && < 2.3,
246 filepath >= 1.1 && < 1.5,
247 process >= 1 && < 1.3,
248 directory >= 1 && < 1.3,
249 bytestring >= 0.9 && < 0.11,
250 text >= 0.11 && < 1.3,
251 zip-archive >= 0.2.3.4 && < 0.3,
252 HTTP >= 4000.0.5 && < 4000.3,
253 texmath >= 0.8.1 && < 0.9,
254 xml >= 1.3.12 && < 1.4,
255 random >= 1 && < 1.2,
256 extensible-exceptions >= 0.1 && < 0.2,
257 pandoc-types >= 1.12.4 && < 1.13,
258 aeson >= 0.7 && < 0.10,
259 tagsoup >= 0.13.1 && < 0.14,
260 base64-bytestring >= 0.1 && < 1.1,
261 zlib >= 0.5 && < 0.7,
262 highlighting-kate >= 0.6 && < 0.7,
263 data-default >= 0.4 && < 0.6,
264 temporary >= 1.1 && < 1.3,
265 blaze-html >= 0.5 && < 0.9,
266 blaze-markup >= 0.5.1 && < 0.8,
267 yaml >= 0.8.8.2 && < 0.9,
268 scientific >= 0.2 && < 0.4,
269 vector >= 0.10 && < 0.11,
270 hslua >= 0.3 && < 0.5,
271 binary >= 0.5 && < 0.8,
272 SHA >= 1.6 && < 1.7,
273 haddock-library >= 1.1 && < 1.3,
274 old-time,
275 deepseq-generics >= 0.1 && < 0.2,
276 JuicyPixels >= 3.1.6.1 && < 3.3,
277 filemanip >= 0.3 && < 0.4,
278 cmark >= 0.3.4 && < 0.4
279 if flag(old-locale)
280 Build-Depends: old-locale >= 1 && < 1.1,
281 time >= 1.2 && < 1.5
282 else
283 Build-Depends: time >= 1.5 && < 1.6
284 if flag(network-uri)
285 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
286 else
287 Build-Depends: network >= 2 && < 2.6
288 if flag(https)
289 Build-Depends: http-client >= 0.3.2 && < 0.5,
290 http-client-tls >= 0.2 && < 0.3,
291 http-types >= 0.8 && < 0.9
292 cpp-options: -DHTTP_CLIENT
293 if flag(embed_data_files)
294 cpp-options: -DEMBED_DATA_FILES
295 Build-Tools: hsb2hs >= 0.3.1
296 other-modules: Text.Pandoc.Data
297 if os(windows)
298 Cpp-options: -D_WINDOWS
299 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
300 Ghc-Prof-Options: -fprof-auto-exported -rtsopts
301 Default-Language: Haskell98
302 Other-Extensions: PatternGuards, OverloadedStrings,
303 ScopedTypeVariables, GeneralizedNewtypeDeriving,
304 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
305 FlexibleInstances
306 Hs-Source-Dirs: src
308 Exposed-Modules: Text.Pandoc,
309 Text.Pandoc.Options,
310 Text.Pandoc.Pretty,
311 Text.Pandoc.Shared,
312 Text.Pandoc.MediaBag,
313 Text.Pandoc.Error,
314 Text.Pandoc.Readers.HTML,
315 Text.Pandoc.Readers.LaTeX,
316 Text.Pandoc.Readers.Markdown,
317 Text.Pandoc.Readers.CommonMark,
318 Text.Pandoc.Readers.MediaWiki,
319 Text.Pandoc.Readers.RST,
320 Text.Pandoc.Readers.Org,
321 Text.Pandoc.Readers.DocBook,
322 Text.Pandoc.Readers.OPML,
323 Text.Pandoc.Readers.TeXMath,
324 Text.Pandoc.Readers.Textile,
325 Text.Pandoc.Readers.Native,
326 Text.Pandoc.Readers.Haddock,
327 Text.Pandoc.Readers.TWiki,
328 Text.Pandoc.Readers.Txt2Tags,
329 Text.Pandoc.Readers.Docx,
330 Text.Pandoc.Readers.EPUB,
331 Text.Pandoc.Writers.Native,
332 Text.Pandoc.Writers.Docbook,
333 Text.Pandoc.Writers.OPML,
334 Text.Pandoc.Writers.HTML,
335 Text.Pandoc.Writers.ICML,
336 Text.Pandoc.Writers.LaTeX,
337 Text.Pandoc.Writers.ConTeXt,
338 Text.Pandoc.Writers.OpenDocument,
339 Text.Pandoc.Writers.Texinfo,
340 Text.Pandoc.Writers.Man,
341 Text.Pandoc.Writers.Markdown,
342 Text.Pandoc.Writers.CommonMark,
343 Text.Pandoc.Writers.Haddock,
344 Text.Pandoc.Writers.RST,
345 Text.Pandoc.Writers.Org,
346 Text.Pandoc.Writers.AsciiDoc,
347 Text.Pandoc.Writers.Custom,
348 Text.Pandoc.Writers.Textile,
349 Text.Pandoc.Writers.MediaWiki,
350 Text.Pandoc.Writers.DokuWiki,
351 Text.Pandoc.Writers.RTF,
352 Text.Pandoc.Writers.ODT,
353 Text.Pandoc.Writers.Docx,
354 Text.Pandoc.Writers.EPUB,
355 Text.Pandoc.Writers.FB2,
356 Text.Pandoc.PDF,
357 Text.Pandoc.UTF8,
358 Text.Pandoc.Templates,
359 Text.Pandoc.XML,
360 Text.Pandoc.SelfContained,
361 Text.Pandoc.Process
362 Other-Modules: Text.Pandoc.Readers.Docx.Lists,
363 Text.Pandoc.Readers.Docx.Reducible,
364 Text.Pandoc.Readers.Docx.Parse,
365 Text.Pandoc.Readers.Docx.Fonts,
366 Text.Pandoc.Readers.Docx.Util,
367 Text.Pandoc.Readers.Docx.StyleMap
368 Text.Pandoc.Writers.Shared,
369 Text.Pandoc.Asciify,
370 Text.Pandoc.MIME,
371 Text.Pandoc.Parsing,
372 Text.Pandoc.UUID,
373 Text.Pandoc.ImageSize,
374 Text.Pandoc.Slides,
375 Text.Pandoc.Highlighting,
376 Text.Pandoc.Compat.Locale,
377 Text.Pandoc.Compat.Monoid,
378 Text.Pandoc.Compat.Except,
379 Text.Pandoc.Compat.TagSoupEntity,
380 Text.Pandoc.Compat.Directory
381 Paths_pandoc
383 Buildable: True
385Executable pandoc
386 Build-Depends: pandoc,
387 pandoc-types >= 1.12.4 && < 1.13,
388 base >= 4.2 && <5,
389 directory >= 1 && < 1.3,
390 filepath >= 1.1 && < 1.5,
391 text >= 0.11 && < 1.3,
392 bytestring >= 0.9 && < 0.11,
393 extensible-exceptions >= 0.1 && < 0.2,
394 highlighting-kate >= 0.6 && < 0.7,
395 aeson >= 0.7.0.5 && < 0.10,
396 yaml >= 0.8.8.2 && < 0.9,
397 containers >= 0.1 && < 0.6,
398 HTTP >= 4000.0.5 && < 4000.3
399 if flag(network-uri)
400 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
401 else
402 Build-Depends: network >= 2 && < 2.6
403 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
404 Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
405 if os(windows)
406 Cpp-options: -D_WINDOWS
407 Default-Language: Haskell98
408 Other-Extensions: PatternGuards, OverloadedStrings,
409 ScopedTypeVariables, GeneralizedNewtypeDeriving,
410 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
411 FlexibleInstances
412 Hs-Source-Dirs: .
413 Main-Is: pandoc.hs
414 Buildable: True
416Executable trypandoc
417 Main-Is: trypandoc.hs
418 Hs-Source-Dirs: trypandoc
419 default-language: Haskell2010
420 if flag(trypandoc)
421 Build-Depends: base, aeson, pandoc, highlighting-kate,
422 text, wai-extra, wai >= 0.3, http-types
423 Buildable: True
424 else
425 Buildable: False
427Test-Suite test-pandoc
428 Type: exitcode-stdio-1.0
429 Main-Is: test-pandoc.hs
430 Hs-Source-Dirs: tests
431 Build-Depends: base >= 4.2 && < 5,
432 syb >= 0.1 && < 0.6,
433 pandoc,
434 pandoc-types >= 1.12.4 && < 1.13,
435 bytestring >= 0.9 && < 0.11,
436 text >= 0.11 && < 1.3,
437 directory >= 1 && < 1.3,
438 filepath >= 1.1 && < 1.5,
439 process >= 1 && < 1.3,
440 highlighting-kate >= 0.6 && < 0.7,
441 Diff >= 0.2 && < 0.4,
442 test-framework >= 0.3 && < 0.9,
443 test-framework-hunit >= 0.2 && < 0.4,
444 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
445 QuickCheck >= 2.4 && < 2.9,
446 HUnit >= 1.2 && < 1.3,
447 containers >= 0.1 && < 0.6,
448 ansi-terminal >= 0.5 && < 0.7,
449 executable-path >= 0.0 && < 0.1,
450 zip-archive >= 0.2.3.4 && < 0.3
451 Other-Modules: Tests.Old
452 Tests.Helpers
453 Tests.Arbitrary
454 Tests.Shared
455 Tests.Walk
456 Tests.Readers.LaTeX
457 Tests.Readers.HTML
458 Tests.Readers.Markdown
459 Tests.Readers.Org
460 Tests.Readers.RST
461 Tests.Readers.Docx
462 Tests.Readers.Txt2Tags
463 Tests.Readers.EPUB
464 Tests.Writers.Native
465 Tests.Writers.ConTeXt
466 Tests.Writers.Docbook
467 Tests.Writers.HTML
468 Tests.Writers.Markdown
469 Tests.Writers.Plain
470 Tests.Writers.AsciiDoc
471 Tests.Writers.LaTeX
472 Tests.Writers.Docx
473 Tests.Writers.RST
474 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
475 Default-Language: Haskell98
477benchmark benchmark-pandoc
478 Type: exitcode-stdio-1.0
479 Main-Is: benchmark-pandoc.hs
480 Hs-Source-Dirs: benchmark
481 Build-Depends: pandoc,
482 base >= 4.2 && < 5,
483 syb >= 0.1 && < 0.6,
484 criterion >= 0.5 && < 1.1
485 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
486 Default-Language: Haskell98