git.iko.soy/typeable/pandoc
on 2.6 help sign in
typeable/pandoc/pandoc.cabal
748 lines 32 kB history raw
1name: pandoc
2version: 2.6
3cabal-version: 2.0
4build-type: Simple
5license: GPL-2
6license-file: COPYING.md
7copyright: (c) 2006-2018 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: https://pandoc.org
13category: Text
14tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3,
15 GHC == 8.6.1
16synopsis: Conversion between markup formats
17description: Pandoc is a Haskell library for converting from one markup
18 format to another, and a command-line tool that uses
19 this library. It can read several dialects of Markdown and
20 (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
21 MediaWiki markup, DokuWiki markup, TWiki markup,
22 TikiWiki markup, Creole 1.0, Haddock markup, OPML,
23 Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
24 notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2,
25 roff man, and Textile, and it can write Markdown,
26 reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook,
27 JATS, OPML, TEI, OpenDocument, ODT, Word docx,
28 PowerPoint pptx, RTF, MediaWiki, DokuWiki, ZimWiki, Textile,
29 roff man, roff ms, plain text, Emacs Org-Mode,
30 AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb,
31 FictionBook2, InDesign ICML, Muse, LaTeX beamer slides,
32 and several kinds of HTML/JavaScript slide shows
33 (S5, Slidy, Slideous, DZSlides, reveal.js).
34 .
35 In contrast to most existing tools for converting Markdown
36 to HTML, pandoc has a modular design: it consists of a set of
37 readers, which parse text in a given format and produce a
38 native 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.html4
45 data/templates/default.html5
46 data/templates/default.docbook4
47 data/templates/default.docbook5
48 data/templates/default.jats
49 data/templates/default.tei
50 data/templates/default.opendocument
51 data/templates/default.icml
52 data/templates/default.opml
53 data/templates/default.latex
54 data/templates/default.context
55 data/templates/default.texinfo
56 data/templates/default.man
57 data/templates/default.ms
58 data/templates/default.markdown
59 data/templates/default.muse
60 data/templates/default.commonmark
61 data/templates/default.rst
62 data/templates/default.plain
63 data/templates/default.mediawiki
64 data/templates/default.dokuwiki
65 data/templates/default.zimwiki
66 data/templates/default.rtf
67 data/templates/default.s5
68 data/templates/default.slidy
69 data/templates/default.slideous
70 data/templates/default.revealjs
71 data/templates/default.dzslides
72 data/templates/default.asciidoc
73 data/templates/default.haddock
74 data/templates/default.textile
75 data/templates/default.org
76 data/templates/default.epub2
77 data/templates/default.epub3
78 -- translations
79 data/translations/*.yaml
80 -- source files for reference.docx
81 data/docx/[Content_Types].xml
82 data/docx/_rels/.rels
83 data/docx/docProps/app.xml
84 data/docx/docProps/core.xml
85 data/docx/docProps/custom.xml
86 data/docx/word/document.xml
87 data/docx/word/fontTable.xml
88 data/docx/word/comments.xml
89 data/docx/word/footnotes.xml
90 data/docx/word/numbering.xml
91 data/docx/word/settings.xml
92 data/docx/word/webSettings.xml
93 data/docx/word/styles.xml
94 data/docx/word/_rels/document.xml.rels
95 data/docx/word/_rels/footnotes.xml.rels
96 data/docx/word/theme/theme1.xml
97 -- source files for reference.odt
98 data/odt/mimetype
99 data/odt/manifest.rdf
100 data/odt/styles.xml
101 data/odt/content.xml
102 data/odt/meta.xml
103 data/odt/settings.xml
104 data/odt/Configurations2/accelerator/current.xml
105 data/odt/Thumbnails/thumbnail.png
106 data/odt/META-INF/manifest.xml
107 -- source files for reference.pptx
108 data/pptx/_rels/.rels
109 data/pptx/docProps/app.xml
110 data/pptx/docProps/core.xml
111 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
112 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
114 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
115 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
116 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
118 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
119 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
120 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
121 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
122 data/pptx/ppt/slideLayouts/slideLayout1.xml
123 data/pptx/ppt/slideLayouts/slideLayout2.xml
124 data/pptx/ppt/slideLayouts/slideLayout3.xml
125 data/pptx/ppt/slideLayouts/slideLayout4.xml
126 data/pptx/ppt/slideLayouts/slideLayout5.xml
127 data/pptx/ppt/slideLayouts/slideLayout6.xml
128 data/pptx/ppt/slideLayouts/slideLayout7.xml
129 data/pptx/ppt/slideLayouts/slideLayout8.xml
130 data/pptx/ppt/slideLayouts/slideLayout9.xml
131 data/pptx/ppt/slideLayouts/slideLayout10.xml
132 data/pptx/ppt/slideLayouts/slideLayout11.xml
133 data/pptx/ppt/_rels/presentation.xml.rels
134 data/pptx/ppt/theme/theme1.xml
135 data/pptx/ppt/presProps.xml
136 data/pptx/ppt/slides/_rels/slide1.xml.rels
137 data/pptx/ppt/slides/_rels/slide2.xml.rels
138 data/pptx/ppt/slides/slide2.xml
139 data/pptx/ppt/slides/slide1.xml
140 data/pptx/ppt/viewProps.xml
141 data/pptx/ppt/tableStyles.xml
142 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
143 data/pptx/ppt/slideMasters/slideMaster1.xml
144 data/pptx/ppt/presentation.xml
145 data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
146 data/pptx/ppt/notesMasters/notesMaster1.xml
147 data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
148 data/pptx/ppt/notesSlides/notesSlide1.xml
149 data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
150 data/pptx/ppt/notesSlides/notesSlide2.xml
151 data/pptx/ppt/theme/theme2.xml
152 data/pptx/[Content_Types].xml
153 -- stylesheet for EPUB writer
154 data/epub.css
155 -- data for dzslides writer
156 data/dzslides/template.html
157 -- default abbreviations file
158 data/abbreviations
159 -- sample lua custom writer
160 data/sample.lua
161 -- lua init script
162 data/init.lua
163 -- pandoc lua module
164 data/pandoc.lua
165 -- lua List module
166 data/pandoc.List.lua
167 -- bash completion template
168 data/bash_completion.tpl
169 -- jats csl
170 data/jats.csl
171 -- documentation
172 MANUAL.txt, COPYRIGHT
173extra-source-files:
174 -- documentation
175 INSTALL.md, AUTHORS.md, README.md,
176 CONTRIBUTING.md, BUGS, changelog,
177 man/pandoc.1
178 -- stack build plan
179 stack.yaml
180 -- files needed to build man page
181 man/manfilter.lua
182 man/pandoc.1.template
183 -- trypandoc
184 trypandoc/Makefile
185 trypandoc/index.html
186 -- tests
187 test/bodybg.gif
188 test/*.native
189 test/command/*.md
190 test/command/3533-rst-csv-tables.csv
191 test/command/3880.txt
192 test/command/5182.txt
193 test/command/abbrevs
194 test/command/SVG_logo-without-xml-declaration.svg
195 test/command/SVG_logo.svg
196 test/command/corrupt.svg
197 test/command/inkscape-cube.svg
198 test/command/lua-pandoc-state.lua
199 test/command/sub-file-chapter-1.tex
200 test/command/sub-file-chapter-2.tex
201 test/command/bar.tex
202 test/command/yaml-metadata.yaml
203 test/command/3510-subdoc.org
204 test/command/3510-export.latex
205 test/command/3510-src.hs
206 test/command/3971b.tex
207 test/docbook-reader.docbook
208 test/docbook-xref.docbook
209 test/html-reader.html
210 test/opml-reader.opml
211 test/org-select-tags.org
212 test/haddock-reader.haddock
213 test/insert
214 test/lalune.jpg
215 test/man-reader.man
216 test/movie.jpg
217 test/media/rId25.jpg
218 test/media/rId26.jpg
219 test/media/rId27.jpg
220 test/latex-reader.latex
221 test/textile-reader.textile
222 test/markdown-reader-more.txt
223 test/markdown-citations.txt
224 test/textile-reader.textile
225 test/mediawiki-reader.wiki
226 test/vimwiki-reader.wiki
227 test/creole-reader.txt
228 test/creole-reader.native
229 test/rst-reader.rst
230 test/jats-reader.xml
231 test/s5-basic.html
232 test/s5-fancy.html
233 test/s5-fragment.html
234 test/s5-inserts.html
235 test/tables.context
236 test/tables.docbook4
237 test/tables.docbook5
238 test/tables.jats
239 test/tables.dokuwiki
240 test/tables.zimwiki
241 test/tables.icml
242 test/tables.html4
243 test/tables.html5
244 test/tables.latex
245 test/tables.man
246 test/tables.ms
247 test/tables.plain
248 test/tables.markdown
249 test/tables.mediawiki
250 test/tables.tei
251 test/tables.textile
252 test/tables.opendocument
253 test/tables.org
254 test/tables.asciidoc
255 test/tables.haddock
256 test/tables.texinfo
257 test/tables.rst
258 test/tables.rtf
259 test/tables.txt
260 test/tables.fb2
261 test/tables.muse
262 test/tables.custom
263 test/testsuite.txt
264 test/writer.latex
265 test/writer.context
266 test/writer.docbook4
267 test/writer.docbook5
268 test/writer.jats
269 test/writer.html4
270 test/writer.html5
271 test/writer.man
272 test/writer.ms
273 test/writer.markdown
274 test/writer.plain
275 test/writer.mediawiki
276 test/writer.textile
277 test/writer.opendocument
278 test/writer.org
279 test/writer.asciidoc
280 test/writer.haddock
281 test/writer.rst
282 test/writer.icml
283 test/writer.rtf
284 test/writer.tei
285 test/writer.texinfo
286 test/writer.fb2
287 test/writer.opml
288 test/writer.dokuwiki
289 test/writer.zimwiki
290 test/writer.muse
291 test/writer.custom
292 test/writers-lang-and-dir.latex
293 test/writers-lang-and-dir.context
294 test/dokuwiki_inline_formatting.dokuwiki
295 test/lhs-test.markdown
296 test/lhs-test.markdown+lhs
297 test/lhs-test.rst
298 test/lhs-test.rst+lhs
299 test/lhs-test.latex
300 test/lhs-test.latex+lhs
301 test/lhs-test.html
302 test/lhs-test.html+lhs
303 test/lhs-test.fragment.html+lhs
304 test/pipe-tables.txt
305 test/dokuwiki_external_images.dokuwiki
306 test/dokuwiki_external_images.native
307 test/dokuwiki_multiblock_table.dokuwiki
308 test/dokuwiki_multiblock_table.native
309 test/fb2/*.markdown
310 test/fb2/*.fb2
311 test/fb2/images-embedded.html
312 test/fb2/images-embedded.fb2
313 test/fb2/test-small.png
314 test/fb2/reader/*.fb2
315 test/fb2/reader/*.native
316 test/fb2/test.jpg
317 test/docx/*.docx
318 test/docx/golden/*.docx
319 test/docx/*.native
320 test/epub/*.epub
321 test/epub/*.native
322 test/pptx/*.pptx
323 test/pptx/*.native
324 test/txt2tags.t2t
325 test/twiki-reader.twiki
326 test/tikiwiki-reader.tikiwiki
327 test/odt/odt/*.odt
328 test/odt/markdown/*.md
329 test/odt/native/*.native
330 test/lua/*.lua
331source-repository head
332 type: git
333 location: git://github.com/jgm/pandoc.git
335flag static
336 Description: Use static linking for pandoc executable.
337 Default: False
339flag embed_data_files
340 Description: Embed data files in binary for relocatable executable.
341 Default: False
343flag derive_json_via_th
344 Description: Use Template Haskell instead of GHC Generics to derive ToJSON
345 and FromJSON instances.
346 Default: True
348flag trypandoc
349 Description: Build trypandoc cgi executable.
350 Default: False
352library
353 build-depends: base >= 4.8 && < 5,
354 syb >= 0.1 && < 0.8,
355 containers >= 0.4.2.1 && < 0.7,
356 unordered-containers >= 0.2 && < 0.3,
357 parsec >= 3.1 && < 3.2,
358 mtl >= 2.2 && < 2.3,
359 exceptions >= 0.8 && < 0.11,
360 filepath >= 1.1 && < 1.5,
361 process >= 1.2.3 && < 1.7,
362 directory >= 1 && < 1.4,
363 bytestring >= 0.9 && < 0.11,
364 text >= 1.1.1.0 && < 1.3,
365 time >= 1.5 && < 1.10,
366 safe >= 0.3 && < 0.4,
367 zip-archive >= 0.2.3.4 && < 0.5,
368 HTTP >= 4000.0.5 && < 4000.4,
369 texmath >= 0.11 && < 0.12,
370 xml >= 1.3.12 && < 1.4,
371 split >= 0.2 && < 0.3,
372 random >= 1 && < 1.2,
373 pandoc-types >= 1.17.5 && < 1.18,
374 aeson >= 0.7 && < 1.5,
375 aeson-pretty >= 0.8.5 && < 0.9,
376 tagsoup >= 0.14.6 && < 0.15,
377 base64-bytestring >= 0.1 && < 1.1,
378 zlib >= 0.5 && < 0.7,
379 skylighting >= 0.7.5 && < 0.8,
380 data-default >= 0.4 && < 0.8,
381 temporary >= 1.1 && < 1.4,
382 blaze-html >= 0.9 && < 0.10,
383 blaze-markup >= 0.8 && < 0.9,
384 vector >= 0.10 && < 0.13,
385 hslua >= 1.0.1 && < 1.1,
386 hslua-module-text >= 0.2 && < 0.3,
387 binary >= 0.5 && < 0.11,
388 SHA >= 1.6 && < 1.7,
389 haddock-library >= 1.7 && < 1.8,
390 deepseq >= 1.3 && < 1.5,
391 JuicyPixels >= 3.1.6.1 && < 3.4,
392 Glob >= 0.7 && < 0.11,
393 cmark-gfm >= 0.1.1 && < 0.2,
394 doctemplates >= 0.2.1 && < 0.3,
395 network-uri >= 2.6 && < 2.7,
396 network >= 2.6,
397 http-client >= 0.4.30 && < 0.7,
398 http-client-tls >= 0.2.4 && < 0.4,
399 http-types >= 0.8 && < 0.13,
400 case-insensitive >= 1.2 && < 1.3,
401 unicode-transforms >= 0.3 && < 0.4,
402 HsYAML >= 0.1.1.1 && < 0.2,
403 ipynb >= 0.1 && < 0.2
404 if impl(ghc < 8.0)
405 build-depends: semigroups == 0.18.*,
406 -- basement 0.0.8 and foundation 0.0.21, transitive
407 -- dependencies, drop support for ghc 7.10:
408 basement < 0.0.8,
409 foundation < 0.0.21
410 if impl(ghc < 8.4)
411 hs-source-dirs: prelude
412 other-modules: Prelude
413 build-depends: base-compat >= 0.9
414 if os(windows)
415 cpp-options: -D_WINDOWS
416 else
417 build-depends: unix >= 2.4 && < 2.8
418 if flag(embed_data_files)
419 cpp-options: -DEMBED_DATA_FILES
420 build-depends: file-embed >= 0.0 && < 0.1
421 other-modules: Text.Pandoc.Data
422 if flag(derive_json_via_th)
423 cpp-options: -DDERIVE_JSON_VIA_TH
424 if os(windows)
425 cpp-options: -D_WINDOWS
426 ghc-options: -Wall -fno-warn-unused-do-bind
427 if impl(ghc > 8.0)
428 ghc-options: -Wincomplete-record-updates
429 -Wnoncanonical-monad-instances
430 -Wnoncanonical-monadfail-instances
431 if impl(ghc > 8.4)
432 ghc-options: -Wincomplete-uni-patterns
433 -Widentities
434 -Werror=missing-home-modules
435 default-language: Haskell2010
436 other-extensions: NoImplicitPrelude
437 hs-source-dirs: src
439 exposed-modules: Text.Pandoc,
440 Text.Pandoc.App,
441 Text.Pandoc.Options,
442 Text.Pandoc.Extensions,
443 Text.Pandoc.Pretty,
444 Text.Pandoc.Shared,
445 Text.Pandoc.MediaBag,
446 Text.Pandoc.Error,
447 Text.Pandoc.Filter,
448 Text.Pandoc.Readers,
449 Text.Pandoc.Readers.HTML,
450 Text.Pandoc.Readers.LaTeX,
451 Text.Pandoc.Readers.LaTeX.Types,
452 Text.Pandoc.Readers.Markdown,
453 Text.Pandoc.Readers.CommonMark,
454 Text.Pandoc.Readers.Creole,
455 Text.Pandoc.Readers.MediaWiki,
456 Text.Pandoc.Readers.Vimwiki,
457 Text.Pandoc.Readers.RST,
458 Text.Pandoc.Readers.Org,
459 Text.Pandoc.Readers.DocBook,
460 Text.Pandoc.Readers.JATS,
461 Text.Pandoc.Readers.OPML,
462 Text.Pandoc.Readers.Textile,
463 Text.Pandoc.Readers.Native,
464 Text.Pandoc.Readers.Haddock,
465 Text.Pandoc.Readers.TWiki,
466 Text.Pandoc.Readers.TikiWiki,
467 Text.Pandoc.Readers.Txt2Tags,
468 Text.Pandoc.Readers.Docx,
469 Text.Pandoc.Readers.Odt,
470 Text.Pandoc.Readers.EPUB,
471 Text.Pandoc.Readers.Muse,
472 Text.Pandoc.Readers.Man,
473 Text.Pandoc.Readers.FB2,
474 Text.Pandoc.Readers.DokuWiki,
475 Text.Pandoc.Readers.Ipynb,
476 Text.Pandoc.Writers,
477 Text.Pandoc.Writers.Native,
478 Text.Pandoc.Writers.Docbook,
479 Text.Pandoc.Writers.JATS,
480 Text.Pandoc.Writers.OPML,
481 Text.Pandoc.Writers.HTML,
482 Text.Pandoc.Writers.Ipynb,
483 Text.Pandoc.Writers.ICML,
484 Text.Pandoc.Writers.LaTeX,
485 Text.Pandoc.Writers.ConTeXt,
486 Text.Pandoc.Writers.OpenDocument,
487 Text.Pandoc.Writers.Texinfo,
488 Text.Pandoc.Writers.Man,
489 Text.Pandoc.Writers.Ms,
490 Text.Pandoc.Writers.Markdown,
491 Text.Pandoc.Writers.CommonMark,
492 Text.Pandoc.Writers.Haddock,
493 Text.Pandoc.Writers.RST,
494 Text.Pandoc.Writers.Org,
495 Text.Pandoc.Writers.AsciiDoc,
496 Text.Pandoc.Writers.Custom,
497 Text.Pandoc.Writers.Textile,
498 Text.Pandoc.Writers.MediaWiki,
499 Text.Pandoc.Writers.DokuWiki,
500 Text.Pandoc.Writers.ZimWiki,
501 Text.Pandoc.Writers.RTF,
502 Text.Pandoc.Writers.ODT,
503 Text.Pandoc.Writers.Docx,
504 Text.Pandoc.Writers.Powerpoint,
505 Text.Pandoc.Writers.EPUB,
506 Text.Pandoc.Writers.FB2,
507 Text.Pandoc.Writers.TEI,
508 Text.Pandoc.Writers.Muse,
509 Text.Pandoc.Writers.Math,
510 Text.Pandoc.Writers.Shared,
511 Text.Pandoc.Writers.OOXML,
512 Text.Pandoc.Lua,
513 Text.Pandoc.PDF,
514 Text.Pandoc.UTF8,
515 Text.Pandoc.Templates,
516 Text.Pandoc.XML,
517 Text.Pandoc.SelfContained,
518 Text.Pandoc.Highlighting,
519 Text.Pandoc.Logging,
520 Text.Pandoc.Process,
521 Text.Pandoc.MIME,
522 Text.Pandoc.Parsing,
523 Text.Pandoc.Asciify,
524 Text.Pandoc.Emoji,
525 Text.Pandoc.ImageSize,
526 Text.Pandoc.BCP47,
527 Text.Pandoc.Class
528 other-modules: Text.Pandoc.App.CommandLineOptions,
529 Text.Pandoc.App.FormatHeuristics,
530 Text.Pandoc.App.Opt,
531 Text.Pandoc.App.OutputSettings,
532 Text.Pandoc.Filter.JSON,
533 Text.Pandoc.Filter.Lua,
534 Text.Pandoc.Filter.Path,
535 Text.Pandoc.Readers.Docx.Lists,
536 Text.Pandoc.Readers.Docx.Combine,
537 Text.Pandoc.Readers.Docx.Parse,
538 Text.Pandoc.Readers.Docx.Util,
539 Text.Pandoc.Readers.Docx.StyleMap,
540 Text.Pandoc.Readers.Docx.Fields,
541 Text.Pandoc.Readers.LaTeX.Parsing,
542 Text.Pandoc.Readers.LaTeX.Lang,
543 Text.Pandoc.Readers.Odt.Base,
544 Text.Pandoc.Readers.Odt.Namespaces,
545 Text.Pandoc.Readers.Odt.StyleReader,
546 Text.Pandoc.Readers.Odt.ContentReader,
547 Text.Pandoc.Readers.Odt.Generic.Fallible,
548 Text.Pandoc.Readers.Odt.Generic.SetMap,
549 Text.Pandoc.Readers.Odt.Generic.Utils,
550 Text.Pandoc.Readers.Odt.Generic.Namespaces,
551 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
552 Text.Pandoc.Readers.Odt.Arrows.State,
553 Text.Pandoc.Readers.Odt.Arrows.Utils,
554 Text.Pandoc.Readers.Org.BlockStarts,
555 Text.Pandoc.Readers.Org.Blocks,
556 Text.Pandoc.Readers.Org.DocumentTree,
557 Text.Pandoc.Readers.Org.ExportSettings,
558 Text.Pandoc.Readers.Org.Inlines,
559 Text.Pandoc.Readers.Org.Meta,
560 Text.Pandoc.Readers.Org.ParserState,
561 Text.Pandoc.Readers.Org.Parsing,
562 Text.Pandoc.Readers.Org.Shared,
563 Text.Pandoc.Readers.Roff,
564 Text.Pandoc.Writers.Roff,
565 Text.Pandoc.Writers.Powerpoint.Presentation,
566 Text.Pandoc.Writers.Powerpoint.Output,
567 Text.Pandoc.Lua.Filter,
568 Text.Pandoc.Lua.Global,
569 Text.Pandoc.Lua.Init,
570 Text.Pandoc.Lua.Module.MediaBag,
571 Text.Pandoc.Lua.Module.Pandoc,
572 Text.Pandoc.Lua.Module.Utils,
573 Text.Pandoc.Lua.Packages,
574 Text.Pandoc.Lua.StackInstances,
575 Text.Pandoc.Lua.Util,
576 Text.Pandoc.CSS,
577 Text.Pandoc.CSV,
578 Text.Pandoc.RoffChar,
579 Text.Pandoc.UUID,
580 Text.Pandoc.Translations,
581 Text.Pandoc.Slides,
582 Paths_pandoc
583 autogen-modules: Paths_pandoc
584 buildable: True
586executable pandoc
587 build-depends: pandoc, base >= 4.8 && < 5
588 if impl(ghc < 8.0)
589 build-depends: semigroups == 0.18.*
590 if impl(ghc < 8.4)
591 hs-source-dirs: prelude
592 other-modules: Prelude
593 build-depends: base-compat >= 0.9
594 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
595 if flag(static)
596 ld-options: -static
597 default-language: Haskell2010
598 other-extensions: NoImplicitPrelude
599 hs-source-dirs: .
600 main-is: pandoc.hs
601 buildable: True
602 other-modules: Paths_pandoc
604executable trypandoc
605 main-is: trypandoc.hs
606 hs-source-dirs: trypandoc
607 default-language: Haskell2010
608 other-extensions: NoImplicitPrelude
609 if flag(trypandoc)
610 build-depends: base, aeson, pandoc,
611 text, wai-extra, wai >= 0.3, http-types
612 buildable: True
613 else
614 buildable: False
615 if impl(ghc < 8.0)
616 build-depends: semigroups == 0.18.*
617 if impl(ghc < 8.4)
618 hs-source-dirs: prelude
619 other-modules: Prelude
620 build-depends: base-compat >= 0.9
622benchmark weigh-pandoc
623 type: exitcode-stdio-1.0
624 main-is: weigh-pandoc.hs
625 hs-source-dirs: benchmark
626 build-depends: pandoc,
627 base >= 4.8 && < 5,
628 text,
629 weigh >= 0.0 && < 0.1,
630 mtl >= 2.2 && < 2.3
631 if impl(ghc < 8.0)
632 build-depends: semigroups == 0.18.*
633 if impl(ghc < 8.4)
634 hs-source-dirs: prelude
635 other-modules: Prelude
636 build-depends: base-compat >= 0.9
637 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
638 default-language: Haskell2010
639 other-extensions: NoImplicitPrelude
641test-suite test-pandoc
642 type: exitcode-stdio-1.0
643 main-is: test-pandoc.hs
644 hs-source-dirs: test
645 build-depends: base >= 4.8 && < 5,
646 pandoc,
647 pandoc-types >= 1.17.5 && < 1.18,
648 bytestring >= 0.9 && < 0.11,
649 base64-bytestring >= 0.1 && < 1.1,
650 text >= 1.1.1.0 && < 1.3,
651 time >= 1.5 && < 1.10,
652 directory >= 1 && < 1.4,
653 filepath >= 1.1 && < 1.5,
654 hslua >= 1.0 && < 1.1,
655 process >= 1.2.3 && < 1.7,
656 temporary >= 1.1 && < 1.4,
657 Diff >= 0.2 && < 0.4,
658 tasty >= 0.11 && < 1.3,
659 tasty-hunit >= 0.9 && < 0.11,
660 tasty-quickcheck >= 0.8 && < 0.11,
661 tasty-golden >= 2.3 && < 2.4,
662 QuickCheck >= 2.4 && < 2.13,
663 containers >= 0.4.2.1 && < 0.7,
664 executable-path >= 0.0 && < 0.1,
665 zip-archive >= 0.2.3.4 && < 0.5,
666 xml >= 1.3.12 && < 1.4,
667 Glob >= 0.7 && < 0.11
668 if impl(ghc < 8.0)
669 build-depends: semigroups == 0.18.*
670 if impl(ghc < 8.4)
671 hs-source-dirs: prelude
672 other-modules: Prelude
673 build-depends: base-compat >= 0.9
674 other-modules: Tests.Old
675 Tests.Command
676 Tests.Helpers
677 Tests.Lua
678 Tests.Shared
679 Tests.Readers.LaTeX
680 Tests.Readers.HTML
681 Tests.Readers.JATS
682 Tests.Readers.Markdown
683 Tests.Readers.Org
684 Tests.Readers.Org.Block
685 Tests.Readers.Org.Block.CodeBlock
686 Tests.Readers.Org.Block.Figure
687 Tests.Readers.Org.Block.Header
688 Tests.Readers.Org.Block.List
689 Tests.Readers.Org.Block.Table
690 Tests.Readers.Org.Directive
691 Tests.Readers.Org.Inline
692 Tests.Readers.Org.Inline.Citation
693 Tests.Readers.Org.Inline.Note
694 Tests.Readers.Org.Inline.Smart
695 Tests.Readers.Org.Meta
696 Tests.Readers.Org.Shared
697 Tests.Readers.RST
698 Tests.Readers.Docx
699 Tests.Readers.Odt
700 Tests.Readers.Txt2Tags
701 Tests.Readers.EPUB
702 Tests.Readers.Muse
703 Tests.Readers.Creole
704 Tests.Readers.Man
705 Tests.Readers.FB2
706 Tests.Readers.DokuWiki
707 Tests.Writers.Native
708 Tests.Writers.ConTeXt
709 Tests.Writers.Docbook
710 Tests.Writers.HTML
711 Tests.Writers.JATS
712 Tests.Writers.Markdown
713 Tests.Writers.Org
714 Tests.Writers.Plain
715 Tests.Writers.AsciiDoc
716 Tests.Writers.LaTeX
717 Tests.Writers.Docx
718 Tests.Writers.RST
719 Tests.Writers.TEI
720 Tests.Writers.Muse
721 Tests.Writers.FB2
722 Tests.Writers.Powerpoint
723 Tests.Writers.OOXML
724 if os(windows)
725 cpp-options: -D_WINDOWS
726 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
727 default-language: Haskell2010
728 other-extensions: NoImplicitPrelude
730benchmark benchmark-pandoc
731 type: exitcode-stdio-1.0
732 main-is: benchmark-pandoc.hs
733 hs-source-dirs: benchmark
734 build-depends: pandoc,
735 time, bytestring, containers,
736 base >= 4.8 && < 5,
737 text >= 1.1.1.0 && < 1.3,
738 mtl >= 2.2 && < 2.3,
739 criterion >= 1.0 && < 1.6
740 if impl(ghc < 8.0)
741 build-depends: semigroups == 0.18.*
742 if impl(ghc < 8.4)
743 hs-source-dirs: prelude
744 other-modules: Prelude
745 build-depends: base-compat >= 0.9
746 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
747 default-language: Haskell2010
748 other-extensions: NoImplicitPrelude