aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2019-08-16Lua: add module for AST element sequence traversalAlbert Krewinkel1-0/+1
Lua filters must be able to traverse sequences of AST elements and to replace elements by splicing sequences back in their place. Special `Walkable` instances can be used for this; those are provided in a new module `Text.Pandoc.Lua.Walk`.
2019-08-15pandoc.cabal: add cabal.project to extra-source-files.Albert Krewinkel1-1/+2
2019-08-05Version bump to 2.8 because of type changes for templates.John MacFarlane1-1/+1
2019-07-28Use doctemplates 0.3, change type of writerTemplate.John MacFarlane1-1/+2
* Require recent doctemplates. It is more flexible and supports partials. * Changed type of writerTemplate to Maybe Template instead of Maybe String. * Remove code from the LaTeX, Docbook, and JATS writers that looked in the template for strings to determine whether it is a book or an article, or whether csquotes is used. This was always kludgy and unreliable. To use csquotes for LaTeX, set `csquotes` in your variables or metadata. It is no longer sufficient to put `\usepackage{csquotes}` in your template or header includes. To specify a book style, use the `documentclass` variable or `--top-level-division`. * Change template code to use new API for doctemplates.
2019-07-23Templates: Change type of renderTemplate'.John MacFarlane1-1/+1
Return value is now Text rather than being polymorphic. This makes room for upcoming removal of the TemplateTarget class from doctemplates. Other code modified accordingly, and should compile with both current and upcoming version of doctemplates.
2019-07-16Version to 2.7.4.John MacFarlane1-1/+1
2019-07-14Require skylighting 0.8.2 (fix bug with long integer literals).John MacFarlane1-1/+1
2019-07-14Require skylighting 0.8.1.2.John MacFarlane1-1/+1
This fixes a regression for C character escapes.
2019-06-13Use latest skylighting.John MacFarlane1-1/+1
2019-06-06MANUAL.txt, pandoc.cabal: mention Jira as possible target formatAlbert Krewinkel1-1/+1
2019-06-05Add jira writer (#5548)Albert Krewinkel1-0/+4
This adds support for Atlassian's jira markup. Closes #2497
2019-06-04Update pandoc-citeproc and skylighting versions.John MacFarlane1-1/+1
2019-05-29pandoc.mediabag module: add items function iterating over mediabagAlbert Krewinkel1-0/+1
A new function `pandoc.mediabag.items` was added to Lua module pandoc.mediabag. This allows users to lazily iterate over all media bag items, loading items into Lua one-by-one. Example: for filename, mime_type, content in pandoc.mediabag.items() do -- use media bag item. end This is a convenient alternative to using `mediabag.list` in combination with `mediabag.lookup`.
2019-05-29Merge pull request #5526 from tarleb/richer-version-typeJohn MacFarlane1-2/+3
Lua: add Version type to simplify comparisons
2019-05-29Lua: add Version type to simplify comparisonsAlbert Krewinkel1-2/+3
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts.
2019-05-27Use skylighting 0.8.John MacFarlane1-1/+1
2019-05-20Improve output of Lua tests (#5499)Albert Krewinkel1-0/+4
This makes use of tasty-lua, a package to write tests in Lua and integrate the results into Tasty output. Test output becomes more informative: individual tests and test groups become visible in test output. Failures are reported with helpful error messages.
2019-05-17Bump to 2.7.3John MacFarlane1-1/+1
2019-05-12add test/tables.xwiki to git and pandoc.cabal (#5498)Mauro Bieg1-0/+1
2019-05-04Lua: add `pandoc.system` module (#5468)Albert Krewinkel1-0/+2
The `system` Lua module provides utility functions to interact with the operating- and file system. E.g. print(pandoc.system.get_current_directory()) or pandoc.system.with_temporary_directory('tikz', function (dir) -- write and compile a TikZ file with pdflatex end)
2019-05-01CI: test with GHC 8.6.5Albert Krewinkel1-1/+1
2019-04-17Don't advertise base-4.8 support anymore (#5455)Herbert Valerio Riedel1-1/+1
Problem is that blaze-html provides the Semigroup instance for Html conditionally only for base >= 4.9
2019-04-17Allow QuickCheck 2.13.John MacFarlane1-1/+1
2019-04-09Update copyright yearJohn MacFarlane1-1/+1
2019-04-09Use cmark-gfm 0.2.0.John MacFarlane1-1/+1
2019-04-05Bump to 2.7.2, update changelog.John MacFarlane1-1/+1
2019-04-05Update pandoc.cabal with new pptx files.Jesse Rosenthal1-0/+4
2019-04-03Add templates/default.xwiki to cabal data files.John MacFarlane1-0/+1
2019-04-02Add test/writer.xwiki to cabal extra-source-files.John MacFarlane1-0/+1
2019-04-02Add xwiki to cabal descriptionJohn MacFarlane1-4/+5
2019-04-02Add XWiki Support (#4167)Derek Chen-Becker1-0/+1
Add XWiki Support Closes #1800
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