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