git.iko.soy/typeable/pandoc
on 2.7 help sign in
typeable/pandoc/pandoc.cabal
760 lines 32 kB history raw
1name: pandoc
2version: 2.7
3cabal-version: 2.0
4build-type: Simple
5license: GPL-2
6license-file: COPYING.md
7copyright: (c) 2006-2018 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 == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3,
15 GHC == 8.6.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, Creole 1.0, Haddock markup, OPML,
23 Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
24 notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2,
25 roff man, and Textile, 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, ZimWiki, Textile,
29 roff man, roff ms, plain text, Emacs Org-Mode,
30 AsciiDoc, Haddock markup, EPUB (v2 and v3), ipynb,
31 FictionBook2, 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/default.html4
45 data/templates/default.html5
46 data/templates/default.docbook4
47 data/templates/default.docbook5
48 data/templates/default.jats
49 data/templates/default.tei
50 data/templates/default.opendocument
51 data/templates/default.icml
52 data/templates/default.opml
53 data/templates/default.latex
54 data/templates/default.context
55 data/templates/default.texinfo
56 data/templates/default.man
57 data/templates/default.ms
58 data/templates/default.markdown
59 data/templates/default.muse
60 data/templates/default.commonmark
61 data/templates/default.rst
62 data/templates/default.plain
63 data/templates/default.mediawiki
64 data/templates/default.dokuwiki
65 data/templates/default.zimwiki
66 data/templates/default.rtf
67 data/templates/default.s5
68 data/templates/default.slidy
69 data/templates/default.slideous
70 data/templates/default.revealjs
71 data/templates/default.dzslides
72 data/templates/default.asciidoc
73 data/templates/default.asciidoctor
74 data/templates/default.haddock
75 data/templates/default.textile
76 data/templates/default.org
77 data/templates/default.epub2
78 data/templates/default.epub3
79 -- translations
80 data/translations/*.yaml
81 -- source files for reference.docx
82 data/docx/[Content_Types].xml
83 data/docx/_rels/.rels
84 data/docx/docProps/app.xml
85 data/docx/docProps/core.xml
86 data/docx/docProps/custom.xml
87 data/docx/word/document.xml
88 data/docx/word/fontTable.xml
89 data/docx/word/comments.xml
90 data/docx/word/footnotes.xml
91 data/docx/word/numbering.xml
92 data/docx/word/settings.xml
93 data/docx/word/webSettings.xml
94 data/docx/word/styles.xml
95 data/docx/word/_rels/document.xml.rels
96 data/docx/word/_rels/footnotes.xml.rels
97 data/docx/word/theme/theme1.xml
98 -- source files for reference.odt
99 data/odt/mimetype
100 data/odt/manifest.rdf
101 data/odt/styles.xml
102 data/odt/content.xml
103 data/odt/meta.xml
104 data/odt/settings.xml
105 data/odt/Configurations2/accelerator/current.xml
106 data/odt/Thumbnails/thumbnail.png
107 data/odt/META-INF/manifest.xml
108 -- source files for reference.pptx
109 data/pptx/_rels/.rels
110 data/pptx/docProps/app.xml
111 data/pptx/docProps/core.xml
112 data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
113 data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
114 data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
115 data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
116 data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
117 data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
118 data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
119 data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
120 data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
121 data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
122 data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
123 data/pptx/ppt/slideLayouts/slideLayout1.xml
124 data/pptx/ppt/slideLayouts/slideLayout2.xml
125 data/pptx/ppt/slideLayouts/slideLayout3.xml
126 data/pptx/ppt/slideLayouts/slideLayout4.xml
127 data/pptx/ppt/slideLayouts/slideLayout5.xml
128 data/pptx/ppt/slideLayouts/slideLayout6.xml
129 data/pptx/ppt/slideLayouts/slideLayout7.xml
130 data/pptx/ppt/slideLayouts/slideLayout8.xml
131 data/pptx/ppt/slideLayouts/slideLayout9.xml
132 data/pptx/ppt/slideLayouts/slideLayout10.xml
133 data/pptx/ppt/slideLayouts/slideLayout11.xml
134 data/pptx/ppt/_rels/presentation.xml.rels
135 data/pptx/ppt/theme/theme1.xml
136 data/pptx/ppt/presProps.xml
137 data/pptx/ppt/slides/_rels/slide1.xml.rels
138 data/pptx/ppt/slides/_rels/slide2.xml.rels
139 data/pptx/ppt/slides/slide2.xml
140 data/pptx/ppt/slides/slide1.xml
141 data/pptx/ppt/viewProps.xml
142 data/pptx/ppt/tableStyles.xml
143 data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
144 data/pptx/ppt/slideMasters/slideMaster1.xml
145 data/pptx/ppt/presentation.xml
146 data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
147 data/pptx/ppt/notesMasters/notesMaster1.xml
148 data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
149 data/pptx/ppt/notesSlides/notesSlide1.xml
150 data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
151 data/pptx/ppt/notesSlides/notesSlide2.xml
152 data/pptx/ppt/theme/theme2.xml
153 data/pptx/[Content_Types].xml
154 -- stylesheet for EPUB writer
155 data/epub.css
156 -- data for dzslides writer
157 data/dzslides/template.html
158 -- default abbreviations file
159 data/abbreviations
160 -- sample lua custom writer
161 data/sample.lua
162 -- lua init script
163 data/init.lua
164 -- pandoc lua module
165 data/pandoc.lua
166 -- lua List module
167 data/pandoc.List.lua
168 -- bash completion template
169 data/bash_completion.tpl
170 -- jats csl
171 data/jats.csl
172 -- documentation
173 MANUAL.txt, COPYRIGHT
174extra-source-files:
175 -- documentation
176 INSTALL.md, AUTHORS.md, README.md,
177 CONTRIBUTING.md, BUGS, changelog,
178 man/pandoc.1
179 -- stack build plan
180 stack.yaml
181 -- files needed to build man page
182 man/manfilter.lua
183 man/pandoc.1.template
184 -- trypandoc
185 trypandoc/Makefile
186 trypandoc/index.html
187 -- tests
188 test/bodybg.gif
189 test/*.native
190 test/command/*.md
191 test/command/3533-rst-csv-tables.csv
192 test/command/3880.txt
193 test/command/5182.txt
194 test/command/abbrevs
195 test/command/SVG_logo-without-xml-declaration.svg
196 test/command/SVG_logo.svg
197 test/command/corrupt.svg
198 test/command/inkscape-cube.svg
199 test/command/lua-pandoc-state.lua
200 test/command/sub-file-chapter-1.tex
201 test/command/sub-file-chapter-2.tex
202 test/command/bar.tex
203 test/command/yaml-metadata.yaml
204 test/command/3510-subdoc.org
205 test/command/3510-export.latex
206 test/command/3510-src.hs
207 test/command/3971b.tex
208 test/docbook-reader.docbook
209 test/docbook-xref.docbook
210 test/html-reader.html
211 test/opml-reader.opml
212 test/org-select-tags.org
213 test/haddock-reader.haddock
214 test/insert
215 test/lalune.jpg
216 test/man-reader.man
217 test/movie.jpg
218 test/media/rId25.jpg
219 test/media/rId26.jpg
220 test/media/rId27.jpg
221 test/latex-reader.latex
222 test/textile-reader.textile
223 test/markdown-reader-more.txt
224 test/markdown-citations.txt
225 test/textile-reader.textile
226 test/mediawiki-reader.wiki
227 test/vimwiki-reader.wiki
228 test/creole-reader.txt
229 test/creole-reader.native
230 test/rst-reader.rst
231 test/jats-reader.xml
232 test/s5-basic.html
233 test/s5-fancy.html
234 test/s5-fragment.html
235 test/s5-inserts.html
236 test/tables.context
237 test/tables.docbook4
238 test/tables.docbook5
239 test/tables.jats
240 test/tables.dokuwiki
241 test/tables.zimwiki
242 test/tables.icml
243 test/tables.html4
244 test/tables.html5
245 test/tables.latex
246 test/tables.man
247 test/tables.ms
248 test/tables.plain
249 test/tables.markdown
250 test/tables.mediawiki
251 test/tables.tei
252 test/tables.textile
253 test/tables.opendocument
254 test/tables.org
255 test/tables.asciidoc
256 test/tables.haddock
257 test/tables.texinfo
258 test/tables.rst
259 test/tables.rtf
260 test/tables.txt
261 test/tables.fb2
262 test/tables.muse
263 test/tables.custom
264 test/testsuite.txt
265 test/writer.latex
266 test/writer.context
267 test/writer.docbook4
268 test/writer.docbook5
269 test/writer.jats
270 test/writer.html4
271 test/writer.html5
272 test/writer.man
273 test/writer.ms
274 test/writer.markdown
275 test/writer.plain
276 test/writer.mediawiki
277 test/writer.textile
278 test/writer.opendocument
279 test/writer.org
280 test/writer.asciidoc
281 test/writer.haddock
282 test/writer.rst
283 test/writer.icml
284 test/writer.rtf
285 test/writer.tei
286 test/writer.texinfo
287 test/writer.fb2
288 test/writer.opml
289 test/writer.dokuwiki
290 test/writer.zimwiki
291 test/writer.muse
292 test/writer.custom
293 test/writers-lang-and-dir.latex
294 test/writers-lang-and-dir.context
295 test/dokuwiki_inline_formatting.dokuwiki
296 test/lhs-test.markdown
297 test/lhs-test.markdown+lhs
298 test/lhs-test.rst
299 test/lhs-test.rst+lhs
300 test/lhs-test.latex
301 test/lhs-test.latex+lhs
302 test/lhs-test.html
303 test/lhs-test.html+lhs
304 test/lhs-test.fragment.html+lhs
305 test/pipe-tables.txt
306 test/dokuwiki_external_images.dokuwiki
307 test/dokuwiki_external_images.native
308 test/dokuwiki_multiblock_table.dokuwiki
309 test/dokuwiki_multiblock_table.native
310 test/fb2/*.markdown
311 test/fb2/*.fb2
312 test/fb2/images-embedded.html
313 test/fb2/images-embedded.fb2
314 test/fb2/test-small.png
315 test/fb2/reader/*.fb2
316 test/fb2/reader/*.native
317 test/fb2/test.jpg
318 test/docx/*.docx
319 test/docx/golden/*.docx
320 test/docx/*.native
321 test/epub/*.epub
322 test/epub/*.native
323 test/pptx/*.pptx
324 test/pptx/*.native
325 test/ipynb/*.in.native
326 test/ipynb/*.out.native
327 test/ipynb/*.ipynb
328 test/txt2tags.t2t
329 test/twiki-reader.twiki
330 test/tikiwiki-reader.tikiwiki
331 test/odt/odt/*.odt
332 test/odt/markdown/*.md
333 test/odt/native/*.native
334 test/lua/*.lua
335source-repository head
336 type: git
337 location: git://github.com/jgm/pandoc.git
339flag static
340 Description: Use static linking for pandoc executable.
341 Default: False
343flag embed_data_files
344 Description: Embed data files in binary for relocatable executable.
345 Default: False
347flag derive_json_via_th
348 Description: Use Template Haskell instead of GHC Generics to derive ToJSON
349 and FromJSON instances.
350 Default: True
352flag trypandoc
353 Description: Build trypandoc cgi executable.
354 Default: False
356library
357 build-depends: base >= 4.8 && < 5,
358 syb >= 0.1 && < 0.8,
359 containers >= 0.4.2.1 && < 0.7,
360 unordered-containers >= 0.2 && < 0.3,
361 parsec >= 3.1 && < 3.2,
362 mtl >= 2.2 && < 2.3,
363 exceptions >= 0.8 && < 0.11,
364 filepath >= 1.1 && < 1.5,
365 process >= 1.2.3 && < 1.7,
366 directory >= 1.2.3 && < 1.4,
367 bytestring >= 0.9 && < 0.11,
368 text >= 1.1.1.0 && < 1.3,
369 time >= 1.5 && < 1.10,
370 safe >= 0.3 && < 0.4,
371 zip-archive >= 0.2.3.4 && < 0.5,
372 HTTP >= 4000.0.5 && < 4000.4,
373 texmath >= 0.11.2.1 && < 0.12,
374 xml >= 1.3.12 && < 1.4,
375 split >= 0.2 && < 0.3,
376 random >= 1 && < 1.2,
377 pandoc-types >= 1.17.5 && < 1.18,
378 aeson >= 0.7 && < 1.5,
379 aeson-pretty >= 0.8.5 && < 0.9,
380 tagsoup >= 0.14.6 && < 0.15,
381 base64-bytestring >= 0.1 && < 1.1,
382 zlib >= 0.5 && < 0.7,
383 skylighting >= 0.7.7 && < 0.8,
384 data-default >= 0.4 && < 0.8,
385 temporary >= 1.1 && < 1.4,
386 blaze-html >= 0.9 && < 0.10,
387 blaze-markup >= 0.8 && < 0.9,
388 vector >= 0.10 && < 0.13,
389 hslua >= 1.0.1 && < 1.1,
390 hslua-module-text >= 0.2 && < 0.3,
391 binary >= 0.5 && < 0.11,
392 SHA >= 1.6 && < 1.7,
393 haddock-library >= 1.7 && < 1.8,
394 deepseq >= 1.3 && < 1.5,
395 JuicyPixels >= 3.1.6.1 && < 3.4,
396 Glob >= 0.7 && < 0.11,
397 cmark-gfm >= 0.1.1 && < 0.2,
398 doctemplates >= 0.2.1 && < 0.3,
399 network-uri >= 2.6 && < 2.7,
400 network >= 2.6,
401 http-client >= 0.4.30 && < 0.7,
402 http-client-tls >= 0.2.4 && < 0.4,
403 http-types >= 0.8 && < 0.13,
404 case-insensitive >= 1.2 && < 1.3,
405 unicode-transforms >= 0.3 && < 0.4,
406 HsYAML >= 0.1.1.1 && < 0.2,
407 ipynb >= 0.1 && < 0.2
408 if impl(ghc < 8.0)
409 build-depends: semigroups == 0.18.*,
410 -- basement 0.0.8 and foundation 0.0.21, transitive
411 -- dependencies, drop support for ghc 7.10.
412 basement < 0.0.8,
413 foundation < 0.0.21
414 if impl(ghc >= 8.0) && os(windows) && arch(i386)
415 build-depends: basement >= 0.0.10,
416 foundation >= 0.0.23
417 -- basement 0.0.9 won't build on 32-bit windows.
418 if impl(ghc < 8.4)
419 hs-source-dirs: prelude
420 other-modules: Prelude
421 build-depends: base-compat >= 0.9
422 if os(windows)
423 cpp-options: -D_WINDOWS
424 else
425 build-depends: unix >= 2.4 && < 2.8
426 if flag(embed_data_files)
427 cpp-options: -DEMBED_DATA_FILES
428 build-depends: file-embed >= 0.0 && < 0.1
429 other-modules: Text.Pandoc.Data
430 if flag(derive_json_via_th)
431 cpp-options: -DDERIVE_JSON_VIA_TH
432 if os(windows)
433 cpp-options: -D_WINDOWS
434 ghc-options: -Wall -fno-warn-unused-do-bind
435 if impl(ghc > 8.0)
436 ghc-options: -Wincomplete-record-updates
437 -Wnoncanonical-monad-instances
438 -Wnoncanonical-monadfail-instances
439 if impl(ghc > 8.4)
440 ghc-options: -Wincomplete-uni-patterns
441 -Widentities
442 -Werror=missing-home-modules
443 default-language: Haskell2010
444 other-extensions: NoImplicitPrelude
445 hs-source-dirs: src
447 exposed-modules: Text.Pandoc,
448 Text.Pandoc.App,
449 Text.Pandoc.Options,
450 Text.Pandoc.Extensions,
451 Text.Pandoc.Pretty,
452 Text.Pandoc.Shared,
453 Text.Pandoc.MediaBag,
454 Text.Pandoc.Error,
455 Text.Pandoc.Filter,
456 Text.Pandoc.Readers,
457 Text.Pandoc.Readers.HTML,
458 Text.Pandoc.Readers.LaTeX,
459 Text.Pandoc.Readers.LaTeX.Types,
460 Text.Pandoc.Readers.Markdown,
461 Text.Pandoc.Readers.CommonMark,
462 Text.Pandoc.Readers.Creole,
463 Text.Pandoc.Readers.MediaWiki,
464 Text.Pandoc.Readers.Vimwiki,
465 Text.Pandoc.Readers.RST,
466 Text.Pandoc.Readers.Org,
467 Text.Pandoc.Readers.DocBook,
468 Text.Pandoc.Readers.JATS,
469 Text.Pandoc.Readers.OPML,
470 Text.Pandoc.Readers.Textile,
471 Text.Pandoc.Readers.Native,
472 Text.Pandoc.Readers.Haddock,
473 Text.Pandoc.Readers.TWiki,
474 Text.Pandoc.Readers.TikiWiki,
475 Text.Pandoc.Readers.Txt2Tags,
476 Text.Pandoc.Readers.Docx,
477 Text.Pandoc.Readers.Odt,
478 Text.Pandoc.Readers.EPUB,
479 Text.Pandoc.Readers.Muse,
480 Text.Pandoc.Readers.Man,
481 Text.Pandoc.Readers.FB2,
482 Text.Pandoc.Readers.DokuWiki,
483 Text.Pandoc.Readers.Ipynb,
484 Text.Pandoc.Writers,
485 Text.Pandoc.Writers.Native,
486 Text.Pandoc.Writers.Docbook,
487 Text.Pandoc.Writers.JATS,
488 Text.Pandoc.Writers.OPML,
489 Text.Pandoc.Writers.HTML,
490 Text.Pandoc.Writers.Ipynb,
491 Text.Pandoc.Writers.ICML,
492 Text.Pandoc.Writers.LaTeX,
493 Text.Pandoc.Writers.ConTeXt,
494 Text.Pandoc.Writers.OpenDocument,
495 Text.Pandoc.Writers.Texinfo,
496 Text.Pandoc.Writers.Man,
497 Text.Pandoc.Writers.Ms,
498 Text.Pandoc.Writers.Markdown,
499 Text.Pandoc.Writers.CommonMark,
500 Text.Pandoc.Writers.Haddock,
501 Text.Pandoc.Writers.RST,
502 Text.Pandoc.Writers.Org,
503 Text.Pandoc.Writers.AsciiDoc,
504 Text.Pandoc.Writers.Custom,
505 Text.Pandoc.Writers.Textile,
506 Text.Pandoc.Writers.MediaWiki,
507 Text.Pandoc.Writers.DokuWiki,
508 Text.Pandoc.Writers.ZimWiki,
509 Text.Pandoc.Writers.RTF,
510 Text.Pandoc.Writers.ODT,
511 Text.Pandoc.Writers.Docx,
512 Text.Pandoc.Writers.Powerpoint,
513 Text.Pandoc.Writers.EPUB,
514 Text.Pandoc.Writers.FB2,
515 Text.Pandoc.Writers.TEI,
516 Text.Pandoc.Writers.Muse,
517 Text.Pandoc.Writers.Math,
518 Text.Pandoc.Writers.Shared,
519 Text.Pandoc.Writers.OOXML,
520 Text.Pandoc.Lua,
521 Text.Pandoc.PDF,
522 Text.Pandoc.UTF8,
523 Text.Pandoc.Templates,
524 Text.Pandoc.XML,
525 Text.Pandoc.SelfContained,
526 Text.Pandoc.Highlighting,
527 Text.Pandoc.Logging,
528 Text.Pandoc.Process,
529 Text.Pandoc.MIME,
530 Text.Pandoc.Parsing,
531 Text.Pandoc.Asciify,
532 Text.Pandoc.Emoji,
533 Text.Pandoc.ImageSize,
534 Text.Pandoc.BCP47,
535 Text.Pandoc.Class
536 other-modules: Text.Pandoc.App.CommandLineOptions,
537 Text.Pandoc.App.FormatHeuristics,
538 Text.Pandoc.App.Opt,
539 Text.Pandoc.App.OutputSettings,
540 Text.Pandoc.Filter.JSON,
541 Text.Pandoc.Filter.Lua,
542 Text.Pandoc.Filter.Path,
543 Text.Pandoc.Readers.Docx.Lists,
544 Text.Pandoc.Readers.Docx.Combine,
545 Text.Pandoc.Readers.Docx.Parse,
546 Text.Pandoc.Readers.Docx.Util,
547 Text.Pandoc.Readers.Docx.StyleMap,
548 Text.Pandoc.Readers.Docx.Fields,
549 Text.Pandoc.Readers.LaTeX.Parsing,
550 Text.Pandoc.Readers.LaTeX.Lang,
551 Text.Pandoc.Readers.Odt.Base,
552 Text.Pandoc.Readers.Odt.Namespaces,
553 Text.Pandoc.Readers.Odt.StyleReader,
554 Text.Pandoc.Readers.Odt.ContentReader,
555 Text.Pandoc.Readers.Odt.Generic.Fallible,
556 Text.Pandoc.Readers.Odt.Generic.SetMap,
557 Text.Pandoc.Readers.Odt.Generic.Utils,
558 Text.Pandoc.Readers.Odt.Generic.Namespaces,
559 Text.Pandoc.Readers.Odt.Generic.XMLConverter,
560 Text.Pandoc.Readers.Odt.Arrows.State,
561 Text.Pandoc.Readers.Odt.Arrows.Utils,
562 Text.Pandoc.Readers.Org.BlockStarts,
563 Text.Pandoc.Readers.Org.Blocks,
564 Text.Pandoc.Readers.Org.DocumentTree,
565 Text.Pandoc.Readers.Org.ExportSettings,
566 Text.Pandoc.Readers.Org.Inlines,
567 Text.Pandoc.Readers.Org.Meta,
568 Text.Pandoc.Readers.Org.ParserState,
569 Text.Pandoc.Readers.Org.Parsing,
570 Text.Pandoc.Readers.Org.Shared,
571 Text.Pandoc.Readers.Roff,
572 Text.Pandoc.Writers.Roff,
573 Text.Pandoc.Writers.Powerpoint.Presentation,
574 Text.Pandoc.Writers.Powerpoint.Output,
575 Text.Pandoc.Lua.Filter,
576 Text.Pandoc.Lua.Global,
577 Text.Pandoc.Lua.Init,
578 Text.Pandoc.Lua.Marshaling,
579 Text.Pandoc.Lua.Marshaling.AST,
580 Text.Pandoc.Lua.Marshaling.AnyValue,
581 Text.Pandoc.Lua.Marshaling.CommonState,
582 Text.Pandoc.Lua.Marshaling.ReaderOptions,
583 Text.Pandoc.Lua.Module.MediaBag,
584 Text.Pandoc.Lua.Module.Pandoc,
585 Text.Pandoc.Lua.Module.Utils,
586 Text.Pandoc.Lua.Packages,
587 Text.Pandoc.Lua.Util,
588 Text.Pandoc.CSS,
589 Text.Pandoc.CSV,
590 Text.Pandoc.RoffChar,
591 Text.Pandoc.UUID,
592 Text.Pandoc.Translations,
593 Text.Pandoc.Slides,
594 Paths_pandoc
595 autogen-modules: Paths_pandoc
596 buildable: True
598executable pandoc
599 build-depends: pandoc, base >= 4.8 && < 5
600 if impl(ghc < 8.0)
601 build-depends: semigroups == 0.18.*
602 if impl(ghc < 8.4)
603 hs-source-dirs: prelude
604 other-modules: Prelude
605 build-depends: base-compat >= 0.9
606 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
607 if flag(static)
608 ld-options: -static
609 default-language: Haskell2010
610 other-extensions: NoImplicitPrelude
611 hs-source-dirs: .
612 main-is: pandoc.hs
613 buildable: True
614 other-modules: Paths_pandoc
616executable trypandoc
617 main-is: trypandoc.hs
618 hs-source-dirs: trypandoc
619 default-language: Haskell2010
620 other-extensions: NoImplicitPrelude
621 if flag(trypandoc)
622 build-depends: base, aeson, pandoc,
623 text, wai-extra, wai >= 0.3, http-types
624 buildable: True
625 else
626 buildable: False
627 if impl(ghc < 8.0)
628 build-depends: semigroups == 0.18.*
629 if impl(ghc < 8.4)
630 hs-source-dirs: prelude
631 other-modules: Prelude
632 build-depends: base-compat >= 0.9
634benchmark weigh-pandoc
635 type: exitcode-stdio-1.0
636 main-is: weigh-pandoc.hs
637 hs-source-dirs: benchmark
638 build-depends: pandoc,
639 base >= 4.8 && < 5,
640 text,
641 weigh >= 0.0 && < 0.1,
642 mtl >= 2.2 && < 2.3
643 if impl(ghc < 8.0)
644 build-depends: semigroups == 0.18.*
645 if impl(ghc < 8.4)
646 hs-source-dirs: prelude
647 other-modules: Prelude
648 build-depends: base-compat >= 0.9
649 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
650 default-language: Haskell2010
651 other-extensions: NoImplicitPrelude
653test-suite test-pandoc
654 type: exitcode-stdio-1.0
655 main-is: test-pandoc.hs
656 hs-source-dirs: test
657 build-depends: base >= 4.8 && < 5,
658 pandoc,
659 pandoc-types >= 1.17.5 && < 1.18,
660 bytestring >= 0.9 && < 0.11,
661 base64-bytestring >= 0.1 && < 1.1,
662 text >= 1.1.1.0 && < 1.3,
663 time >= 1.5 && < 1.10,
664 directory >= 1.2.3 && < 1.4,
665 filepath >= 1.1 && < 1.5,
666 hslua >= 1.0 && < 1.1,
667 process >= 1.2.3 && < 1.7,
668 temporary >= 1.1 && < 1.4,
669 Diff >= 0.2 && < 0.4,
670 tasty >= 0.11 && < 1.3,
671 tasty-hunit >= 0.9 && < 0.11,
672 tasty-quickcheck >= 0.8 && < 0.11,
673 tasty-golden >= 2.3 && < 2.4,
674 QuickCheck >= 2.4 && < 2.13,
675 containers >= 0.4.2.1 && < 0.7,
676 executable-path >= 0.0 && < 0.1,
677 zip-archive >= 0.2.3.4 && < 0.5,
678 xml >= 1.3.12 && < 1.4,
679 Glob >= 0.7 && < 0.11
680 if impl(ghc < 8.0)
681 build-depends: semigroups == 0.18.*
682 if impl(ghc < 8.4)
683 hs-source-dirs: prelude
684 other-modules: Prelude
685 build-depends: base-compat >= 0.9
686 other-modules: Tests.Old
687 Tests.Command
688 Tests.Helpers
689 Tests.Lua
690 Tests.Shared
691 Tests.Readers.LaTeX
692 Tests.Readers.HTML
693 Tests.Readers.JATS
694 Tests.Readers.Markdown
695 Tests.Readers.Org
696 Tests.Readers.Org.Block
697 Tests.Readers.Org.Block.CodeBlock
698 Tests.Readers.Org.Block.Figure
699 Tests.Readers.Org.Block.Header
700 Tests.Readers.Org.Block.List
701 Tests.Readers.Org.Block.Table
702 Tests.Readers.Org.Directive
703 Tests.Readers.Org.Inline
704 Tests.Readers.Org.Inline.Citation
705 Tests.Readers.Org.Inline.Note
706 Tests.Readers.Org.Inline.Smart
707 Tests.Readers.Org.Meta
708 Tests.Readers.Org.Shared
709 Tests.Readers.RST
710 Tests.Readers.Docx
711 Tests.Readers.Odt
712 Tests.Readers.Txt2Tags
713 Tests.Readers.EPUB
714 Tests.Readers.Muse
715 Tests.Readers.Creole
716 Tests.Readers.Man
717 Tests.Readers.FB2
718 Tests.Readers.DokuWiki
719 Tests.Writers.Native
720 Tests.Writers.ConTeXt
721 Tests.Writers.Docbook
722 Tests.Writers.HTML
723 Tests.Writers.JATS
724 Tests.Writers.Markdown
725 Tests.Writers.Org
726 Tests.Writers.Plain
727 Tests.Writers.AsciiDoc
728 Tests.Writers.LaTeX
729 Tests.Writers.Docx
730 Tests.Writers.RST
731 Tests.Writers.TEI
732 Tests.Writers.Muse
733 Tests.Writers.FB2
734 Tests.Writers.Powerpoint
735 Tests.Writers.OOXML
736 if os(windows)
737 cpp-options: -D_WINDOWS
738 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
739 default-language: Haskell2010
740 other-extensions: NoImplicitPrelude
742benchmark benchmark-pandoc
743 type: exitcode-stdio-1.0
744 main-is: benchmark-pandoc.hs
745 hs-source-dirs: benchmark
746 build-depends: pandoc,
747 time, bytestring, containers,
748 base >= 4.8 && < 5,
749 text >= 1.1.1.0 && < 1.3,
750 mtl >= 2.2 && < 2.3,
751 criterion >= 1.0 && < 1.6
752 if impl(ghc < 8.0)
753 build-depends: semigroups == 0.18.*
754 if impl(ghc < 8.4)
755 hs-source-dirs: prelude
756 other-modules: Prelude
757 build-depends: base-compat >= 0.9
758 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
759 default-language: Haskell2010
760 other-extensions: NoImplicitPrelude