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