aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2019-02-10Bump to 2.6.1.John MacFarlane1-1/+1
2019-02-10Use latest skylighting.John MacFarlane1-1/+1
2019-02-09Added simple ipynb reader/writer tests.John MacFarlane1-0/+3
Closes #5274.
2019-02-09Adds Asciidoctor sprcific writer and testsTG1-0/+1
2019-02-08Use latest basement/foundation on 32bit windows.John MacFarlane1-2/+3
2019-02-06cabal - prevent using basement 0.0.10 on 32-bit windows.John MacFarlane1-1/+4
It is broken, see https://github.com/haskell-foundation/foundation/issues/515
2019-01-30Org reader: add support for #+SELECT_TAGS.leungbk1-0/+1
2019-01-22Support ipynb (Jupyter notebook) as input and output format.John MacFarlane1-8/+11
[API change] * Depend on ipynb library. * Add `ipynb` as input and output format. * Added Text.Pandoc.Readers.Ipynb (supports both nbformat v3 and v4). * Added Text.Pandoc.Writers.Ipynb (supports nbformat v4). * Added ipynb readers and writers to T.P.Readers, T.P.Writers, and T.P.Extensions. Register the file extension .ipynb for this format. * Add `PandocIpynbDecodingError` constructor to Text.Pandoc.Error.Error. * Note: there is no template for ipynb.
2019-01-09RST reader: change treatment of `number-lines` directives. (#5207)Brian Leung1-0/+1
Directives of this type without numeric inputs should not have a `startFrom` attribute; with a blank value, the writers can produce extra whitespace.
2019-01-09Allow http-client 0.6.John MacFarlane1-1/+1
2019-01-06Add DokuWiki reader (#5108)Alexander1-2/+5
Closes #1792
2019-01-04Tests: Fix findPandoc to work with Windows.John MacFarlane1-0/+2
2019-01-02Removed custom Setup.hs, use build-type: simple.John MacFarlane1-4/+1
The only thing we gained from the custom build was automatic installation of the man page when using 'cabal install'. But custom builds cause problems, e.g., with cross-compilation. Installation of the man page is better handled by packagers. Note to packagers (e.g. Debian): it may be necessary to add a step installing the man page with the next release.
2018-12-19Allow latest Glob.John MacFarlane1-2/+2
2018-12-03Allow latest zip-archive.John MacFarlane1-2/+2
2018-12-02Allow tasty 1.2John MacFarlane1-1/+1
2018-12-01Require skylighting >= 0.7.5.John MacFarlane1-1/+1
This adds support for sml, J, typescript.
2018-11-29Bump to version 2.6 because of API change in read/writeJSON.John MacFarlane1-1/+1
2018-11-22Bump version to 2.5.John MacFarlane1-1/+1
2018-11-19LaTeX reader: cleaned up handling of dimension arguments.John MacFarlane1-3/+3
Allow decimal points, preceding space. Also require text 1.1+.
2018-11-07T.P.App: extract submodule T.P.App.FormatHeuristicsAlbert Krewinkel1-0/+1
Format guessing is used for input and output options and should be shared.
2018-11-06T.P.App: extract Opt into separate moduleAlbert Krewinkel1-0/+1
The new Opt module has only a few dependencies. This is important for compile-times during development, as Template Haskell containing modules are be recompiled whenever a (transitive) dependency changes.
2018-11-04Add cabal flag `derive_json_via_th`Albert Krewinkel1-0/+7
Disabling the flag will cause derivation of ToJSON and FromJSON instances via GHC Generics instead of Template Haskell. The flag is enabled by default, as deriving via Generics can be slow (see #4083).
2018-11-03App: extract output settings into moduleAlbert Krewinkel1-0/+1
2018-11-03App: extract command line options to separate moduleAlbert Krewinkel1-1/+2
2018-11-02Fix readWithM with Stream.John MacFarlane1-2/+1
2018-11-02T.P.Parsing: Generalize readWithM to any Char Stream.John MacFarlane1-1/+2
[API change]
2018-11-01Change 'groff' -> 'roff'.John MacFarlane1-2/+2
These formats (man, ms) are not groff-specific.
2018-10-28API change: expose module Text.Pandoc.FilterAlbert Krewinkel1-2/+2
The module is likely to be useful to library users.
2018-10-27Revert "Roff reader: use LineParts abstraction."John MacFarlane1-1/+1
This reverts commit 42ba3c0a0b15fddd51e6a4b79882ddaeccf0eb3d.
2018-10-27Roff reader: use LineParts abstraction.John MacFarlane1-1/+1
This didn't really help performance in the end.
2018-10-27pandoc.cabal: add GHC 8.6.1 to list of tested compilersAlbert Krewinkel1-1/+2
2018-10-27pandoc.cabal: enable more compiler warningsAlbert Krewinkel1-1/+9
2018-10-26Rename Groff -> Roff.John MacFarlane1-3/+3
Module T.P.Readers.Groff -> T.P.Readers.Roff Module T.P.Writers.Groff -> T.P.Writers.Roff Module T.P.GroffChar -> T.P.RoffChar GroffTokens -> RoffTokens GroffToken -> RoffToken.
2018-10-26Text.Pandoc.Lua: move globals handling to separate moduleAlbert Krewinkel1-0/+1
2018-10-25Add man reader to pandoc.cabal description.John MacFarlane1-9/+10
2018-10-25Lua: allow access to pandoc state (#5015)Albert Krewinkel1-0/+1
* Lua: allow access to pandoc state Lua filters and custom writers now have read-only access to most fields of pandoc's internal state via the global variable `PANDOC_STATE`. * Lua: allow iterating through fields of PANDOC_STATE * Lua filters doc: describe CommonState * Lua filters doc: mention global variable PANDOC_STATE * Lua: add access to logs Log messages can currently only be printed, but not decomposed.
2018-10-24Added Text.Pandoc.Readers.Groff.John MacFarlane1-0/+1
This is an internal module that exports a tokenizer for groff formats. Closes #4998.
2018-10-18Merge branch 'Yanpas-groff_reader'John MacFarlane1-0/+3
2018-10-18Bump upper bound for QUickCheck.John MacFarlane1-1/+1
2018-10-18Bump upper bound for binary.John MacFarlane1-1/+1
2018-10-18Add Text.Pandoc.GroffChar.John MacFarlane1-0/+1
This will hold common escaping data for groff characters.
2018-10-17Updated version bounds for containers and haddock-library.John MacFarlane1-3/+3
Allow haddock-library 1.7 and containers 0.6.*. Closes #4974.
2018-10-17Move common groff functions to Text.Pandoc.Writers.GroffJohn MacFarlane1-0/+1
(unexported module). These are used in both the man and ms writers. Moved groffEscape out of Text.Pandoc.Writers.Shared [cancels earlier API change from adding it, which was after last release]. This fixes strong/code combination on man (should be `\f[CB]` not `\f[BC]`), mentioned in #4973. Updated tests. Closes #4975.
2018-10-16Merge branch 'groff_reader' of https://github.com/Yanpas/pandoc into ↵John MacFarlane1-0/+3
Yanpas-groff_reader
2018-10-17update cabal, add man-readerYan Pas1-0/+1
2018-10-13Update benchmarks for ghc 8.6.1.John MacFarlane1-0/+1
2018-10-09Added docx/docPropos/custom.xml to cabal data-files.John MacFarlane1-0/+1
2018-10-08Require skylighting 0.7.4.John MacFarlane1-1/+1
Closes #4920.
2018-10-07Merge branch 'master' into groff_readerYan Pas1-34/+36