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