aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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
2018-10-04Version to 2.4.John MacFarlane1-1/+1
We need a major API version bump because of the removed function from T.P.Writers.Shared.
2018-10-02Removed Text.Pandoc.Groff.John MacFarlane1-1/+0
Moved groffEscape function to Text.Pandoc.Writers.Shared. [API change, since T.P.W.S is exported.]
2018-10-01Version to 2.3.2.John MacFarlane1-1/+1
2018-10-01Moved babelLangToBCP, polyglossiaLangToBCP to new module...John MacFarlane1-0/+1
Text.Pandoc.Readers.LaTeX.Lang (unexported).
2018-10-01Lua filters: report traceback when an error occursAlbert Krewinkel1-1/+1
A proper Lua traceback is added if either loading of a file or execution of a filter function fails. This should be of help to authors of Lua filters who need to debug their code.
2018-09-30Implement `--ascii` (`writerPreferAscii`) in writers, not App.John MacFarlane1-0/+1
Now the `write*` functions for Docbook, HTML, ICML, JATS, Man, Ms, OPML are sensitive to `writerPreferAscii`. Previously the to-ascii translation was done in Text.Pandoc.App, and thus not available to those using the writer functions directly. In addition, the LaTeX writer is now sensitive to `writerPreferAscii` and to `--ascii`. 100% ASCII output can't be guaranteed, but the writer will use commands like `\"{a}` and `\l` whenever possible, to avoid emiting a non-ASCII character. A new unexported module, Text.Pandoc.Groff, has been added to store functions used in the different groff-based writers.
2018-09-30pandoc.cabal: make base lower bound 4.8.John MacFarlane1-5/+5
We no longer support ghc 7.8, but this wasn't reflected in the base versions.
2018-09-30LaTeX reader: simplified accent code using unicode-transforms.John MacFarlane1-0/+1
New dependency on unicode-transforms package for normalization.
2018-09-28Added Text.Pandoc.Readers.LaTeX.Parsing (unexported).John MacFarlane1-0/+1
This collects some of the general-purpose code from the LaTeX reader, with the aim of making the module smaller. (We've been having out-of-memory issues compiling this module on CI.)
2018-09-27Version to 2.3.1.John MacFarlane1-1/+1
2018-09-24Use hslua v1.0.0Albert Krewinkel1-3/+3
2018-09-15add test for --metadata-filemb211-0/+1
2018-08-14Bump version to 2.3, because of breaking API change to Macro.John MacFarlane1-1/+1
2018-08-07Bump to 2.2.3.2, update man page, changelog.John MacFarlane1-1/+1
2018-08-06Bump to 2.2.3.1, update man page and changelog.John MacFarlane1-1/+1