git.iko.soy/typeable/pandoc
on lowmem help sign in
typeable/pandoc/pandoc.cabal
837 lines 38 kB history raw
1cabal-version: 2.2
2name: pandoc
3version: 2.11.4
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 lowmem
396 Description: Disable optimization on three modules that need a lot
397 of memory to compile. Set this flag if your pandoc
398 build is failing due to out of memory errors.
399 Default: False
401flag trypandoc
402 Description: Build trypandoc cgi executable.
403 Default: False
405common common-options
406 default-language: Haskell2010
407 build-depends: base >= 4.9 && < 5,
408 text >= 1.1.1.0 && < 1.3
409 ghc-options: -Wall -fno-warn-unused-do-bind
410 -Wincomplete-record-updates
411 -Wnoncanonical-monad-instances
413 if impl(ghc < 8.4)
414 hs-source-dirs: prelude
415 other-modules: Prelude
416 build-depends: base-compat >= 0.9
417 other-extensions: NoImplicitPrelude
419 if os(windows)
420 cpp-options: -D_WINDOWS
422 -- Later:
423 -- -Wpartial-fields (currently used in Powerpoint writer)
424 -- -Wmissing-export-lists (currently some Odt modules violate this)
425 -- -Wredundant-constraints (problematic if we want to support older base)
426 if impl(ghc >= 8.2)
427 ghc-options: -Wcpp-undef
428 if impl(ghc >= 8.4)
429 ghc-options: -Wincomplete-uni-patterns
430 -Widentities
431 -fhide-source-paths
433common common-executable
434 import: common-options
435 build-depends: pandoc
436 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
439library
440 import: common-options
441 build-depends: Glob >= 0.7 && < 0.11,
442 HTTP >= 4000.0.5 && < 4000.4,
443 HsYAML >= 0.2 && < 0.3,
444 JuicyPixels >= 3.1.6.1 && < 3.4,
445 SHA >= 1.6 && < 1.7,
446 aeson >= 0.7 && < 1.6,
447 aeson-pretty >= 0.8.5 && < 0.9,
448 attoparsec >= 0.12 && < 0.14,
449 base64-bytestring >= 0.1 && < 1.3,
450 binary >= 0.7 && < 0.11,
451 blaze-html >= 0.9 && < 0.10,
452 blaze-markup >= 0.8 && < 0.9,
453 bytestring >= 0.9 && < 0.12,
454 case-insensitive >= 1.2 && < 1.3,
455 citeproc >= 0.3.0.7 && < 0.4,
456 commonmark >= 0.1.1.3 && < 0.2,
457 commonmark-extensions >= 0.2.0.4 && < 0.3,
458 commonmark-pandoc >= 0.2 && < 0.3,
459 connection >= 0.3.1,
460 containers >= 0.4.2.1 && < 0.7,
461 data-default >= 0.4 && < 0.8,
462 deepseq >= 1.3 && < 1.5,
463 directory >= 1.2.3 && < 1.4,
464 doclayout >= 0.3 && < 0.4,
465 doctemplates >= 0.9 && < 0.10,
466 emojis >= 0.1 && < 0.2,
467 exceptions >= 0.8 && < 0.11,
468 file-embed >= 0.0 && < 0.1,
469 filepath >= 1.1 && < 1.5,
470 haddock-library >= 1.8 && < 1.10,
471 hslua >= 1.1 && < 1.4,
472 hslua-module-path >= 0.1.0 && < 0.2.0,
473 hslua-module-system >= 0.2 && < 0.3,
474 hslua-module-text >= 0.2.1 && < 0.4,
475 http-client >= 0.4.30 && < 0.8,
476 http-client-tls >= 0.2.4 && < 0.4,
477 http-types >= 0.8 && < 0.13,
478 ipynb >= 0.1 && < 0.2,
479 jira-wiki-markup >= 1.3.3 && < 1.4,
480 mtl >= 2.2 && < 2.3,
481 network >= 2.6,
482 network-uri >= 2.6 && < 2.7,
483 pandoc-types >= 1.22 && < 1.23,
484 parsec >= 3.1 && < 3.2,
485 process >= 1.2.3 && < 1.7,
486 random >= 1 && < 1.2,
487 safe >= 0.3 && < 0.4,
488 scientific >= 0.3 && < 0.4,
489 skylighting >= 0.10.4 && < 0.11,
490 skylighting-core >= 0.10.4 && < 0.11,
491 split >= 0.2 && < 0.3,
492 syb >= 0.1 && < 0.8,
493 tagsoup >= 0.14.6 && < 0.15,
494 temporary >= 1.1 && < 1.4,
495 texmath >= 0.12.1 && < 0.13,
496 text >= 1.1.1.0 && < 1.3,
497 text-conversions >= 0.3 && < 0.4,
498 time >= 1.5 && < 1.10,
499 unicode-transforms >= 0.3 && < 0.4,
500 unordered-containers >= 0.2 && < 0.3,
501 xml >= 1.3.12 && < 1.4,
502 xml-conduit >= 1.7 && < 1.10,
503 zip-archive >= 0.2.3.4 && < 0.5,
504 zlib >= 0.5 && < 0.7
505 if os(windows) && arch(i386)
506 build-depends: basement >= 0.0.10,
507 foundation >= 0.0.23
508 -- basement 0.0.9 won't build on 32-bit windows.
509 if !os(windows)
510 build-depends: unix >= 2.4 && < 2.8
511 if flag(embed_data_files)
512 cpp-options: -DEMBED_DATA_FILES
513 other-modules: Text.Pandoc.Data
514 if flag(lowmem)
515 cpp-options: -DLOWMEM
516 hs-source-dirs: src
518 exposed-modules: Text.Pandoc,
519 Text.Pandoc.App,
520 Text.Pandoc.Options,
521 Text.Pandoc.Extensions,
522 Text.Pandoc.Shared,
523 Text.Pandoc.MediaBag,
524 Text.Pandoc.Error,
525 Text.Pandoc.Filter,
526 Text.Pandoc.Readers,
527 Text.Pandoc.Readers.HTML,
528 Text.Pandoc.Readers.LaTeX,
529 Text.Pandoc.Readers.Markdown,
530 Text.Pandoc.Readers.CommonMark,
531 Text.Pandoc.Readers.Creole,
532 Text.Pandoc.Readers.BibTeX,
533 Text.Pandoc.Readers.CslJson,
534 Text.Pandoc.Readers.MediaWiki,
535 Text.Pandoc.Readers.Vimwiki,
536 Text.Pandoc.Readers.RST,
537 Text.Pandoc.Readers.Org,
538 Text.Pandoc.Readers.DocBook,
539 Text.Pandoc.Readers.JATS,
540 Text.Pandoc.Readers.Jira,
541 Text.Pandoc.Readers.OPML,
542 Text.Pandoc.Readers.Textile,
543 Text.Pandoc.Readers.Native,
544 Text.Pandoc.Readers.Haddock,
545 Text.Pandoc.Readers.TWiki,
546 Text.Pandoc.Readers.TikiWiki,
547 Text.Pandoc.Readers.Txt2Tags,
548 Text.Pandoc.Readers.Docx,
549 Text.Pandoc.Readers.Odt,
550 Text.Pandoc.Readers.EPUB,
551 Text.Pandoc.Readers.Muse,
552 Text.Pandoc.Readers.Man,
553 Text.Pandoc.Readers.FB2,
554 Text.Pandoc.Readers.DokuWiki,
555 Text.Pandoc.Readers.Ipynb,
556 Text.Pandoc.Readers.CSV,
557 Text.Pandoc.Writers,
558 Text.Pandoc.Writers.Native,
559 Text.Pandoc.Writers.Docbook,
560 Text.Pandoc.Writers.JATS,
561 Text.Pandoc.Writers.OPML,
562 Text.Pandoc.Writers.HTML,
563 Text.Pandoc.Writers.Ipynb,
564 Text.Pandoc.Writers.ICML,
565 Text.Pandoc.Writers.Jira,
566 Text.Pandoc.Writers.LaTeX,
567 Text.Pandoc.Writers.ConTeXt,
568 Text.Pandoc.Writers.OpenDocument,
569 Text.Pandoc.Writers.Texinfo,
570 Text.Pandoc.Writers.Man,
571 Text.Pandoc.Writers.Ms,
572 Text.Pandoc.Writers.Markdown,
573 Text.Pandoc.Writers.CommonMark,
574 Text.Pandoc.Writers.Haddock,
575 Text.Pandoc.Writers.RST,
576 Text.Pandoc.Writers.Org,
577 Text.Pandoc.Writers.AsciiDoc,
578 Text.Pandoc.Writers.Custom,
579 Text.Pandoc.Writers.Textile,
580 Text.Pandoc.Writers.MediaWiki,
581 Text.Pandoc.Writers.DokuWiki,
582 Text.Pandoc.Writers.XWiki,
583 Text.Pandoc.Writers.ZimWiki,
584 Text.Pandoc.Writers.RTF,
585 Text.Pandoc.Writers.ODT,
586 Text.Pandoc.Writers.Docx,
587 Text.Pandoc.Writers.Powerpoint,
588 Text.Pandoc.Writers.EPUB,
589 Text.Pandoc.Writers.FB2,
590 Text.Pandoc.Writers.TEI,
591 Text.Pandoc.Writers.Muse,
592 Text.Pandoc.Writers.CslJson,
593 Text.Pandoc.Writers.Math,
594 Text.Pandoc.Writers.Shared,
595 Text.Pandoc.Writers.OOXML,
596 Text.Pandoc.Writers.AnnotatedTable,
597 Text.Pandoc.Writers.BibTeX,
598 Text.Pandoc.Lua,
599 Text.Pandoc.PDF,
600 Text.Pandoc.UTF8,
601 Text.Pandoc.Templates,
602 Text.Pandoc.XML,
603 Text.Pandoc.SelfContained,
604 Text.Pandoc.Highlighting,
605 Text.Pandoc.Logging,
606 Text.Pandoc.Process,
607 Text.Pandoc.MIME,
608 Text.Pandoc.Parsing,
609 Text.Pandoc.Asciify,
610 Text.Pandoc.Emoji,
611 Text.Pandoc.ImageSize,
612 Text.Pandoc.BCP47,
613 Text.Pandoc.Class,
614 Text.Pandoc.Citeproc
615 other-modules: Text.Pandoc.App.CommandLineOptions,
616 Text.Pandoc.App.FormatHeuristics,
617 Text.Pandoc.App.Opt,
618 Text.Pandoc.App.OutputSettings,
619 Text.Pandoc.Class.CommonState,
620 Text.Pandoc.Class.IO,
621 Text.Pandoc.Class.PandocMonad,
622 Text.Pandoc.Class.PandocIO,
623 Text.Pandoc.Class.PandocPure,
624 Text.Pandoc.Filter.JSON,
625 Text.Pandoc.Filter.Lua,
626 Text.Pandoc.Filter.Path,
627 Text.Pandoc.Readers.Docx.Lists,
628 Text.Pandoc.Readers.Docx.Combine,
629 Text.Pandoc.Readers.Docx.Parse,
630 Text.Pandoc.Readers.Docx.Parse.Styles,
631 Text.Pandoc.Readers.Docx.Util,
632 Text.Pandoc.Readers.Docx.Fields,
633 Text.Pandoc.Readers.HTML.Parsing,
634 Text.Pandoc.Readers.HTML.Table,
635 Text.Pandoc.Readers.HTML.TagCategories,
636 Text.Pandoc.Readers.HTML.Types,
637 Text.Pandoc.Readers.LaTeX.Types,
638 Text.Pandoc.Readers.LaTeX.Parsing,
639 Text.Pandoc.Readers.LaTeX.Lang,
640 Text.Pandoc.Readers.LaTeX.SIunitx,
641 Text.Pandoc.Readers.LaTeX.Accent,
642 Text.Pandoc.Readers.LaTeX.Citation,
643 Text.Pandoc.Readers.LaTeX.Math,
644 Text.Pandoc.Readers.LaTeX.Table,
645 Text.Pandoc.Readers.LaTeX.Macro,
646 Text.Pandoc.Readers.Odt.Base,
647 Text.Pandoc.Readers.Odt.Namespaces,
648 Text.Pandoc.Readers.Odt.StyleReader,
649 Text.Pandoc.Readers.Odt.ContentReader,
650 Text.Pandoc.Readers.Odt.Generic.Fallible,
651 Text.Pandoc.Readers.Odt.Generic.SetMap,
652 Text.Pandoc.Readers.Odt.Generic.Utils,
653 Text.Pandoc.Readers.Odt.Generic.Namespaces,
654 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
655 Text.Pandoc.Readers.Odt.Arrows.State,
656 Text.Pandoc.Readers.Odt.Arrows.Utils,
657 Text.Pandoc.Readers.Org.BlockStarts,
658 Text.Pandoc.Readers.Org.Blocks,
659 Text.Pandoc.Readers.Org.DocumentTree,
660 Text.Pandoc.Readers.Org.ExportSettings,
661 Text.Pandoc.Readers.Org.Inlines,
662 Text.Pandoc.Readers.Org.Meta,
663 Text.Pandoc.Readers.Org.ParserState,
664 Text.Pandoc.Readers.Org.Parsing,
665 Text.Pandoc.Readers.Org.Shared,
666 Text.Pandoc.Readers.Metadata,
667 Text.Pandoc.Readers.Roff,
668 Text.Pandoc.Writers.Docx.StyleMap,
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.Types,
676 Text.Pandoc.Writers.Roff,
677 Text.Pandoc.Writers.Powerpoint.Presentation,
678 Text.Pandoc.Writers.Powerpoint.Output,
679 Text.Pandoc.Lua.ErrorConversion,
680 Text.Pandoc.Lua.Filter,
681 Text.Pandoc.Lua.Global,
682 Text.Pandoc.Lua.Init,
683 Text.Pandoc.Lua.Marshaling,
684 Text.Pandoc.Lua.Marshaling.AST,
685 Text.Pandoc.Lua.Marshaling.AnyValue,
686 Text.Pandoc.Lua.Marshaling.CommonState,
687 Text.Pandoc.Lua.Marshaling.Context,
688 Text.Pandoc.Lua.Marshaling.List,
689 Text.Pandoc.Lua.Marshaling.MediaBag,
690 Text.Pandoc.Lua.Marshaling.PandocError,
691 Text.Pandoc.Lua.Marshaling.ReaderOptions,
692 Text.Pandoc.Lua.Marshaling.SimpleTable,
693 Text.Pandoc.Lua.Marshaling.Version,
694 Text.Pandoc.Lua.Module.MediaBag,
695 Text.Pandoc.Lua.Module.Pandoc,
696 Text.Pandoc.Lua.Module.System,
697 Text.Pandoc.Lua.Module.Types,
698 Text.Pandoc.Lua.Module.Utils,
699 Text.Pandoc.Lua.Packages,
700 Text.Pandoc.Lua.PandocLua,
701 Text.Pandoc.Lua.Util,
702 Text.Pandoc.Lua.Walk,
703 Text.Pandoc.XML.Light,
704 Text.Pandoc.XML.Light.Types,
705 Text.Pandoc.XML.Light.Proc,
706 Text.Pandoc.XML.Light.Output,
707 Text.Pandoc.CSS,
708 Text.Pandoc.CSV,
709 Text.Pandoc.RoffChar,
710 Text.Pandoc.UUID,
711 Text.Pandoc.Translations,
712 Text.Pandoc.Slides,
713 Text.Pandoc.Image,
714 Text.Pandoc.Citeproc.BibTeX,
715 Text.Pandoc.Citeproc.CslJson,
716 Text.Pandoc.Citeproc.Data,
717 Text.Pandoc.Citeproc.Locator,
718 Text.Pandoc.Citeproc.MetaValue,
719 Text.Pandoc.Citeproc.Util,
720 Paths_pandoc
721 autogen-modules: Paths_pandoc
722 buildable: True
724executable pandoc
725 import: common-executable
726 hs-source-dirs: app
727 main-is: pandoc.hs
728 buildable: True
729 other-modules: Paths_pandoc
731executable trypandoc
732 import: common-executable
733 main-is: trypandoc.hs
734 hs-source-dirs: trypandoc
735 if flag(trypandoc)
736 build-depends: aeson, http-types, wai >= 0.3, wai-extra >= 3.0.24
737 buildable: True
738 else
739 buildable: False
741test-suite test-pandoc
742 import: common-executable
743 type: exitcode-stdio-1.0
744 main-is: test-pandoc.hs
745 hs-source-dirs: test
746 build-depends: pandoc,
747 Diff >= 0.2 && < 0.5,
748 Glob >= 0.7 && < 0.11,
749 QuickCheck >= 2.4 && < 2.15,
750 base64-bytestring >= 0.1 && < 1.3,
751 bytestring >= 0.9 && < 0.12,
752 containers >= 0.4.2.1 && < 0.7,
753 directory >= 1.2.3 && < 1.4,
754 doctemplates >= 0.9 && < 0.10,
755 exceptions >= 0.8 && < 0.11,
756 executable-path >= 0.0 && < 0.1,
757 filepath >= 1.1 && < 1.5,
758 hslua >= 1.1 && < 1.4,
759 mtl >= 2.2 && < 2.3,
760 pandoc-types >= 1.22 && < 1.23,
761 process >= 1.2.3 && < 1.7,
762 tasty >= 0.11 && < 1.5,
763 tasty-golden >= 2.3 && < 2.4,
764 tasty-hunit >= 0.9 && < 0.11,
765 tasty-lua >= 0.2 && < 0.3,
766 tasty-quickcheck >= 0.8 && < 0.11,
767 temporary >= 1.1 && < 1.4,
768 time >= 1.5 && < 1.10,
769 xml >= 1.3.12 && < 1.4,
770 zip-archive >= 0.2.3.4 && < 0.5
771 other-modules: Tests.Old
772 Tests.Command
773 Tests.Helpers
774 Tests.Lua
775 Tests.Lua.Module
776 Tests.Shared
777 Tests.Readers.LaTeX
778 Tests.Readers.HTML
779 Tests.Readers.JATS
780 Tests.Readers.Jira
781 Tests.Readers.Markdown
782 Tests.Readers.Org
783 Tests.Readers.Org.Block
784 Tests.Readers.Org.Block.CodeBlock
785 Tests.Readers.Org.Block.Figure
786 Tests.Readers.Org.Block.Header
787 Tests.Readers.Org.Block.List
788 Tests.Readers.Org.Block.Table
789 Tests.Readers.Org.Directive
790 Tests.Readers.Org.Inline
791 Tests.Readers.Org.Inline.Citation
792 Tests.Readers.Org.Inline.Note
793 Tests.Readers.Org.Inline.Smart
794 Tests.Readers.Org.Meta
795 Tests.Readers.Org.Shared
796 Tests.Readers.RST
797 Tests.Readers.Docx
798 Tests.Readers.Odt
799 Tests.Readers.Txt2Tags
800 Tests.Readers.EPUB
801 Tests.Readers.Muse
802 Tests.Readers.Creole
803 Tests.Readers.Man
804 Tests.Readers.FB2
805 Tests.Readers.DokuWiki
806 Tests.Writers.Native
807 Tests.Writers.ConTeXt
808 Tests.Writers.Docbook
809 Tests.Writers.HTML
810 Tests.Writers.JATS
811 Tests.Writers.Jira
812 Tests.Writers.Markdown
813 Tests.Writers.Org
814 Tests.Writers.Plain
815 Tests.Writers.AsciiDoc
816 Tests.Writers.LaTeX
817 Tests.Writers.Docx
818 Tests.Writers.RST
819 Tests.Writers.TEI
820 Tests.Writers.Muse
821 Tests.Writers.FB2
822 Tests.Writers.Powerpoint
823 Tests.Writers.OOXML
824 Tests.Writers.Ms
825 Tests.Writers.AnnotatedTable
827benchmark benchmark-pandoc
828 import: common-executable
829 type: exitcode-stdio-1.0
830 main-is: benchmark-pandoc.hs
831 hs-source-dirs: benchmark
832 build-depends: bytestring,
833 containers,
834 tasty,
835 tasty-bench >= 0.2 && <= 0.3,
836 mtl >= 2.2 && < 2.3,
837 time