summaryrefslogtreecommitdiff
path: root/pandoc.cabal
Commit message (Collapse)AuthorAge
* _update_cabalHEADarchive/debian/2.1.2_dfsg-1masterDebian Haskell Group2018-04-24
| | | Gbp-Pq: Name 3001_update_cabal.patch
* _avoid_missing_filesDebian Haskell Group2018-04-24
| | | Gbp-Pq: Name 2001_avoid_missing_files.patch
* Bump version to 2.1.2.John MacFarlane2018-03-02
|
* Update tagsoup to 0.14.6Alexander Krotov2018-02-28
|
* Set fixed minor version for hsluaAlbert Krewinkel2018-02-27
| | | | | The ToLuaStack instance for Set is orphaned. The PVP requires the minor version to be fixed in this case.
* Update tagsoup to 0.14.5Alexander Krotov2018-02-27
|
* Update tagsoup to 0.14.4Alexander Krotov2018-02-27
| | | | Fixes #4282
* Org reader tests: move citation tests to separate moduleAlbert Krewinkel2018-02-26
|
* Allow exceptions 0.9.John MacFarlane2018-02-26
|
* Removed ghc-prof-options.John MacFarlane2018-02-25
| | | | | | As of cabal 1.24, sensible defaults are used. See https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-ghc-prof-options.
* Require aeson-pretty 0.8.5. Closes #4394.John MacFarlane2018-02-22
| | | | `confTrailingNewline` is introduced in this version.
* Powerpoint writer: Another attempt at avoiding compiler warnings.Jesse Rosenthal2018-02-18
|
* Powerpoint writer: Move notes slides into data tree.Jesse Rosenthal2018-02-18
|
* Bump blaze-markup, blaze-html lower bounds to 0.8, 0.9.John MacFarlane2018-02-01
| | | | | | | | This is needed because the type constructor Empty in MarkupM has changed, and the HTML writer assumes the constructor has an argument. Closes #4334.
* Add docx golden tests to cabal file.Jesse Rosenthal2018-01-27
|
* Tests: Abstract powerpoint tests out to OOXML tests.Jesse Rosenthal2018-01-25
| | | | | | | There is very little pptx-specific in these tests, so we abstract out the basic testing function so it can be used for docx as well. This should allow us to catch some errors in the docx writer that slipped by the roundtrip testing.
* Require tagsoup 0.14.3 - closes #4282.John MacFarlane2018-01-21
| | | | | This fixes an HTML tokenization bug whereby comments were sometimes consumed with open tags.
* Powerpoint writer tests: New test framework for pptx.Jesse Rosenthal2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we had tested certain properties of the output PowerPoint slides. Corruption, though, comes as the result of a numebr of interrelated issues in the output pptx archive. This is a new approach, which compares the output of the Powerpoint writer with files that we know to (a) not be corrupt, and (b) to show the desired output behavior (details below). This commit introduces three tests using the new framework. More will follow. The test procedure: given a native file and a pptx file, we generate a pptx archive from the native file, and then test: 1. Whether the same files are in the two archives 2. Whether each of the contained xml files is the same. (We skip time entries in `docProps/core.xml`, since these are derived from IO. We just check to make sure that they're there in the same way in both files.) 3. Whether each of the media files is the same. Note that steps 2 and 3, though they compare multiple files, are one test each, since the number of files depends on the input file (if there is a failure, it will only report the first failed file comparison in the test failure).
* More stack.yaml fixes for skylighting.John MacFarlane2018-01-18
|
* Require latest skylighting.John MacFarlane2018-01-18
|
* Version to 2.1.1.John MacFarlane2018-01-17
|
* Docx reader: Parse instrText info in fldChar tags.Jesse Rosenthal2018-01-16
| | | | | | We introduce a new module, Text.Pandoc.Readers.Docx.Fields which contains a simple parsec parser. At the moment, only simple hyperlink fields are accepted, but that can be extended in the future.
* Renaming: Json -> JSON in modules and functions.John MacFarlane2018-01-15
|
* Merge pull request #4227 from tarleb/lua-run-json-filterJohn MacFarlane2018-01-15
|\ | | | | Run JSON filters from Lua filters
| * Move filter functions to separate moduleAlbert Krewinkel2018-01-13
| |
* | Remove custom prelude and ghc 7.8 support.John MacFarlane2018-01-14
| |
* | Fix cabal to use base-compat with ghc < 7.10.John MacFarlane2018-01-14
| |
* | Use base-compat for our custom prelude.John MacFarlane2018-01-14
| | | | | | | | | | | | | | This should give us more complete coverage of newer base features. See #4255.
* | Allow latest QuickCheck.John MacFarlane2018-01-14
| |
* | Powerpoint writer: Refactor into separate modules.Jesse Rosenthal2018-01-14
| | | | | | | | | | | | | | | | | | | | | | | | There are two steps in the conversion: a conversion from pandoc to a Presentation datatype modeling pptx, and a conversion from Presentation to a pptx archive. The two steps were sharing the same state and environment, and the code was getting a bit spaghetti-ish. This separates the conversion into separate modules (T.P.W.Powerpoint.Presentation, which defineds the Presentation datatype and goes Pandoc->Presentation) and (T.P.W.Pandoc.Output, which goes Presentation->Archive). Text.Pandoc.Writers.Powerpoint a thin wrapper around the two modules.
* | Lua filters: improve error messagesAlbert Krewinkel2018-01-12
|/ | | | Provide more context about the task which caused an error.
* Bump criterion upper bound.John MacFarlane2018-01-09
|
* Allow tasty 1.0.John MacFarlane2018-01-08
|
* Use latest skylighting and omit the 'missingincludes' check.John MacFarlane2018-01-07
| | | | | | | | | | If you use a custom syntax definition that refers to a syntax you haven't loaded, pandoc will now complain when it is highlighting the text, rather than at the start. This saves a huge performance hit from the `missingIncludes` check. Closes #4226.
* Update copyright notices to include 2018Albert Krewinkel2018-01-05
|
* Bump hslua version to 0.9.5Albert Krewinkel2018-01-04
| | | | | | | | This version fixes a bug that made it difficult to handle failures while getting lists or a Map from Lua. A bug in pandoc, which made it necessary to always pass a tag when using MetaList or MetaBlock, is fixed as a result. Using the pandoc module's constructor functions for these values is now optional (if still recommended).
* Powerpoint Writer tests: Add quickcheck tests for content types.Jesse Rosenthal2017-12-29
| | | | | We want to make sure we always have an override for each xml file in the content types file.
* Filter changes.John MacFarlane2017-12-28
| | | | | | | | | | | * Previously we ran all lua filters before JSON filters. * Now we run filters in the order they are presented on the command line, whether lua or JSON. * The type of `applyFilters` has changed (incompatible API change). * `applyLuaFilters` has been removed (incompatible API change). * Bump version to 2.1. See #4196.
* Powerpoint writer tests: use IO.John MacFarlane2017-12-28
| | | | | Otherwise we can't find the data files when compiled with -embed_data_files.
* Moved makeCanoncial definition out of ifdef!John MacFarlane2017-12-28
| | | | | Also added slide2 to the default pptx, and reordered the data files in pandoc.cabal.
* Added data/docx/word/comments.xml to pandoc.cabal data files.John MacFarlane2017-12-28
|
* PowerPoint writer: Introduce beginning of testsJesse Rosenthal2017-12-28
| | | | | | | | | | | This is the beginning of a test suite for the powerpoint writer. Initial tests are for the number of slides. Note that at the moment it does not test against corruption in Microsoft PowerPoint; it just tests that certain outcomes work as expected. More tests will be added. This test framework uses the PandocPure monad introduced with Pandoc 2.0.
* Org reader: support minlevel option for includesAlbert Krewinkel2017-12-28
| | | | | | | | | The level of headers in included files can be shifted to a higher level by specifying a minimum header level via the `:minlevel` parameter. E.g. `#+include: "tour.org" :minlevel 1` will shift the headers in tour.org such that the topmost headers become level 1 headers. Fixes: #4154
* Break-up org reader test fileAlbert Krewinkel2017-12-28
| | | | | | | The org reader test file had grown large, to the point that editor performance was negatively affected in some cases. The tests are spread over multiple submodules, and re-combined into a tasty TestTree in the main org reader test file.
* Add custom tests to pandoc.cabalJohn MacFarlane2017-12-27
|
* Bump to 2.0.6.John MacFarlane2017-12-23
|
* Mention JATS output (and input) in MANUAL, README, cabal description.John MacFarlane2017-12-21
|
* Merge pull request #4177 from stencila/jats-xml-readerJohn MacFarlane2017-12-21
|\ | | | | Add Basic JATS reader based on DocBook reader
| * Add Basic JATS reader based on DocBook readerHamish Mackenzie2017-12-20
| |
* | Lua modules: added pandoc.utils moduleAlbert Krewinkel2017-12-21
| | | | | | | | | | A new module `pandoc.utils` has been created. It holds utility functions like `sha1`, which was moved from the main `pandoc` module.