5 license: GPL-2.0-or-later
6 license-file: COPYING.md
7 copyright: (c) 2006-2021 John MacFarlane
8 author: John MacFarlane <jgm@berkeley.edu>
9 maintainer: John MacFarlane <jgm@berkeley.edu>
10 bug-reports: https://github.com/jgm/pandoc/issues
12 homepage: https://pandoc.org
14 tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
15 GHC == 8.8.4, GHC == 8.10.2, GHC == 9.0.1
16 synopsis: Conversion between markup formats
17 description: 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, Jira markup, Creole 1.0, Haddock markup,
23 OPML, Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
24 notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2,
25 roff man, Textile, BibTeX, BibLaTeX, CSL JSON,
26 , and CSV, and it can write Markdown,
27 reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook,
28 JATS, OPML, TEI, OpenDocument, ODT, Word docx,
29 PowerPoint pptx, RTF, MediaWiki, DokuWiki, XWiki,
30 ZimWiki, Textile, Jira, roff man, roff ms, plain text,
31 Emacs Org-Mode, AsciiDoc, Haddock markup,
32 EPUB (v2 and v3), ipynb, FictionBook2,
33 InDesign ICML, Muse, CSL JSON, LaTeX beamer slides,
34 and several kinds of HTML/JavaScript slide shows
35 (S5, Slidy, Slideous, DZSlides, reveal.js).
37 In contrast to most existing tools for converting Markdown
38 to HTML, pandoc has a modular design: it consists of a set of
39 readers, which parse text in a given format and produce a
40 native representation of the document, and a set of writers,
41 which convert this native representation into a target
42 format. Thus, adding an input or output format requires
43 only adding a reader or writer.
46 data/templates/styles.html
47 data/templates/default.html4
48 data/templates/default.html5
49 data/templates/default.docbook4
50 data/templates/default.docbook5
51 data/templates/default.jats_archiving
52 data/templates/default.jats_articleauthoring
53 data/templates/default.jats_publishing
54 data/templates/default.tei
55 data/templates/default.opendocument
56 data/templates/default.icml
57 data/templates/default.opml
58 data/templates/default.latex
59 data/templates/default.bibtex
60 data/templates/default.biblatex
61 data/templates/default.context
62 data/templates/default.texinfo
63 data/templates/default.jira
64 data/templates/default.man
65 data/templates/default.ms
66 data/templates/default.markdown
67 data/templates/default.muse
68 data/templates/default.commonmark
69 data/templates/default.rst
70 data/templates/default.plain
71 data/templates/default.mediawiki
72 data/templates/default.dokuwiki
73 data/templates/default.xwiki
74 data/templates/default.zimwiki
75 data/templates/default.rtf
76 data/templates/default.s5
77 data/templates/default.slidy
78 data/templates/default.slideous
79 data/templates/default.revealjs
80 data/templates/default.dzslides
81 data/templates/default.asciidoc
82 data/templates/default.asciidoctor
83 data/templates/default.haddock
84 data/templates/default.textile
85 data/templates/default.org
86 data/templates/default.epub2
87 data/templates/default.epub3
88 data/templates/article.jats_publishing
89 data/templates/affiliations.jats
91 data/translations/*.yaml
92 -- source files for reference.docx
93 data/docx/[Content_Types].xml
95 data/docx/docProps/app.xml
96 data/docx/docProps/core.xml
97 data/docx/docProps/custom.xml
98 data/docx/word/document.xml
99 data/docx/word/fontTable.xml
100 data/docx/word/comments.xml
101 data/docx/word/footnotes.xml
102 data/docx/word/numbering.xml
103 data/docx/word/settings.xml
104 data/docx/word/webSettings.xml
105 data/docx/word/styles.xml
106 data/docx/word/_rels/document.xml.rels
107 data/docx/word/_rels/footnotes.xml.rels
108 data/docx/word/theme/theme1.xml
109 -- source files for reference.odt
111 data/odt/manifest.rdf
115 data/odt/settings.xml
116 data/odt/Configurations2/accelerator/current.xml
117 data/odt/Thumbnails/thumbnail.png
118 data/odt/META-INF/manifest.xml
119 -- source files for reference.pptx
120 data/pptx/_rels/.rels
121 data/pptx/docProps/app.xml
122 data/pptx/docProps/core.xml
123 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
124 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
125 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
126 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
127 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
128 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
129 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
130 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
131 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
132 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
133 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
134 data/pptx/ppt/slideLayouts/slideLayout1.xml
135 data/pptx/ppt/slideLayouts/slideLayout2.xml
136 data/pptx/ppt/slideLayouts/slideLayout3.xml
137 data/pptx/ppt/slideLayouts/slideLayout4.xml
138 data/pptx/ppt/slideLayouts/slideLayout5.xml
139 data/pptx/ppt/slideLayouts/slideLayout6.xml
140 data/pptx/ppt/slideLayouts/slideLayout7.xml
141 data/pptx/ppt/slideLayouts/slideLayout8.xml
142 data/pptx/ppt/slideLayouts/slideLayout9.xml
143 data/pptx/ppt/slideLayouts/slideLayout10.xml
144 data/pptx/ppt/slideLayouts/slideLayout11.xml
145 data/pptx/ppt/_rels/presentation.xml.rels
146 data/pptx/ppt/theme/theme1.xml
147 data/pptx/ppt/presProps.xml
148 data/pptx/ppt/slides/_rels/slide1.xml.rels
149 data/pptx/ppt/slides/_rels/slide2.xml.rels
150 data/pptx/ppt/slides/slide2.xml
151 data/pptx/ppt/slides/slide1.xml
152 data/pptx/ppt/slides/_rels/slide3.xml.rels
153 data/pptx/ppt/slides/_rels/slide4.xml.rels
154 data/pptx/ppt/slides/slide3.xml
155 data/pptx/ppt/slides/slide4.xml
156 data/pptx/ppt/viewProps.xml
157 data/pptx/ppt/tableStyles.xml
158 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
159 data/pptx/ppt/slideMasters/slideMaster1.xml
160 data/pptx/ppt/presentation.xml
161 data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
162 data/pptx/ppt/notesMasters/notesMaster1.xml
163 data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
164 data/pptx/ppt/notesSlides/notesSlide1.xml
165 data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
166 data/pptx/ppt/notesSlides/notesSlide2.xml
167 data/pptx/ppt/theme/theme2.xml
168 data/pptx/[Content_Types].xml
169 -- stylesheet for EPUB writer
171 -- data for dzslides writer
172 data/dzslides/template.html
173 -- default abbreviations file
175 -- sample lua custom writer
183 -- bash completion template
184 data/bash_completion.tpl
187 citeproc/biblatex-localization/*.lbx.strings
189 MANUAL.txt, COPYRIGHT
192 INSTALL.md, AUTHORS.md, README.md,
193 CONTRIBUTING.md, BUGS, changelog.md,
195 -- cabal and stack build plans
198 -- files needed to build man page
210 test/command/biblio.bib
211 test/command/averroes.bib
216 test/command/three.txt
218 test/command/chap1/spider.png
219 test/command/chap2/spider.png
220 test/command/chap1/text.md
221 test/command/chap2/text.md
222 test/command/defaults1.yaml
223 test/command/defaults2.yaml
224 test/command/defaults3.yaml
225 test/command/defaults4.yaml
226 test/command/defaults5.yaml
227 test/command/defaults6.yaml
228 test/command/defaults7.yaml
229 test/command/defaults8.yaml
230 test/command/defaults9.yaml
231 test/command/3533-rst-csv-tables.csv
232 test/command/3880.txt
233 test/command/5182.txt
234 test/command/5700-metadata-file-1.yml
235 test/command/5700-metadata-file-2.yml
237 test/command/SVG_logo-without-xml-declaration.svg
238 test/command/SVG_logo.svg
239 test/command/corrupt.svg
240 test/command/inkscape-cube.svg
241 test/command/lua-pandoc-state.lua
242 test/command/sub-file-chapter-1.tex
243 test/command/sub-file-chapter-2.tex
245 test/command/bar-endinput.tex
246 test/command/yaml-metadata.yaml
247 test/command/3510-subdoc.org
248 test/command/3510-export.latex
249 test/command/3510-src.hs
250 test/command/3971b.tex
251 test/docbook-chapter.docbook
252 test/docbook-reader.docbook
253 test/docbook-xref.docbook
254 test/html-reader.html
255 test/opml-reader.opml
256 test/org-select-tags.org
257 test/haddock-reader.haddock
265 test/latex-reader.latex
266 test/textile-reader.textile
267 test/markdown-reader-more.txt
268 test/markdown-citations.txt
269 test/textile-reader.textile
270 test/mediawiki-reader.wiki
271 test/vimwiki-reader.wiki
272 test/creole-reader.txt
275 test/jira-reader.jira
278 test/s5-fragment.html
283 test/tables.jats_archiving
284 test/tables.jats_articleauthoring
285 test/tables.jats_publishing
297 test/tables.mediawiki
300 test/tables.opendocument
303 test/tables.asciidoctor
317 test/tables/*.jats_archiving
323 test/writer.jats_archiving
324 test/writer.jats_articleauthoring
325 test/writer.jats_publishing
333 test/writer.mediawiki
335 test/writer.opendocument
338 test/writer.asciidoctor
352 test/writers-lang-and-dir.latex
353 test/writers-lang-and-dir.context
354 test/dokuwiki_inline_formatting.dokuwiki
355 test/lhs-test.markdown
356 test/lhs-test.markdown+lhs
358 test/lhs-test.rst+lhs
360 test/lhs-test.latex+lhs
362 test/lhs-test.html+lhs
363 test/lhs-test.fragment.html+lhs
365 test/dokuwiki_external_images.dokuwiki
366 test/dokuwiki_multiblock_table.dokuwiki
369 test/fb2/images-embedded.html
370 test/fb2/images-embedded.fb2
371 test/fb2/test-small.png
372 test/fb2/reader/*.fb2
373 test/fb2/reader/*.native
376 test/docx/golden/*.docx
383 test/pptx/background-image/input.native
384 test/pptx/background-image/*.pptx
385 test/pptx/blanks/just-speaker-notes/input.native
386 test/pptx/blanks/just-speaker-notes/*.pptx
387 test/pptx/blanks/nbsp-in-body/input.native
388 test/pptx/blanks/nbsp-in-body/*.pptx
389 test/pptx/blanks/nbsp-in-heading/input.native
390 test/pptx/blanks/nbsp-in-heading/*.pptx
391 test/pptx/code-custom/*.pptx
392 test/pptx/code/input.native
393 test/pptx/code/*.pptx
394 test/pptx/content-with-caption/heading-text-image/input.native
395 test/pptx/content-with-caption/heading-text-image/*.pptx
396 test/pptx/content-with-caption/image-text/input.native
397 test/pptx/content-with-caption/image-text/*.pptx
398 test/pptx/content-with-caption/text-image/input.native
399 test/pptx/content-with-caption/text-image/*.pptx
400 test/pptx/comparison/both-columns/input.native
401 test/pptx/comparison/both-columns/*.pptx
402 test/pptx/comparison/extra-image/input.native
403 test/pptx/comparison/extra-image/*.pptx
404 test/pptx/comparison/extra-text/input.native
405 test/pptx/comparison/extra-text/*.pptx
406 test/pptx/comparison/non-text-first/input.native
407 test/pptx/comparison/non-text-first/*.pptx
408 test/pptx/comparison/one-column/input.native
409 test/pptx/comparison/one-column/*.pptx
410 test/pptx/document-properties-short-desc/input.native
411 test/pptx/document-properties-short-desc/*.pptx
412 test/pptx/document-properties/input.native
413 test/pptx/document-properties/*.pptx
414 test/pptx/endnotes-toc/*.pptx
415 test/pptx/endnotes/input.native
416 test/pptx/endnotes/*.pptx
417 test/pptx/footer/input.native
418 test/pptx/footer/basic/*.pptx
419 test/pptx/footer/fixed-date/*.pptx
420 test/pptx/footer/higher-slide-number/*.pptx
421 test/pptx/footer/no-title-slide/*.pptx
422 test/pptx/images/input.native
423 test/pptx/images/*.pptx
424 test/pptx/incremental-lists/with-flag/input.native
425 test/pptx/incremental-lists/with-flag/*.pptx
426 test/pptx/incremental-lists/without-flag/input.native
427 test/pptx/incremental-lists/without-flag/*.pptx
428 test/pptx/inline-formatting/input.native
429 test/pptx/inline-formatting/*.pptx
430 test/pptx/lists/input.native
431 test/pptx/lists/*.pptx
432 test/pptx/list-level/input.native
433 test/pptx/list-level/*.pptx
434 test/pptx/raw-ooxml/input.native
435 test/pptx/raw-ooxml/*.pptx
436 test/pptx/remove-empty-slides/input.native
437 test/pptx/remove-empty-slides/*.pptx
438 test/pptx/slide-breaks-slide-level-1/*.pptx
439 test/pptx/slide-breaks-toc/*.pptx
440 test/pptx/slide-breaks/input.native
441 test/pptx/slide-breaks/*.pptx
442 test/pptx/slide-level-0/h1-h2-with-table/input.native
443 test/pptx/slide-level-0/h1-h2-with-table/*.pptx
444 test/pptx/slide-level-0/h1-with-image/input.native
445 test/pptx/slide-level-0/h1-with-image/*.pptx
446 test/pptx/slide-level-0/h1-with-table/input.native
447 test/pptx/slide-level-0/h1-with-table/*.pptx
448 test/pptx/slide-level-0/h2-with-image/input.native
449 test/pptx/slide-level-0/h2-with-image/*.pptx
450 test/pptx/speaker-notes-after-metadata/input.native
451 test/pptx/speaker-notes-after-metadata/*.pptx
452 test/pptx/speaker-notes-afterheader/input.native
453 test/pptx/speaker-notes-afterheader/*.pptx
454 test/pptx/speaker-notes-afterseps/input.native
455 test/pptx/speaker-notes-afterseps/*.pptx
456 test/pptx/speaker-notes/input.native
457 test/pptx/speaker-notes/*.pptx
458 test/pptx/start-numbering-at/input.native
459 test/pptx/start-numbering-at/*.pptx
460 test/pptx/tables/input.native
461 test/pptx/tables/*.pptx
462 test/pptx/two-column/all-text/input.native
463 test/pptx/two-column/all-text/*.pptx
464 test/pptx/two-column/text-and-image/input.native
465 test/pptx/two-column/text-and-image/*.pptx
466 test/ipynb/*.in.native
467 test/ipynb/*.out.native
470 test/twiki-reader.twiki
471 test/tikiwiki-reader.tikiwiki
473 test/odt/markdown/*.md
474 test/odt/native/*.native
476 test/lua/module/*.lua
477 source-repository head
479 location: git://github.com/jgm/pandoc.git
481 flag embed_data_files
482 Description: Embed data files in binary for relocatable executable.
486 Description: Build trypandoc cgi executable.
489 common common-options
490 default-language: Haskell2010
491 build-depends: base >= 4.9 && < 5
492 ghc-options: -Wall -fno-warn-unused-do-bind
493 -Wincomplete-record-updates
494 -Wnoncanonical-monad-instances
497 hs-source-dirs: prelude
498 other-modules: Prelude
499 build-depends: base-compat >= 0.10.5
500 other-extensions: NoImplicitPrelude
503 cpp-options: -D_WINDOWS
506 -- -Wpartial-fields (currently used in Powerpoint writer)
507 -- -Wmissing-export-lists (currently some Odt modules violate this)
508 -- -Wredundant-constraints (problematic if we want to support older base)
510 ghc-options: -Wcpp-undef
512 ghc-options: -Wincomplete-uni-patterns
516 common common-executable
517 import: common-options
518 build-depends: pandoc
519 ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
523 import: common-options
524 build-depends: Glob >= 0.7 && < 0.11,
525 JuicyPixels >= 3.1.6.1 && < 3.4,
527 aeson >= 0.7 && < 2.1,
528 aeson-pretty >= 0.8.9 && < 0.9,
529 array >= 0.5 && < 0.6,
530 attoparsec >= 0.12 && < 0.15,
531 base64-bytestring >= 0.1 && < 1.3,
532 binary >= 0.7 && < 0.11,
533 blaze-html >= 0.9 && < 0.10,
534 blaze-markup >= 0.8 && < 0.9,
535 bytestring >= 0.9 && < 0.12,
536 case-insensitive >= 1.2 && < 1.3,
537 citeproc >= 0.6 && < 0.7,
538 commonmark >= 0.2.1.1 && < 0.3,
539 commonmark-extensions >= 0.2.2 && < 0.3,
540 commonmark-pandoc >= 0.2.1.1 && < 0.3,
542 containers >= 0.4.2.1 && < 0.7,
543 data-default >= 0.4 && < 0.8,
544 deepseq >= 1.3 && < 1.5,
545 directory >= 1.2.3 && < 1.4,
546 doclayout >= 0.3.1.1 && < 0.4,
547 doctemplates >= 0.10 && < 0.11,
548 emojis >= 0.1 && < 0.2,
549 exceptions >= 0.8 && < 0.11,
550 file-embed >= 0.0 && < 0.1,
551 filepath >= 1.1 && < 1.5,
552 haddock-library >= 1.10 && < 1.11,
553 hslua >= 2.0 && < 2.1,
554 hslua-marshalling >= 2.0 && < 2.1,
555 hslua-module-path >= 1.0 && < 1.1,
556 hslua-module-system >= 1.0 && < 1.1,
557 hslua-module-text >= 1.0 && < 1.1,
558 hslua-module-version >= 1.0 && < 1.1,
559 http-client >= 0.4.30 && < 0.8,
560 http-client-tls >= 0.2.4 && < 0.4,
561 http-types >= 0.8 && < 0.13,
562 ipynb >= 0.1.0.2 && < 0.2,
563 jira-wiki-markup >= 1.4 && < 1.5,
566 network-uri >= 2.6 && < 2.8,
567 pandoc-types >= 1.22.1 && < 1.23,
568 parsec >= 3.1 && < 3.2,
569 pretty >= 1.1 && < 1.2,
570 pretty-show >= 1.10 && < 1.11,
571 process >= 1.2.3 && < 1.7,
572 random >= 1 && < 1.3,
573 safe >= 0.3.18 && < 0.4,
574 scientific >= 0.3 && < 0.4,
575 skylighting >= 0.12.1 && < 0.13,
576 skylighting-core >= 0.12.1 && < 0.13,
577 split >= 0.2 && < 0.3,
579 tagsoup >= 0.14.6 && < 0.15,
580 temporary >= 1.1 && < 1.4,
581 texmath >= 0.12.3.2 && < 0.12.4,
582 text >= 1.1.1.0 && < 1.3,
583 text-conversions >= 0.3 && < 0.4,
584 time >= 1.5 && < 1.14,
585 unicode-collation >= 0.1.1 && < 0.2,
586 unicode-transforms >= 0.3 && < 0.4,
587 xml >= 1.3.12 && < 1.4,
588 xml-conduit >= 1.9.1.1 && < 1.10,
589 yaml >= 0.11 && < 0.12,
590 zip-archive >= 0.2.3.4 && < 0.5,
592 if os(windows) && arch(i386)
593 build-depends: basement >= 0.0.10,
595 -- basement 0.0.9 won't build on 32-bit windows.
597 build-depends: unix >= 2.4 && < 2.8
598 if flag(embed_data_files)
599 cpp-options: -DEMBED_DATA_FILES
600 other-modules: Text.Pandoc.Data
603 exposed-modules: Text.Pandoc,
606 Text.Pandoc.Extensions,
609 Text.Pandoc.MediaBag,
613 Text.Pandoc.Readers.HTML,
614 Text.Pandoc.Readers.LaTeX,
615 Text.Pandoc.Readers.Markdown,
616 Text.Pandoc.Readers.CommonMark,
617 Text.Pandoc.Readers.Creole,
618 Text.Pandoc.Readers.BibTeX,
619 Text.Pandoc.Readers.CslJson,
620 Text.Pandoc.Readers.MediaWiki,
621 Text.Pandoc.Readers.Vimwiki,
622 Text.Pandoc.Readers.RST,
623 Text.Pandoc.Readers.Org,
624 Text.Pandoc.Readers.DocBook,
625 Text.Pandoc.Readers.JATS,
626 Text.Pandoc.Readers.Jira,
627 Text.Pandoc.Readers.OPML,
628 Text.Pandoc.Readers.Textile,
629 Text.Pandoc.Readers.Native,
630 Text.Pandoc.Readers.Haddock,
631 Text.Pandoc.Readers.TWiki,
632 Text.Pandoc.Readers.TikiWiki,
633 Text.Pandoc.Readers.Txt2Tags,
634 Text.Pandoc.Readers.Docx,
635 Text.Pandoc.Readers.Odt,
636 Text.Pandoc.Readers.EPUB,
637 Text.Pandoc.Readers.Muse,
638 Text.Pandoc.Readers.Man,
639 Text.Pandoc.Readers.FB2,
640 Text.Pandoc.Readers.DokuWiki,
641 Text.Pandoc.Readers.Ipynb,
642 Text.Pandoc.Readers.CSV,
643 Text.Pandoc.Readers.RTF,
645 Text.Pandoc.Writers.Native,
646 Text.Pandoc.Writers.Docbook,
647 Text.Pandoc.Writers.JATS,
648 Text.Pandoc.Writers.OPML,
649 Text.Pandoc.Writers.HTML,
650 Text.Pandoc.Writers.Ipynb,
651 Text.Pandoc.Writers.ICML,
652 Text.Pandoc.Writers.Jira,
653 Text.Pandoc.Writers.LaTeX,
654 Text.Pandoc.Writers.ConTeXt,
655 Text.Pandoc.Writers.OpenDocument,
656 Text.Pandoc.Writers.Texinfo,
657 Text.Pandoc.Writers.Man,
658 Text.Pandoc.Writers.Ms,
659 Text.Pandoc.Writers.Markdown,
660 Text.Pandoc.Writers.CommonMark,
661 Text.Pandoc.Writers.Haddock,
662 Text.Pandoc.Writers.RST,
663 Text.Pandoc.Writers.Org,
664 Text.Pandoc.Writers.AsciiDoc,
665 Text.Pandoc.Writers.Custom,
666 Text.Pandoc.Writers.Textile,
667 Text.Pandoc.Writers.MediaWiki,
668 Text.Pandoc.Writers.DokuWiki,
669 Text.Pandoc.Writers.XWiki,
670 Text.Pandoc.Writers.ZimWiki,
671 Text.Pandoc.Writers.RTF,
672 Text.Pandoc.Writers.ODT,
673 Text.Pandoc.Writers.Docx,
674 Text.Pandoc.Writers.Powerpoint,
675 Text.Pandoc.Writers.EPUB,
676 Text.Pandoc.Writers.FB2,
677 Text.Pandoc.Writers.TEI,
678 Text.Pandoc.Writers.Muse,
679 Text.Pandoc.Writers.CslJson,
680 Text.Pandoc.Writers.Math,
681 Text.Pandoc.Writers.Shared,
682 Text.Pandoc.Writers.OOXML,
683 Text.Pandoc.Writers.AnnotatedTable,
684 Text.Pandoc.Writers.BibTeX,
688 Text.Pandoc.Templates,
690 Text.Pandoc.SelfContained,
691 Text.Pandoc.Highlighting,
698 Text.Pandoc.ImageSize,
701 other-modules: Text.Pandoc.App.CommandLineOptions,
702 Text.Pandoc.App.FormatHeuristics,
704 Text.Pandoc.App.OutputSettings,
705 Text.Pandoc.Class.CommonState,
706 Text.Pandoc.Class.IO,
707 Text.Pandoc.Class.PandocMonad,
708 Text.Pandoc.Class.PandocIO,
709 Text.Pandoc.Class.PandocPure,
710 Text.Pandoc.Class.Sandbox,
711 Text.Pandoc.Filter.JSON,
712 Text.Pandoc.Filter.Lua,
713 Text.Pandoc.Filter.Path,
714 Text.Pandoc.Readers.Docx.Lists,
715 Text.Pandoc.Readers.Docx.Combine,
716 Text.Pandoc.Readers.Docx.Parse,
717 Text.Pandoc.Readers.Docx.Parse.Styles,
718 Text.Pandoc.Readers.Docx.Util,
719 Text.Pandoc.Readers.Docx.Fields,
720 Text.Pandoc.Readers.HTML.Parsing,
721 Text.Pandoc.Readers.HTML.Table,
722 Text.Pandoc.Readers.HTML.TagCategories,
723 Text.Pandoc.Readers.HTML.Types,
724 Text.Pandoc.Readers.LaTeX.Inline,
725 Text.Pandoc.Readers.LaTeX.Citation,
726 Text.Pandoc.Readers.LaTeX.Lang,
727 Text.Pandoc.Readers.LaTeX.Macro,
728 Text.Pandoc.Readers.LaTeX.Math,
729 Text.Pandoc.Readers.LaTeX.Parsing,
730 Text.Pandoc.Readers.LaTeX.SIunitx,
731 Text.Pandoc.Readers.LaTeX.Table,
732 Text.Pandoc.Readers.LaTeX.Types,
733 Text.Pandoc.Readers.Odt.Base,
734 Text.Pandoc.Readers.Odt.Namespaces,
735 Text.Pandoc.Readers.Odt.StyleReader,
736 Text.Pandoc.Readers.Odt.ContentReader,
737 Text.Pandoc.Readers.Odt.Generic.Fallible,
738 Text.Pandoc.Readers.Odt.Generic.SetMap,
739 Text.Pandoc.Readers.Odt.Generic.Utils,
740 Text.Pandoc.Readers.Odt.Generic.Namespaces,
741 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
742 Text.Pandoc.Readers.Odt.Arrows.State,
743 Text.Pandoc.Readers.Odt.Arrows.Utils,
744 Text.Pandoc.Readers.Org.BlockStarts,
745 Text.Pandoc.Readers.Org.Blocks,
746 Text.Pandoc.Readers.Org.DocumentTree,
747 Text.Pandoc.Readers.Org.ExportSettings,
748 Text.Pandoc.Readers.Org.Inlines,
749 Text.Pandoc.Readers.Org.Meta,
750 Text.Pandoc.Readers.Org.ParserState,
751 Text.Pandoc.Readers.Org.Parsing,
752 Text.Pandoc.Readers.Org.Shared,
753 Text.Pandoc.Readers.Metadata,
754 Text.Pandoc.Readers.Roff,
755 Text.Pandoc.Writers.Docx.StyleMap,
756 Text.Pandoc.Writers.Docx.Table,
757 Text.Pandoc.Writers.Docx.Types,
758 Text.Pandoc.Writers.GridTable
759 Text.Pandoc.Writers.JATS.References,
760 Text.Pandoc.Writers.JATS.Table,
761 Text.Pandoc.Writers.JATS.Types,
762 Text.Pandoc.Writers.LaTeX.Caption,
763 Text.Pandoc.Writers.LaTeX.Notes,
764 Text.Pandoc.Writers.LaTeX.Table,
765 Text.Pandoc.Writers.LaTeX.Lang,
766 Text.Pandoc.Writers.LaTeX.Types,
767 Text.Pandoc.Writers.LaTeX.Citation,
768 Text.Pandoc.Writers.LaTeX.Util,
769 Text.Pandoc.Writers.Markdown.Types,
770 Text.Pandoc.Writers.Markdown.Inline,
771 Text.Pandoc.Writers.Roff,
772 Text.Pandoc.Writers.Powerpoint.Presentation,
773 Text.Pandoc.Writers.Powerpoint.Output,
774 Text.Pandoc.Lua.ErrorConversion,
775 Text.Pandoc.Lua.Filter,
776 Text.Pandoc.Lua.Global,
777 Text.Pandoc.Lua.Init,
778 Text.Pandoc.Lua.Marshaling,
779 Text.Pandoc.Lua.Marshaling.AST,
780 Text.Pandoc.Lua.Marshaling.Attr,
781 Text.Pandoc.Lua.Marshaling.CommonState,
782 Text.Pandoc.Lua.Marshaling.Context,
783 Text.Pandoc.Lua.Marshaling.List,
784 Text.Pandoc.Lua.Marshaling.ListAttributes,
785 Text.Pandoc.Lua.Marshaling.PandocError,
786 Text.Pandoc.Lua.Marshaling.ReaderOptions,
787 Text.Pandoc.Lua.Marshaling.SimpleTable,
788 Text.Pandoc.Lua.Module.MediaBag,
789 Text.Pandoc.Lua.Module.Pandoc,
790 Text.Pandoc.Lua.Module.System,
791 Text.Pandoc.Lua.Module.Types,
792 Text.Pandoc.Lua.Module.Utils,
793 Text.Pandoc.Lua.Packages,
794 Text.Pandoc.Lua.PandocLua,
795 Text.Pandoc.Lua.Util,
796 Text.Pandoc.Lua.Walk,
797 Text.Pandoc.XML.Light,
798 Text.Pandoc.XML.Light.Types,
799 Text.Pandoc.XML.Light.Proc,
800 Text.Pandoc.XML.Light.Output,
801 Text.Pandoc.Network.HTTP,
804 Text.Pandoc.RoffChar,
806 Text.Pandoc.Translations,
809 Text.Pandoc.Citeproc.BibTeX,
810 Text.Pandoc.Citeproc.CslJson,
811 Text.Pandoc.Citeproc.Data,
812 Text.Pandoc.Citeproc.Locator,
813 Text.Pandoc.Citeproc.MetaValue,
814 Text.Pandoc.Citeproc.Util,
816 autogen-modules: Paths_pandoc
820 import: common-executable
824 other-modules: Paths_pandoc
827 import: common-executable
828 main-is: trypandoc.hs
829 hs-source-dirs: trypandoc
831 build-depends: aeson, http-types, text, wai >= 0.3, wai-extra >= 3.0.24
836 test-suite test-pandoc
837 import: common-executable
838 type: exitcode-stdio-1.0
839 main-is: test-pandoc.hs
841 build-depends: pandoc,
842 Diff >= 0.2 && < 0.5,
843 Glob >= 0.7 && < 0.11,
844 QuickCheck >= 2.4 && < 2.15,
845 bytestring >= 0.9 && < 0.12,
846 containers >= 0.4.2.1 && < 0.7,
847 directory >= 1.2.3 && < 1.4,
848 doctemplates >= 0.10 && < 0.11,
849 exceptions >= 0.8 && < 0.11,
850 filepath >= 1.1 && < 1.5,
851 hslua >= 2.0 && < 2.1,
853 pandoc-types >= 1.22.1 && < 1.23,
854 process >= 1.2.3 && < 1.7,
855 tasty >= 0.11 && < 1.5,
856 tasty-golden >= 2.3 && < 2.4,
857 tasty-hunit >= 0.9 && < 0.11,
858 tasty-lua >= 1.0 && < 1.1,
859 tasty-quickcheck >= 0.8 && < 0.11,
860 text >= 1.1.1.0 && < 1.3,
861 time >= 1.5 && < 1.14,
862 xml >= 1.3.12 && < 1.4,
863 zip-archive >= 0.2.3.4 && < 0.5
864 other-modules: Tests.Old
874 Tests.Readers.Markdown
876 Tests.Readers.Org.Block
877 Tests.Readers.Org.Block.CodeBlock
878 Tests.Readers.Org.Block.Figure
879 Tests.Readers.Org.Block.Header
880 Tests.Readers.Org.Block.List
881 Tests.Readers.Org.Block.Table
882 Tests.Readers.Org.Directive
883 Tests.Readers.Org.Inline
884 Tests.Readers.Org.Inline.Citation
885 Tests.Readers.Org.Inline.Note
886 Tests.Readers.Org.Inline.Smart
887 Tests.Readers.Org.Meta
888 Tests.Readers.Org.Shared
893 Tests.Readers.Txt2Tags
899 Tests.Readers.DokuWiki
901 Tests.Writers.ConTeXt
902 Tests.Writers.Docbook
906 Tests.Writers.Markdown
909 Tests.Writers.AsciiDoc
916 Tests.Writers.Powerpoint
919 Tests.Writers.AnnotatedTable
921 benchmark benchmark-pandoc
922 import: common-executable
923 type: exitcode-stdio-1.0
924 main-is: benchmark-pandoc.hs
925 hs-source-dirs: benchmark
926 build-depends: bytestring,
928 -- gauge >= 0.2 && < 0.3,
929 tasty-bench >= 0.2 && <= 0.4,
931 text >= 1.1.1.0 && < 1.3,
934 -- we increase heap size to avoid benchmarking garbage collection:
935 ghc-options: -rtsopts -with-rtsopts=-A8m -threaded