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