git.iko.soy/typeable/pandoc
on 1.14.1 help sign in
typeable/pandoc/pandoc.cabal
484 lines 20 kB history raw
1Name: pandoc
2Version: 1.14.1
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
109 -- man page templates
110 data/pandoc.1.template
111 data/pandoc_markdown.5.template
112Extra-Source-Files:
113 -- documentation
114 INSTALL, BUGS, CONTRIBUTING.md, changelog
115 -- trypandoc
116 trypandoc/Makefile
117 trypandoc/index.html
118 -- tests
119 tests/bodybg.gif
120 tests/*.native
121 tests/docbook-reader.docbook
122 tests/html-reader.html
123 tests/opml-reader.opml
124 tests/haddock-reader.haddock
125 tests/insert
126 tests/lalune.jpg
127 tests/movie.jpg
128 tests/media/rId25.jpg
129 tests/media/rId26.jpg
130 tests/media/rId27.jpg
131 tests/latex-reader.latex
132 tests/textile-reader.textile
133 tests/markdown-reader-more.txt
134 tests/markdown-citations.txt
135 tests/textile-reader.textile
136 tests/mediawiki-reader.wiki
137 tests/rst-reader.rst
138 tests/s5-basic.html
139 tests/s5-fancy.html
140 tests/s5-fragment.html
141 tests/s5-inserts.html
142 tests/tables.context
143 tests/tables.docbook
144 tests/tables.dokuwiki
145 tests/tables.icml
146 tests/tables.html
147 tests/tables.latex
148 tests/tables.man
149 tests/tables.plain
150 tests/tables.markdown
151 tests/tables.mediawiki
152 tests/tables.textile
153 tests/tables.opendocument
154 tests/tables.org
155 tests/tables.asciidoc
156 tests/tables.haddock
157 tests/tables.texinfo
158 tests/tables.rst
159 tests/tables.rtf
160 tests/tables.txt
161 tests/tables.fb2
162 tests/testsuite.txt
163 tests/writer.latex
164 tests/writer.context
165 tests/writer.docbook
166 tests/writer.html
167 tests/writer.man
168 tests/writer.markdown
169 tests/writer.plain
170 tests/writer.mediawiki
171 tests/writer.textile
172 tests/writer.opendocument
173 tests/writer.org
174 tests/writer.asciidoc
175 tests/writer.haddock
176 tests/writer.rst
177 tests/writer.icml
178 tests/writer.rtf
179 tests/writer.texinfo
180 tests/writer.fb2
181 tests/writer.opml
182 tests/writer.dokuwiki
183 tests/dokuwiki_inline_formatting.dokuwiki
184 tests/lhs-test.markdown
185 tests/lhs-test.markdown+lhs
186 tests/lhs-test.rst
187 tests/lhs-test.rst+lhs
188 tests/lhs-test.latex
189 tests/lhs-test.latex+lhs
190 tests/lhs-test.html
191 tests/lhs-test.html+lhs
192 tests/lhs-test.fragment.html+lhs
193 tests/pipe-tables.txt
194 tests/dokuwiki_external_images.dokuwiki
195 tests/dokuwiki_external_images.native
196 tests/dokuwiki_multiblock_table.dokuwiki
197 tests/dokuwiki_multiblock_table.native
198 tests/fb2/*.markdown
199 tests/fb2/*.fb2
200 tests/fb2/images-embedded.html
201 tests/fb2/images-embedded.fb2
202 tests/fb2/test-small.png
203 tests/fb2/test.jpg
204 tests/docx/*.docx
205 tests/docx/*.native
206 tests/epub/*.epub
207 tests/epub/*.native
208 tests/txt2tags.t2t
209 tests/twiki-reader.twiki
211Source-repository head
212 type: git
213 location: git://github.com/jgm/pandoc.git
215Flag embed_data_files
216 Description: Embed data files in binary for relocatable executable.
217 Default: False
219Flag trypandoc
220 Description: Build trypandoc cgi executable.
221 Default: False
223Flag https
224 Description: Enable support for downloading of resources over https.
225 Default: True
227Flag network-uri
228 Description: Get Network.URI from the network-uri package
229 Default: True
231Flag old-locale
232 Description: Use old-locale and time < 1.5
233 Default: True
235Library
236 Build-Depends: base >= 4.2 && <5,
237 syb >= 0.1 && < 0.6,
238 containers >= 0.1 && < 0.6,
239 unordered-containers >= 0.2 && < 0.3,
240 array >= 0.3 && < 0.6,
241 parsec >= 3.1 && < 3.2,
242 mtl >= 1.1 && < 2.3,
243 filepath >= 1.1 && < 1.5,
244 process >= 1 && < 1.3,
245 directory >= 1 && < 1.3,
246 bytestring >= 0.9 && < 0.11,
247 text >= 0.11 && < 1.3,
248 zip-archive >= 0.2.3.4 && < 0.3,
249 HTTP >= 4000.0.5 && < 4000.3,
250 texmath >= 0.8.1 && < 0.9,
251 xml >= 1.3.12 && < 1.4,
252 random >= 1 && < 1.2,
253 extensible-exceptions >= 0.1 && < 0.2,
254 pandoc-types >= 1.12.4 && < 1.13,
255 aeson >= 0.7 && < 0.10,
256 tagsoup >= 0.13.1 && < 0.14,
257 base64-bytestring >= 0.1 && < 1.1,
258 zlib >= 0.5 && < 0.7,
259 highlighting-kate >= 0.6 && < 0.7,
260 data-default >= 0.4 && < 0.6,
261 temporary >= 1.1 && < 1.3,
262 blaze-html >= 0.5 && < 0.9,
263 blaze-markup >= 0.5.1 && < 0.8,
264 yaml >= 0.8.8.2 && < 0.9,
265 scientific >= 0.2 && < 0.4,
266 vector >= 0.10 && < 0.11,
267 hslua >= 0.3 && < 0.5,
268 binary >= 0.5 && < 0.8,
269 SHA >= 1.6 && < 1.7,
270 haddock-library >= 1.1 && < 1.3,
271 old-time,
272 deepseq-generics >= 0.1 && < 0.2,
273 JuicyPixels >= 3.1.6.1 && < 3.3,
274 filemanip >= 0.3 && < 0.4,
275 cmark >= 0.3.4 && < 0.4
276 if flag(old-locale)
277 Build-Depends: old-locale >= 1 && < 1.1,
278 time >= 1.2 && < 1.5
279 else
280 Build-Depends: time >= 1.5 && < 1.6
281 if flag(network-uri)
282 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
283 else
284 Build-Depends: network >= 2 && < 2.6
285 if flag(https)
286 Build-Depends: http-client >= 0.3.2 && < 0.5,
287 http-client-tls >= 0.2 && < 0.3,
288 http-types >= 0.8 && < 0.9
289 cpp-options: -DHTTP_CLIENT
290 if flag(embed_data_files)
291 cpp-options: -DEMBED_DATA_FILES
292 -- Build-Tools: hsb2hs -- not yet recognized by cabal
293 other-modules: Text.Pandoc.Data
294 if os(windows)
295 Cpp-options: -D_WINDOWS
296 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
297 Ghc-Prof-Options: -fprof-auto-exported -rtsopts
298 Default-Language: Haskell98
299 Other-Extensions: PatternGuards, OverloadedStrings,
300 ScopedTypeVariables, GeneralizedNewtypeDeriving,
301 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
302 FlexibleInstances
303 Hs-Source-Dirs: src
305 Exposed-Modules: Text.Pandoc,
306 Text.Pandoc.Options,
307 Text.Pandoc.Pretty,
308 Text.Pandoc.Shared,
309 Text.Pandoc.MediaBag,
310 Text.Pandoc.Error,
311 Text.Pandoc.Readers.HTML,
312 Text.Pandoc.Readers.LaTeX,
313 Text.Pandoc.Readers.Markdown,
314 Text.Pandoc.Readers.CommonMark,
315 Text.Pandoc.Readers.MediaWiki,
316 Text.Pandoc.Readers.RST,
317 Text.Pandoc.Readers.Org,
318 Text.Pandoc.Readers.DocBook,
319 Text.Pandoc.Readers.OPML,
320 Text.Pandoc.Readers.TeXMath,
321 Text.Pandoc.Readers.Textile,
322 Text.Pandoc.Readers.Native,
323 Text.Pandoc.Readers.Haddock,
324 Text.Pandoc.Readers.TWiki,
325 Text.Pandoc.Readers.Txt2Tags,
326 Text.Pandoc.Readers.Docx,
327 Text.Pandoc.Readers.EPUB,
328 Text.Pandoc.Writers.Native,
329 Text.Pandoc.Writers.Docbook,
330 Text.Pandoc.Writers.OPML,
331 Text.Pandoc.Writers.HTML,
332 Text.Pandoc.Writers.ICML,
333 Text.Pandoc.Writers.LaTeX,
334 Text.Pandoc.Writers.ConTeXt,
335 Text.Pandoc.Writers.OpenDocument,
336 Text.Pandoc.Writers.Texinfo,
337 Text.Pandoc.Writers.Man,
338 Text.Pandoc.Writers.Markdown,
339 Text.Pandoc.Writers.CommonMark,
340 Text.Pandoc.Writers.Haddock,
341 Text.Pandoc.Writers.RST,
342 Text.Pandoc.Writers.Org,
343 Text.Pandoc.Writers.AsciiDoc,
344 Text.Pandoc.Writers.Custom,
345 Text.Pandoc.Writers.Textile,
346 Text.Pandoc.Writers.MediaWiki,
347 Text.Pandoc.Writers.DokuWiki,
348 Text.Pandoc.Writers.RTF,
349 Text.Pandoc.Writers.ODT,
350 Text.Pandoc.Writers.Docx,
351 Text.Pandoc.Writers.EPUB,
352 Text.Pandoc.Writers.FB2,
353 Text.Pandoc.PDF,
354 Text.Pandoc.UTF8,
355 Text.Pandoc.Templates,
356 Text.Pandoc.XML,
357 Text.Pandoc.SelfContained,
358 Text.Pandoc.Process,
359 Text.Pandoc.ManPages
360 Other-Modules: Text.Pandoc.Readers.Docx.Lists,
361 Text.Pandoc.Readers.Docx.Reducible,
362 Text.Pandoc.Readers.Docx.Parse,
363 Text.Pandoc.Readers.Docx.Fonts,
364 Text.Pandoc.Readers.Docx.Util,
365 Text.Pandoc.Readers.Docx.StyleMap
366 Text.Pandoc.Writers.Shared,
367 Text.Pandoc.Asciify,
368 Text.Pandoc.MIME,
369 Text.Pandoc.Parsing,
370 Text.Pandoc.UUID,
371 Text.Pandoc.ImageSize,
372 Text.Pandoc.Slides,
373 Text.Pandoc.Highlighting,
374 Text.Pandoc.Compat.Locale,
375 Text.Pandoc.Compat.Monoid,
376 Text.Pandoc.Compat.Except,
377 Text.Pandoc.Compat.TagSoupEntity,
378 Text.Pandoc.Compat.Directory
379 Paths_pandoc
381 Buildable: True
383Executable pandoc
384 Build-Depends: pandoc,
385 pandoc-types >= 1.12.4 && < 1.13,
386 base >= 4.2 && <5,
387 directory >= 1 && < 1.3,
388 filepath >= 1.1 && < 1.5,
389 text >= 0.11 && < 1.3,
390 bytestring >= 0.9 && < 0.11,
391 extensible-exceptions >= 0.1 && < 0.2,
392 highlighting-kate >= 0.6 && < 0.7,
393 aeson >= 0.7.0.5 && < 0.10,
394 yaml >= 0.8.8.2 && < 0.9,
395 containers >= 0.1 && < 0.6,
396 HTTP >= 4000.0.5 && < 4000.3
397 if flag(network-uri)
398 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
399 else
400 Build-Depends: network >= 2 && < 2.6
401 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
402 Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
403 if os(windows)
404 Cpp-options: -D_WINDOWS
405 Default-Language: Haskell98
406 Other-Extensions: PatternGuards, OverloadedStrings,
407 ScopedTypeVariables, GeneralizedNewtypeDeriving,
408 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
409 FlexibleInstances
410 Hs-Source-Dirs: .
411 Main-Is: pandoc.hs
412 Buildable: True
414Executable trypandoc
415 Main-Is: trypandoc.hs
416 Hs-Source-Dirs: trypandoc
417 default-language: Haskell2010
418 if flag(trypandoc)
419 Build-Depends: base, aeson, pandoc, highlighting-kate,
420 text, wai-extra, wai >= 0.3, http-types
421 Buildable: True
422 else
423 Buildable: False
425Test-Suite test-pandoc
426 Type: exitcode-stdio-1.0
427 Main-Is: test-pandoc.hs
428 Hs-Source-Dirs: tests
429 Build-Depends: base >= 4.2 && < 5,
430 syb >= 0.1 && < 0.6,
431 pandoc,
432 pandoc-types >= 1.12.4 && < 1.13,
433 bytestring >= 0.9 && < 0.11,
434 text >= 0.11 && < 1.3,
435 directory >= 1 && < 1.3,
436 filepath >= 1.1 && < 1.5,
437 process >= 1 && < 1.3,
438 highlighting-kate >= 0.6 && < 0.7,
439 Diff >= 0.2 && < 0.4,
440 test-framework >= 0.3 && < 0.9,
441 test-framework-hunit >= 0.2 && < 0.4,
442 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
443 QuickCheck >= 2.4 && < 2.9,
444 HUnit >= 1.2 && < 1.3,
445 containers >= 0.1 && < 0.6,
446 ansi-terminal >= 0.5 && < 0.7,
447 executable-path >= 0.0 && < 0.1,
448 zip-archive >= 0.2.3.4 && < 0.3
449 Other-Modules: Tests.Old
450 Tests.Helpers
451 Tests.Arbitrary
452 Tests.Shared
453 Tests.Walk
454 Tests.Readers.LaTeX
455 Tests.Readers.HTML
456 Tests.Readers.Markdown
457 Tests.Readers.Org
458 Tests.Readers.RST
459 Tests.Readers.Docx
460 Tests.Readers.Txt2Tags
461 Tests.Readers.EPUB
462 Tests.Writers.Native
463 Tests.Writers.ConTeXt
464 Tests.Writers.Docbook
465 Tests.Writers.HTML
466 Tests.Writers.Markdown
467 Tests.Writers.Plain
468 Tests.Writers.AsciiDoc
469 Tests.Writers.LaTeX
470 Tests.Writers.Docx
471 Tests.Writers.RST
472 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
473 Default-Language: Haskell98
475benchmark benchmark-pandoc
476 Type: exitcode-stdio-1.0
477 Main-Is: benchmark-pandoc.hs
478 Hs-Source-Dirs: benchmark
479 Build-Depends: pandoc,
480 base >= 4.2 && < 5,
481 syb >= 0.1 && < 0.6,
482 criterion >= 0.5 && < 1.1
483 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
484 Default-Language: Haskell98