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