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