2007-07-07 07:25:44 +02:00
|
|
|
Name: pandoc
|
2012-06-28 00:54:02 +02:00
|
|
|
Version: 1.9.4.2
|
2012-02-06 16:05:40 +01:00
|
|
|
Cabal-Version: >= 1.10
|
2008-08-09 18:51:08 +02:00
|
|
|
Build-Type: Custom
|
2006-10-17 16:22:29 +02:00
|
|
|
License: GPL
|
2006-12-20 04:23:00 +01:00
|
|
|
License-File: COPYING
|
2012-01-31 17:58:30 +01:00
|
|
|
Copyright: (c) 2006-2012 John MacFarlane
|
2007-07-07 23:57:18 +02:00
|
|
|
Author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
Maintainer: John MacFarlane <jgm@berkeley.edu>
|
2011-06-10 03:12:12 +02:00
|
|
|
Bug-Reports: https://github.com/jgm/pandoc/issues
|
2006-12-20 21:20:10 +01:00
|
|
|
Stability: alpha
|
2007-09-13 19:26:01 +02:00
|
|
|
Homepage: http://johnmacfarlane.net/pandoc
|
2006-10-17 16:22:29 +02:00
|
|
|
Category: Text
|
2012-02-05 22:27:06 +01:00
|
|
|
Tested-With: GHC == 6.12.1, GHC == 7.0.4, GHC == 7.4.1
|
2007-07-16 03:51:03 +02:00
|
|
|
Synopsis: Conversion between markup formats
|
2007-07-12 10:29:36 +02:00
|
|
|
Description: Pandoc is a Haskell library for converting from one markup
|
|
|
|
format to another, and a command-line tool that uses
|
2012-05-13 05:24:09 +02:00
|
|
|
this library. It can read markdown and (subsets of) HTML,
|
|
|
|
reStructuredText, LaTeX, DocBook, and Textile, and it can write
|
2007-07-15 04:58:30 +02:00
|
|
|
markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
|
2012-01-03 21:10:10 +01:00
|
|
|
OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
|
|
|
|
groff man pages, plain text, Emacs Org-Mode, AsciiDoc, EPUB,
|
2012-05-24 10:31:18 +02:00
|
|
|
and S5, Slidy and Slideous HTML slide shows.
|
2007-07-12 10:29:36 +02: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 03:39:23 +01:00
|
|
|
Data-Files:
|
2009-12-31 02:11:13 +01:00
|
|
|
-- templates
|
2012-01-11 21:53:20 +01:00
|
|
|
templates/default.html, templates/default.html5,
|
2012-01-30 20:26:04 +01:00
|
|
|
templates/default.docbook, templates/default.beamer,
|
2011-07-23 07:49:38 +02:00
|
|
|
templates/default.opendocument, templates/default.latex,
|
|
|
|
templates/default.context, templates/default.texinfo,
|
|
|
|
templates/default.man, templates/default.markdown,
|
|
|
|
templates/default.rst, templates/default.plain,
|
|
|
|
templates/default.mediawiki, templates/default.rtf,
|
|
|
|
templates/default.s5, templates/default.slidy,
|
2012-05-24 10:31:18 +02:00
|
|
|
templates/default.slideous,
|
2011-11-16 23:52:10 +01:00
|
|
|
templates/default.dzslides, templates/default.asciidoc,
|
2011-12-18 21:33:44 +01:00
|
|
|
templates/default.textile, templates/default.org,
|
|
|
|
templates/epub-titlepage.html, templates/epub-page.html,
|
|
|
|
templates/epub-coverimage.html,
|
2009-12-31 02:11:13 +01:00
|
|
|
-- data for ODT writer
|
2009-12-31 23:40:59 +01:00
|
|
|
reference.odt,
|
2012-01-03 21:10:10 +01:00
|
|
|
-- data for docx writer
|
|
|
|
reference.docx,
|
2010-07-03 07:07:00 +02:00
|
|
|
-- stylesheet for EPUB writer
|
|
|
|
epub.css,
|
2008-08-13 05:02:42 +02:00
|
|
|
-- data for LaTeXMathML writer
|
2010-03-18 07:45:56 +01:00
|
|
|
data/LaTeXMathML.js,
|
|
|
|
data/MathMLinHTML.js,
|
2008-08-10 01:45:40 +02:00
|
|
|
-- data for S5 writer
|
2011-11-20 21:47:05 +01:00
|
|
|
s5/default/slides.js,
|
2010-01-01 02:25:24 +01:00
|
|
|
s5/default/s5-core.css,
|
|
|
|
s5/default/framing.css,
|
|
|
|
s5/default/pretty.css,
|
|
|
|
s5/default/opera.css,
|
|
|
|
s5/default/outline.css,
|
|
|
|
s5/default/print.css,
|
2011-11-20 21:47:05 +01:00
|
|
|
s5/default/slides.css,
|
|
|
|
s5/default/iepngfix.htc,
|
2012-02-10 20:08:59 +01:00
|
|
|
s5/default/blank.gif,
|
|
|
|
s5/default/bodybg.gif,
|
2010-07-23 06:50:17 +02:00
|
|
|
-- data for slidy writer
|
2011-12-04 07:10:18 +01:00
|
|
|
slidy/styles/slidy.css,
|
|
|
|
slidy/scripts/slidy.js.gz,
|
|
|
|
slidy/graphics/fold.gif,
|
|
|
|
slidy/graphics/unfold.gif,
|
|
|
|
slidy/graphics/nofold-dim.gif,
|
|
|
|
slidy/graphics/unfold-dim.gif,
|
|
|
|
slidy/graphics/fold-dim.gif,
|
2012-05-24 10:31:18 +02:00
|
|
|
-- data for slideous writer
|
|
|
|
slideous/slideous.css,
|
|
|
|
slideous/slideous.js,
|
2011-12-30 02:41:06 +01:00
|
|
|
-- data for dzslides writer
|
|
|
|
dzslides/template.html,
|
2010-11-18 23:14:20 +01:00
|
|
|
-- data for citeproc
|
|
|
|
default.csl,
|
2009-12-31 02:11:13 +01:00
|
|
|
-- documentation
|
2010-04-07 08:00:42 +02:00
|
|
|
README, INSTALL, COPYRIGHT, BUGS, changelog
|
2009-12-31 02:11:13 +01:00
|
|
|
Extra-Source-Files:
|
2010-12-07 21:10:07 +01:00
|
|
|
-- code to create pandoc.1 man page
|
|
|
|
MakeManPage.hs,
|
2011-01-28 18:15:29 +01:00
|
|
|
man/man1/pandoc.1.template,
|
2011-01-28 20:55:11 +01:00
|
|
|
man/man5/pandoc_markdown.5.template,
|
2011-10-24 03:26:50 +02:00
|
|
|
-- generated man pages (produced post-build)
|
2011-01-19 21:17:37 +01:00
|
|
|
man/man1/pandoc.1,
|
2011-01-28 20:55:11 +01:00
|
|
|
man/man5/pandoc_markdown.5,
|
2010-12-16 02:52:35 +01:00
|
|
|
-- benchmarks
|
2010-12-11 08:58:02 +01:00
|
|
|
Benchmark.hs,
|
2008-08-10 01:45:40 +02:00
|
|
|
-- tests
|
|
|
|
tests/bodybg.gif,
|
2012-06-25 00:57:54 +02:00
|
|
|
tests/docbook-reader.docbook
|
|
|
|
tests/docbook-reader.native
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/html-reader.html,
|
|
|
|
tests/html-reader.native,
|
|
|
|
tests/insert,
|
|
|
|
tests/lalune.jpg,
|
2008-08-11 08:57:53 +02:00
|
|
|
tests/movie.jpg,
|
2011-01-15 17:23:03 +01:00
|
|
|
tests/biblio.bib,
|
|
|
|
tests/chicago-author-date.csl,
|
|
|
|
tests/ieee.csl,
|
|
|
|
tests/mhra.csl,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/latex-reader.latex,
|
|
|
|
tests/latex-reader.native,
|
2011-01-15 17:23:03 +01:00
|
|
|
tests/textile-reader.textile,
|
|
|
|
tests/textile-reader.native,
|
2008-08-11 08:57:53 +02:00
|
|
|
tests/markdown-reader-more.txt,
|
|
|
|
tests/markdown-reader-more.native,
|
2011-01-15 17:23:03 +01:00
|
|
|
tests/markdown-citations.txt,
|
|
|
|
tests/markdown-citations.chicago-author-date.txt,
|
|
|
|
tests/markdown-citations.mhra.txt,
|
|
|
|
tests/markdown-citations.ieee.txt,
|
2010-12-13 05:09:14 +01:00
|
|
|
tests/textile-reader.textile,
|
2008-08-10 01:45:40 +02: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 22:47:57 +01:00
|
|
|
tests/tables.plain,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/tables.markdown,
|
|
|
|
tests/tables.mediawiki,
|
2010-04-10 21:38:07 +02:00
|
|
|
tests/tables.textile,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/tables.native,
|
|
|
|
tests/tables.opendocument,
|
2011-01-15 17:23:03 +01:00
|
|
|
tests/tables.org,
|
2011-11-16 23:52:10 +01:00
|
|
|
tests/tables.asciidoc,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/tables.texinfo,
|
|
|
|
tests/tables.rst,
|
|
|
|
tests/tables.rtf,
|
|
|
|
tests/tables.txt,
|
2010-03-20 22:47:57 +01:00
|
|
|
tests/tables-rstsubset.native,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/testsuite.native,
|
|
|
|
tests/testsuite.txt,
|
2010-03-20 22:47:57 +01:00
|
|
|
tests/writer.latex,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/writer.context,
|
|
|
|
tests/writer.docbook,
|
|
|
|
tests/writer.html,
|
|
|
|
tests/writer.man,
|
|
|
|
tests/writer.markdown,
|
2010-03-20 22:47:57 +01:00
|
|
|
tests/writer.plain,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/writer.mediawiki,
|
2010-04-10 21:38:07 +02:00
|
|
|
tests/writer.textile,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/writer.native,
|
|
|
|
tests/writer.opendocument,
|
2011-01-15 17:23:03 +01:00
|
|
|
tests/writer.org,
|
2011-11-16 23:52:10 +01:00
|
|
|
tests/writer.asciidoc,
|
2008-08-10 01:45:40 +02:00
|
|
|
tests/writer.rst,
|
|
|
|
tests/writer.rtf,
|
|
|
|
tests/writer.texinfo,
|
2009-02-14 19:54:30 +01:00
|
|
|
tests/lhs-test.native,
|
|
|
|
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,
|
2010-12-16 02:52:35 +01:00
|
|
|
tests/lhs-test.fragment.html+lhs
|
2011-01-28 20:55:11 +01:00
|
|
|
Extra-Tmp-Files: man/man1/pandoc.1,
|
|
|
|
man/man5/pandoc_markdown.5
|
2008-08-10 01:45:40 +02:00
|
|
|
|
2011-02-05 19:34:55 +01:00
|
|
|
Source-repository head
|
|
|
|
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
|
|
|
|
2008-08-01 01:16:12 +02:00
|
|
|
Flag executable
|
|
|
|
Description: Build the pandoc executable.
|
|
|
|
Default: True
|
2010-07-21 20:24:50 +02:00
|
|
|
Flag library
|
|
|
|
Description: Build the pandoc library.
|
|
|
|
Default: True
|
2010-12-16 02:52:35 +01:00
|
|
|
Flag tests
|
|
|
|
Description: Build test-pandoc.
|
|
|
|
Default: False
|
2012-05-10 18:13:14 +02:00
|
|
|
Flag blaze_html_0_5
|
|
|
|
Description: Use blaze-html 0.5 and blaze-markup 0.5
|
|
|
|
Default: False
|
2006-10-17 16:22:29 +02:00
|
|
|
|
2007-11-06 01:07:17 +01:00
|
|
|
Library
|
2012-02-06 17:07:17 +01:00
|
|
|
-- Note: the following is duplicated in all stanzas.
|
2010-07-21 20:24:50 +02:00
|
|
|
-- It needs to be duplicated because of the library & executable flags.
|
|
|
|
-- BEGIN DUPLICATED SECTION
|
2011-01-15 20:51:39 +01:00
|
|
|
Build-Depends: containers >= 0.1 && < 0.5,
|
2012-02-05 04:38:51 +01:00
|
|
|
parsec >= 3.1 && < 3.2,
|
2012-04-15 16:31:36 +02:00
|
|
|
mtl >= 1.1 && < 2.2,
|
2011-01-15 20:51:39 +01:00
|
|
|
network >= 2 && < 2.4,
|
2011-12-22 22:47:13 +01:00
|
|
|
filepath >= 1.1 && < 1.4,
|
2011-09-03 00:49:21 +02:00
|
|
|
process >= 1 && < 1.2,
|
2011-01-15 20:51:39 +01:00
|
|
|
directory >= 1 && < 1.2,
|
|
|
|
bytestring >= 0.9 && < 1.0,
|
2011-01-30 22:53:14 +01:00
|
|
|
zip-archive >= 0.1.1.7 && < 0.2,
|
2011-01-15 20:51:39 +01:00
|
|
|
utf8-string >= 0.3 && < 0.4,
|
2012-01-29 00:54:05 +01:00
|
|
|
old-locale >= 1 && < 1.1,
|
|
|
|
time >= 1.2 && < 1.5,
|
2011-12-04 06:35:39 +01:00
|
|
|
HTTP >= 4000.0.5 && < 4000.3,
|
2012-02-08 23:33:17 +01:00
|
|
|
texmath >= 0.6.0.2 && < 0.7,
|
2012-01-31 18:48:42 +01:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
2011-01-15 20:51:39 +01:00
|
|
|
random >= 1 && < 1.1,
|
|
|
|
extensible-exceptions >= 0.1 && < 0.2,
|
2011-11-09 22:23:59 +01:00
|
|
|
citeproc-hs >= 0.3.4 && < 0.4,
|
2012-02-06 07:22:10 +01:00
|
|
|
pandoc-types >= 1.9.0.2 && < 1.10,
|
2012-02-06 08:37:45 +01:00
|
|
|
json >= 0.4 && < 0.6,
|
2011-12-05 00:58:05 +01:00
|
|
|
tagsoup >= 0.12.5 && < 0.13,
|
2011-11-20 21:05:01 +01:00
|
|
|
base64-bytestring >= 0.1 && < 0.2,
|
2012-03-10 11:24:25 +01:00
|
|
|
zlib >= 0.5 && < 0.6,
|
2012-05-30 05:58:58 +02:00
|
|
|
highlighting-kate >= 0.5.1 && < 0.6,
|
2012-07-19 21:38:54 +02:00
|
|
|
data-default >= 0.4 && < 0.6,
|
2012-01-21 03:57:16 +01:00
|
|
|
temporary >= 1.1 && < 1.2
|
2012-05-10 18:13:14 +02:00
|
|
|
if flag(blaze_html_0_5)
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.5 && < 0.6,
|
|
|
|
blaze-markup >= 0.5.1 && < 0.6
|
|
|
|
else
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.4.3.0 && < 0.5
|
2008-12-01 05:54:29 +01:00
|
|
|
if impl(ghc >= 6.10)
|
2011-01-15 20:51:39 +01:00
|
|
|
Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
|
2008-12-01 05:54:29 +01:00
|
|
|
else
|
2010-03-19 03:33:15 +01:00
|
|
|
Build-depends: base >= 3 && < 4
|
2012-06-28 00:25:35 +02:00
|
|
|
if impl(ghc >= 7.0.1)
|
2012-06-29 04:36:35 +02:00
|
|
|
Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
|
2010-07-21 20:24:50 +02:00
|
|
|
else
|
2012-06-28 00:25:35 +02:00
|
|
|
if impl(ghc >= 6.12)
|
2012-06-29 04:36:35 +02:00
|
|
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
|
2012-06-28 00:25:35 +02:00
|
|
|
else
|
2012-06-29 04:36:35 +02:00
|
|
|
Ghc-Options: -O2 -Wall
|
2012-02-05 21:14:34 +01: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 17:10:56 +01:00
|
|
|
Default-Language: Haskell98
|
2012-02-06 17:07:17 +01:00
|
|
|
Default-Extensions: CPP
|
|
|
|
Other-Extensions: PatternGuards, OverloadedStrings,
|
|
|
|
ScopedTypeVariables, GeneralizedNewtypeDeriving,
|
|
|
|
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
|
|
|
|
FlexibleInstances
|
2009-01-24 21:00:26 +01:00
|
|
|
Hs-Source-Dirs: src
|
2010-07-21 20:24:50 +02:00
|
|
|
-- END DUPLICATED SECTION
|
|
|
|
|
2007-11-06 01:07:17 +01:00
|
|
|
Exposed-Modules: Text.Pandoc,
|
2010-12-13 05:09:14 +01:00
|
|
|
Text.Pandoc.Pretty,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Shared,
|
2010-07-04 22:43:45 +02:00
|
|
|
Text.Pandoc.Parsing,
|
2008-02-09 04:21:19 +01:00
|
|
|
Text.Pandoc.Highlighting,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.HTML,
|
|
|
|
Text.Pandoc.Readers.LaTeX,
|
|
|
|
Text.Pandoc.Readers.Markdown,
|
|
|
|
Text.Pandoc.Readers.RST,
|
2012-04-15 01:44:21 +02:00
|
|
|
Text.Pandoc.Readers.DocBook,
|
2007-12-02 01:36:32 +01:00
|
|
|
Text.Pandoc.Readers.TeXMath,
|
2010-10-03 20:55:46 +02:00
|
|
|
Text.Pandoc.Readers.Textile,
|
2011-01-20 03:36:27 +01:00
|
|
|
Text.Pandoc.Readers.Native,
|
2010-07-04 22:55:48 +02:00
|
|
|
Text.Pandoc.Writers.Native,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Docbook,
|
|
|
|
Text.Pandoc.Writers.HTML,
|
|
|
|
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,
|
|
|
|
Text.Pandoc.Writers.Markdown,
|
|
|
|
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,
|
2010-04-10 21:38:07 +02:00
|
|
|
Text.Pandoc.Writers.Textile,
|
2008-07-27 05:25:51 +02:00
|
|
|
Text.Pandoc.Writers.MediaWiki,
|
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,
|
2010-07-03 07:07:00 +02:00
|
|
|
Text.Pandoc.Writers.EPUB,
|
2012-01-21 03:57:16 +01:00
|
|
|
Text.Pandoc.PDF,
|
2011-11-19 09:20:00 +01:00
|
|
|
Text.Pandoc.Templates,
|
|
|
|
Text.Pandoc.Biblio,
|
2011-11-22 00:09:42 +01:00
|
|
|
Text.Pandoc.SelfContained
|
2008-08-01 02:45:07 +02:00
|
|
|
Other-Modules: Text.Pandoc.XML,
|
2010-05-07 05:27:10 +02:00
|
|
|
Text.Pandoc.UTF8,
|
2011-07-19 21:01:01 +02:00
|
|
|
Text.Pandoc.MIME,
|
2010-07-03 07:07:00 +02:00
|
|
|
Text.Pandoc.UUID,
|
2012-01-09 04:16:06 +01:00
|
|
|
Text.Pandoc.ImageSize,
|
2012-01-23 04:58:45 +01:00
|
|
|
Text.Pandoc.Slides,
|
2009-04-18 18:15:56 +02:00
|
|
|
Paths_pandoc
|
2010-07-21 20:24:50 +02:00
|
|
|
|
|
|
|
if flag(library)
|
|
|
|
Buildable: True
|
2009-12-31 17:48:50 +01:00
|
|
|
else
|
2010-07-21 20:24:50 +02:00
|
|
|
Buildable: False
|
2008-08-01 01:16:12 +02:00
|
|
|
|
2007-11-06 01:07:17 +01:00
|
|
|
Executable pandoc
|
2012-02-06 17:07:17 +01:00
|
|
|
-- Note: the following is duplicated in all stanzas.
|
2010-07-21 20:24:50 +02:00
|
|
|
-- It needs to be duplicated because of the library & executable flags.
|
|
|
|
-- BEGIN DUPLICATED SECTION
|
2011-01-15 20:51:39 +01:00
|
|
|
Build-Depends: containers >= 0.1 && < 0.5,
|
2012-02-05 04:38:51 +01:00
|
|
|
parsec >= 3.1 && < 3.2,
|
2012-04-15 16:31:36 +02:00
|
|
|
mtl >= 1.1 && < 2.2,
|
2011-01-15 20:51:39 +01:00
|
|
|
network >= 2 && < 2.4,
|
2011-12-22 22:47:13 +01:00
|
|
|
filepath >= 1.1 && < 1.4,
|
2011-09-03 00:49:21 +02:00
|
|
|
process >= 1 && < 1.2,
|
2011-01-15 20:51:39 +01:00
|
|
|
directory >= 1 && < 1.2,
|
|
|
|
bytestring >= 0.9 && < 1.0,
|
2011-01-30 22:53:14 +01:00
|
|
|
zip-archive >= 0.1.1.7 && < 0.2,
|
2011-01-15 20:51:39 +01:00
|
|
|
utf8-string >= 0.3 && < 0.4,
|
2012-01-29 00:54:05 +01:00
|
|
|
old-locale >= 1 && < 1.1,
|
|
|
|
time >= 1.2 && < 1.5,
|
2011-12-04 06:35:39 +01:00
|
|
|
HTTP >= 4000.0.5 && < 4000.3,
|
2012-02-08 23:33:17 +01:00
|
|
|
texmath >= 0.6.0.2 && < 0.7,
|
2012-01-31 18:48:42 +01:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
2011-01-15 20:51:39 +01:00
|
|
|
random >= 1 && < 1.1,
|
|
|
|
extensible-exceptions >= 0.1 && < 0.2,
|
2011-11-09 22:23:59 +01:00
|
|
|
citeproc-hs >= 0.3.4 && < 0.4,
|
2012-02-06 07:22:10 +01:00
|
|
|
pandoc-types >= 1.9.0.2 && < 1.10,
|
2012-02-06 08:37:45 +01:00
|
|
|
json >= 0.4 && < 0.6,
|
2011-12-05 00:58:05 +01:00
|
|
|
tagsoup >= 0.12.5 && < 0.13,
|
2011-11-20 21:05:01 +01:00
|
|
|
base64-bytestring >= 0.1 && < 0.2,
|
2012-03-10 11:24:25 +01:00
|
|
|
zlib >= 0.5 && < 0.6,
|
2012-05-30 05:58:58 +02:00
|
|
|
highlighting-kate >= 0.5.1 && < 0.6,
|
2012-07-19 21:38:54 +02:00
|
|
|
data-default >= 0.4 && < 0.6,
|
2012-01-21 03:57:16 +01:00
|
|
|
temporary >= 1.1 && < 1.2
|
2012-05-10 18:13:14 +02:00
|
|
|
if flag(blaze_html_0_5)
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.5 && < 0.6,
|
|
|
|
blaze-markup >= 0.5.1 && < 0.6
|
|
|
|
else
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.4.3.0 && < 0.5
|
2010-07-21 20:24:50 +02:00
|
|
|
if impl(ghc >= 6.10)
|
2011-01-15 20:51:39 +01:00
|
|
|
Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
|
2009-12-31 17:48:50 +01:00
|
|
|
else
|
2010-07-21 20:24:50 +02:00
|
|
|
Build-depends: base >= 3 && < 4
|
2012-06-28 00:25:35 +02:00
|
|
|
if impl(ghc >= 7.0.1)
|
2012-07-03 01:29:11 +02:00
|
|
|
Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
|
2010-07-21 20:24:50 +02:00
|
|
|
else
|
2012-06-28 00:25:35 +02:00
|
|
|
if impl(ghc >= 6.12)
|
2012-07-03 01:29:11 +02:00
|
|
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
|
2012-06-28 00:25:35 +02:00
|
|
|
else
|
2012-07-03 01:29:11 +02:00
|
|
|
Ghc-Options: -O2 -Wall
|
2012-02-05 21:14:34 +01: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 17:10:56 +01:00
|
|
|
Default-Language: Haskell98
|
2012-02-06 17:07:17 +01:00
|
|
|
Default-Extensions: CPP
|
|
|
|
Other-Extensions: PatternGuards, OverloadedStrings,
|
|
|
|
ScopedTypeVariables, GeneralizedNewtypeDeriving,
|
|
|
|
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
|
|
|
|
FlexibleInstances
|
2010-07-21 20:24:50 +02:00
|
|
|
Hs-Source-Dirs: src
|
|
|
|
-- END DUPLICATED SECTION
|
|
|
|
|
|
|
|
Main-Is: pandoc.hs
|
2012-01-21 06:22:51 +01:00
|
|
|
if flag(executable)
|
2010-12-16 02:52:35 +01:00
|
|
|
Buildable: True
|
2009-06-25 03:12:07 +02:00
|
|
|
else
|
2010-12-16 02:52:35 +01:00
|
|
|
Buildable: False
|
|
|
|
|
|
|
|
Executable test-pandoc
|
|
|
|
Main-Is: test-pandoc.hs
|
2012-02-06 17:07:17 +01:00
|
|
|
-- Note: the following is duplicated in all stanzas.
|
|
|
|
-- It needs to be duplicated because of the library & executable flags.
|
|
|
|
-- BEGIN DUPLICATED SECTION
|
|
|
|
Build-Depends: containers >= 0.1 && < 0.5,
|
|
|
|
parsec >= 3.1 && < 3.2,
|
2012-04-15 16:31:36 +02:00
|
|
|
mtl >= 1.1 && < 2.2,
|
2012-02-06 17:07:17 +01:00
|
|
|
network >= 2 && < 2.4,
|
|
|
|
filepath >= 1.1 && < 1.4,
|
|
|
|
process >= 1 && < 1.2,
|
|
|
|
directory >= 1 && < 1.2,
|
|
|
|
bytestring >= 0.9 && < 1.0,
|
|
|
|
zip-archive >= 0.1.1.7 && < 0.2,
|
|
|
|
utf8-string >= 0.3 && < 0.4,
|
|
|
|
old-locale >= 1 && < 1.1,
|
|
|
|
time >= 1.2 && < 1.5,
|
|
|
|
HTTP >= 4000.0.5 && < 4000.3,
|
2012-02-08 23:33:17 +01:00
|
|
|
texmath >= 0.6.0.2 && < 0.7,
|
2012-02-06 17:07:17 +01:00
|
|
|
xml >= 1.3.12 && < 1.4,
|
|
|
|
random >= 1 && < 1.1,
|
|
|
|
extensible-exceptions >= 0.1 && < 0.2,
|
|
|
|
citeproc-hs >= 0.3.4 && < 0.4,
|
|
|
|
pandoc-types >= 1.9.0.2 && < 1.10,
|
|
|
|
json >= 0.4 && < 0.6,
|
|
|
|
tagsoup >= 0.12.5 && < 0.13,
|
|
|
|
base64-bytestring >= 0.1 && < 0.2,
|
2012-03-10 11:24:25 +01:00
|
|
|
zlib >= 0.5 && < 0.6,
|
2012-05-30 05:58:58 +02:00
|
|
|
highlighting-kate >= 0.5.1 && < 0.6,
|
2012-07-19 21:38:54 +02:00
|
|
|
data-default >= 0.4 && < 0.6,
|
2012-02-06 17:07:17 +01:00
|
|
|
temporary >= 1.1 && < 1.2
|
2012-05-10 18:13:14 +02:00
|
|
|
if flag(blaze_html_0_5)
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.5 && < 0.6,
|
|
|
|
blaze-markup >= 0.5.1 && < 0.6
|
|
|
|
else
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.4.3.0 && < 0.5
|
2012-02-06 17:07:17 +01:00
|
|
|
if impl(ghc >= 6.10)
|
|
|
|
Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
|
|
|
|
else
|
|
|
|
Build-depends: base >= 3 && < 4
|
2012-06-28 00:25:35 +02:00
|
|
|
if impl(ghc >= 7.0.1)
|
2012-07-03 01:29:11 +02:00
|
|
|
Ghc-Options: -O2 -rtsopts -Wall -fno-warn-unused-do-bind -dno-debug-output
|
2012-02-06 17:07:17 +01:00
|
|
|
else
|
2012-06-28 00:25:35 +02:00
|
|
|
if impl(ghc >= 6.12)
|
2012-07-03 01:29:11 +02:00
|
|
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
|
2012-06-28 00:25:35 +02:00
|
|
|
else
|
2012-07-03 01:29:11 +02:00
|
|
|
Ghc-Options: -O2 -Wall
|
2012-02-06 17:07:17 +01: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 17:10:56 +01:00
|
|
|
Default-Language: Haskell98
|
2012-02-06 17:07:17 +01:00
|
|
|
Default-Extensions: CPP
|
|
|
|
Other-Extensions: PatternGuards, OverloadedStrings,
|
|
|
|
ScopedTypeVariables, GeneralizedNewtypeDeriving,
|
|
|
|
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
|
|
|
|
FlexibleInstances
|
|
|
|
Hs-Source-Dirs: src
|
|
|
|
-- END DUPLICATED SECTION
|
2012-02-06 22:49:56 +01:00
|
|
|
if !flag(tests)
|
|
|
|
Buildable: False
|
2011-01-26 18:09:32 +01:00
|
|
|
else
|
2012-02-06 17:07:17 +01:00
|
|
|
Buildable: True
|
2012-02-06 22:49:56 +01:00
|
|
|
if impl(ghc >= 7)
|
|
|
|
cpp-options: -D_LIT=lit
|
|
|
|
else
|
|
|
|
cpp-options: -D_LIT=$lit
|
|
|
|
Other-Extensions: TemplateHaskell, QuasiQuotes
|
2012-03-15 19:18:41 +01:00
|
|
|
Build-Depends: Diff, test-framework >= 0.3 && < 0.7,
|
2012-02-06 22:49:56 +01:00
|
|
|
test-framework-hunit >= 0.2 && < 0.3,
|
|
|
|
test-framework-quickcheck2 >= 0.2.9 && < 0.3,
|
|
|
|
QuickCheck >= 2.4 && < 2.6,
|
|
|
|
HUnit >= 1.2 && < 1.3,
|
|
|
|
template-haskell >= 2.4 && < 2.8,
|
|
|
|
ansi-terminal == 0.5.*
|
|
|
|
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
|
2012-06-25 00:57:54 +02:00
|
|
|
Tests.Writers.LaTeX
|