git.iko.soy/typeable/pandoc
on rc/2.8.0.1 help sign in
typeable/pandoc/pandoc.cabal
838 lines 36 kB history raw
1name: pandoc
2version: 2.8.0.1
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.7.2 && < 0.8,
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 if os(windows) && arch(i386)
432 build-depends: basement >= 0.0.10,
433 foundation >= 0.0.23
434 -- basement 0.0.9 won't build on 32-bit windows.
435 if impl(ghc < 8.4)
436 hs-source-dirs: prelude
437 other-modules: Prelude
438 build-depends: base-compat >= 0.9
439 if os(windows)
440 cpp-options: -D_WINDOWS
441 else
442 build-depends: unix >= 2.4 && < 2.8
443 if flag(embed_data_files)
444 cpp-options: -DEMBED_DATA_FILES
445 build-depends: file-embed >= 0.0 && < 0.1
446 other-modules: Text.Pandoc.Data
447 if os(windows)
448 cpp-options: -D_WINDOWS
449 ghc-options: -Wall -fno-warn-unused-do-bind
450 -Wincomplete-record-updates
451 -Wnoncanonical-monad-instances
452 -- Later:
453 -- -Wpartial-fields (currently used in Powerpoint writer)
454 -- -Wmissing-export-lists (currently some Odt modules violate this)
455 -- -Wredundant-constraints (problematic if we want to support older base)
456 if impl(ghc >= 8.2)
457 ghc-options: -Wcpp-undef
458 if impl(ghc >= 8.4)
459 ghc-options: -Wincomplete-uni-patterns
460 -Widentities
461 -Werror=missing-home-modules
462 -fhide-source-paths
464 default-language: Haskell2010
465 other-extensions: NoImplicitPrelude, TemplateHaskell
466 hs-source-dirs: src
468 exposed-modules: Text.Pandoc,
469 Text.Pandoc.App,
470 Text.Pandoc.Options,
471 Text.Pandoc.Extensions,
472 Text.Pandoc.Shared,
473 Text.Pandoc.MediaBag,
474 Text.Pandoc.Error,
475 Text.Pandoc.Filter,
476 Text.Pandoc.Readers,
477 Text.Pandoc.Readers.HTML,
478 Text.Pandoc.Readers.LaTeX,
479 Text.Pandoc.Readers.LaTeX.Types,
480 Text.Pandoc.Readers.Markdown,
481 Text.Pandoc.Readers.CommonMark,
482 Text.Pandoc.Readers.Creole,
483 Text.Pandoc.Readers.MediaWiki,
484 Text.Pandoc.Readers.Vimwiki,
485 Text.Pandoc.Readers.RST,
486 Text.Pandoc.Readers.Org,
487 Text.Pandoc.Readers.DocBook,
488 Text.Pandoc.Readers.JATS,
489 Text.Pandoc.Readers.OPML,
490 Text.Pandoc.Readers.Textile,
491 Text.Pandoc.Readers.Native,
492 Text.Pandoc.Readers.Haddock,
493 Text.Pandoc.Readers.TWiki,
494 Text.Pandoc.Readers.TikiWiki,
495 Text.Pandoc.Readers.Txt2Tags,
496 Text.Pandoc.Readers.Docx,
497 Text.Pandoc.Readers.Odt,
498 Text.Pandoc.Readers.EPUB,
499 Text.Pandoc.Readers.Muse,
500 Text.Pandoc.Readers.Man,
501 Text.Pandoc.Readers.FB2,
502 Text.Pandoc.Readers.DokuWiki,
503 Text.Pandoc.Readers.Ipynb,
504 Text.Pandoc.Writers,
505 Text.Pandoc.Writers.Native,
506 Text.Pandoc.Writers.Docbook,
507 Text.Pandoc.Writers.JATS,
508 Text.Pandoc.Writers.OPML,
509 Text.Pandoc.Writers.HTML,
510 Text.Pandoc.Writers.Ipynb,
511 Text.Pandoc.Writers.ICML,
512 Text.Pandoc.Writers.Jira,
513 Text.Pandoc.Writers.LaTeX,
514 Text.Pandoc.Writers.ConTeXt,
515 Text.Pandoc.Writers.OpenDocument,
516 Text.Pandoc.Writers.Texinfo,
517 Text.Pandoc.Writers.Man,
518 Text.Pandoc.Writers.Ms,
519 Text.Pandoc.Writers.Markdown,
520 Text.Pandoc.Writers.CommonMark,
521 Text.Pandoc.Writers.Haddock,
522 Text.Pandoc.Writers.RST,
523 Text.Pandoc.Writers.Org,
524 Text.Pandoc.Writers.AsciiDoc,
525 Text.Pandoc.Writers.Custom,
526 Text.Pandoc.Writers.Textile,
527 Text.Pandoc.Writers.MediaWiki,
528 Text.Pandoc.Writers.DokuWiki,
529 Text.Pandoc.Writers.XWiki,
530 Text.Pandoc.Writers.ZimWiki,
531 Text.Pandoc.Writers.RTF,
532 Text.Pandoc.Writers.ODT,
533 Text.Pandoc.Writers.Docx,
534 Text.Pandoc.Writers.Powerpoint,
535 Text.Pandoc.Writers.EPUB,
536 Text.Pandoc.Writers.FB2,
537 Text.Pandoc.Writers.TEI,
538 Text.Pandoc.Writers.Muse,
539 Text.Pandoc.Writers.Math,
540 Text.Pandoc.Writers.Shared,
541 Text.Pandoc.Writers.OOXML,
542 Text.Pandoc.Lua,
543 Text.Pandoc.PDF,
544 Text.Pandoc.UTF8,
545 Text.Pandoc.Templates,
546 Text.Pandoc.XML,
547 Text.Pandoc.SelfContained,
548 Text.Pandoc.Highlighting,
549 Text.Pandoc.Logging,
550 Text.Pandoc.Process,
551 Text.Pandoc.MIME,
552 Text.Pandoc.Parsing,
553 Text.Pandoc.Asciify,
554 Text.Pandoc.Emoji,
555 Text.Pandoc.ImageSize,
556 Text.Pandoc.BCP47,
557 Text.Pandoc.Class
558 other-modules: Text.Pandoc.App.CommandLineOptions,
559 Text.Pandoc.App.FormatHeuristics,
560 Text.Pandoc.App.Opt,
561 Text.Pandoc.App.OutputSettings,
562 Text.Pandoc.Filter.JSON,
563 Text.Pandoc.Filter.Lua,
564 Text.Pandoc.Filter.Path,
565 Text.Pandoc.Readers.Docx.Lists,
566 Text.Pandoc.Readers.Docx.Combine,
567 Text.Pandoc.Readers.Docx.Parse,
568 Text.Pandoc.Readers.Docx.Parse.Styles,
569 Text.Pandoc.Readers.Docx.Util,
570 Text.Pandoc.Readers.Docx.Fields,
571 Text.Pandoc.Readers.LaTeX.Parsing,
572 Text.Pandoc.Readers.LaTeX.Lang,
573 Text.Pandoc.Readers.Odt.Base,
574 Text.Pandoc.Readers.Odt.Namespaces,
575 Text.Pandoc.Readers.Odt.StyleReader,
576 Text.Pandoc.Readers.Odt.ContentReader,
577 Text.Pandoc.Readers.Odt.Generic.Fallible,
578 Text.Pandoc.Readers.Odt.Generic.SetMap,
579 Text.Pandoc.Readers.Odt.Generic.Utils,
580 Text.Pandoc.Readers.Odt.Generic.Namespaces,
581 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
582 Text.Pandoc.Readers.Odt.Arrows.State,
583 Text.Pandoc.Readers.Odt.Arrows.Utils,
584 Text.Pandoc.Readers.Org.BlockStarts,
585 Text.Pandoc.Readers.Org.Blocks,
586 Text.Pandoc.Readers.Org.DocumentTree,
587 Text.Pandoc.Readers.Org.ExportSettings,
588 Text.Pandoc.Readers.Org.Inlines,
589 Text.Pandoc.Readers.Org.Meta,
590 Text.Pandoc.Readers.Org.ParserState,
591 Text.Pandoc.Readers.Org.Parsing,
592 Text.Pandoc.Readers.Org.Shared,
593 Text.Pandoc.Readers.Metadata,
594 Text.Pandoc.Readers.Roff,
595 Text.Pandoc.Writers.Docx.StyleMap,
596 Text.Pandoc.Writers.Roff,
597 Text.Pandoc.Writers.Powerpoint.Presentation,
598 Text.Pandoc.Writers.Powerpoint.Output,
599 Text.Pandoc.Lua.Filter,
600 Text.Pandoc.Lua.Global,
601 Text.Pandoc.Lua.Init,
602 Text.Pandoc.Lua.Marshaling,
603 Text.Pandoc.Lua.Marshaling.AST,
604 Text.Pandoc.Lua.Marshaling.AnyValue,
605 Text.Pandoc.Lua.Marshaling.CommonState,
606 Text.Pandoc.Lua.Marshaling.MediaBag,
607 Text.Pandoc.Lua.Marshaling.ReaderOptions,
608 Text.Pandoc.Lua.Marshaling.Context,
609 Text.Pandoc.Lua.Marshaling.Version,
610 Text.Pandoc.Lua.Module.MediaBag,
611 Text.Pandoc.Lua.Module.Pandoc,
612 Text.Pandoc.Lua.Module.System,
613 Text.Pandoc.Lua.Module.Types,
614 Text.Pandoc.Lua.Module.Utils,
615 Text.Pandoc.Lua.Packages,
616 Text.Pandoc.Lua.Util,
617 Text.Pandoc.Lua.Walk,
618 Text.Pandoc.CSS,
619 Text.Pandoc.CSV,
620 Text.Pandoc.RoffChar,
621 Text.Pandoc.UUID,
622 Text.Pandoc.Translations,
623 Text.Pandoc.Slides,
624 Paths_pandoc
625 autogen-modules: Paths_pandoc
626 buildable: True
628executable pandoc
629 build-depends: pandoc, base >= 4.8 && < 5
630 if impl(ghc < 8.4)
631 hs-source-dirs: prelude
632 other-modules: Prelude
633 build-depends: base-compat >= 0.9
634 if flag(static)
635 ld-options: -static
636 default-language: Haskell2010
637 other-extensions: NoImplicitPrelude
638 hs-source-dirs: .
639 main-is: pandoc.hs
640 buildable: True
641 other-modules: Paths_pandoc
642 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
643 -Wall -fno-warn-unused-do-bind
644 -Wincomplete-record-updates
645 -Wnoncanonical-monad-instances
646 if impl(ghc >= 8.2)
647 ghc-options: -Wcpp-undef
648 if impl(ghc >= 8.4)
649 ghc-options: -Wincomplete-uni-patterns
650 -Widentities
651 -Werror=missing-home-modules
652 -fhide-source-paths
654executable trypandoc
655 main-is: trypandoc.hs
656 hs-source-dirs: trypandoc
657 default-language: Haskell2010
658 other-extensions: NoImplicitPrelude
659 if flag(trypandoc)
660 build-depends: base, aeson, pandoc,
661 text, wai-extra, wai >= 0.3, http-types
662 buildable: True
663 else
664 buildable: False
665 if impl(ghc < 8.4)
666 hs-source-dirs: prelude
667 other-modules: Prelude
668 build-depends: base-compat >= 0.9
669 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
670 -Wall -fno-warn-unused-do-bind
671 -Wincomplete-record-updates
672 -Wnoncanonical-monad-instances
673 if impl(ghc >= 8.2)
674 ghc-options: -Wcpp-undef
675 if impl(ghc >= 8.4)
676 ghc-options: -Wincomplete-uni-patterns
677 -Widentities
678 -Werror=missing-home-modules
679 -fhide-source-paths
681benchmark weigh-pandoc
682 type: exitcode-stdio-1.0
683 main-is: weigh-pandoc.hs
684 hs-source-dirs: benchmark
685 build-depends: pandoc,
686 base >= 4.8 && < 5,
687 text,
688 weigh >= 0.0 && < 0.1,
689 mtl >= 2.2 && < 2.3
690 if impl(ghc < 8.4)
691 hs-source-dirs: prelude
692 other-modules: Prelude
693 build-depends: base-compat >= 0.9
694 default-language: Haskell2010
695 other-extensions: NoImplicitPrelude
696 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
697 -Wall -fno-warn-unused-do-bind
698 -Wincomplete-record-updates
699 -Wnoncanonical-monad-instances
700 if impl(ghc >= 8.2)
701 ghc-options: -Wcpp-undef
702 if impl(ghc >= 8.4)
703 ghc-options: -Wincomplete-uni-patterns
704 -Widentities
705 -Werror=missing-home-modules
706 -fhide-source-paths
709test-suite test-pandoc
710 type: exitcode-stdio-1.0
711 main-is: test-pandoc.hs
712 hs-source-dirs: test
713 build-depends: base >= 4.8 && < 5,
714 pandoc,
715 pandoc-types >= 1.20 && < 1.21,
716 mtl >= 2.2 && < 2.3,
717 bytestring >= 0.9 && < 0.11,
718 base64-bytestring >= 0.1 && < 1.1,
719 text >= 1.1.1.0 && < 1.3,
720 time >= 1.5 && < 1.10,
721 directory >= 1.2.3 && < 1.4,
722 filepath >= 1.1 && < 1.5,
723 hslua >= 1.0 && < 1.1,
724 process >= 1.2.3 && < 1.7,
725 temporary >= 1.1 && < 1.4,
726 Diff >= 0.2 && < 0.5,
727 tasty >= 0.11 && < 1.3,
728 tasty-hunit >= 0.9 && < 0.11,
729 tasty-lua >= 0.2 && < 0.3,
730 tasty-quickcheck >= 0.8 && < 0.11,
731 tasty-golden >= 2.3 && < 2.4,
732 QuickCheck >= 2.4 && < 2.14,
733 containers >= 0.4.2.1 && < 0.7,
734 executable-path >= 0.0 && < 0.1,
735 zip-archive >= 0.2.3.4 && < 0.5,
736 xml >= 1.3.12 && < 1.4,
737 doctemplates >= 0.7.2 && < 0.8,
738 Glob >= 0.7 && < 0.11
739 if impl(ghc < 8.4)
740 hs-source-dirs: prelude
741 other-modules: Prelude
742 build-depends: base-compat >= 0.9
743 other-modules: Tests.Old
744 Tests.Command
745 Tests.Helpers
746 Tests.Lua
747 Tests.Lua.Module
748 Tests.Shared
749 Tests.Readers.LaTeX
750 Tests.Readers.HTML
751 Tests.Readers.JATS
752 Tests.Readers.Markdown
753 Tests.Readers.Org
754 Tests.Readers.Org.Block
755 Tests.Readers.Org.Block.CodeBlock
756 Tests.Readers.Org.Block.Figure
757 Tests.Readers.Org.Block.Header
758 Tests.Readers.Org.Block.List
759 Tests.Readers.Org.Block.Table
760 Tests.Readers.Org.Directive
761 Tests.Readers.Org.Inline
762 Tests.Readers.Org.Inline.Citation
763 Tests.Readers.Org.Inline.Note
764 Tests.Readers.Org.Inline.Smart
765 Tests.Readers.Org.Meta
766 Tests.Readers.Org.Shared
767 Tests.Readers.RST
768 Tests.Readers.Docx
769 Tests.Readers.Odt
770 Tests.Readers.Txt2Tags
771 Tests.Readers.EPUB
772 Tests.Readers.Muse
773 Tests.Readers.Creole
774 Tests.Readers.Man
775 Tests.Readers.FB2
776 Tests.Readers.DokuWiki
777 Tests.Writers.Native
778 Tests.Writers.ConTeXt
779 Tests.Writers.Docbook
780 Tests.Writers.HTML
781 Tests.Writers.JATS
782 Tests.Writers.Markdown
783 Tests.Writers.Org
784 Tests.Writers.Plain
785 Tests.Writers.AsciiDoc
786 Tests.Writers.LaTeX
787 Tests.Writers.Docx
788 Tests.Writers.RST
789 Tests.Writers.TEI
790 Tests.Writers.Muse
791 Tests.Writers.FB2
792 Tests.Writers.Powerpoint
793 Tests.Writers.OOXML
794 if os(windows)
795 cpp-options: -D_WINDOWS
796 default-language: Haskell2010
797 other-extensions: NoImplicitPrelude
798 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
799 -Wall -fno-warn-unused-do-bind
800 -Wincomplete-record-updates
801 -Wnoncanonical-monad-instances
802 if impl(ghc >= 8.2)
803 ghc-options: -Wcpp-undef
804 if impl(ghc >= 8.4)
805 ghc-options: -Wincomplete-uni-patterns
806 -Widentities
807 -Werror=missing-home-modules
808 -fhide-source-paths
811benchmark benchmark-pandoc
812 type: exitcode-stdio-1.0
813 main-is: benchmark-pandoc.hs
814 hs-source-dirs: benchmark
815 build-depends: pandoc,
816 time, bytestring, containers,
817 base >= 4.8 && < 5,
818 text >= 1.1.1.0 && < 1.3,
819 mtl >= 2.2 && < 2.3,
820 criterion >= 1.0 && < 1.6
821 if impl(ghc < 8.4)
822 hs-source-dirs: prelude
823 other-modules: Prelude
824 build-depends: base-compat >= 0.9
825 default-language: Haskell2010
826 other-extensions: NoImplicitPrelude
827 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
828 -Wall -fno-warn-unused-do-bind
829 -Wincomplete-record-updates
830 -Wnoncanonical-monad-instances
831 if impl(ghc >= 8.2)
832 ghc-options: -Wcpp-undef
833 if impl(ghc >= 8.4)
834 ghc-options: -Wincomplete-uni-patterns
835 -Widentities
836 -Werror=missing-home-modules
837 -fhide-source-paths