aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal87
1 files changed, 49 insertions, 38 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index a4ffeb04a..5dda339c3 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -1,5 +1,5 @@
Name: pandoc
-Version: 1.15.1
+Version: 1.16
Cabal-Version: >= 1.10
Build-Type: Custom
License: GPL
@@ -15,28 +15,22 @@ Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2
Synopsis: Conversion between markup formats
Description: Pandoc is a Haskell library for converting from one markup
format to another, and a command-line tool that uses
- this library. It can read markdown and (subsets of) HTML,
- reStructuredText, LaTeX, DocBook, MediaWiki markup, TWiki
- markup, Haddock markup, OPML, Emacs Org-Mode, txt2tags,
- Word Docx, ODT, and Textile, and it can write
- Markdown, reStructuredText, XHTML, HTML 5, LaTeX,
- ConTeXt, DocBook, OPML, OpenDocument, ODT,
+ this library. It can read several dialects of Markdown and
+ (subsets of) HTML, reStructuredText, LaTeX, DocBook,
+ MediaWiki markup, TWiki markup, Haddock markup, OPML,
+ Emacs Org-Mode, txt2tags, Word Docx, ODT, and Textile, and
+ it can write Markdown, reStructuredText, XHTML, HTML 5,
+ LaTeX, ConTeXt, DocBook, OPML, OpenDocument, ODT,
Word docx, RTF, MediaWiki, DokuWiki, Textile, groff man
pages, plain text, Emacs Org-Mode, AsciiDoc, Haddock markup,
EPUB (v2 and v3), FictionBook2, InDesign ICML, and several
kinds of HTML/javascript slide shows (S5, Slidy, Slideous,
DZSlides, reveal.js).
.
- 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,
+ 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,
which convert this native representation into a target
format. Thus, adding an input or output format requires
only adding a reader or writer.
@@ -113,6 +107,8 @@ Extra-Source-Files:
-- documentation
INSTALL, BUGS, CONTRIBUTING.md, changelog
man/pandoc.1
+ -- stack build plan
+ stack.yaml
-- files needed to build man page
man/capitalizeHeaders.hs
man/removeNotes.hs
@@ -187,6 +183,8 @@ Extra-Source-Files:
tests/writer.fb2
tests/writer.opml
tests/writer.dokuwiki
+ tests/writers-lang-and-dir.latex
+ tests/writers-lang-and-dir.context
tests/dokuwiki_inline_formatting.dokuwiki
tests/lhs-test.markdown
tests/lhs-test.markdown+lhs
@@ -239,7 +237,7 @@ Flag network-uri
Flag old-locale
Description: Use old-locale and time < 1.5
- Default: True
+ Default: False
Library
Build-Depends: base >= 4.2 && <5,
@@ -250,22 +248,22 @@ Library
parsec >= 3.1 && < 3.2,
mtl >= 1.1 && < 2.3,
filepath >= 1.1 && < 1.5,
- process >= 1 && < 1.3,
+ process >= 1 && < 1.4,
directory >= 1 && < 1.3,
bytestring >= 0.9 && < 0.11,
text >= 0.11 && < 1.3,
zip-archive >= 0.2.3.4 && < 0.3,
HTTP >= 4000.0.5 && < 4000.3,
- texmath >= 0.8.1 && < 0.9,
+ texmath >= 0.8.4.1 && < 0.9,
xml >= 1.3.12 && < 1.4,
random >= 1 && < 1.2,
extensible-exceptions >= 0.1 && < 0.2,
- pandoc-types >= 1.12.4 && < 1.13,
+ pandoc-types >= 1.16 && < 1.17,
aeson >= 0.7 && < 0.11,
tagsoup >= 0.13.1 && < 0.14,
base64-bytestring >= 0.1 && < 1.1,
zlib >= 0.5 && < 0.7,
- highlighting-kate >= 0.6 && < 0.7,
+ highlighting-kate >= 0.6.1 && < 0.7,
data-default >= 0.4 && < 0.6,
temporary >= 1.1 && < 1.3,
blaze-html >= 0.5 && < 0.9,
@@ -310,7 +308,10 @@ Library
ScopedTypeVariables, GeneralizedNewtypeDeriving,
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
FlexibleInstances
- Hs-Source-Dirs: src, prelude
+ Hs-Source-Dirs: src
+ if impl(ghc < 7.10)
+ Hs-Source-Dirs: prelude
+ Other-Modules: Prelude
Exposed-Modules: Text.Pandoc,
Text.Pandoc.Options,
@@ -388,6 +389,7 @@ Library
Text.Pandoc.Writers.Shared,
Text.Pandoc.Asciify,
Text.Pandoc.MIME,
+ Text.Pandoc.Emoji,
Text.Pandoc.Parsing,
Text.Pandoc.UUID,
Text.Pandoc.ImageSize,
@@ -396,22 +398,22 @@ Library
Text.Pandoc.Compat.Time,
Text.Pandoc.Compat.Except,
Text.Pandoc.Compat.TagSoupEntity,
- Text.Pandoc.Compat.Directory
+ Text.Pandoc.Compat.Directory,
+ Text.Pandoc.Compat.Monoid,
Paths_pandoc
- Prelude
Buildable: True
Executable pandoc
Build-Depends: pandoc,
- pandoc-types >= 1.12.4 && < 1.13,
+ pandoc-types >= 1.16 && < 1.17,
base >= 4.2 && <5,
directory >= 1 && < 1.3,
filepath >= 1.1 && < 1.5,
text >= 0.11 && < 1.3,
bytestring >= 0.9 && < 0.11,
extensible-exceptions >= 0.1 && < 0.2,
- highlighting-kate >= 0.6 && < 0.7,
+ highlighting-kate >= 0.6.1 && < 0.7,
aeson >= 0.7.0.5 && < 0.11,
yaml >= 0.8.8.2 && < 0.9,
containers >= 0.1 && < 0.6,
@@ -429,14 +431,20 @@ Executable pandoc
ScopedTypeVariables, GeneralizedNewtypeDeriving,
RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
FlexibleInstances
- Hs-Source-Dirs: ., prelude
+ Hs-Source-Dirs: .
+ if impl(ghc < 7.10)
+ Hs-Source-Dirs: prelude
+ Other-Modules: Prelude
Main-Is: pandoc.hs
Buildable: True
- Other-Modules: Prelude
+ Other-Modules: Paths_pandoc
Executable trypandoc
Main-Is: trypandoc.hs
- Hs-Source-Dirs: trypandoc, prelude
+ Hs-Source-Dirs: trypandoc
+ if impl(ghc < 7.10)
+ Hs-Source-Dirs: prelude
+ Other-Modules: Prelude
default-language: Haskell2010
if flag(trypandoc)
Build-Depends: base, aeson, pandoc, highlighting-kate,
@@ -444,22 +452,24 @@ Executable trypandoc
Buildable: True
else
Buildable: False
- Other-Modules: Prelude
Test-Suite test-pandoc
Type: exitcode-stdio-1.0
Main-Is: test-pandoc.hs
- Hs-Source-Dirs: tests, prelude
+ Hs-Source-Dirs: tests
+ if impl(ghc < 7.10)
+ Hs-Source-Dirs: prelude
+ Other-Modules: Prelude
Build-Depends: base >= 4.2 && < 5,
syb >= 0.1 && < 0.7,
pandoc,
- pandoc-types >= 1.12.4 && < 1.13,
+ pandoc-types >= 1.16 && < 1.17,
bytestring >= 0.9 && < 0.11,
text >= 0.11 && < 1.3,
directory >= 1 && < 1.3,
filepath >= 1.1 && < 1.5,
- process >= 1 && < 1.3,
- highlighting-kate >= 0.6 && < 0.7,
+ process >= 1 && < 1.4,
+ highlighting-kate >= 0.6.1 && < 0.7,
Diff >= 0.2 && < 0.4,
test-framework >= 0.3 && < 0.9,
test-framework-hunit >= 0.2 && < 0.4,
@@ -494,18 +504,19 @@ Test-Suite test-pandoc
Tests.Writers.LaTeX
Tests.Writers.Docx
Tests.Writers.RST
- Prelude
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
Default-Language: Haskell98
benchmark benchmark-pandoc
Type: exitcode-stdio-1.0
Main-Is: benchmark-pandoc.hs
- Hs-Source-Dirs: benchmark, prelude
+ Hs-Source-Dirs: benchmark
+ if impl(ghc < 7.10)
+ Hs-Source-Dirs: prelude
+ Other-Modules: Prelude
Build-Depends: pandoc,
base >= 4.2 && < 5,
syb >= 0.1 && < 0.7,
criterion >= 1.0 && < 1.2
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98
- Other-Modules: Prelude