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