git.iko.soy/typeable/pandoc
on 1.13.2.1 help sign in
typeable/pandoc/pandoc.cabal
472 lines 19 kB history raw
1Name: pandoc
2Version: 1.13.2.1
3Cabal-Version: >= 1.10
4Build-Type: Custom
5License: GPL
6License-File: COPYING
7Copyright: (c) 2006-2014 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 == 7.4.2, GHC == 7.6.3, GHC == 7.8.2, GHC == 7.10.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) 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.rst
57 data/templates/default.plain
58 data/templates/default.mediawiki
59 data/templates/default.dokuwiki
60 data/templates/default.rtf
61 data/templates/default.s5
62 data/templates/default.slidy
63 data/templates/default.slideous
64 data/templates/default.revealjs
65 data/templates/default.dzslides
66 data/templates/default.asciidoc
67 data/templates/default.haddock
68 data/templates/default.textile
69 data/templates/default.org
70 data/templates/default.epub
71 data/templates/default.epub3
72 -- data for ODT writer
73 data/reference.odt
74 -- data for docx writer
75 data/reference.docx
76 -- stylesheet for EPUB writer
77 data/epub.css
78 -- data for LaTeXMathML writer
79 data/LaTeXMathML.js
80 data/MathMLinHTML.js
81 -- data for dzslides writer
82 data/dzslides/template.html
83 -- sample lua custom writer
84 data/sample.lua
85 -- documentation
86 README, COPYRIGHT
87Extra-Source-Files:
88 -- documentation
89 INSTALL, BUGS, CONTRIBUTING.md, changelog
90 -- code to create pandoc.1 man page
91 Makefile
92 man/man1/pandoc.1.template
93 man/man5/pandoc_markdown.5.template
94 -- generated man pages (produced post-build)
95 man/man1/pandoc.1
96 man/man5/pandoc_markdown.5
97 -- trypandoc
98 trypandoc/Makefile
99 trypandoc/index.html
100 -- tests
101 tests/bodybg.gif
102 tests/*.native
103 tests/docbook-reader.docbook
104 tests/html-reader.html
105 tests/opml-reader.opml
106 tests/haddock-reader.haddock
107 tests/insert
108 tests/lalune.jpg
109 tests/movie.jpg
110 tests/latex-reader.latex
111 tests/textile-reader.textile
112 tests/markdown-reader-more.txt
113 tests/markdown-citations.txt
114 tests/textile-reader.textile
115 tests/mediawiki-reader.wiki
116 tests/rst-reader.rst
117 tests/s5-basic.html
118 tests/s5-fancy.html
119 tests/s5-fragment.html
120 tests/s5-inserts.html
121 tests/tables.context
122 tests/tables.docbook
123 tests/tables.dokuwiki
124 tests/tables.icml
125 tests/tables.html
126 tests/tables.latex
127 tests/tables.man
128 tests/tables.plain
129 tests/tables.markdown
130 tests/tables.mediawiki
131 tests/tables.textile
132 tests/tables.opendocument
133 tests/tables.org
134 tests/tables.asciidoc
135 tests/tables.haddock
136 tests/tables.texinfo
137 tests/tables.rst
138 tests/tables.rtf
139 tests/tables.txt
140 tests/tables.fb2
141 tests/testsuite.txt
142 tests/writer.latex
143 tests/writer.context
144 tests/writer.docbook
145 tests/writer.html
146 tests/writer.man
147 tests/writer.markdown
148 tests/writer.plain
149 tests/writer.mediawiki
150 tests/writer.textile
151 tests/writer.opendocument
152 tests/writer.org
153 tests/writer.asciidoc
154 tests/writer.haddock
155 tests/writer.rst
156 tests/writer.icml
157 tests/writer.rtf
158 tests/writer.texinfo
159 tests/writer.fb2
160 tests/writer.opml
161 tests/writer.dokuwiki
162 tests/dokuwiki_inline_formatting.dokuwiki
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
172 tests/pipe-tables.txt
173 tests/dokuwiki_external_images.dokuwiki
174 tests/dokuwiki_external_images.native
175 tests/dokuwiki_multiblock_table.dokuwiki
176 tests/dokuwiki_multiblock_table.native
177 tests/fb2/*.markdown
178 tests/fb2/*.fb2
179 tests/fb2/images-embedded.html
180 tests/fb2/images-embedded.fb2
181 tests/fb2/test-small.png
182 tests/fb2/test.jpg
183 tests/docx/*.docx
184 tests/docx/*.native
185 tests/epub/*.epub
186 tests/epub/*.native
187 tests/txt2tags.t2t
188 tests/twiki-reader.twiki
190Source-repository head
191 type: git
192 location: git://github.com/jgm/pandoc.git
194Flag embed_data_files
195 Description: Embed data files in binary for relocatable executable.
196 Default: False
198Flag trypandoc
199 Description: Build trypandoc cgi executable.
200 Default: False
202Flag https
203 Description: Enable support for downloading of resources over https.
204 Default: True
206Flag make-pandoc-man-pages
207 Description: Build program to regenerate pandoc man pages from README.
208 Default: False
210Flag network-uri
211 Description: Get Network.URI from the network-uri package
212 Default: True
214Flag old-locale
215 Description: Use old-locale and time < 1.5
216 Default: True
218Library
219 Build-Depends: base >= 4.2 && <5,
220 syb >= 0.1 && < 0.5,
221 containers >= 0.1 && < 0.6,
222 unordered-containers >= 0.2 && < 0.3,
223 array >= 0.3 && < 0.6,
224 parsec >= 3.1 && < 3.2,
225 mtl >= 1.1 && < 2.3,
226 filepath >= 1.1 && < 1.5,
227 process >= 1 && < 1.3,
228 directory >= 1 && < 1.3,
229 bytestring >= 0.9 && < 0.11,
230 text >= 0.11 && < 1.3,
231 zip-archive >= 0.2.3.4 && < 0.3,
232 HTTP >= 4000.0.5 && < 4000.3,
233 texmath >= 0.8.0.1 && < 0.9,
234 xml >= 1.3.12 && < 1.4,
235 random >= 1 && < 1.2,
236 extensible-exceptions >= 0.1 && < 0.2,
237 pandoc-types >= 1.12.4 && < 1.13,
238 aeson >= 0.7 && < 0.9,
239 tagsoup >= 0.13.1 && < 0.14,
240 base64-bytestring >= 0.1 && < 1.1,
241 zlib >= 0.5 && < 0.6,
242 highlighting-kate >= 0.5.11.1 && < 0.6,
243 data-default >= 0.4 && < 0.6,
244 temporary >= 1.1 && < 1.3,
245 blaze-html >= 0.5 && < 0.9,
246 blaze-markup >= 0.5.1 && < 0.8,
247 yaml >= 0.8.8.2 && < 0.9,
248 scientific >= 0.2 && < 0.4,
249 vector >= 0.10 && < 0.11,
250 hslua >= 0.3 && < 0.4,
251 binary >= 0.5 && < 0.8,
252 SHA >= 1.6 && < 1.7,
253 haddock-library >= 1.1 && < 1.3,
254 old-time,
255 deepseq-generics >= 0.1 && < 0.2,
256 JuicyPixels >= 3.1.6.1 && < 3.3
257 if flag(old-locale)
258 Build-Depends: old-locale >= 1 && < 1.1,
259 time >= 1.2 && < 1.5
260 else
261 Build-Depends: time >= 1.5 && < 1.6
262 if flag(network-uri)
263 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
264 else
265 Build-Depends: network >= 2 && < 2.6
266 if flag(https)
267 Build-Depends: http-client >= 0.3.2 && < 0.5,
268 http-client-tls >= 0.2 && < 0.3,
269 http-types >= 0.8 && < 0.9
270 cpp-options: -DHTTP_CLIENT
271 if flag(embed_data_files)
272 cpp-options: -DEMBED_DATA_FILES
273 -- Build-Tools: hsb2hs -- not yet recognized by cabal
274 other-modules: Text.Pandoc.Data
275 if os(windows)
276 Cpp-options: -D_WINDOWS
277 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
278 Ghc-Prof-Options: -fprof-auto-exported -rtsopts
279 Default-Language: Haskell98
280 Other-Extensions: PatternGuards, OverloadedStrings,
281 ScopedTypeVariables, GeneralizedNewtypeDeriving,
282 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
283 FlexibleInstances
284 Hs-Source-Dirs: src
286 Exposed-Modules: Text.Pandoc,
287 Text.Pandoc.Options,
288 Text.Pandoc.Pretty,
289 Text.Pandoc.Shared,
290 Text.Pandoc.MediaBag,
291 Text.Pandoc.Readers.HTML,
292 Text.Pandoc.Readers.LaTeX,
293 Text.Pandoc.Readers.Markdown,
294 Text.Pandoc.Readers.MediaWiki,
295 Text.Pandoc.Readers.RST,
296 Text.Pandoc.Readers.Org,
297 Text.Pandoc.Readers.DocBook,
298 Text.Pandoc.Readers.OPML,
299 Text.Pandoc.Readers.TeXMath,
300 Text.Pandoc.Readers.Textile,
301 Text.Pandoc.Readers.Native,
302 Text.Pandoc.Readers.Haddock,
303 Text.Pandoc.Readers.TWiki,
304 Text.Pandoc.Readers.Docx,
305 Text.Pandoc.Readers.EPUB,
306 Text.Pandoc.Writers.Native,
307 Text.Pandoc.Writers.Docbook,
308 Text.Pandoc.Writers.OPML,
309 Text.Pandoc.Writers.HTML,
310 Text.Pandoc.Writers.ICML,
311 Text.Pandoc.Writers.LaTeX,
312 Text.Pandoc.Writers.ConTeXt,
313 Text.Pandoc.Writers.OpenDocument,
314 Text.Pandoc.Writers.Texinfo,
315 Text.Pandoc.Writers.Man,
316 Text.Pandoc.Writers.Markdown,
317 Text.Pandoc.Writers.Haddock,
318 Text.Pandoc.Writers.RST,
319 Text.Pandoc.Writers.Org,
320 Text.Pandoc.Writers.AsciiDoc,
321 Text.Pandoc.Writers.Custom,
322 Text.Pandoc.Writers.Textile,
323 Text.Pandoc.Writers.MediaWiki,
324 Text.Pandoc.Writers.DokuWiki,
325 Text.Pandoc.Writers.RTF,
326 Text.Pandoc.Writers.ODT,
327 Text.Pandoc.Writers.Docx,
328 Text.Pandoc.Writers.EPUB,
329 Text.Pandoc.Writers.FB2,
330 Text.Pandoc.PDF,
331 Text.Pandoc.UTF8,
332 Text.Pandoc.Templates,
333 Text.Pandoc.XML,
334 Text.Pandoc.SelfContained,
335 Text.Pandoc.Process,
336 Text.Pandoc.Readers.Txt2Tags
337 Other-Modules: Text.Pandoc.Readers.Docx.Lists,
338 Text.Pandoc.Readers.Docx.Reducible,
339 Text.Pandoc.Readers.Docx.Parse,
340 Text.Pandoc.Readers.Docx.Fonts
341 Text.Pandoc.Writers.Shared,
342 Text.Pandoc.Asciify,
343 Text.Pandoc.MIME,
344 Text.Pandoc.Parsing,
345 Text.Pandoc.UUID,
346 Text.Pandoc.ImageSize,
347 Text.Pandoc.Slides,
348 Text.Pandoc.Highlighting,
349 Text.Pandoc.Compat.Locale,
350 Text.Pandoc.Compat.Monoid,
351 Text.Pandoc.Compat.Except,
352 Text.Pandoc.Compat.TagSoupEntity,
353 Text.Pandoc.Compat.Directory
354 Paths_pandoc
356 Buildable: True
358Executable pandoc
359 Build-Depends: pandoc,
360 pandoc-types >= 1.12.4 && < 1.13,
361 base >= 4.2 && <5,
362 directory >= 1 && < 1.3,
363 filepath >= 1.1 && < 1.5,
364 text >= 0.11 && < 1.3,
365 bytestring >= 0.9 && < 0.11,
366 extensible-exceptions >= 0.1 && < 0.2,
367 highlighting-kate >= 0.5.11.1 && < 0.6,
368 aeson >= 0.7.0.5 && < 0.9,
369 yaml >= 0.8.8.2 && < 0.9,
370 containers >= 0.1 && < 0.6,
371 HTTP >= 4000.0.5 && < 4000.3
372 if flag(network-uri)
373 Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6
374 else
375 Build-Depends: network >= 2 && < 2.6
376 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
377 Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
378 if os(windows)
379 Cpp-options: -D_WINDOWS
380 Default-Language: Haskell98
381 Other-Extensions: PatternGuards, OverloadedStrings,
382 ScopedTypeVariables, GeneralizedNewtypeDeriving,
383 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
384 FlexibleInstances
385 Hs-Source-Dirs: .
386 Main-Is: pandoc.hs
387 Buildable: True
389Executable trypandoc
390 Main-Is: trypandoc.hs
391 Hs-Source-Dirs: trypandoc
392 default-language: Haskell2010
393 if flag(trypandoc)
394 Build-Depends: base, aeson, pandoc, highlighting-kate,
395 text, wai-extra, wai >= 0.3, http-types
396 Buildable: True
397 else
398 Buildable: False
400-- NOTE: A trick in Setup.hs makes sure this won't be installed:
401Executable make-pandoc-man-pages
402 Main-Is: make-pandoc-man-pages.hs
403 Hs-Source-Dirs: man
404 Build-Depends: pandoc,
405 base >= 4.2 && < 5,
406 directory >= 1 && < 1.3,
407 filepath >= 1.1 && < 1.5,
408 old-time >= 1.0 && < 1.2,
409 time >= 1.2 && < 1.6
410 Default-Language: Haskell98
411 if flag(make-pandoc-man-pages)
412 Buildable: True
413 else
414 Buildable: False
416Test-Suite test-pandoc
417 Type: exitcode-stdio-1.0
418 Main-Is: test-pandoc.hs
419 Hs-Source-Dirs: tests
420 Build-Depends: base >= 4.2 && < 5,
421 syb >= 0.1 && < 0.5,
422 pandoc,
423 pandoc-types >= 1.12.4 && < 1.13,
424 bytestring >= 0.9 && < 0.11,
425 text >= 0.11 && < 1.3,
426 directory >= 1 && < 1.3,
427 filepath >= 1.1 && < 1.5,
428 process >= 1 && < 1.3,
429 highlighting-kate >= 0.5.11.1 && < 0.6,
430 Diff >= 0.2 && < 0.4,
431 test-framework >= 0.3 && < 0.9,
432 test-framework-hunit >= 0.2 && < 0.4,
433 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
434 QuickCheck >= 2.4 && < 2.8,
435 HUnit >= 1.2 && < 1.3,
436 containers >= 0.1 && < 0.6,
437 ansi-terminal >= 0.5 && < 0.7,
438 executable-path >= 0.0 && < 0.1,
439 zip-archive >= 0.2.3.4 && < 0.3
440 Other-Modules: Tests.Old
441 Tests.Helpers
442 Tests.Arbitrary
443 Tests.Shared
444 Tests.Walk
445 Tests.Readers.LaTeX
446 Tests.Readers.Markdown
447 Tests.Readers.Org
448 Tests.Readers.RST
449 Tests.Readers.Docx
450 Tests.Readers.Txt2Tags
451 Tests.Readers.EPUB
452 Tests.Writers.Native
453 Tests.Writers.ConTeXt
454 Tests.Writers.Docbook
455 Tests.Writers.HTML
456 Tests.Writers.Markdown
457 Tests.Writers.Plain
458 Tests.Writers.AsciiDoc
459 Tests.Writers.LaTeX
460 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
461 Default-Language: Haskell98
463benchmark benchmark-pandoc
464 Type: exitcode-stdio-1.0
465 Main-Is: benchmark-pandoc.hs
466 Hs-Source-Dirs: benchmark
467 Build-Depends: pandoc,
468 base >= 4.2 && < 5,
469 syb >= 0.1 && < 0.5,
470 criterion >= 0.5 && < 0.9
471 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
472 Default-Language: Haskell98