aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27ipynb reader: avoid introducing spurious `.0` on integers in metadata.John MacFarlane1-0/+1
2019-03-27Drop support for ghc < 8.John MacFarlane1-2/+1
2019-03-20Improve pdfSize in ImageSize.John MacFarlane1-1/+2
Improves fix to #4322.
2019-03-13Use cmark-gfm-0.1.8.John MacFarlane1-1/+1
2019-03-13Updated tested-with.John MacFarlane1-2/+2
2019-03-13Bump to 2.7.1John MacFarlane1-1/+1
2019-03-13Revise last commit, adding an upper bound for cmark-gfm.John MacFarlane1-1/+1
2019-03-13Exclude cmark-gfm-hs 0.1.7, which is buggy.John MacFarlane1-1/+1
2019-03-02Require texmath 0.11.2.1John MacFarlane1-1/+1
2019-03-02Bump version to 2.7.John MacFarlane1-1/+1
2019-03-02Use XDG data directory for user data directory.John MacFarlane1-2/+2
Instead of `$HOME/.pandoc`, the default user data directory is now `$XDG_DATA_HOME/pandoc`, where `XDG_DATA_HOME` defaults to `$HOME/.local/share` but can be overridden by setting the environment variable. If this directory is missing, then `$HOME/.pandoc` is searched instead, for backwards compatibility. However, we recommend moving local pandoc data files from `$HOME/.pandoc` to `$HOME/.local/share/pandoc`. On Windows the default user data directory remains the same. Closes #3582.
2019-02-27Use latest skylighting.John MacFarlane1-1/+1
This should fix #5328.
2019-02-16T.P.Lua: split StackInstances into smaller Marshaling modulesAlbert Krewinkel1-1/+5
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.