aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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
2018-08-05Bump to 2.2.3, update changelog and man page.John MacFarlane1-1/+1
2018-07-18Bump version to 2.2.2.1.John MacFarlane1-1/+1
2018-07-15Minor cabal file changes.John MacFarlane1-2/+2
Requested by 'stack upload.' Different format for minimum cabal version. Use of autogen-modules.
2018-07-15Bump to 2.2.2 and update changelog.John MacFarlane1-1/+1
2018-07-13Travis: Use system ghc. And use ghc-8.4.3 instead of 8.4.2.John MacFarlane1-1/+1
2018-07-13Bump upper bound for JuicyPixels.John MacFarlane1-1/+1
2018-07-12Exclude foundaiton 0.0.21 for ghc 7.10.John MacFarlane1-3/+4
2018-07-12Attempt to fix latest ghc 7.10 build failure.John MacFarlane1-1/+4
2018-07-02Allow criterion 1.5.John MacFarlane1-1/+1
2018-06-30Use ghc 8.4.2 in travis and tested-with.John MacFarlane1-1/+1
8.4.1 shipped with the wrong version of mtl, which didn't match its documented API.
2018-06-29Use HsYAML instead of yaml for translations, YAML metadata.John MacFarlane1-6/+3
yaml wraps a C library; HsYAML is pure Haskell. Closes #4747. Advances #4535.
2018-06-29Require yaml < 0.8.31 for ghc < 8.0.2.John MacFarlane1-2/+4
The 0.8.31 release of yaml adds a constraint to ghc versions 8.0.2 and greater.
2018-06-28Remove network-uri flag and use 'Network.Socket'.John MacFarlane1-8/+2
This removes a compiler warning. There is no need for the old network-uri flag, since network 2.6 was released in 2014.
2018-06-24pandoc.cabal: fix lower yaml bound up to 0.8.11 (#4727)Sergei Trofimovich1-1/+1
`prettyPrintParseException` was added to yaml-0.8.11. Reported-by: Tom Gillespie Bug: https://github.com/jgm/pandoc/issues/4726 Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/725 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2018-06-23Raise lower bound for yaml library.John MacFarlane1-1/+1
Closes #4726.
2018-06-11Use latest pandoc-types (1.17.5).John MacFarlane1-2/+2
2018-06-10Allow aeson-1.4.John MacFarlane1-1/+1