2017-09-07 19:13:40 +02:00
|
|
|
name: pandoc
|
2019-08-05 19:29:12 +02:00
|
|
|
version: 2.8
|
2018-07-16 06:43:54 +02:00
|
|
|
cabal-version: 2.0
|
2019-01-03 02:02:02 +01:00
|
|
|
build-type: Simple
|
2018-03-16 16:41:26 +01:00
|
|
|
license: GPL-2
|
2017-09-07 19:13:40 +02:00
|
|
|
license-file: COPYING.md
|
2019-04-09 18:16:19 +02:00
|
|
|
copyright: (c) 2006-2019 John MacFarlane
|
2017-09-07 19:13:40 +02:00
|
|
|
author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
maintainer: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
bug-reports: https://github.com/jgm/pandoc/issues
|
|
|
|
stability: alpha
|
2018-03-07 18:37:53 +01:00
|
|
|
homepage: https://pandoc.org
|
2017-09-07 19:13:40 +02:00
|
|
|
category: Text
|
2019-05-01 21:16:17 +02:00
|
|
|
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5
|
2017-09-07 19:13:40 +02:00
|
|
|
synopsis: Conversion between markup formats
|
|
|
|
description: Pandoc is a Haskell library for converting from one markup
|
2007-07-12 10:29:36 +02:00
|
|
|
format to another, and a command-line tool that uses
|
2015-12-13 21:17:28 +01:00
|
|
|
this library. It can read several dialects of Markdown and
|
2017-12-22 07:20:38 +01:00
|
|
|
(subsets of) HTML, reStructuredText, LaTeX, DocBook, JATS,
|
2019-01-07 00:06:32 +01:00
|
|
|
MediaWiki markup, DokuWiki markup, TWiki markup,
|
|
|
|
TikiWiki markup, Creole 1.0, Haddock markup, OPML,
|
2019-01-13 16:56:55 +01:00
|
|
|
Emacs Org-Mode, Emacs Muse, txt2tags, ipynb (Jupyter
|
|
|
|
notebooks), Vimwiki, Word Docx, ODT, EPUB, FictionBook2,
|
|
|
|
roff man, and Textile, and it can write Markdown,
|
|
|
|
reStructuredText, XHTML, HTML 5, LaTeX, ConTeXt, DocBook,
|
|
|
|
JATS, OPML, TEI, OpenDocument, ODT, Word docx,
|
2019-04-03 01:45:20 +02:00
|
|
|
PowerPoint pptx, RTF, MediaWiki, DokuWiki, XWiki,
|
2019-06-06 08:01:57 +02:00
|
|
|
ZimWiki, Textile, Jira, roff man, roff ms, plain text,
|
2019-04-03 01:45:20 +02:00
|
|
|
Emacs Org-Mode, AsciiDoc, Haddock markup,
|
|
|
|
EPUB (v2 and v3), ipynb, FictionBook2,
|
|
|
|
InDesign ICML, Muse, LaTeX beamer slides,
|
2018-10-26 08:16:43 +02:00
|
|
|
and several kinds of HTML/JavaScript slide shows
|
|
|
|
(S5, Slidy, Slideous, DZSlides, reveal.js).
|
2007-07-12 10:29:36 +02:00
|
|
|
.
|
2015-12-13 21:17:28 +01:00
|
|
|
In contrast to most existing tools for converting Markdown
|
|
|
|
to HTML, pandoc has a modular design: it consists of a set of
|
|
|
|
readers, which parse text in a given format and produce a
|
|
|
|
native representation of the document, and a set of writers,
|
2007-07-12 10:29:36 +02:00
|
|
|
which convert this native representation into a target
|
|
|
|
format. Thus, adding an input or output format requires
|
|
|
|
only adding a reader or writer.
|
2017-09-07 19:13:40 +02:00
|
|
|
data-files:
|
2009-12-31 02:11:13 +01:00
|
|
|
-- templates
|
2019-09-05 02:33:59 +02:00
|
|
|
data/templates/styles.html
|
2017-01-25 21:51:26 +01:00
|
|
|
data/templates/default.html4
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.html5
|
2017-01-26 22:40:57 +01:00
|
|
|
data/templates/default.docbook4
|
2016-05-02 08:02:22 +02:00
|
|
|
data/templates/default.docbook5
|
2017-03-28 09:36:07 +02:00
|
|
|
data/templates/default.jats
|
2016-01-22 00:31:12 +01:00
|
|
|
data/templates/default.tei
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.opendocument
|
|
|
|
data/templates/default.icml
|
|
|
|
data/templates/default.opml
|
|
|
|
data/templates/default.latex
|
|
|
|
data/templates/default.context
|
|
|
|
data/templates/default.texinfo
|
2019-06-05 23:52:23 +02:00
|
|
|
data/templates/default.jira
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.man
|
2017-03-15 21:04:14 +01:00
|
|
|
data/templates/default.ms
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.markdown
|
2017-03-10 10:16:27 +01:00
|
|
|
data/templates/default.muse
|
2015-06-02 13:23:32 +02:00
|
|
|
data/templates/default.commonmark
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.rst
|
|
|
|
data/templates/default.plain
|
|
|
|
data/templates/default.mediawiki
|
2014-08-14 01:56:57 +02:00
|
|
|
data/templates/default.dokuwiki
|
2019-04-03 17:20:05 +02:00
|
|
|
data/templates/default.xwiki
|
2016-06-29 08:11:42 +02:00
|
|
|
data/templates/default.zimwiki
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.rtf
|
|
|
|
data/templates/default.s5
|
|
|
|
data/templates/default.slidy
|
|
|
|
data/templates/default.slideous
|
|
|
|
data/templates/default.revealjs
|
|
|
|
data/templates/default.dzslides
|
|
|
|
data/templates/default.asciidoc
|
2019-02-05 19:12:48 +01:00
|
|
|
data/templates/default.asciidoctor
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.haddock
|
|
|
|
data/templates/default.textile
|
|
|
|
data/templates/default.org
|
2017-01-26 20:39:32 +01:00
|
|
|
data/templates/default.epub2
|
2014-08-13 20:16:50 +02:00
|
|
|
data/templates/default.epub3
|
2017-08-11 20:56:54 +02:00
|
|
|
-- translations
|
2017-08-12 21:17:38 +02:00
|
|
|
data/translations/*.yaml
|
2015-03-28 22:22:04 +01:00
|
|
|
-- source files for reference.docx
|
|
|
|
data/docx/[Content_Types].xml
|
|
|
|
data/docx/_rels/.rels
|
|
|
|
data/docx/docProps/app.xml
|
|
|
|
data/docx/docProps/core.xml
|
2018-10-09 20:15:07 +02:00
|
|
|
data/docx/docProps/custom.xml
|
2015-03-28 22:22:04 +01:00
|
|
|
data/docx/word/document.xml
|
|
|
|
data/docx/word/fontTable.xml
|
2017-12-28 19:31:37 +01:00
|
|
|
data/docx/word/comments.xml
|
2015-03-28 22:22:04 +01:00
|
|
|
data/docx/word/footnotes.xml
|
|
|
|
data/docx/word/numbering.xml
|
|
|
|
data/docx/word/settings.xml
|
|
|
|
data/docx/word/webSettings.xml
|
|
|
|
data/docx/word/styles.xml
|
|
|
|
data/docx/word/_rels/document.xml.rels
|
|
|
|
data/docx/word/_rels/footnotes.xml.rels
|
|
|
|
data/docx/word/theme/theme1.xml
|
|
|
|
-- source files for reference.odt
|
|
|
|
data/odt/mimetype
|
|
|
|
data/odt/manifest.rdf
|
|
|
|
data/odt/styles.xml
|
|
|
|
data/odt/content.xml
|
|
|
|
data/odt/meta.xml
|
|
|
|
data/odt/settings.xml
|
|
|
|
data/odt/Configurations2/accelerator/current.xml
|
|
|
|
data/odt/Thumbnails/thumbnail.png
|
|
|
|
data/odt/META-INF/manifest.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
-- source files for reference.pptx
|
|
|
|
data/pptx/_rels/.rels
|
|
|
|
data/pptx/docProps/app.xml
|
|
|
|
data/pptx/docProps/core.xml
|
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout1.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout2.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout3.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout4.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout5.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout6.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout7.xml.rels
|
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout8.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout9.xml.rels
|
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout10.xml.rels
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/_rels/slideLayout11.xml.rels
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout1.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout2.xml
|
|
|
|
data/pptx/ppt/slideLayouts/slideLayout3.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout4.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout5.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout6.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout7.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout8.xml
|
|
|
|
data/pptx/ppt/slideLayouts/slideLayout9.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout10.xml
|
2017-12-28 20:03:34 +01:00
|
|
|
data/pptx/ppt/slideLayouts/slideLayout11.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/_rels/presentation.xml.rels
|
|
|
|
data/pptx/ppt/theme/theme1.xml
|
|
|
|
data/pptx/ppt/presProps.xml
|
|
|
|
data/pptx/ppt/slides/_rels/slide1.xml.rels
|
|
|
|
data/pptx/ppt/slides/_rels/slide2.xml.rels
|
|
|
|
data/pptx/ppt/slides/slide2.xml
|
|
|
|
data/pptx/ppt/slides/slide1.xml
|
2019-04-05 15:14:00 +02:00
|
|
|
data/pptx/ppt/slides/_rels/slide3.xml.rels
|
|
|
|
data/pptx/ppt/slides/_rels/slide4.xml.rels
|
|
|
|
data/pptx/ppt/slides/slide3.xml
|
|
|
|
data/pptx/ppt/slides/slide4.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/ppt/viewProps.xml
|
|
|
|
data/pptx/ppt/tableStyles.xml
|
|
|
|
data/pptx/ppt/slideMasters/_rels/slideMaster1.xml.rels
|
|
|
|
data/pptx/ppt/slideMasters/slideMaster1.xml
|
|
|
|
data/pptx/ppt/presentation.xml
|
2018-02-17 15:40:39 +01:00
|
|
|
data/pptx/ppt/notesMasters/_rels/notesMaster1.xml.rels
|
|
|
|
data/pptx/ppt/notesMasters/notesMaster1.xml
|
|
|
|
data/pptx/ppt/notesSlides/_rels/notesSlide1.xml.rels
|
|
|
|
data/pptx/ppt/notesSlides/notesSlide1.xml
|
2018-02-19 00:42:32 +01:00
|
|
|
data/pptx/ppt/notesSlides/_rels/notesSlide2.xml.rels
|
|
|
|
data/pptx/ppt/notesSlides/notesSlide2.xml
|
2018-02-17 15:40:39 +01:00
|
|
|
data/pptx/ppt/theme/theme2.xml
|
2017-12-10 17:05:21 +01:00
|
|
|
data/pptx/[Content_Types].xml
|
2015-05-29 03:15:01 +02:00
|
|
|
-- stylesheet for EPUB writer
|
|
|
|
data/epub.css
|
|
|
|
-- data for dzslides writer
|
|
|
|
data/dzslides/template.html
|
2017-03-16 22:16:41 +01:00
|
|
|
-- default abbreviations file
|
|
|
|
data/abbreviations
|
2015-05-29 03:15:01 +02:00
|
|
|
-- sample lua custom writer
|
|
|
|
data/sample.lua
|
2017-12-06 20:45:38 +01:00
|
|
|
-- lua init script
|
|
|
|
data/init.lua
|
2017-03-20 15:17:03 +01:00
|
|
|
-- pandoc lua module
|
|
|
|
data/pandoc.lua
|
2017-11-29 01:20:01 +01:00
|
|
|
-- lua List module
|
2017-12-02 23:07:29 +01:00
|
|
|
data/pandoc.List.lua
|
2015-08-14 00:24:50 +02:00
|
|
|
-- bash completion template
|
|
|
|
data/bash_completion.tpl
|
2017-03-30 16:43:17 +02:00
|
|
|
-- jats csl
|
|
|
|
data/jats.csl
|
2015-05-29 03:15:01 +02:00
|
|
|
-- documentation
|
2016-07-20 14:12:57 +02:00
|
|
|
MANUAL.txt, COPYRIGHT
|
2017-09-07 19:13:40 +02:00
|
|
|
extra-source-files:
|
2015-05-29 03:15:01 +02:00
|
|
|
-- documentation
|
2017-10-18 05:30:20 +02:00
|
|
|
INSTALL.md, AUTHORS.md, README.md,
|
|
|
|
CONTRIBUTING.md, BUGS, changelog,
|
2015-07-03 07:09:04 +02:00
|
|
|
man/pandoc.1
|
2019-08-15 19:28:17 +02:00
|
|
|
-- cabal and stack build plans
|
|
|
|
cabal.project
|
2015-11-16 16:02:04 +01:00
|
|
|
stack.yaml
|
2015-07-02 17:01:22 +02:00
|
|
|
-- files needed to build man page
|
2017-11-12 00:26:24 +01:00
|
|
|
man/manfilter.lua
|
2015-07-02 17:01:22 +02:00
|
|
|
man/pandoc.1.template
|
|
|
|
-- trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
trypandoc/Makefile
|
|
|
|
trypandoc/index.html
|
2008-08-10 01:45:40 +02:00
|
|
|
-- tests
|
2017-02-04 12:56:30 +01:00
|
|
|
test/bodybg.gif
|
|
|
|
test/*.native
|
2017-02-04 21:31:48 +01:00
|
|
|
test/command/*.md
|
2017-08-11 03:26:06 +02:00
|
|
|
test/command/3533-rst-csv-tables.csv
|
2017-08-28 02:01:24 +02:00
|
|
|
test/command/3880.txt
|
2019-01-10 07:19:26 +01:00
|
|
|
test/command/5182.txt
|
2019-08-24 18:41:25 +02:00
|
|
|
test/command/5700-metadata-file-1.yml
|
|
|
|
test/command/5700-metadata-file-2.yml
|
2017-03-16 22:31:36 +01:00
|
|
|
test/command/abbrevs
|
2017-04-20 11:11:01 +02:00
|
|
|
test/command/SVG_logo-without-xml-declaration.svg
|
|
|
|
test/command/SVG_logo.svg
|
|
|
|
test/command/corrupt.svg
|
|
|
|
test/command/inkscape-cube.svg
|
2018-10-26 07:12:14 +02:00
|
|
|
test/command/lua-pandoc-state.lua
|
2017-03-27 22:03:38 +02:00
|
|
|
test/command/sub-file-chapter-1.tex
|
|
|
|
test/command/sub-file-chapter-2.tex
|
2018-06-01 18:24:26 +02:00
|
|
|
test/command/bar.tex
|
2018-09-15 16:47:53 +02:00
|
|
|
test/command/yaml-metadata.yaml
|
2017-05-14 12:45:31 +02:00
|
|
|
test/command/3510-subdoc.org
|
|
|
|
test/command/3510-export.latex
|
|
|
|
test/command/3510-src.hs
|
2017-10-17 07:03:57 +02:00
|
|
|
test/command/3971b.tex
|
2017-02-04 12:56:30 +01:00
|
|
|
test/docbook-reader.docbook
|
|
|
|
test/docbook-xref.docbook
|
|
|
|
test/html-reader.html
|
|
|
|
test/opml-reader.opml
|
2019-01-27 22:22:44 +01:00
|
|
|
test/org-select-tags.org
|
2017-02-04 12:56:30 +01:00
|
|
|
test/haddock-reader.haddock
|
|
|
|
test/insert
|
|
|
|
test/lalune.jpg
|
2018-10-17 00:34:12 +02:00
|
|
|
test/man-reader.man
|
2017-02-04 12:56:30 +01:00
|
|
|
test/movie.jpg
|
|
|
|
test/media/rId25.jpg
|
|
|
|
test/media/rId26.jpg
|
|
|
|
test/media/rId27.jpg
|
|
|
|
test/latex-reader.latex
|
|
|
|
test/textile-reader.textile
|
|
|
|
test/markdown-reader-more.txt
|
|
|
|
test/markdown-citations.txt
|
|
|
|
test/textile-reader.textile
|
|
|
|
test/mediawiki-reader.wiki
|
2017-06-19 22:15:12 +02:00
|
|
|
test/vimwiki-reader.wiki
|
2017-10-29 22:01:39 +01:00
|
|
|
test/creole-reader.txt
|
|
|
|
test/creole-reader.native
|
2017-02-04 12:56:30 +01:00
|
|
|
test/rst-reader.rst
|
2017-12-20 01:54:02 +01:00
|
|
|
test/jats-reader.xml
|
2017-02-04 12:56:30 +01:00
|
|
|
test/s5-basic.html
|
|
|
|
test/s5-fancy.html
|
|
|
|
test/s5-fragment.html
|
|
|
|
test/s5-inserts.html
|
|
|
|
test/tables.context
|
|
|
|
test/tables.docbook4
|
|
|
|
test/tables.docbook5
|
2017-03-28 09:51:30 +02:00
|
|
|
test/tables.jats
|
2019-06-05 23:52:23 +02:00
|
|
|
test/tables.jira
|
2017-02-04 12:56:30 +01:00
|
|
|
test/tables.dokuwiki
|
|
|
|
test/tables.zimwiki
|
|
|
|
test/tables.icml
|
|
|
|
test/tables.html4
|
|
|
|
test/tables.html5
|
|
|
|
test/tables.latex
|
|
|
|
test/tables.man
|
2017-03-15 21:04:14 +01:00
|
|
|
test/tables.ms
|
2017-02-04 12:56:30 +01:00
|
|
|
test/tables.plain
|
|
|
|
test/tables.markdown
|
|
|
|
test/tables.mediawiki
|
|
|
|
test/tables.tei
|
|
|
|
test/tables.textile
|
|
|
|
test/tables.opendocument
|
|
|
|
test/tables.org
|
|
|
|
test/tables.asciidoc
|
|
|
|
test/tables.haddock
|
|
|
|
test/tables.texinfo
|
|
|
|
test/tables.rst
|
|
|
|
test/tables.rtf
|
|
|
|
test/tables.txt
|
|
|
|
test/tables.fb2
|
2017-03-10 10:16:27 +01:00
|
|
|
test/tables.muse
|
2017-12-27 19:48:19 +01:00
|
|
|
test/tables.custom
|
2019-05-12 16:37:37 +02:00
|
|
|
test/tables.xwiki
|
2017-02-04 12:56:30 +01:00
|
|
|
test/testsuite.txt
|
|
|
|
test/writer.latex
|
|
|
|
test/writer.context
|
|
|
|
test/writer.docbook4
|
|
|
|
test/writer.docbook5
|
2017-03-28 09:51:30 +02:00
|
|
|
test/writer.jats
|
2019-06-05 23:52:23 +02:00
|
|
|
test/writer.jira
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writer.html4
|
|
|
|
test/writer.html5
|
|
|
|
test/writer.man
|
2017-03-15 21:04:14 +01:00
|
|
|
test/writer.ms
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writer.markdown
|
|
|
|
test/writer.plain
|
|
|
|
test/writer.mediawiki
|
|
|
|
test/writer.textile
|
|
|
|
test/writer.opendocument
|
|
|
|
test/writer.org
|
|
|
|
test/writer.asciidoc
|
|
|
|
test/writer.haddock
|
|
|
|
test/writer.rst
|
|
|
|
test/writer.icml
|
|
|
|
test/writer.rtf
|
|
|
|
test/writer.tei
|
|
|
|
test/writer.texinfo
|
|
|
|
test/writer.fb2
|
|
|
|
test/writer.opml
|
|
|
|
test/writer.dokuwiki
|
|
|
|
test/writer.zimwiki
|
2019-04-03 01:45:28 +02:00
|
|
|
test/writer.xwiki
|
2017-03-10 10:16:27 +01:00
|
|
|
test/writer.muse
|
2017-12-27 19:48:19 +01:00
|
|
|
test/writer.custom
|
2017-02-04 12:56:30 +01:00
|
|
|
test/writers-lang-and-dir.latex
|
|
|
|
test/writers-lang-and-dir.context
|
|
|
|
test/dokuwiki_inline_formatting.dokuwiki
|
|
|
|
test/lhs-test.markdown
|
|
|
|
test/lhs-test.markdown+lhs
|
|
|
|
test/lhs-test.rst
|
|
|
|
test/lhs-test.rst+lhs
|
|
|
|
test/lhs-test.latex
|
|
|
|
test/lhs-test.latex+lhs
|
|
|
|
test/lhs-test.html
|
|
|
|
test/lhs-test.html+lhs
|
|
|
|
test/lhs-test.fragment.html+lhs
|
|
|
|
test/pipe-tables.txt
|
|
|
|
test/dokuwiki_external_images.dokuwiki
|
|
|
|
test/dokuwiki_external_images.native
|
|
|
|
test/dokuwiki_multiblock_table.dokuwiki
|
|
|
|
test/dokuwiki_multiblock_table.native
|
|
|
|
test/fb2/*.markdown
|
|
|
|
test/fb2/*.fb2
|
|
|
|
test/fb2/images-embedded.html
|
|
|
|
test/fb2/images-embedded.fb2
|
|
|
|
test/fb2/test-small.png
|
2018-04-26 21:33:18 +02:00
|
|
|
test/fb2/reader/*.fb2
|
|
|
|
test/fb2/reader/*.native
|
2017-02-04 12:56:30 +01:00
|
|
|
test/fb2/test.jpg
|
|
|
|
test/docx/*.docx
|
2018-01-27 14:00:25 +01:00
|
|
|
test/docx/golden/*.docx
|
2017-02-04 12:56:30 +01:00
|
|
|
test/docx/*.native
|
|
|
|
test/epub/*.epub
|
|
|
|
test/epub/*.native
|
Powerpoint writer tests: New test framework for pptx.
Previously we had tested certain properties of the output PowerPoint
slides. Corruption, though, comes as the result of a numebr of
interrelated issues in the output pptx archive. This is a new
approach, which compares the output of the Powerpoint writer with
files that we know to (a) not be corrupt, and (b) to show the desired
output behavior (details below). This commit introduces three tests
using the new framework. More will follow.
The test procedure: given a native file and a pptx file, we generate a
pptx archive from the native file, and then test:
1. Whether the same files are in the two archives
2. Whether each of the contained xml files is the same. (We skip time
entries in `docProps/core.xml`, since these are derived from IO. We
just check to make sure that they're there in the same way in both
files.)
3. Whether each of the media files is the same.
Note that steps 2 and 3, though they compare multiple files, are one
test each, since the number of files depends on the input file (if
there is a failure, it will only report the first failed file
comparison in the test failure).
2018-01-21 06:25:03 +01:00
|
|
|
test/pptx/*.pptx
|
|
|
|
test/pptx/*.native
|
2019-02-09 23:53:30 +01:00
|
|
|
test/ipynb/*.in.native
|
|
|
|
test/ipynb/*.out.native
|
|
|
|
test/ipynb/*.ipynb
|
2017-02-04 12:56:30 +01:00
|
|
|
test/txt2tags.t2t
|
|
|
|
test/twiki-reader.twiki
|
2017-07-21 10:09:54 +02:00
|
|
|
test/tikiwiki-reader.tikiwiki
|
2017-02-04 12:56:30 +01:00
|
|
|
test/odt/odt/*.odt
|
|
|
|
test/odt/markdown/*.md
|
|
|
|
test/odt/native/*.native
|
2017-04-14 23:24:52 +02:00
|
|
|
test/lua/*.lua
|
2019-05-19 15:26:00 +02:00
|
|
|
test/lua/module/*.lua
|
2017-09-07 19:13:40 +02:00
|
|
|
source-repository head
|
2011-02-05 19:34:55 +01:00
|
|
|
type: git
|
2011-02-05 19:38:25 +01:00
|
|
|
location: git://github.com/jgm/pandoc.git
|
2011-02-05 19:34:55 +01:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
flag static
|
2017-09-05 02:07:20 +02:00
|
|
|
Description: Use static linking for pandoc executable.
|
|
|
|
Default: False
|
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
flag embed_data_files
|
2012-12-30 02:44:02 +01:00
|
|
|
Description: Embed data files in binary for relocatable executable.
|
|
|
|
Default: False
|
2006-10-17 16:22:29 +02:00
|
|
|
|
2018-11-04 20:51:08 +01:00
|
|
|
flag derive_json_via_th
|
|
|
|
Description: Use Template Haskell instead of GHC Generics to derive ToJSON
|
|
|
|
and FromJSON instances.
|
|
|
|
Default: True
|
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
flag trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
Description: Build trypandoc cgi executable.
|
|
|
|
Default: False
|
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
library
|
2019-04-17 23:19:21 +02:00
|
|
|
build-depends: base >= 4.9 && < 5,
|
2017-03-02 10:42:07 +01:00
|
|
|
syb >= 0.1 && < 0.8,
|
2018-10-18 02:30:14 +02:00
|
|
|
containers >= 0.4.2.1 && < 0.7,
|
2013-05-17 08:00:58 +02:00
|
|
|
unordered-containers >= 0.2 && < 0.3,
|
2012-02-05 04:38:51 +01:00
|
|
|
parsec >= 3.1 && < 3.2,
|
2016-09-01 12:32:03 +02:00
|
|
|
mtl >= 2.2 && < 2.3,
|
2018-03-16 07:48:19 +01:00
|
|
|
exceptions >= 0.8 && < 0.11,
|
2015-03-19 19:47:20 +01:00
|
|
|
filepath >= 1.1 && < 1.5,
|
2017-06-17 23:48:01 +02:00
|
|
|
process >= 1.2.3 && < 1.7,
|
2019-03-03 00:03:59 +01:00
|
|
|
directory >= 1.2.3 && < 1.4,
|
2012-12-31 23:34:02 +01:00
|
|
|
bytestring >= 0.9 && < 0.11,
|
2018-11-19 09:17:22 +01:00
|
|
|
text >= 1.1.1.0 && < 1.3,
|
2018-03-18 19:24:29 +01:00
|
|
|
time >= 1.5 && < 1.10,
|
2017-03-13 22:11:10 +01:00
|
|
|
safe >= 0.3 && < 0.4,
|
2018-12-04 01:25:00 +01:00
|
|
|
zip-archive >= 0.2.3.4 && < 0.5,
|
2016-01-02 05:23:42 +01:00
|
|
|
HTTP >= 4000.0.5 && < 4000.4,
|
2019-03-03 01:29:59 +01:00
|
|
|
texmath >= 0.11.2.1 && < 0.12,
|
2012-01-31 18:48:42 +01:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
2017-08-17 21:07:07 +02:00
|
|
|
split >= 0.2 && < 0.3,
|
2014-09-23 04:47:16 +02:00
|
|
|
random >= 1 && < 1.2,
|
2019-08-23 20:05:55 +02:00
|
|
|
pandoc-types >= 1.17.6 && < 1.18,
|
2018-06-10 19:24:12 +02:00
|
|
|
aeson >= 0.7 && < 1.5,
|
2019-03-28 00:52:17 +01:00
|
|
|
scientific >= 0.3 && < 0.4,
|
2018-02-23 07:23:11 +01:00
|
|
|
aeson-pretty >= 0.8.5 && < 0.9,
|
2018-02-28 05:00:14 +01:00
|
|
|
tagsoup >= 0.14.6 && < 0.15,
|
2012-09-30 20:53:18 +02:00
|
|
|
base64-bytestring >= 0.1 && < 1.1,
|
2015-04-20 20:52:48 +02:00
|
|
|
zlib >= 0.5 && < 0.7,
|
2019-07-14 19:10:13 +02:00
|
|
|
skylighting >= 0.8.2 && < 0.9,
|
2016-05-22 18:21:49 +02:00
|
|
|
data-default >= 0.4 && < 0.8,
|
2018-04-11 18:45:17 +02:00
|
|
|
temporary >= 1.1 && < 1.4,
|
2018-02-01 19:08:53 +01:00
|
|
|
blaze-html >= 0.9 && < 0.10,
|
|
|
|
blaze-markup >= 0.8 && < 0.9,
|
2017-01-10 17:05:09 +01:00
|
|
|
vector >= 0.10 && < 0.13,
|
2018-10-01 16:10:46 +02:00
|
|
|
hslua >= 1.0.1 && < 1.1,
|
2019-05-04 07:06:30 +02:00
|
|
|
hslua-module-system >= 0.2 && < 0.3,
|
2018-09-24 20:11:00 +02:00
|
|
|
hslua-module-text >= 0.2 && < 0.3,
|
2018-10-19 05:43:18 +02:00
|
|
|
binary >= 0.5 && < 0.11,
|
2014-06-18 20:33:09 +02:00
|
|
|
SHA >= 1.6 && < 1.7,
|
2018-10-18 02:30:14 +02:00
|
|
|
haddock-library >= 1.7 && < 1.8,
|
2016-01-11 21:48:39 +01:00
|
|
|
deepseq >= 1.3 && < 1.5,
|
2018-07-13 17:10:25 +02:00
|
|
|
JuicyPixels >= 3.1.6.1 && < 3.4,
|
2018-12-20 00:35:05 +01:00
|
|
|
Glob >= 0.7 && < 0.11,
|
2019-04-09 18:15:49 +02:00
|
|
|
cmark-gfm >= 0.2 && < 0.3,
|
2019-09-02 20:14:00 +02:00
|
|
|
doctemplates >= 0.6 && < 0.7,
|
2018-06-28 11:51:52 +02:00
|
|
|
network-uri >= 2.6 && < 2.7,
|
|
|
|
network >= 2.6,
|
2019-01-09 17:43:41 +01:00
|
|
|
http-client >= 0.4.30 && < 0.7,
|
2017-05-07 12:49:25 +02:00
|
|
|
http-client-tls >= 0.2.4 && < 0.4,
|
2018-03-12 02:01:57 +01:00
|
|
|
http-types >= 0.8 && < 0.13,
|
2018-06-29 22:32:49 +02:00
|
|
|
case-insensitive >= 1.2 && < 1.3,
|
2018-09-30 19:25:17 +02:00
|
|
|
unicode-transforms >= 0.3 && < 0.4,
|
2019-01-13 16:56:55 +01:00
|
|
|
HsYAML >= 0.1.1.1 && < 0.2,
|
Use new doctemplates, doclayout.
+ Remove Text.Pandoc.Pretty; use doclayout instead. [API change]
+ Text.Pandoc.Writers.Shared: remove metaToJSON, metaToJSON'
[API change].
+ Text.Pandoc.Writers.Shared: modify `addVariablesToContext`,
`defField`, `setField`, `getField`, `resetField` to work with
Context rather than JSON values. [API change]
+ Text.Pandoc.Writers.Shared: export new function `endsWithPlain` [API
change].
+ Use new templates and doclayout in writers.
+ Use Doc-based templates in all writers.
+ Adjust three tests for minor template rendering differences.
+ Added indentation to body in docbook4, docbook5 templates.
The main impact of this change is better reflowing of content
interpolated into templates. Previously, interpolated variables
were rendered independently and intepolated as strings, which could lead
to overly long lines. Now the templates interpolated as Doc values
which may include breaking spaces, and reflowing occurs
after template interpolation rather than before.
2019-08-15 07:11:05 +02:00
|
|
|
doclayout >= 0.1 && < 0.2,
|
2019-03-20 20:22:17 +01:00
|
|
|
ipynb >= 0.1 && < 0.2,
|
|
|
|
attoparsec >= 0.12 && < 0.14
|
2019-08-27 02:04:30 +02:00
|
|
|
if os(windows) && arch(i386)
|
2019-02-08 18:29:09 +01:00
|
|
|
build-depends: basement >= 0.0.10,
|
|
|
|
foundation >= 0.0.23
|
|
|
|
-- basement 0.0.9 won't build on 32-bit windows.
|
2018-03-18 17:20:21 +01:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
hs-source-dirs: prelude
|
|
|
|
other-modules: Prelude
|
|
|
|
build-depends: base-compat >= 0.9
|
2017-02-05 21:58:45 +01:00
|
|
|
if os(windows)
|
2017-09-07 19:13:40 +02:00
|
|
|
cpp-options: -D_WINDOWS
|
2017-02-05 21:58:45 +01:00
|
|
|
else
|
2017-09-07 19:13:40 +02:00
|
|
|
build-depends: unix >= 2.4 && < 2.8
|
2012-12-30 02:44:02 +01:00
|
|
|
if flag(embed_data_files)
|
|
|
|
cpp-options: -DEMBED_DATA_FILES
|
2017-04-02 23:10:10 +02:00
|
|
|
build-depends: file-embed >= 0.0 && < 0.1
|
2013-01-23 17:33:45 +01:00
|
|
|
other-modules: Text.Pandoc.Data
|
2018-11-04 20:51:08 +01:00
|
|
|
if flag(derive_json_via_th)
|
|
|
|
cpp-options: -DDERIVE_JSON_VIA_TH
|
2014-02-24 05:35:07 +01:00
|
|
|
if os(windows)
|
2017-09-07 19:13:40 +02:00
|
|
|
cpp-options: -D_WINDOWS
|
2018-10-27 20:35:20 +02:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
2019-08-27 02:04:30 +02:00
|
|
|
-Wincomplete-record-updates
|
|
|
|
-Wnoncanonical-monad-instances
|
|
|
|
-Wnoncanonical-monadfail-instances
|
|
|
|
if impl(ghc >= 8.2)
|
|
|
|
ghc-options: -Wcpp-undef
|
|
|
|
if impl(ghc >= 8.4)
|
2018-10-27 20:35:20 +02:00
|
|
|
ghc-options: -Wincomplete-uni-patterns
|
|
|
|
-Widentities
|
|
|
|
-Werror=missing-home-modules
|
2019-08-27 02:04:30 +02:00
|
|
|
-fhide-source-paths
|
|
|
|
|
2018-03-18 18:45:32 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
other-extensions: NoImplicitPrelude
|
2018-03-18 17:47:38 +01:00
|
|
|
hs-source-dirs: src
|
2010-07-21 20:24:50 +02:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
exposed-modules: Text.Pandoc,
|
2017-02-05 21:58:45 +01:00
|
|
|
Text.Pandoc.App,
|
2012-07-25 19:18:57 +02:00
|
|
|
Text.Pandoc.Options,
|
2017-01-14 10:29:12 +01:00
|
|
|
Text.Pandoc.Extensions,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Shared,
|
2014-07-31 21:00:21 +02:00
|
|
|
Text.Pandoc.MediaBag,
|
2015-02-18 13:55:04 +01:00
|
|
|
Text.Pandoc.Error,
|
2018-10-26 23:18:46 +02:00
|
|
|
Text.Pandoc.Filter,
|
2017-04-17 10:51:37 +02:00
|
|
|
Text.Pandoc.Readers,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.HTML,
|
|
|
|
Text.Pandoc.Readers.LaTeX,
|
Rewrote LaTeX reader with proper tokenization.
This rewrite is primarily motivated by the need to
get macros working properly. A side benefit is that the
reader is significantly faster (27s -> 19s in one
benchmark, and there is a lot of room for further
optimization).
We now tokenize the input text, then parse the token stream.
Macros modify the token stream, so they should now be effective
in any context, including math. Thus, we no longer need the clunky
macro processing capacities of texmath.
A custom state LaTeXState is used instead of ParserState.
This, plus the tokenization, will require some rewriting
of the exported functions rawLaTeXInline, inlineCommand,
rawLaTeXBlock.
* Added Text.Pandoc.Readers.LaTeX.Types (new exported module).
Exports Macro, Tok, TokType, Line, Column. [API change]
* Text.Pandoc.Parsing: adjusted type of `insertIncludedFile`
so it can be used with token parser.
* Removed old texmath macro stuff from Parsing.
Use Macro from Text.Pandoc.Readers.LaTeX.Types instead.
* Removed texmath macro material from Markdown reader.
* Changed types for Text.Pandoc.Readers.LaTeX's
rawLaTeXInline and rawLaTeXBlock. (Both now return a String,
and they are polymorphic in state.)
* Added orgMacros field to OrgState. [API change]
* Removed readerApplyMacros from ReaderOptions.
Now we just check the `latex_macros` reader extension.
* Allow `\newcommand\foo{blah}` without braces.
Fixes #1390.
Fixes #2118.
Fixes #3236.
Fixes #3779.
Fixes #934.
Fixes #982.
2017-07-01 19:31:43 +02:00
|
|
|
Text.Pandoc.Readers.LaTeX.Types,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.Markdown,
|
2015-03-17 06:20:42 +01:00
|
|
|
Text.Pandoc.Readers.CommonMark,
|
2017-10-27 01:19:28 +02:00
|
|
|
Text.Pandoc.Readers.Creole,
|
2012-09-10 19:02:12 +02:00
|
|
|
Text.Pandoc.Readers.MediaWiki,
|
2017-06-19 22:15:12 +02:00
|
|
|
Text.Pandoc.Readers.Vimwiki,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.RST,
|
2014-03-04 00:33:25 +01:00
|
|
|
Text.Pandoc.Readers.Org,
|
2012-04-15 01:44:21 +02:00
|
|
|
Text.Pandoc.Readers.DocBook,
|
2017-12-20 01:54:02 +01:00
|
|
|
Text.Pandoc.Readers.JATS,
|
2013-03-18 01:43:51 +01:00
|
|
|
Text.Pandoc.Readers.OPML,
|
2010-10-03 20:55:46 +02:00
|
|
|
Text.Pandoc.Readers.Textile,
|
2011-01-20 03:36:27 +01:00
|
|
|
Text.Pandoc.Readers.Native,
|
2013-03-28 22:53:10 +01:00
|
|
|
Text.Pandoc.Readers.Haddock,
|
2014-07-07 20:21:38 +02:00
|
|
|
Text.Pandoc.Readers.TWiki,
|
2017-07-21 10:09:54 +02:00
|
|
|
Text.Pandoc.Readers.TikiWiki,
|
2015-06-28 23:39:17 +02:00
|
|
|
Text.Pandoc.Readers.Txt2Tags,
|
2014-06-17 07:44:40 +02:00
|
|
|
Text.Pandoc.Readers.Docx,
|
2015-07-23 09:06:14 +02:00
|
|
|
Text.Pandoc.Readers.Odt,
|
2014-07-30 01:57:20 +02:00
|
|
|
Text.Pandoc.Readers.EPUB,
|
2017-06-19 10:46:02 +02:00
|
|
|
Text.Pandoc.Readers.Muse,
|
2018-02-25 01:34:17 +01:00
|
|
|
Text.Pandoc.Readers.Man,
|
2018-04-26 21:33:18 +02:00
|
|
|
Text.Pandoc.Readers.FB2,
|
2019-01-07 00:06:32 +01:00
|
|
|
Text.Pandoc.Readers.DokuWiki,
|
2019-01-13 16:56:55 +01:00
|
|
|
Text.Pandoc.Readers.Ipynb,
|
2017-04-17 11:02:38 +02:00
|
|
|
Text.Pandoc.Writers,
|
2010-07-04 22:55:48 +02:00
|
|
|
Text.Pandoc.Writers.Native,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Docbook,
|
2017-03-28 09:51:30 +02:00
|
|
|
Text.Pandoc.Writers.JATS,
|
2013-03-20 04:35:14 +01:00
|
|
|
Text.Pandoc.Writers.OPML,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.HTML,
|
2019-01-13 16:56:55 +01:00
|
|
|
Text.Pandoc.Writers.Ipynb,
|
2013-12-01 21:11:39 +01:00
|
|
|
Text.Pandoc.Writers.ICML,
|
2019-06-05 23:52:23 +02:00
|
|
|
Text.Pandoc.Writers.Jira,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.LaTeX,
|
|
|
|
Text.Pandoc.Writers.ConTeXt,
|
2008-03-19 19:45:51 +01:00
|
|
|
Text.Pandoc.Writers.OpenDocument,
|
2008-02-24 21:40:17 +01:00
|
|
|
Text.Pandoc.Writers.Texinfo,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Man,
|
2017-03-15 21:04:14 +01:00
|
|
|
Text.Pandoc.Writers.Ms,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Markdown,
|
2015-03-23 19:35:44 +01:00
|
|
|
Text.Pandoc.Writers.CommonMark,
|
2014-06-19 00:32:13 +02:00
|
|
|
Text.Pandoc.Writers.Haddock,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.RST,
|
2010-12-04 11:27:39 +01:00
|
|
|
Text.Pandoc.Writers.Org,
|
2011-11-19 06:09:23 +01:00
|
|
|
Text.Pandoc.Writers.AsciiDoc,
|
2013-04-03 06:08:38 +02:00
|
|
|
Text.Pandoc.Writers.Custom,
|
2010-04-10 21:38:07 +02:00
|
|
|
Text.Pandoc.Writers.Textile,
|
2008-07-27 05:25:51 +02:00
|
|
|
Text.Pandoc.Writers.MediaWiki,
|
2013-07-14 14:40:27 +02:00
|
|
|
Text.Pandoc.Writers.DokuWiki,
|
2019-04-03 01:27:02 +02:00
|
|
|
Text.Pandoc.Writers.XWiki,
|
2016-06-29 08:11:42 +02:00
|
|
|
Text.Pandoc.Writers.ZimWiki,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.RTF,
|
2010-07-03 05:12:14 +02:00
|
|
|
Text.Pandoc.Writers.ODT,
|
2012-01-03 21:10:10 +01:00
|
|
|
Text.Pandoc.Writers.Docx,
|
2017-12-10 17:05:21 +01:00
|
|
|
Text.Pandoc.Writers.Powerpoint,
|
2010-07-03 07:07:00 +02:00
|
|
|
Text.Pandoc.Writers.EPUB,
|
2012-04-25 02:40:33 +02:00
|
|
|
Text.Pandoc.Writers.FB2,
|
2016-01-22 00:31:12 +01:00
|
|
|
Text.Pandoc.Writers.TEI,
|
2017-03-10 10:16:27 +01:00
|
|
|
Text.Pandoc.Writers.Muse,
|
2016-12-03 16:15:13 +01:00
|
|
|
Text.Pandoc.Writers.Math,
|
2017-02-25 22:07:01 +01:00
|
|
|
Text.Pandoc.Writers.Shared,
|
2017-12-12 06:37:52 +01:00
|
|
|
Text.Pandoc.Writers.OOXML,
|
2017-03-20 15:17:03 +01:00
|
|
|
Text.Pandoc.Lua,
|
2012-01-21 03:57:16 +01:00
|
|
|
Text.Pandoc.PDF,
|
2012-09-26 04:54:21 +02:00
|
|
|
Text.Pandoc.UTF8,
|
2011-11-19 09:20:00 +01:00
|
|
|
Text.Pandoc.Templates,
|
2012-12-30 01:42:17 +01:00
|
|
|
Text.Pandoc.XML,
|
2013-08-09 00:13:28 +02:00
|
|
|
Text.Pandoc.SelfContained,
|
2017-02-05 21:58:45 +01:00
|
|
|
Text.Pandoc.Highlighting,
|
2017-02-10 20:59:54 +01:00
|
|
|
Text.Pandoc.Logging,
|
2015-07-24 08:53:17 +02:00
|
|
|
Text.Pandoc.Process,
|
2016-12-12 14:49:21 +01:00
|
|
|
Text.Pandoc.MIME,
|
2017-02-25 22:07:01 +01:00
|
|
|
Text.Pandoc.Parsing,
|
|
|
|
Text.Pandoc.Asciify,
|
|
|
|
Text.Pandoc.Emoji,
|
|
|
|
Text.Pandoc.ImageSize,
|
2017-10-18 07:21:32 +02:00
|
|
|
Text.Pandoc.BCP47,
|
2016-11-21 15:30:08 +01:00
|
|
|
Text.Pandoc.Class
|
2017-10-21 23:00:49 +02:00
|
|
|
other-modules: Text.Pandoc.App.CommandLineOptions,
|
2018-11-07 21:29:48 +01:00
|
|
|
Text.Pandoc.App.FormatHeuristics,
|
2018-11-06 21:25:14 +01:00
|
|
|
Text.Pandoc.App.Opt,
|
2018-11-03 07:33:04 +01:00
|
|
|
Text.Pandoc.App.OutputSettings,
|
2017-10-21 23:00:49 +02:00
|
|
|
Text.Pandoc.Filter.JSON,
|
2018-01-10 22:26:12 +01:00
|
|
|
Text.Pandoc.Filter.Lua,
|
|
|
|
Text.Pandoc.Filter.Path,
|
|
|
|
Text.Pandoc.Readers.Docx.Lists,
|
2016-02-26 14:47:26 +01:00
|
|
|
Text.Pandoc.Readers.Docx.Combine,
|
2014-06-17 07:44:40 +02:00
|
|
|
Text.Pandoc.Readers.Docx.Parse,
|
2015-03-01 20:57:35 +01:00
|
|
|
Text.Pandoc.Readers.Docx.Util,
|
2015-07-23 09:06:14 +02:00
|
|
|
Text.Pandoc.Readers.Docx.StyleMap,
|
2018-01-16 18:50:37 +01:00
|
|
|
Text.Pandoc.Readers.Docx.Fields,
|
2018-09-28 19:33:32 +02:00
|
|
|
Text.Pandoc.Readers.LaTeX.Parsing,
|
2018-10-02 06:27:20 +02:00
|
|
|
Text.Pandoc.Readers.LaTeX.Lang,
|
2015-07-23 09:06:14 +02:00
|
|
|
Text.Pandoc.Readers.Odt.Base,
|
|
|
|
Text.Pandoc.Readers.Odt.Namespaces,
|
|
|
|
Text.Pandoc.Readers.Odt.StyleReader,
|
|
|
|
Text.Pandoc.Readers.Odt.ContentReader,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.Fallible,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.SetMap,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.Utils,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.Namespaces,
|
|
|
|
Text.Pandoc.Readers.Odt.Generic.XMLConverter,
|
|
|
|
Text.Pandoc.Readers.Odt.Arrows.State,
|
|
|
|
Text.Pandoc.Readers.Odt.Arrows.Utils,
|
2016-05-22 16:52:06 +02:00
|
|
|
Text.Pandoc.Readers.Org.BlockStarts,
|
2016-05-25 22:50:51 +02:00
|
|
|
Text.Pandoc.Readers.Org.Blocks,
|
2017-05-16 22:42:34 +02:00
|
|
|
Text.Pandoc.Readers.Org.DocumentTree,
|
2016-07-02 10:04:47 +02:00
|
|
|
Text.Pandoc.Readers.Org.ExportSettings,
|
2016-05-22 16:52:06 +02:00
|
|
|
Text.Pandoc.Readers.Org.Inlines,
|
2016-08-29 14:10:51 +02:00
|
|
|
Text.Pandoc.Readers.Org.Meta,
|
2016-05-11 12:26:54 +02:00
|
|
|
Text.Pandoc.Readers.Org.ParserState,
|
2016-05-22 16:33:31 +02:00
|
|
|
Text.Pandoc.Readers.Org.Parsing,
|
2016-05-30 15:07:50 +02:00
|
|
|
Text.Pandoc.Readers.Org.Shared,
|
2018-10-27 06:28:38 +02:00
|
|
|
Text.Pandoc.Readers.Roff,
|
|
|
|
Text.Pandoc.Writers.Roff,
|
2018-01-14 14:59:10 +01:00
|
|
|
Text.Pandoc.Writers.Powerpoint.Presentation,
|
|
|
|
Text.Pandoc.Writers.Powerpoint.Output,
|
2017-12-13 21:15:41 +01:00
|
|
|
Text.Pandoc.Lua.Filter,
|
2018-10-26 22:15:25 +02:00
|
|
|
Text.Pandoc.Lua.Global,
|
2017-12-13 21:15:41 +01:00
|
|
|
Text.Pandoc.Lua.Init,
|
2019-02-16 12:08:22 +01:00
|
|
|
Text.Pandoc.Lua.Marshaling,
|
|
|
|
Text.Pandoc.Lua.Marshaling.AST,
|
|
|
|
Text.Pandoc.Lua.Marshaling.AnyValue,
|
|
|
|
Text.Pandoc.Lua.Marshaling.CommonState,
|
2019-02-15 17:13:04 +01:00
|
|
|
Text.Pandoc.Lua.Marshaling.MediaBag,
|
2019-02-16 12:08:22 +01:00
|
|
|
Text.Pandoc.Lua.Marshaling.ReaderOptions,
|
2019-05-19 15:26:00 +02:00
|
|
|
Text.Pandoc.Lua.Marshaling.Version,
|
2017-12-21 22:17:37 +01:00
|
|
|
Text.Pandoc.Lua.Module.MediaBag,
|
2017-12-21 21:37:40 +01:00
|
|
|
Text.Pandoc.Lua.Module.Pandoc,
|
2019-05-04 07:06:30 +02:00
|
|
|
Text.Pandoc.Lua.Module.System,
|
2019-05-19 15:26:00 +02:00
|
|
|
Text.Pandoc.Lua.Module.Types,
|
2017-12-21 22:30:59 +01:00
|
|
|
Text.Pandoc.Lua.Module.Utils,
|
2017-12-02 23:07:29 +01:00
|
|
|
Text.Pandoc.Lua.Packages,
|
2017-04-14 18:26:42 +02:00
|
|
|
Text.Pandoc.Lua.Util,
|
2019-08-15 22:53:02 +02:00
|
|
|
Text.Pandoc.Lua.Walk,
|
2016-12-12 14:49:21 +01:00
|
|
|
Text.Pandoc.CSS,
|
2017-08-10 20:12:41 +02:00
|
|
|
Text.Pandoc.CSV,
|
2018-10-27 06:28:38 +02:00
|
|
|
Text.Pandoc.RoffChar,
|
2010-07-03 07:07:00 +02:00
|
|
|
Text.Pandoc.UUID,
|
2017-08-11 20:56:54 +02:00
|
|
|
Text.Pandoc.Translations,
|
2012-01-23 04:58:45 +01:00
|
|
|
Text.Pandoc.Slides,
|
2009-04-18 18:15:56 +02:00
|
|
|
Paths_pandoc
|
2018-07-16 06:43:54 +02:00
|
|
|
autogen-modules: Paths_pandoc
|
2017-09-07 19:13:40 +02:00
|
|
|
buildable: True
|
2008-08-01 01:16:12 +02:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
executable pandoc
|
2018-10-01 06:07:48 +02:00
|
|
|
build-depends: pandoc, base >= 4.8 && < 5
|
2018-03-18 17:20:21 +01:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
hs-source-dirs: prelude
|
|
|
|
other-modules: Prelude
|
|
|
|
build-depends: base-compat >= 0.9
|
2017-12-08 00:25:37 +01:00
|
|
|
ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
|
2017-09-05 02:07:20 +02:00
|
|
|
if flag(static)
|
2017-09-07 19:13:40 +02:00
|
|
|
ld-options: -static
|
2018-03-18 18:45:32 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
other-extensions: NoImplicitPrelude
|
2018-03-18 17:47:38 +01:00
|
|
|
hs-source-dirs: .
|
2017-09-07 19:13:40 +02:00
|
|
|
main-is: pandoc.hs
|
|
|
|
buildable: True
|
|
|
|
other-modules: Paths_pandoc
|
2010-12-16 02:52:35 +01:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
executable trypandoc
|
|
|
|
main-is: trypandoc.hs
|
2018-03-18 17:47:38 +01:00
|
|
|
hs-source-dirs: trypandoc
|
2014-08-18 01:11:09 +02:00
|
|
|
default-language: Haskell2010
|
2018-03-18 18:45:32 +01:00
|
|
|
other-extensions: NoImplicitPrelude
|
2014-08-18 01:11:09 +02:00
|
|
|
if flag(trypandoc)
|
2017-09-07 19:13:40 +02:00
|
|
|
build-depends: base, aeson, pandoc,
|
2014-08-24 16:49:26 +02:00
|
|
|
text, wai-extra, wai >= 0.3, http-types
|
2017-09-07 19:13:40 +02:00
|
|
|
buildable: True
|
2014-08-18 01:11:09 +02:00
|
|
|
else
|
2017-09-07 19:13:40 +02:00
|
|
|
buildable: False
|
2018-03-18 17:20:21 +01:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
hs-source-dirs: prelude
|
|
|
|
other-modules: Prelude
|
|
|
|
build-depends: base-compat >= 0.9
|
2014-08-18 01:11:09 +02:00
|
|
|
|
2018-03-18 19:51:57 +01:00
|
|
|
benchmark weigh-pandoc
|
|
|
|
type: exitcode-stdio-1.0
|
2017-09-07 19:13:40 +02:00
|
|
|
main-is: weigh-pandoc.hs
|
2018-03-18 17:47:38 +01:00
|
|
|
hs-source-dirs: benchmark
|
2018-03-18 19:51:57 +01:00
|
|
|
build-depends: pandoc,
|
2018-10-01 06:07:48 +02:00
|
|
|
base >= 4.8 && < 5,
|
2018-03-18 19:51:57 +01:00
|
|
|
text,
|
|
|
|
weigh >= 0.0 && < 0.1,
|
|
|
|
mtl >= 2.2 && < 2.3
|
2018-03-18 17:20:21 +01:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
hs-source-dirs: prelude
|
|
|
|
other-modules: Prelude
|
|
|
|
build-depends: base-compat >= 0.9
|
2018-04-24 21:31:03 +02:00
|
|
|
ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
|
2018-03-18 18:45:32 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
other-extensions: NoImplicitPrelude
|
2016-11-18 14:03:08 +01:00
|
|
|
|
2017-09-07 19:13:40 +02:00
|
|
|
test-suite test-pandoc
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: test-pandoc.hs
|
2018-03-18 17:47:38 +01:00
|
|
|
hs-source-dirs: test
|
2018-10-01 06:07:48 +02:00
|
|
|
build-depends: base >= 4.8 && < 5,
|
2012-12-30 01:42:17 +01:00
|
|
|
pandoc,
|
2019-08-23 20:05:55 +02:00
|
|
|
pandoc-types >= 1.17.6 && < 1.18,
|
2019-07-26 21:00:44 +02:00
|
|
|
mtl >= 2.2 && < 2.3,
|
2012-12-31 23:34:02 +01:00
|
|
|
bytestring >= 0.9 && < 0.11,
|
2017-12-28 16:39:47 +01:00
|
|
|
base64-bytestring >= 0.1 && < 1.1,
|
2018-11-19 09:17:22 +01:00
|
|
|
text >= 1.1.1.0 && < 1.3,
|
2018-03-16 07:48:19 +01:00
|
|
|
time >= 1.5 && < 1.10,
|
2019-03-03 00:03:59 +01:00
|
|
|
directory >= 1.2.3 && < 1.4,
|
2015-03-19 19:47:20 +01:00
|
|
|
filepath >= 1.1 && < 1.5,
|
2018-09-24 20:11:00 +02:00
|
|
|
hslua >= 1.0 && < 1.1,
|
2017-06-17 23:48:01 +02:00
|
|
|
process >= 1.2.3 && < 1.7,
|
2018-04-11 18:45:17 +02:00
|
|
|
temporary >= 1.1 && < 1.4,
|
2013-02-13 17:20:02 +01:00
|
|
|
Diff >= 0.2 && < 0.4,
|
2018-12-02 18:10:33 +01:00
|
|
|
tasty >= 0.11 && < 1.3,
|
2017-12-03 08:24:19 +01:00
|
|
|
tasty-hunit >= 0.9 && < 0.11,
|
2019-05-20 18:52:28 +02:00
|
|
|
tasty-lua >= 0.2 && < 0.3,
|
2018-03-05 18:35:16 +01:00
|
|
|
tasty-quickcheck >= 0.8 && < 0.11,
|
2017-03-15 00:27:39 +01:00
|
|
|
tasty-golden >= 2.3 && < 2.4,
|
2019-04-17 17:26:55 +02:00
|
|
|
QuickCheck >= 2.4 && < 2.14,
|
2018-10-27 21:29:54 +02:00
|
|
|
containers >= 0.4.2.1 && < 0.7,
|
2014-08-13 17:12:07 +02:00
|
|
|
executable-path >= 0.0 && < 0.1,
|
2018-12-04 01:25:00 +01:00
|
|
|
zip-archive >= 0.2.3.4 && < 0.5,
|
2018-01-25 21:27:54 +01:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
2018-12-20 00:35:05 +01:00
|
|
|
Glob >= 0.7 && < 0.11
|
2018-03-18 17:20:21 +01:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
hs-source-dirs: prelude
|
|
|
|
other-modules: Prelude
|
|
|
|
build-depends: base-compat >= 0.9
|
2018-03-18 17:47:38 +01:00
|
|
|
other-modules: Tests.Old
|
2017-02-04 17:38:03 +01:00
|
|
|
Tests.Command
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Helpers
|
2017-03-20 15:17:03 +01:00
|
|
|
Tests.Lua
|
2019-05-20 18:52:28 +02:00
|
|
|
Tests.Lua.Module
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Shared
|
|
|
|
Tests.Readers.LaTeX
|
2015-05-14 05:39:01 +02:00
|
|
|
Tests.Readers.HTML
|
2017-12-20 01:54:02 +01:00
|
|
|
Tests.Readers.JATS
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Readers.Markdown
|
2014-03-04 00:33:25 +01:00
|
|
|
Tests.Readers.Org
|
2017-12-24 22:48:18 +01:00
|
|
|
Tests.Readers.Org.Block
|
|
|
|
Tests.Readers.Org.Block.CodeBlock
|
|
|
|
Tests.Readers.Org.Block.Figure
|
|
|
|
Tests.Readers.Org.Block.Header
|
|
|
|
Tests.Readers.Org.Block.List
|
|
|
|
Tests.Readers.Org.Block.Table
|
|
|
|
Tests.Readers.Org.Directive
|
|
|
|
Tests.Readers.Org.Inline
|
2018-02-26 21:09:51 +01:00
|
|
|
Tests.Readers.Org.Inline.Citation
|
2017-12-24 22:48:18 +01:00
|
|
|
Tests.Readers.Org.Inline.Note
|
|
|
|
Tests.Readers.Org.Inline.Smart
|
|
|
|
Tests.Readers.Org.Meta
|
|
|
|
Tests.Readers.Org.Shared
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Readers.RST
|
2014-06-17 07:44:40 +02:00
|
|
|
Tests.Readers.Docx
|
2015-07-23 09:06:14 +02:00
|
|
|
Tests.Readers.Odt
|
2014-07-25 21:39:13 +02:00
|
|
|
Tests.Readers.Txt2Tags
|
2014-08-10 15:33:18 +02:00
|
|
|
Tests.Readers.EPUB
|
2017-06-19 10:46:02 +02:00
|
|
|
Tests.Readers.Muse
|
2017-10-27 01:19:28 +02:00
|
|
|
Tests.Readers.Creole
|
2018-02-25 01:34:17 +01:00
|
|
|
Tests.Readers.Man
|
2018-04-26 21:33:18 +02:00
|
|
|
Tests.Readers.FB2
|
2019-01-07 00:06:32 +01:00
|
|
|
Tests.Readers.DokuWiki
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.Native
|
|
|
|
Tests.Writers.ConTeXt
|
2014-08-14 01:46:00 +02:00
|
|
|
Tests.Writers.Docbook
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.HTML
|
2017-12-13 00:06:22 +01:00
|
|
|
Tests.Writers.JATS
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.Markdown
|
2017-02-12 15:09:07 +01:00
|
|
|
Tests.Writers.Org
|
2014-08-03 16:32:31 +02:00
|
|
|
Tests.Writers.Plain
|
2014-05-04 06:24:20 +02:00
|
|
|
Tests.Writers.AsciiDoc
|
2012-12-30 01:42:17 +01:00
|
|
|
Tests.Writers.LaTeX
|
2015-03-28 22:12:18 +01:00
|
|
|
Tests.Writers.Docx
|
2015-04-16 18:27:33 +02:00
|
|
|
Tests.Writers.RST
|
2015-12-24 17:36:58 +01:00
|
|
|
Tests.Writers.TEI
|
2017-03-10 10:16:27 +01:00
|
|
|
Tests.Writers.Muse
|
2017-10-28 17:13:51 +02:00
|
|
|
Tests.Writers.FB2
|
2017-12-28 16:39:47 +01:00
|
|
|
Tests.Writers.Powerpoint
|
2018-01-25 21:27:54 +01:00
|
|
|
Tests.Writers.OOXML
|
2019-01-05 03:36:15 +01:00
|
|
|
if os(windows)
|
|
|
|
cpp-options: -D_WINDOWS
|
2017-09-07 19:13:40 +02:00
|
|
|
ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
|
2018-03-18 18:45:32 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
other-extensions: NoImplicitPrelude
|
2012-07-26 17:37:36 +02:00
|
|
|
|
2012-07-26 18:18:17 +02:00
|
|
|
benchmark benchmark-pandoc
|
2017-09-07 19:13:40 +02:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: benchmark-pandoc.hs
|
2018-03-18 17:47:38 +01:00
|
|
|
hs-source-dirs: benchmark
|
2017-09-07 19:13:40 +02:00
|
|
|
build-depends: pandoc,
|
2017-01-27 11:15:45 +01:00
|
|
|
time, bytestring, containers,
|
2018-10-01 06:07:48 +02:00
|
|
|
base >= 4.8 && < 5,
|
2018-11-19 09:17:22 +01:00
|
|
|
text >= 1.1.1.0 && < 1.3,
|
2018-10-14 08:10:27 +02:00
|
|
|
mtl >= 2.2 && < 2.3,
|
2018-07-02 23:29:17 +02:00
|
|
|
criterion >= 1.0 && < 1.6
|
2018-03-18 17:20:21 +01:00
|
|
|
if impl(ghc < 8.4)
|
|
|
|
hs-source-dirs: prelude
|
|
|
|
other-modules: Prelude
|
|
|
|
build-depends: base-compat >= 0.9
|
2018-04-24 21:31:03 +02:00
|
|
|
ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
|
2018-03-18 18:45:32 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
other-extensions: NoImplicitPrelude
|