git.iko.soy/typeable/pandoc
on 2.14 help sign in
typeable/pandoc/pandoc.cabal
844 lines 38 kB history raw
1cabal-version: 2.2
2name: pandoc
3version: 2.14
4build-type: Simple
5license: GPL-2.0-or-later
6license-file: COPYING.md
7copyright: (c) 2006-2021 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.2.2, GHC == 8.4.4, GHC == 8.6.5,
15 GHC == 8.8.4, GHC == 8.10.2, GHC == 9.0.1
16synopsis: Conversion between markup formats
17description: Pandoc is a Haskell library for converting from one markup
18 format to another, and a command-line tool that uses
19 this library. It can read several dialects of Markdown and
20 (subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
21 MediaWiki markup, DokuWiki markup, TWiki markup,
22 TikiWiki markup, 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).
36 .
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.
44data-files:
45 -- templates
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
90 -- translations
91 data/translations/*.yaml
92 -- source files for reference.docx
93 data/docx/[Content_Types].xml
94 data/docx/_rels/.rels
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
110 data/odt/mimetype
111 data/odt/manifest.rdf
112 data/odt/styles.xml
113 data/odt/content.xml
114 data/odt/meta.xml
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
170 data/epub.css
171 -- data for dzslides writer
172 data/dzslides/template.html
173 -- default abbreviations file
174 data/abbreviations
175 -- sample lua custom writer
176 data/sample.lua
177 -- lua init script
178 data/init.lua
179 -- pandoc lua module
180 data/pandoc.lua
181 -- lua List module
182 data/pandoc.List.lua
183 -- bash completion template
184 data/bash_completion.tpl
185 -- citeproc
186 data/default.csl
187 citeproc/biblatex-localization/*.lbx.strings
188 -- documentation
189 MANUAL.txt, COPYRIGHT
190extra-source-files:
191 -- documentation
192 INSTALL.md, AUTHORS.md, README.md,
193 CONTRIBUTING.md, BUGS, changelog.md,
194 man/pandoc.1
195 -- cabal and stack build plans
196 cabal.project
197 stack.yaml
198 -- files needed to build man page
199 man/manfilter.lua
200 man/pandoc.1.before
201 man/pandoc.1.after
202 -- trypandoc
203 trypandoc/Makefile
204 trypandoc/index.html
205 -- tests
206 test/bodybg.gif
207 test/*.native
208 test/command/*.md
209 test/command/*.csl
210 test/command/biblio.bib
211 test/command/biblatex-examples.bib
212 test/command/A.txt
213 test/command/B.txt
214 test/command/C.txt
215 test/command/D.txt
216 test/command/01.csv
217 test/command/chap1/spider.png
218 test/command/chap2/spider.png
219 test/command/chap1/text.md
220 test/command/chap2/text.md
221 test/command/defaults1.yaml
222 test/command/defaults2.yaml
223 test/command/defaults3.yaml
224 test/command/defaults4.yaml
225 test/command/defaults5.yaml
226 test/command/defaults6.yaml
227 test/command/defaults7.yaml
228 test/command/defaults8.yaml
229 test/command/defaults9.yaml
230 test/command/3533-rst-csv-tables.csv
231 test/command/3880.txt
232 test/command/5182.txt
233 test/command/5700-metadata-file-1.yml
234 test/command/5700-metadata-file-2.yml
235 test/command/abbrevs
236 test/command/SVG_logo-without-xml-declaration.svg
237 test/command/SVG_logo.svg
238 test/command/corrupt.svg
239 test/command/inkscape-cube.svg
240 test/command/lua-pandoc-state.lua
241 test/command/sub-file-chapter-1.tex
242 test/command/sub-file-chapter-2.tex
243 test/command/bar.tex
244 test/command/yaml-metadata.yaml
245 test/command/3510-subdoc.org
246 test/command/3510-export.latex
247 test/command/3510-src.hs
248 test/command/3971b.tex
249 test/docbook-chapter.docbook
250 test/docbook-reader.docbook
251 test/docbook-xref.docbook
252 test/html-reader.html
253 test/opml-reader.opml
254 test/org-select-tags.org
255 test/haddock-reader.haddock
256 test/insert
257 test/lalune.jpg
258 test/man-reader.man
259 test/movie.jpg
260 test/media/rId25.jpg
261 test/media/rId26.jpg
262 test/media/rId27.jpg
263 test/latex-reader.latex
264 test/textile-reader.textile
265 test/markdown-reader-more.txt
266 test/markdown-citations.txt
267 test/textile-reader.textile
268 test/mediawiki-reader.wiki
269 test/vimwiki-reader.wiki
270 test/creole-reader.txt
271 test/rst-reader.rst
272 test/jats-reader.xml
273 test/jira-reader.jira
274 test/s5-basic.html
275 test/s5-fancy.html
276 test/s5-fragment.html
277 test/s5-inserts.html
278 test/tables.context
279 test/tables.docbook4
280 test/tables.docbook5
281 test/tables.jats_archiving
282 test/tables.jats_articleauthoring
283 test/tables.jats_publishing
284 test/tables.jira
285 test/tables.dokuwiki
286 test/tables.zimwiki
287 test/tables.icml
288 test/tables.html4
289 test/tables.html5
290 test/tables.latex
291 test/tables.man
292 test/tables.ms
293 test/tables.plain
294 test/tables.markdown
295 test/tables.mediawiki
296 test/tables.tei
297 test/tables.textile
298 test/tables.opendocument
299 test/tables.org
300 test/tables.asciidoc
301 test/tables.asciidoctor
302 test/tables.haddock
303 test/tables.texinfo
304 test/tables.rst
305 test/tables.rtf
306 test/tables.txt
307 test/tables.fb2
308 test/tables.muse
309 test/tables.custom
310 test/tables.xwiki
311 test/tables/*.html4
312 test/tables/*.html5
313 test/tables/*.latex
314 test/tables/*.native
315 test/tables/*.jats_archiving
316 test/testsuite.txt
317 test/writer.latex
318 test/writer.context
319 test/writer.docbook4
320 test/writer.docbook5
321 test/writer.jats_archiving
322 test/writer.jats_articleauthoring
323 test/writer.jats_publishing
324 test/writer.jira
325 test/writer.html4
326 test/writer.html5
327 test/writer.man
328 test/writer.ms
329 test/writer.markdown
330 test/writer.plain
331 test/writer.mediawiki
332 test/writer.textile
333 test/writer.opendocument
334 test/writer.org
335 test/writer.asciidoc
336 test/writer.asciidoctor
337 test/writer.haddock
338 test/writer.rst
339 test/writer.icml
340 test/writer.rtf
341 test/writer.tei
342 test/writer.texinfo
343 test/writer.fb2
344 test/writer.opml
345 test/writer.dokuwiki
346 test/writer.zimwiki
347 test/writer.xwiki
348 test/writer.muse
349 test/writer.custom
350 test/writers-lang-and-dir.latex
351 test/writers-lang-and-dir.context
352 test/dokuwiki_inline_formatting.dokuwiki
353 test/lhs-test.markdown
354 test/lhs-test.markdown+lhs
355 test/lhs-test.rst
356 test/lhs-test.rst+lhs
357 test/lhs-test.latex
358 test/lhs-test.latex+lhs
359 test/lhs-test.html
360 test/lhs-test.html+lhs
361 test/lhs-test.fragment.html+lhs
362 test/pipe-tables.txt
363 test/dokuwiki_external_images.dokuwiki
364 test/dokuwiki_multiblock_table.dokuwiki
365 test/fb2/*.markdown
366 test/fb2/*.fb2
367 test/fb2/images-embedded.html
368 test/fb2/images-embedded.fb2
369 test/fb2/test-small.png
370 test/fb2/reader/*.fb2
371 test/fb2/reader/*.native
372 test/fb2/test.jpg
373 test/docx/*.docx
374 test/docx/golden/*.docx
375 test/docx/*.native
376 test/epub/*.epub
377 test/epub/*.native
378 test/pptx/*.pptx
379 test/pptx/*.native
380 test/ipynb/*.in.native
381 test/ipynb/*.out.native
382 test/ipynb/*.ipynb
383 test/txt2tags.t2t
384 test/twiki-reader.twiki
385 test/tikiwiki-reader.tikiwiki
386 test/odt/odt/*.odt
387 test/odt/markdown/*.md
388 test/odt/native/*.native
389 test/lua/*.lua
390 test/lua/module/*.lua
391source-repository head
392 type: git
393 location: git://github.com/jgm/pandoc.git
395flag embed_data_files
396 Description: Embed data files in binary for relocatable executable.
397 Default: False
399flag trypandoc
400 Description: Build trypandoc cgi executable.
401 Default: False
403common common-options
404 default-language: Haskell2010
405 build-depends: base >= 4.9 && < 5
406 ghc-options: -Wall -fno-warn-unused-do-bind
407 -Wincomplete-record-updates
408 -Wnoncanonical-monad-instances
410 if impl(ghc < 8.4)
411 hs-source-dirs: prelude
412 other-modules: Prelude
413 build-depends: base-compat >= 0.9
414 other-extensions: NoImplicitPrelude
416 if os(windows)
417 cpp-options: -D_WINDOWS
419 -- Later:
420 -- -Wpartial-fields (currently used in Powerpoint writer)
421 -- -Wmissing-export-lists (currently some Odt modules violate this)
422 -- -Wredundant-constraints (problematic if we want to support older base)
423 if impl(ghc >= 8.2)
424 ghc-options: -Wcpp-undef
425 if impl(ghc >= 8.4)
426 ghc-options: -Wincomplete-uni-patterns
427 -Widentities
428 -fhide-source-paths
430common common-executable
431 import: common-options
432 build-depends: pandoc
433 ghc-options: -rtsopts -with-rtsopts=-A8m -threaded
436library
437 import: common-options
438 build-depends: Glob >= 0.7 && < 0.11,
439 HTTP >= 4000.0.5 && < 4000.4,
440 HsYAML >= 0.2 && < 0.3,
441 JuicyPixels >= 3.1.6.1 && < 3.4,
442 SHA >= 1.6 && < 1.7,
443 aeson >= 0.7 && < 1.6,
444 aeson-pretty >= 0.8.5 && < 0.9,
445 array >= 0.5 && < 0.6,
446 attoparsec >= 0.12 && < 0.15,
447 base64-bytestring >= 0.1 && < 1.3,
448 binary >= 0.7 && < 0.11,
449 blaze-html >= 0.9 && < 0.10,
450 blaze-markup >= 0.8 && < 0.9,
451 bytestring >= 0.9 && < 0.12,
452 case-insensitive >= 1.2 && < 1.3,
453 citeproc >= 0.4 && < 0.4.1,
454 commonmark >= 0.2 && < 0.3,
455 commonmark-extensions >= 0.2.1 && < 0.3,
456 commonmark-pandoc >= 0.2.1 && < 0.3,
457 connection >= 0.3.1,
458 containers >= 0.4.2.1 && < 0.7,
459 data-default >= 0.4 && < 0.8,
460 deepseq >= 1.3 && < 1.5,
461 directory >= 1.2.3 && < 1.4,
462 doclayout >= 0.3.0.1 && < 0.4,
463 doctemplates >= 0.9 && < 0.10,
464 emojis >= 0.1 && < 0.2,
465 exceptions >= 0.8 && < 0.11,
466 file-embed >= 0.0 && < 0.1,
467 filepath >= 1.1 && < 1.5,
468 haddock-library >= 1.10 && < 1.11,
469 hslua >= 1.1 && < 1.4,
470 hslua-module-path >= 0.1.0 && < 0.2.0,
471 hslua-module-system >= 0.2 && < 0.3,
472 hslua-module-text >= 0.2.1 && < 0.4,
473 http-client >= 0.4.30 && < 0.8,
474 http-client-tls >= 0.2.4 && < 0.4,
475 http-types >= 0.8 && < 0.13,
476 ipynb >= 0.1 && < 0.2,
477 jira-wiki-markup >= 1.4 && < 1.5,
478 mtl >= 2.2 && < 2.3,
479 network >= 2.6,
480 network-uri >= 2.6 && < 2.8,
481 pandoc-types >= 1.22 && < 1.23,
482 parsec >= 3.1 && < 3.2,
483 process >= 1.2.3 && < 1.7,
484 random >= 1 && < 1.3,
485 safe >= 0.3.18 && < 0.4,
486 scientific >= 0.3 && < 0.4,
487 skylighting >= 0.10.5.1 && < 0.10.6,
488 skylighting-core >= 0.10.5.1 && < 0.10.6,
489 split >= 0.2 && < 0.3,
490 syb >= 0.1 && < 0.8,
491 tagsoup >= 0.14.6 && < 0.15,
492 temporary >= 1.1 && < 1.4,
493 texmath >= 0.12.3 && < 0.12.4,
494 text >= 1.1.1.0 && < 1.3,
495 text-conversions >= 0.3 && < 0.4,
496 time >= 1.5 && < 1.12,
497 unicode-transforms >= 0.3 && < 0.4,
498 unordered-containers >= 0.2 && < 0.3,
499 xml >= 1.3.12 && < 1.4,
500 xml-conduit >= 1.9.1.1 && < 1.10,
501 unicode-collation >= 0.1.1 && < 0.2,
502 zip-archive >= 0.2.3.4 && < 0.5,
503 zlib >= 0.5 && < 0.7
504 if os(windows) && arch(i386)
505 build-depends: basement >= 0.0.10,
506 foundation >= 0.0.23
507 -- basement 0.0.9 won't build on 32-bit windows.
508 if !os(windows)
509 build-depends: unix >= 2.4 && < 2.8
510 if flag(embed_data_files)
511 cpp-options: -DEMBED_DATA_FILES
512 other-modules: Text.Pandoc.Data
513 hs-source-dirs: src
515 exposed-modules: Text.Pandoc,
516 Text.Pandoc.App,
517 Text.Pandoc.Options,
518 Text.Pandoc.Extensions,
519 Text.Pandoc.Shared,
520 Text.Pandoc.Sources,
521 Text.Pandoc.MediaBag,
522 Text.Pandoc.Error,
523 Text.Pandoc.Filter,
524 Text.Pandoc.Readers,
525 Text.Pandoc.Readers.HTML,
526 Text.Pandoc.Readers.LaTeX,
527 Text.Pandoc.Readers.Markdown,
528 Text.Pandoc.Readers.CommonMark,
529 Text.Pandoc.Readers.Creole,
530 Text.Pandoc.Readers.BibTeX,
531 Text.Pandoc.Readers.CslJson,
532 Text.Pandoc.Readers.MediaWiki,
533 Text.Pandoc.Readers.Vimwiki,
534 Text.Pandoc.Readers.RST,
535 Text.Pandoc.Readers.Org,
536 Text.Pandoc.Readers.DocBook,
537 Text.Pandoc.Readers.JATS,
538 Text.Pandoc.Readers.Jira,
539 Text.Pandoc.Readers.OPML,
540 Text.Pandoc.Readers.Textile,
541 Text.Pandoc.Readers.Native,
542 Text.Pandoc.Readers.Haddock,
543 Text.Pandoc.Readers.TWiki,
544 Text.Pandoc.Readers.TikiWiki,
545 Text.Pandoc.Readers.Txt2Tags,
546 Text.Pandoc.Readers.Docx,
547 Text.Pandoc.Readers.Odt,
548 Text.Pandoc.Readers.EPUB,
549 Text.Pandoc.Readers.Muse,
550 Text.Pandoc.Readers.Man,
551 Text.Pandoc.Readers.FB2,
552 Text.Pandoc.Readers.DokuWiki,
553 Text.Pandoc.Readers.Ipynb,
554 Text.Pandoc.Readers.CSV,
555 Text.Pandoc.Writers,
556 Text.Pandoc.Writers.Native,
557 Text.Pandoc.Writers.Docbook,
558 Text.Pandoc.Writers.JATS,
559 Text.Pandoc.Writers.OPML,
560 Text.Pandoc.Writers.HTML,
561 Text.Pandoc.Writers.Ipynb,
562 Text.Pandoc.Writers.ICML,
563 Text.Pandoc.Writers.Jira,
564 Text.Pandoc.Writers.LaTeX,
565 Text.Pandoc.Writers.ConTeXt,
566 Text.Pandoc.Writers.OpenDocument,
567 Text.Pandoc.Writers.Texinfo,
568 Text.Pandoc.Writers.Man,
569 Text.Pandoc.Writers.Ms,
570 Text.Pandoc.Writers.Markdown,
571 Text.Pandoc.Writers.CommonMark,
572 Text.Pandoc.Writers.Haddock,
573 Text.Pandoc.Writers.RST,
574 Text.Pandoc.Writers.Org,
575 Text.Pandoc.Writers.AsciiDoc,
576 Text.Pandoc.Writers.Custom,
577 Text.Pandoc.Writers.Textile,
578 Text.Pandoc.Writers.MediaWiki,
579 Text.Pandoc.Writers.DokuWiki,
580 Text.Pandoc.Writers.XWiki,
581 Text.Pandoc.Writers.ZimWiki,
582 Text.Pandoc.Writers.RTF,
583 Text.Pandoc.Writers.ODT,
584 Text.Pandoc.Writers.Docx,
585 Text.Pandoc.Writers.Powerpoint,
586 Text.Pandoc.Writers.EPUB,
587 Text.Pandoc.Writers.FB2,
588 Text.Pandoc.Writers.TEI,
589 Text.Pandoc.Writers.Muse,
590 Text.Pandoc.Writers.CslJson,
591 Text.Pandoc.Writers.Math,
592 Text.Pandoc.Writers.Shared,
593 Text.Pandoc.Writers.OOXML,
594 Text.Pandoc.Writers.AnnotatedTable,
595 Text.Pandoc.Writers.BibTeX,
596 Text.Pandoc.Lua,
597 Text.Pandoc.PDF,
598 Text.Pandoc.UTF8,
599 Text.Pandoc.Templates,
600 Text.Pandoc.XML,
601 Text.Pandoc.SelfContained,
602 Text.Pandoc.Highlighting,
603 Text.Pandoc.Logging,
604 Text.Pandoc.Process,
605 Text.Pandoc.MIME,
606 Text.Pandoc.Parsing,
607 Text.Pandoc.Asciify,
608 Text.Pandoc.Emoji,
609 Text.Pandoc.ImageSize,
610 Text.Pandoc.Class,
611 Text.Pandoc.Citeproc
612 other-modules: Text.Pandoc.App.CommandLineOptions,
613 Text.Pandoc.App.FormatHeuristics,
614 Text.Pandoc.App.Opt,
615 Text.Pandoc.App.OutputSettings,
616 Text.Pandoc.Class.CommonState,
617 Text.Pandoc.Class.IO,
618 Text.Pandoc.Class.PandocMonad,
619 Text.Pandoc.Class.PandocIO,
620 Text.Pandoc.Class.PandocPure,
621 Text.Pandoc.Filter.JSON,
622 Text.Pandoc.Filter.Lua,
623 Text.Pandoc.Filter.Path,
624 Text.Pandoc.Readers.Docx.Lists,
625 Text.Pandoc.Readers.Docx.Combine,
626 Text.Pandoc.Readers.Docx.Parse,
627 Text.Pandoc.Readers.Docx.Parse.Styles,
628 Text.Pandoc.Readers.Docx.Util,
629 Text.Pandoc.Readers.Docx.Fields,
630 Text.Pandoc.Readers.HTML.Parsing,
631 Text.Pandoc.Readers.HTML.Table,
632 Text.Pandoc.Readers.HTML.TagCategories,
633 Text.Pandoc.Readers.HTML.Types,
634 Text.Pandoc.Readers.LaTeX.Inline,
635 Text.Pandoc.Readers.LaTeX.Citation,
636 Text.Pandoc.Readers.LaTeX.Lang,
637 Text.Pandoc.Readers.LaTeX.Macro,
638 Text.Pandoc.Readers.LaTeX.Math,
639 Text.Pandoc.Readers.LaTeX.Parsing,
640 Text.Pandoc.Readers.LaTeX.SIunitx,
641 Text.Pandoc.Readers.LaTeX.Table,
642 Text.Pandoc.Readers.LaTeX.Types,
643 Text.Pandoc.Readers.Odt.Base,
644 Text.Pandoc.Readers.Odt.Namespaces,
645 Text.Pandoc.Readers.Odt.StyleReader,
646 Text.Pandoc.Readers.Odt.ContentReader,
647 Text.Pandoc.Readers.Odt.Generic.Fallible,
648 Text.Pandoc.Readers.Odt.Generic.SetMap,
649 Text.Pandoc.Readers.Odt.Generic.Utils,
650 Text.Pandoc.Readers.Odt.Generic.Namespaces,
651 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
652 Text.Pandoc.Readers.Odt.Arrows.State,
653 Text.Pandoc.Readers.Odt.Arrows.Utils,
654 Text.Pandoc.Readers.Org.BlockStarts,
655 Text.Pandoc.Readers.Org.Blocks,
656 Text.Pandoc.Readers.Org.DocumentTree,
657 Text.Pandoc.Readers.Org.ExportSettings,
658 Text.Pandoc.Readers.Org.Inlines,
659 Text.Pandoc.Readers.Org.Meta,
660 Text.Pandoc.Readers.Org.ParserState,
661 Text.Pandoc.Readers.Org.Parsing,
662 Text.Pandoc.Readers.Org.Shared,
663 Text.Pandoc.Readers.Metadata,
664 Text.Pandoc.Readers.Roff,
665 Text.Pandoc.Writers.Docx.StyleMap,
666 Text.Pandoc.Writers.Docx.Table,
667 Text.Pandoc.Writers.Docx.Types,
668 Text.Pandoc.Writers.GridTable
669 Text.Pandoc.Writers.JATS.References,
670 Text.Pandoc.Writers.JATS.Table,
671 Text.Pandoc.Writers.JATS.Types,
672 Text.Pandoc.Writers.LaTeX.Caption,
673 Text.Pandoc.Writers.LaTeX.Notes,
674 Text.Pandoc.Writers.LaTeX.Table,
675 Text.Pandoc.Writers.LaTeX.Lang,
676 Text.Pandoc.Writers.LaTeX.Types,
677 Text.Pandoc.Writers.LaTeX.Citation,
678 Text.Pandoc.Writers.LaTeX.Util,
679 Text.Pandoc.Writers.Markdown.Types,
680 Text.Pandoc.Writers.Markdown.Inline,
681 Text.Pandoc.Writers.Roff,
682 Text.Pandoc.Writers.Powerpoint.Presentation,
683 Text.Pandoc.Writers.Powerpoint.Output,
684 Text.Pandoc.Lua.ErrorConversion,
685 Text.Pandoc.Lua.Filter,
686 Text.Pandoc.Lua.Global,
687 Text.Pandoc.Lua.Init,
688 Text.Pandoc.Lua.Marshaling,
689 Text.Pandoc.Lua.Marshaling.AST,
690 Text.Pandoc.Lua.Marshaling.AnyValue,
691 Text.Pandoc.Lua.Marshaling.CommonState,
692 Text.Pandoc.Lua.Marshaling.Context,
693 Text.Pandoc.Lua.Marshaling.List,
694 Text.Pandoc.Lua.Marshaling.MediaBag,
695 Text.Pandoc.Lua.Marshaling.PandocError,
696 Text.Pandoc.Lua.Marshaling.ReaderOptions,
697 Text.Pandoc.Lua.Marshaling.SimpleTable,
698 Text.Pandoc.Lua.Marshaling.Version,
699 Text.Pandoc.Lua.Module.MediaBag,
700 Text.Pandoc.Lua.Module.Pandoc,
701 Text.Pandoc.Lua.Module.System,
702 Text.Pandoc.Lua.Module.Types,
703 Text.Pandoc.Lua.Module.Utils,
704 Text.Pandoc.Lua.Packages,
705 Text.Pandoc.Lua.PandocLua,
706 Text.Pandoc.Lua.Util,
707 Text.Pandoc.Lua.Walk,
708 Text.Pandoc.XML.Light,
709 Text.Pandoc.XML.Light.Types,
710 Text.Pandoc.XML.Light.Proc,
711 Text.Pandoc.XML.Light.Output,
712 Text.Pandoc.CSS,
713 Text.Pandoc.CSV,
714 Text.Pandoc.RoffChar,
715 Text.Pandoc.UUID,
716 Text.Pandoc.Translations,
717 Text.Pandoc.Slides,
718 Text.Pandoc.Image,
719 Text.Pandoc.Citeproc.BibTeX,
720 Text.Pandoc.Citeproc.CslJson,
721 Text.Pandoc.Citeproc.Data,
722 Text.Pandoc.Citeproc.Locator,
723 Text.Pandoc.Citeproc.MetaValue,
724 Text.Pandoc.Citeproc.Util,
725 Paths_pandoc
726 autogen-modules: Paths_pandoc
727 buildable: True
729executable pandoc
730 import: common-executable
731 hs-source-dirs: app
732 main-is: pandoc.hs
733 buildable: True
734 other-modules: Paths_pandoc
736executable trypandoc
737 import: common-executable
738 main-is: trypandoc.hs
739 hs-source-dirs: trypandoc
740 if flag(trypandoc)
741 build-depends: aeson, http-types, text, wai >= 0.3, wai-extra >= 3.0.24
742 buildable: True
743 else
744 buildable: False
746test-suite test-pandoc
747 import: common-executable
748 type: exitcode-stdio-1.0
749 main-is: test-pandoc.hs
750 hs-source-dirs: test
751 build-depends: pandoc,
752 Diff >= 0.2 && < 0.5,
753 Glob >= 0.7 && < 0.11,
754 QuickCheck >= 2.4 && < 2.15,
755 bytestring >= 0.9 && < 0.12,
756 containers >= 0.4.2.1 && < 0.7,
757 directory >= 1.2.3 && < 1.4,
758 doctemplates >= 0.9 && < 0.10,
759 exceptions >= 0.8 && < 0.11,
760 filepath >= 1.1 && < 1.5,
761 hslua >= 1.1 && < 1.4,
762 mtl >= 2.2 && < 2.3,
763 pandoc-types >= 1.22 && < 1.23,
764 process >= 1.2.3 && < 1.7,
765 tasty >= 0.11 && < 1.5,
766 tasty-golden >= 2.3 && < 2.4,
767 tasty-hunit >= 0.9 && < 0.11,
768 tasty-lua >= 0.2 && < 0.3,
769 tasty-quickcheck >= 0.8 && < 0.11,
770 text >= 1.1.1.0 && < 1.3,
771 time >= 1.5 && < 1.12,
772 xml >= 1.3.12 && < 1.4,
773 zip-archive >= 0.2.3.4 && < 0.5
774 other-modules: Tests.Old
775 Tests.Command
776 Tests.Helpers
777 Tests.Lua
778 Tests.Lua.Module
779 Tests.Shared
780 Tests.Readers.LaTeX
781 Tests.Readers.HTML
782 Tests.Readers.JATS
783 Tests.Readers.Jira
784 Tests.Readers.Markdown
785 Tests.Readers.Org
786 Tests.Readers.Org.Block
787 Tests.Readers.Org.Block.CodeBlock
788 Tests.Readers.Org.Block.Figure
789 Tests.Readers.Org.Block.Header
790 Tests.Readers.Org.Block.List
791 Tests.Readers.Org.Block.Table
792 Tests.Readers.Org.Directive
793 Tests.Readers.Org.Inline
794 Tests.Readers.Org.Inline.Citation
795 Tests.Readers.Org.Inline.Note
796 Tests.Readers.Org.Inline.Smart
797 Tests.Readers.Org.Meta
798 Tests.Readers.Org.Shared
799 Tests.Readers.RST
800 Tests.Readers.Docx
801 Tests.Readers.Odt
802 Tests.Readers.Txt2Tags
803 Tests.Readers.EPUB
804 Tests.Readers.Muse
805 Tests.Readers.Creole
806 Tests.Readers.Man
807 Tests.Readers.FB2
808 Tests.Readers.DokuWiki
809 Tests.Writers.Native
810 Tests.Writers.ConTeXt
811 Tests.Writers.Docbook
812 Tests.Writers.HTML
813 Tests.Writers.JATS
814 Tests.Writers.Jira
815 Tests.Writers.Markdown
816 Tests.Writers.Org
817 Tests.Writers.Plain
818 Tests.Writers.AsciiDoc
819 Tests.Writers.LaTeX
820 Tests.Writers.Docx
821 Tests.Writers.RST
822 Tests.Writers.TEI
823 Tests.Writers.Muse
824 Tests.Writers.FB2
825 Tests.Writers.Powerpoint
826 Tests.Writers.OOXML
827 Tests.Writers.Ms
828 Tests.Writers.AnnotatedTable
830benchmark benchmark-pandoc
831 import: common-executable
832 type: exitcode-stdio-1.0
833 main-is: benchmark-pandoc.hs
834 hs-source-dirs: benchmark
835 build-depends: bytestring,
836 containers,
837 -- gauge >= 0.2 && < 0.3,
838 tasty-bench >= 0.2 && <= 0.3,
839 mtl >= 2.2 && < 2.3,
840 text >= 1.1.1.0 && < 1.3,
841 time,
842 deepseq
843 -- we increase heap size to avoid benchmarking garbage collection:
844 ghc-options: -rtsopts -with-rtsopts=-A8m -threaded