2007-07-07 05:25:44 +00:00
|
|
|
Name: pandoc
|
2013-05-10 22:53:35 -07:00
|
|
|
Version: 1.12
|
2012-07-26 11:51:37 -07:00
|
|
|
Cabal-Version: >= 1.10
|
2008-08-09 16:51:08 +00:00
|
|
|
Build-Type: Custom
|
2006-10-17 14:22:29 +00:00
|
|
|
License: GPL
|
2006-12-20 03:23:00 +00:00
|
|
|
License-File: COPYING
|
2013-01-19 16:44:03 -08:00
|
|
|
Copyright: (c) 2006-2013 John MacFarlane
|
2007-07-07 21:57:18 +00:00
|
|
|
Author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
Maintainer: John MacFarlane <jgm@berkeley.edu>
|
2011-06-09 18:12:12 -07:00
|
|
|
Bug-Reports: https://github.com/jgm/pandoc/issues
|
2006-12-20 20:20:10 +00:00
|
|
|
Stability: alpha
|
2007-09-13 17:26:01 +00:00
|
|
|
Homepage: http://johnmacfarlane.net/pandoc
|
2006-10-17 14:22:29 +00:00
|
|
|
Category: Text
|
2013-01-21 14:05:36 -08:00
|
|
|
Tested-With: GHC == 7.4.2, GHC == 7.6.1
|
2007-07-16 01:51:03 +00:00
|
|
|
Synopsis: Conversion between markup formats
|
2007-07-12 08:29:36 +00:00
|
|
|
Description: Pandoc is a Haskell library for converting from one markup
|
|
|
|
format to another, and a command-line tool that uses
|
2012-05-12 20:24:09 -07:00
|
|
|
this library. It can read markdown and (subsets of) HTML,
|
2013-03-28 15:31:15 -07:00
|
|
|
reStructuredText, LaTeX, DocBook, MediaWiki markup, Haddock
|
|
|
|
markup, OPML, and Textile, and it can write markdown,
|
|
|
|
reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OPML,
|
2013-07-14 13:40:27 +01:00
|
|
|
OpenDocument, ODT, Word docx, RTF, MediaWiki, DokuWiki, Textile,
|
2013-03-28 15:31:15 -07:00
|
|
|
groff man pages, plain text, Emacs Org-Mode, AsciiDoc,
|
|
|
|
EPUB (v2 and v3), FictionBook2, and several kinds of
|
|
|
|
HTML/javascript slide shows (S5, Slidy, Slideous, DZSlides,
|
|
|
|
reveal.js).
|
2007-07-12 08:29:36 +00:00
|
|
|
.
|
|
|
|
Pandoc extends standard markdown syntax with footnotes,
|
|
|
|
embedded LaTeX, definition lists, tables, and other
|
|
|
|
features. A compatibility mode is provided for those
|
|
|
|
who need a drop-in replacement for Markdown.pl.
|
|
|
|
.
|
|
|
|
In contrast to existing tools for converting markdown
|
|
|
|
to HTML, which use regex substitutions, 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,
|
|
|
|
which convert this native representation into a target
|
|
|
|
format. Thus, adding an input or output format requires
|
|
|
|
only adding a reader or writer.
|
2010-03-18 02:39:23 +00:00
|
|
|
Data-Files:
|
2009-12-31 01:11:13 +00:00
|
|
|
-- templates
|
2013-03-20 10:17:36 -07:00
|
|
|
data/templates/default.html,
|
|
|
|
data/templates/default.html5,
|
|
|
|
data/templates/default.docbook,
|
|
|
|
data/templates/default.beamer,
|
2012-12-29 18:14:09 -08:00
|
|
|
data/templates/default.opendocument,
|
2013-03-20 10:17:36 -07:00
|
|
|
data/templates/default.opml,
|
2012-12-29 18:14:09 -08:00
|
|
|
data/templates/default.latex,
|
|
|
|
data/templates/default.context,
|
|
|
|
data/templates/default.texinfo,
|
|
|
|
data/templates/default.man,
|
|
|
|
data/templates/default.markdown,
|
2013-03-20 10:17:36 -07:00
|
|
|
data/templates/default.rst,
|
|
|
|
data/templates/default.plain,
|
|
|
|
data/templates/default.mediawiki,
|
|
|
|
data/templates/default.rtf,
|
|
|
|
data/templates/default.s5,
|
|
|
|
data/templates/default.slidy,
|
2012-12-29 18:14:09 -08:00
|
|
|
data/templates/default.slideous,
|
2013-03-23 21:31:15 -04:00
|
|
|
data/templates/default.revealjs,
|
2012-12-29 18:14:09 -08:00
|
|
|
data/templates/default.dzslides,
|
|
|
|
data/templates/default.asciidoc,
|
2013-03-20 10:17:36 -07:00
|
|
|
data/templates/default.textile,
|
|
|
|
data/templates/default.org,
|
|
|
|
data/templates/default.epub,
|
|
|
|
data/templates/default.epub3,
|
2009-12-31 01:11:13 +00:00
|
|
|
-- data for ODT writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/reference.odt,
|
2012-01-03 12:10:10 -08:00
|
|
|
-- data for docx writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/reference.docx,
|
2010-07-02 22:07:00 -07:00
|
|
|
-- stylesheet for EPUB writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/epub.css,
|
2008-08-13 03:02:42 +00:00
|
|
|
-- data for LaTeXMathML writer
|
2010-03-18 06:45:56 +00:00
|
|
|
data/LaTeXMathML.js,
|
|
|
|
data/MathMLinHTML.js,
|
2008-08-09 23:45:40 +00:00
|
|
|
-- data for S5 writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/s5/default/slides.js,
|
|
|
|
data/s5/default/s5-core.css,
|
|
|
|
data/s5/default/framing.css,
|
|
|
|
data/s5/default/pretty.css,
|
|
|
|
data/s5/default/opera.css,
|
|
|
|
data/s5/default/outline.css,
|
|
|
|
data/s5/default/print.css,
|
|
|
|
data/s5/default/slides.css,
|
|
|
|
data/s5/default/iepngfix.htc,
|
|
|
|
data/s5/default/blank.gif,
|
|
|
|
data/s5/default/bodybg.gif,
|
2010-07-22 21:50:17 -07:00
|
|
|
-- data for slidy writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/slidy/styles/slidy.css,
|
2013-03-25 19:48:42 -07:00
|
|
|
data/slidy/scripts/slidy.js,
|
2012-12-29 18:14:09 -08:00
|
|
|
data/slidy/graphics/fold.gif,
|
|
|
|
data/slidy/graphics/unfold.gif,
|
|
|
|
data/slidy/graphics/nofold-dim.gif,
|
|
|
|
data/slidy/graphics/unfold-dim.gif,
|
|
|
|
data/slidy/graphics/fold-dim.gif,
|
2012-05-24 10:31:18 +02:00
|
|
|
-- data for slideous writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/slideous/slideous.css,
|
|
|
|
data/slideous/slideous.js,
|
2011-12-29 17:41:06 -08:00
|
|
|
-- data for dzslides writer
|
2012-12-29 18:14:09 -08:00
|
|
|
data/dzslides/template.html,
|
2010-11-18 14:14:20 -08:00
|
|
|
-- data for citeproc
|
2012-12-29 18:14:09 -08:00
|
|
|
data/default.csl,
|
2013-04-02 21:08:38 -07:00
|
|
|
-- sample lua custom writer
|
|
|
|
data/sample.lua
|
2009-12-31 01:11:13 +00:00
|
|
|
-- documentation
|
2013-04-14 20:41:33 -07:00
|
|
|
README, INSTALL, COPYRIGHT, BUGS, CONTRIBUTING.md, changelog
|
2009-12-31 01:11:13 +00:00
|
|
|
Extra-Source-Files:
|
2010-12-07 12:10:07 -08:00
|
|
|
-- code to create pandoc.1 man page
|
2011-01-28 09:15:29 -08:00
|
|
|
man/man1/pandoc.1.template,
|
2011-01-28 11:55:11 -08:00
|
|
|
man/man5/pandoc_markdown.5.template,
|
2011-10-23 18:26:50 -07:00
|
|
|
-- generated man pages (produced post-build)
|
2011-01-19 12:17:37 -08:00
|
|
|
man/man1/pandoc.1,
|
2011-01-28 11:55:11 -08:00
|
|
|
man/man5/pandoc_markdown.5,
|
2008-08-09 23:45:40 +00:00
|
|
|
-- tests
|
|
|
|
tests/bodybg.gif,
|
2012-06-25 02:57:54 +04:00
|
|
|
tests/docbook-reader.docbook
|
|
|
|
tests/docbook-reader.native
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/html-reader.html,
|
|
|
|
tests/html-reader.native,
|
2013-03-17 17:43:51 -07:00
|
|
|
tests/opml-reader.html,
|
|
|
|
tests/opml-reader.native,
|
2013-03-28 15:58:09 -07:00
|
|
|
tests/haddock-reader.html,
|
|
|
|
tests/haddock-reader.native,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/insert,
|
|
|
|
tests/lalune.jpg,
|
2008-08-11 06:57:53 +00:00
|
|
|
tests/movie.jpg,
|
2011-01-15 08:23:03 -08:00
|
|
|
tests/biblio.bib,
|
|
|
|
tests/chicago-author-date.csl,
|
|
|
|
tests/ieee.csl,
|
|
|
|
tests/mhra.csl,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/latex-reader.latex,
|
|
|
|
tests/latex-reader.native,
|
2011-01-15 08:23:03 -08:00
|
|
|
tests/textile-reader.textile,
|
|
|
|
tests/textile-reader.native,
|
2008-08-11 06:57:53 +00:00
|
|
|
tests/markdown-reader-more.txt,
|
|
|
|
tests/markdown-reader-more.native,
|
2011-01-15 08:23:03 -08:00
|
|
|
tests/markdown-citations.txt,
|
|
|
|
tests/markdown-citations.chicago-author-date.txt,
|
|
|
|
tests/markdown-citations.mhra.txt,
|
|
|
|
tests/markdown-citations.ieee.txt,
|
2010-12-12 20:09:14 -08:00
|
|
|
tests/textile-reader.textile,
|
2012-09-10 10:02:12 -07:00
|
|
|
tests/mediawiki-reader.wiki,
|
|
|
|
tests/mediawiki-reader.native,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/rst-reader.native,
|
|
|
|
tests/rst-reader.rst,
|
|
|
|
tests/s5.basic.html,
|
|
|
|
tests/s5.fancy.html,
|
|
|
|
tests/s5.fragment.html,
|
|
|
|
tests/s5.inserts.html,
|
|
|
|
tests/s5.native,
|
|
|
|
tests/tables.context,
|
|
|
|
tests/tables.docbook,
|
|
|
|
tests/tables.html,
|
|
|
|
tests/tables.latex,
|
|
|
|
tests/tables.man,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/tables.plain,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/tables.markdown,
|
|
|
|
tests/tables.mediawiki,
|
2010-04-10 12:38:07 -07:00
|
|
|
tests/tables.textile,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/tables.native,
|
|
|
|
tests/tables.opendocument,
|
2011-01-15 08:23:03 -08:00
|
|
|
tests/tables.org,
|
2011-11-16 14:52:10 -08:00
|
|
|
tests/tables.asciidoc,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/tables.texinfo,
|
|
|
|
tests/tables.rst,
|
|
|
|
tests/tables.rtf,
|
|
|
|
tests/tables.txt,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/tables-rstsubset.native,
|
2013-01-20 09:42:59 -08:00
|
|
|
tests/tables.fb2,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/testsuite.native,
|
|
|
|
tests/testsuite.txt,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/writer.latex,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/writer.context,
|
|
|
|
tests/writer.docbook,
|
|
|
|
tests/writer.html,
|
|
|
|
tests/writer.man,
|
|
|
|
tests/writer.markdown,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/writer.plain,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/writer.mediawiki,
|
2010-04-10 12:38:07 -07:00
|
|
|
tests/writer.textile,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/writer.native,
|
|
|
|
tests/writer.opendocument,
|
2011-01-15 08:23:03 -08:00
|
|
|
tests/writer.org,
|
2011-11-16 14:52:10 -08:00
|
|
|
tests/writer.asciidoc,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/writer.rst,
|
|
|
|
tests/writer.rtf,
|
|
|
|
tests/writer.texinfo,
|
2013-01-20 09:42:59 -08:00
|
|
|
tests/writer.fb2,
|
2013-03-20 10:17:36 -07:00
|
|
|
tests/writer.opml,
|
2009-02-14 18:54:30 +00:00
|
|
|
tests/lhs-test.native,
|
2012-10-29 22:45:52 -07:00
|
|
|
tests/lhs-test-markdown.native,
|
2009-02-14 18:54:30 +00:00
|
|
|
tests/lhs-test.markdown,
|
|
|
|
tests/lhs-test.markdown+lhs,
|
|
|
|
tests/lhs-test.rst,
|
|
|
|
tests/lhs-test.rst+lhs,
|
|
|
|
tests/lhs-test.latex,
|
|
|
|
tests/lhs-test.latex+lhs,
|
|
|
|
tests/lhs-test.html,
|
|
|
|
tests/lhs-test.html+lhs,
|
2012-07-22 19:27:15 -07:00
|
|
|
tests/lhs-test.fragment.html+lhs,
|
2012-07-22 22:09:15 -07:00
|
|
|
tests/pipe-tables.txt,
|
2013-01-20 09:42:59 -08:00
|
|
|
tests/pipe-tables.native,
|
|
|
|
tests/fb2.basic.markdown,
|
2013-01-20 10:19:08 -08:00
|
|
|
tests/fb2.basic.fb2,
|
2013-01-20 09:42:59 -08:00
|
|
|
tests/fb2.titles.markdown,
|
2013-01-20 10:19:08 -08:00
|
|
|
tests/fb2.titles.fb2,
|
2013-01-20 09:42:59 -08:00
|
|
|
tests/fb2.images.markdown,
|
2013-01-20 10:19:08 -08:00
|
|
|
tests/fb2.images.fb2,
|
2013-01-20 09:42:59 -08:00
|
|
|
tests/fb2.images-embedded.html,
|
2013-01-20 10:19:08 -08:00
|
|
|
tests/fb2.images-embedded.fb2,
|
|
|
|
tests/fb2.math.markdown,
|
|
|
|
tests/fb2.math.fb2,
|
|
|
|
tests/fb2.test-small.png,
|
|
|
|
tests/fb2.test.jpg
|
2011-01-28 11:55:11 -08:00
|
|
|
Extra-Tmp-Files: man/man1/pandoc.1,
|
|
|
|
man/man5/pandoc_markdown.5
|
2008-08-09 23:45:40 +00:00
|
|
|
|
2011-02-05 10:34:55 -08:00
|
|
|
Source-repository head
|
|
|
|
type: git
|
2011-02-05 10:38:25 -08:00
|
|
|
location: git://github.com/jgm/pandoc.git
|
2011-02-05 10:34:55 -08:00
|
|
|
|
2012-12-29 17:44:02 -08:00
|
|
|
Flag embed_data_files
|
|
|
|
Description: Embed data files in binary for relocatable executable.
|
|
|
|
Default: False
|
2006-10-17 14:22:29 +00:00
|
|
|
|
2013-07-04 22:40:23 -07:00
|
|
|
Flag http-conduit
|
|
|
|
Description: Enable downloading of resources over https.
|
|
|
|
Default: True
|
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Library
|
2012-09-23 12:57:05 -07:00
|
|
|
Build-Depends: base >= 4.2 && <5,
|
2013-03-06 13:06:35 -08:00
|
|
|
syb >= 0.1 && < 0.5,
|
2012-09-23 12:57:05 -07:00
|
|
|
containers >= 0.1 && < 0.6,
|
2013-05-16 23:00:58 -07:00
|
|
|
unordered-containers >= 0.2 && < 0.3,
|
2013-03-28 14:53:10 -07:00
|
|
|
array >= 0.3 && < 0.5,
|
2012-02-04 19:38:51 -08:00
|
|
|
parsec >= 3.1 && < 3.2,
|
2012-04-15 16:31:36 +02:00
|
|
|
mtl >= 1.1 && < 2.2,
|
2012-09-21 09:31:52 -04:00
|
|
|
network >= 2 && < 2.5,
|
2011-12-22 16:47:13 -05:00
|
|
|
filepath >= 1.1 && < 1.4,
|
2011-09-02 17:49:21 -05:00
|
|
|
process >= 1 && < 1.2,
|
2012-09-21 09:30:42 -04:00
|
|
|
directory >= 1 && < 1.3,
|
2012-12-31 14:34:02 -08:00
|
|
|
bytestring >= 0.9 && < 0.11,
|
2012-09-25 19:54:21 -07:00
|
|
|
text >= 0.11 && < 0.12,
|
2013-03-04 17:15:51 -08:00
|
|
|
zip-archive >= 0.1.3.3 && < 0.2,
|
2012-01-28 15:54:05 -08:00
|
|
|
old-locale >= 1 && < 1.1,
|
|
|
|
time >= 1.2 && < 1.5,
|
2011-12-03 21:35:39 -08:00
|
|
|
HTTP >= 4000.0.5 && < 4000.3,
|
2013-05-07 20:22:09 -07:00
|
|
|
texmath >= 0.6.1.5 && < 0.7,
|
2012-01-31 09:48:42 -08:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
2011-01-15 11:51:39 -08:00
|
|
|
random >= 1 && < 1.1,
|
|
|
|
extensible-exceptions >= 0.1 && < 0.2,
|
2013-03-04 17:15:51 -08:00
|
|
|
citeproc-hs >= 0.3.7 && < 0.4,
|
2013-05-10 22:53:35 -07:00
|
|
|
pandoc-types >= 1.12 && < 1.13,
|
2013-05-09 10:38:11 -07:00
|
|
|
aeson >= 0.6 && < 0.7,
|
2011-12-04 15:58:05 -08:00
|
|
|
tagsoup >= 0.12.5 && < 0.13,
|
2012-09-30 11:53:18 -07:00
|
|
|
base64-bytestring >= 0.1 && < 1.1,
|
2012-03-10 13:24:25 +03:00
|
|
|
zlib >= 0.5 && < 0.6,
|
2013-06-26 20:53:38 -07:00
|
|
|
highlighting-kate >= 0.5.4 && < 0.6,
|
2012-07-19 12:38:54 -07:00
|
|
|
data-default >= 0.4 && < 0.6,
|
2013-03-26 11:38:11 -07:00
|
|
|
temporary >= 1.1 && < 1.2,
|
2013-02-19 18:45:41 -08:00
|
|
|
blaze-html >= 0.5 && < 0.7,
|
2013-04-02 21:08:38 -07:00
|
|
|
blaze-markup >= 0.5.1 && < 0.6,
|
2013-05-16 23:00:58 -07:00
|
|
|
attoparsec >= 0.10 && < 0.11,
|
|
|
|
stringable >= 0.1 && < 0.2,
|
2013-07-02 09:23:43 -07:00
|
|
|
yaml >= 0.8.3 && < 0.9,
|
2013-05-10 22:53:35 -07:00
|
|
|
vector >= 0.10 && < 0.11,
|
2013-04-02 21:08:38 -07:00
|
|
|
hslua >= 0.3 && < 0.4
|
2013-07-04 22:40:23 -07:00
|
|
|
if flag(http-conduit)
|
|
|
|
Build-Depends: http-conduit >= 1.9 && < 1.10,
|
|
|
|
http-types >= 0.8 && < 0.9
|
|
|
|
cpp-options: -DHTTP_CONDUIT
|
2012-12-29 17:44:02 -08:00
|
|
|
if flag(embed_data_files)
|
|
|
|
cpp-options: -DEMBED_DATA_FILES
|
2013-01-23 08:33:45 -08:00
|
|
|
-- build-tools: hsb2hs
|
|
|
|
other-modules: Text.Pandoc.Data
|
2012-06-27 15:25:35 -07:00
|
|
|
if impl(ghc >= 7.0.1)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
|
2010-07-21 11:24:50 -07:00
|
|
|
else
|
2012-06-27 15:25:35 -07:00
|
|
|
if impl(ghc >= 6.12)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall -fno-warn-unused-do-bind
|
2012-06-27 15:25:35 -07:00
|
|
|
else
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall
|
2012-02-05 12:14:34 -08:00
|
|
|
if impl(ghc >= 7.0.1)
|
|
|
|
Ghc-Prof-Options: -auto-all -caf-all -rtsopts
|
|
|
|
else
|
|
|
|
Ghc-Prof-Options: -auto-all -caf-all
|
2012-02-06 08:10:56 -08:00
|
|
|
Default-Language: Haskell98
|
2012-02-06 08:07:17 -08:00
|
|
|
Default-Extensions: CPP
|
|
|
|
Other-Extensions: PatternGuards, OverloadedStrings,
|
|
|
|
ScopedTypeVariables, GeneralizedNewtypeDeriving,
|
|
|
|
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
|
|
|
|
FlexibleInstances
|
2009-01-24 20:00:26 +00:00
|
|
|
Hs-Source-Dirs: src
|
2010-07-21 11:24:50 -07:00
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Exposed-Modules: Text.Pandoc,
|
2012-07-25 10:18:57 -07:00
|
|
|
Text.Pandoc.Options,
|
2010-12-12 20:09:14 -08:00
|
|
|
Text.Pandoc.Pretty,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Shared,
|
|
|
|
Text.Pandoc.Readers.HTML,
|
|
|
|
Text.Pandoc.Readers.LaTeX,
|
|
|
|
Text.Pandoc.Readers.Markdown,
|
2012-09-10 10:02:12 -07:00
|
|
|
Text.Pandoc.Readers.MediaWiki,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Readers.RST,
|
2012-04-14 16:44:21 -07:00
|
|
|
Text.Pandoc.Readers.DocBook,
|
2013-03-17 17:43:51 -07:00
|
|
|
Text.Pandoc.Readers.OPML,
|
2007-12-02 00:36:32 +00:00
|
|
|
Text.Pandoc.Readers.TeXMath,
|
2010-10-03 20:55:46 +02:00
|
|
|
Text.Pandoc.Readers.Textile,
|
2011-01-19 18:36:27 -08:00
|
|
|
Text.Pandoc.Readers.Native,
|
2013-03-28 14:53:10 -07:00
|
|
|
Text.Pandoc.Readers.Haddock,
|
2010-07-04 13:55:48 -07:00
|
|
|
Text.Pandoc.Writers.Native,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.Docbook,
|
2013-03-19 20:35:14 -07:00
|
|
|
Text.Pandoc.Writers.OPML,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.HTML,
|
|
|
|
Text.Pandoc.Writers.LaTeX,
|
|
|
|
Text.Pandoc.Writers.ConTeXt,
|
2008-03-19 18:45:51 +00:00
|
|
|
Text.Pandoc.Writers.OpenDocument,
|
2008-02-24 20:40:17 +00:00
|
|
|
Text.Pandoc.Writers.Texinfo,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.Man,
|
|
|
|
Text.Pandoc.Writers.Markdown,
|
|
|
|
Text.Pandoc.Writers.RST,
|
2010-12-04 15:57:39 +05:30
|
|
|
Text.Pandoc.Writers.Org,
|
2011-11-18 21:09:23 -08:00
|
|
|
Text.Pandoc.Writers.AsciiDoc,
|
2013-04-02 21:08:38 -07:00
|
|
|
Text.Pandoc.Writers.Custom,
|
2010-04-10 12:38:07 -07:00
|
|
|
Text.Pandoc.Writers.Textile,
|
2008-07-27 03:25:51 +00:00
|
|
|
Text.Pandoc.Writers.MediaWiki,
|
2013-07-14 13:40:27 +01:00
|
|
|
Text.Pandoc.Writers.DokuWiki,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.RTF,
|
2010-07-02 20:12:14 -07:00
|
|
|
Text.Pandoc.Writers.ODT,
|
2012-01-03 12:10:10 -08:00
|
|
|
Text.Pandoc.Writers.Docx,
|
2010-07-02 22:07:00 -07:00
|
|
|
Text.Pandoc.Writers.EPUB,
|
2012-04-24 20:40:33 -04:00
|
|
|
Text.Pandoc.Writers.FB2,
|
2012-01-20 18:57:16 -08:00
|
|
|
Text.Pandoc.PDF,
|
2012-09-25 19:54:21 -07:00
|
|
|
Text.Pandoc.UTF8,
|
2011-11-19 00:20:00 -08:00
|
|
|
Text.Pandoc.Templates,
|
2012-12-29 16:42:17 -08:00
|
|
|
Text.Pandoc.XML,
|
|
|
|
Text.Pandoc.Biblio,
|
2011-11-21 15:09:42 -08:00
|
|
|
Text.Pandoc.SelfContained
|
2013-03-28 14:53:10 -07:00
|
|
|
Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
|
|
|
|
Text.Pandoc.Readers.Haddock.Parse,
|
2013-07-01 20:47:26 -07:00
|
|
|
Text.Pandoc.Writers.Shared,
|
2013-04-23 20:00:58 -07:00
|
|
|
Text.Pandoc.Asciify,
|
2013-03-28 15:31:15 -07:00
|
|
|
Text.Pandoc.MIME,
|
2013-02-12 20:14:43 -08:00
|
|
|
Text.Pandoc.Parsing,
|
2010-07-02 22:07:00 -07:00
|
|
|
Text.Pandoc.UUID,
|
2012-01-08 19:16:06 -08:00
|
|
|
Text.Pandoc.ImageSize,
|
2012-01-22 19:58:45 -08:00
|
|
|
Text.Pandoc.Slides,
|
2013-03-05 22:09:42 -08:00
|
|
|
Text.Pandoc.Highlighting,
|
2009-04-18 16:15:56 +00:00
|
|
|
Paths_pandoc
|
2010-07-21 11:24:50 -07:00
|
|
|
|
2012-12-29 16:42:17 -08:00
|
|
|
Buildable: True
|
2008-07-31 23:16:12 +00:00
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Executable pandoc
|
2012-12-29 16:42:17 -08:00
|
|
|
Build-Depends: pandoc,
|
|
|
|
base >= 4.2 && <5,
|
2012-09-21 09:30:42 -04:00
|
|
|
directory >= 1 && < 1.3,
|
2012-12-29 16:42:17 -08:00
|
|
|
filepath >= 1.1 && < 1.4,
|
|
|
|
network >= 2 && < 2.5,
|
2012-09-25 19:54:21 -07:00
|
|
|
text >= 0.11 && < 0.12,
|
2012-12-31 14:34:02 -08:00
|
|
|
bytestring >= 0.9 && < 0.11,
|
2011-01-15 11:51:39 -08:00
|
|
|
extensible-exceptions >= 0.1 && < 0.2,
|
2013-06-26 20:53:38 -07:00
|
|
|
highlighting-kate >= 0.5.4 && < 0.6,
|
2012-12-29 16:42:17 -08:00
|
|
|
HTTP >= 4000.0.5 && < 4000.3,
|
2013-03-04 17:15:51 -08:00
|
|
|
citeproc-hs >= 0.3.7 && < 0.4
|
2012-06-27 15:25:35 -07:00
|
|
|
if impl(ghc >= 7.0.1)
|
2013-05-29 12:29:38 -07:00
|
|
|
Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
|
2010-07-21 11:24:50 -07:00
|
|
|
else
|
2012-06-27 15:25:35 -07:00
|
|
|
if impl(ghc >= 6.12)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall -fno-warn-unused-do-bind
|
2012-06-27 15:25:35 -07:00
|
|
|
else
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall
|
2012-02-05 12:14:34 -08:00
|
|
|
if impl(ghc >= 7.0.1)
|
2013-05-29 12:29:38 -07:00
|
|
|
Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
|
2012-02-05 12:14:34 -08:00
|
|
|
else
|
|
|
|
Ghc-Prof-Options: -auto-all -caf-all
|
2013-04-26 20:33:15 -07:00
|
|
|
if os(windows)
|
|
|
|
Cpp-options: -D_WINDOWS
|
2012-02-06 08:10:56 -08:00
|
|
|
Default-Language: Haskell98
|
2012-02-06 08:07:17 -08:00
|
|
|
Default-Extensions: CPP
|
2012-12-29 16:42:17 -08:00
|
|
|
Other-Extensions: PatternGuards, OverloadedStrings,
|
|
|
|
ScopedTypeVariables, GeneralizedNewtypeDeriving,
|
|
|
|
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
|
|
|
|
FlexibleInstances
|
|
|
|
Hs-Source-Dirs: .
|
|
|
|
Main-Is: pandoc.hs
|
|
|
|
Buildable: True
|
2010-12-15 17:52:35 -08:00
|
|
|
|
2012-10-15 21:26:24 -07:00
|
|
|
-- NOTE: A trick in Setup.hs makes sure this won't be installed:
|
|
|
|
Executable make-pandoc-man-pages
|
2012-12-29 16:42:17 -08:00
|
|
|
Main-Is: make-pandoc-man-pages.hs
|
2012-10-15 21:26:24 -07:00
|
|
|
Hs-Source-Dirs: man
|
2012-12-29 16:42:17 -08:00
|
|
|
Build-Depends: pandoc,
|
|
|
|
base >= 4.2 && < 5,
|
2012-10-15 21:26:24 -07:00
|
|
|
directory >= 1 && < 1.3,
|
|
|
|
filepath >= 1.1 && < 1.4,
|
2013-01-25 11:24:24 -08:00
|
|
|
old-time >= 1.0 && < 1.2,
|
2012-10-15 21:26:24 -07:00
|
|
|
time >= 1.2 && < 1.5
|
|
|
|
Default-Language: Haskell98
|
|
|
|
Default-Extensions: CPP
|
|
|
|
|
2012-07-26 09:43:27 -07:00
|
|
|
Test-Suite test-pandoc
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
Main-Is: test-pandoc.hs
|
|
|
|
Hs-Source-Dirs: tests
|
2012-12-29 16:42:17 -08:00
|
|
|
Build-Depends: base >= 4.2 && < 5,
|
2013-03-06 13:06:35 -08:00
|
|
|
syb >= 0.1 && < 0.5,
|
2012-12-29 16:42:17 -08:00
|
|
|
pandoc,
|
2013-05-10 22:53:35 -07:00
|
|
|
pandoc-types >= 1.12 && < 1.13,
|
2012-12-31 14:34:02 -08:00
|
|
|
bytestring >= 0.9 && < 0.11,
|
2012-12-29 16:42:17 -08:00
|
|
|
text >= 0.11 && < 0.12,
|
|
|
|
directory >= 1 && < 1.3,
|
|
|
|
filepath >= 1.1 && < 1.4,
|
|
|
|
process >= 1 && < 1.2,
|
2013-06-26 20:53:38 -07:00
|
|
|
highlighting-kate >= 0.5.4 && < 0.6,
|
2013-02-13 08:20:02 -08:00
|
|
|
Diff >= 0.2 && < 0.4,
|
2013-01-20 08:46:51 -08:00
|
|
|
test-framework >= 0.3 && < 0.9,
|
|
|
|
test-framework-hunit >= 0.2 && < 0.4,
|
|
|
|
test-framework-quickcheck2 >= 0.2.9 && < 0.4,
|
2013-03-16 15:32:54 -07:00
|
|
|
QuickCheck >= 2.4 && < 2.7,
|
2012-12-29 16:42:17 -08:00
|
|
|
HUnit >= 1.2 && < 1.3,
|
|
|
|
containers >= 0.1 && < 0.6,
|
2013-01-25 12:37:45 -08:00
|
|
|
ansi-terminal >= 0.5 && < 0.7
|
2012-12-29 16:42:17 -08:00
|
|
|
Other-Modules: Tests.Old
|
|
|
|
Tests.Helpers
|
|
|
|
Tests.Arbitrary
|
|
|
|
Tests.Shared
|
|
|
|
Tests.Readers.LaTeX
|
|
|
|
Tests.Readers.Markdown
|
|
|
|
Tests.Readers.RST
|
|
|
|
Tests.Writers.Native
|
|
|
|
Tests.Writers.ConTeXt
|
|
|
|
Tests.Writers.HTML
|
|
|
|
Tests.Writers.Markdown
|
|
|
|
Tests.Writers.LaTeX
|
2012-06-27 15:25:35 -07:00
|
|
|
if impl(ghc >= 7.0.1)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
|
2012-02-06 08:07:17 -08:00
|
|
|
else
|
2012-06-27 15:25:35 -07:00
|
|
|
if impl(ghc >= 6.12)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall -fno-warn-unused-do-bind
|
2012-06-27 15:25:35 -07:00
|
|
|
else
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall
|
2012-07-26 08:37:36 -07:00
|
|
|
if impl(ghc >= 7)
|
2012-12-29 16:42:17 -08:00
|
|
|
cpp-options: -D_LIT=lit
|
2012-07-26 08:37:36 -07:00
|
|
|
else
|
2012-12-29 16:42:17 -08:00
|
|
|
cpp-options: -D_LIT=$lit
|
2012-07-26 08:37:36 -07:00
|
|
|
Default-Language: Haskell98
|
2013-01-23 08:47:43 -08:00
|
|
|
Default-Extensions: CPP
|
2012-07-26 08:37:36 -07:00
|
|
|
|
2012-07-26 09:18:17 -07:00
|
|
|
benchmark benchmark-pandoc
|
|
|
|
Type: exitcode-stdio-1.0
|
|
|
|
Main-Is: benchmark-pandoc.hs
|
|
|
|
Hs-Source-Dirs: benchmark
|
2012-12-29 16:42:17 -08:00
|
|
|
Build-Depends: pandoc,
|
|
|
|
base >= 4.2 && < 5,
|
2013-03-06 13:06:35 -08:00
|
|
|
syb >= 0.1 && < 0.5,
|
2013-05-09 10:38:11 -07:00
|
|
|
criterion >= 0.5 && < 0.9
|
2012-07-26 09:18:17 -07:00
|
|
|
if impl(ghc >= 7.0.1)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
|
2012-07-26 09:18:17 -07:00
|
|
|
else
|
|
|
|
if impl(ghc >= 6.12)
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall -fno-warn-unused-do-bind
|
2012-07-26 09:18:17 -07:00
|
|
|
else
|
2013-01-19 16:29:18 -08:00
|
|
|
Ghc-Options: -Wall
|
2012-07-26 09:18:17 -07:00
|
|
|
Default-Language: Haskell98
|