aboutsummaryrefslogtreecommitdiff
path: root/stack.yaml
AgeCommit message (Collapse)AuthorFilesLines
2019-09-22Use HsYAML-0.2.0.0John MacFarlane1-1/+2
Most of this is due to @vijayphoenix (#5704), but it needed some revisions to integrate with current master, and to use the released HsYAML. Closes #5704.
2019-09-05Add partial styles.html in HTML5 template.John MacFarlane1-1/+3
Avoid duplication in HTML templates by using styles.html partial. Change indentation of styles in template.
2019-09-02Use latest pandoc-citeproc.John MacFarlane1-1/+1
2019-09-02Use doctemplates 0.6.John MacFarlane1-3/+1
2019-08-26Simplify stack.yaml after cabal file changes.John MacFarlane1-1/+1
We don't need so many local ghc options now that they're specified in pandoc.cabal. I've kept `-fhide-source-paths` (in case we move this out of pandoc.cabal) and `-Wno-missing-home-modules` (which seems to be needed for `stack ghci` to work).
2019-08-25Use dev version of doctemplates.John MacFarlane1-1/+3
2019-08-25Use new doctemplates, doclayout.John MacFarlane1-1/+2
+ Remove Text.Pandoc.Pretty; use doclayout instead. [API change] + Text.Pandoc.Writers.Shared: remove metaToJSON, metaToJSON' [API change]. + Text.Pandoc.Writers.Shared: modify `addVariablesToContext`, `defField`, `setField`, `getField`, `resetField` to work with Context rather than JSON values. [API change] + Text.Pandoc.Writers.Shared: export new function `endsWithPlain` [API change]. + Use new templates and doclayout in writers. + Use Doc-based templates in all writers. + Adjust three tests for minor template rendering differences. + Added indentation to body in docbook4, docbook5 templates. The main impact of this change is better reflowing of content interpolated into templates. Previously, interpolated variables were rendered independently and intepolated as strings, which could lead to overly long lines. Now the templates interpolated as Doc values which may include breaking spaces, and reflowing occurs after template interpolation rather than before.
2019-08-23Use released pandoc-types.John MacFarlane1-2/+1
2019-08-16Lua: add module for AST element sequence traversalAlbert Krewinkel1-0/+2
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-07Fix stack.yaml.John MacFarlane1-4/+2
2019-08-05Use dev version of pandoc-citeproc.John MacFarlane1-1/+5
2019-07-29Use latest doctemplates.John MacFarlane1-1/+1
2019-07-28Use doctemplates 0.3, change type of writerTemplate.John MacFarlane1-0/+1
* 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-14stack.yaml - use latest skylighting.John MacFarlane1-2/+2
2019-06-13Use latest skylighting.John MacFarlane1-2/+2
2019-06-04Update pandoc-citeproc and skylighting versions.John MacFarlane1-2/+2
2019-05-27Specify skylighting 0.8 as extra-deps.John MacFarlane1-0/+2
2019-05-23Disable missing-home-modules warning in stack.yaml.John MacFarlane1-1/+1
Otherwise 'stack ghci' fails.
2019-05-20Improve output of Lua tests (#5499)Albert Krewinkel1-0/+2
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-04Lua: add `pandoc.system` module (#5468)Albert Krewinkel1-0/+1
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-04-18Update stack.yaml, use latest pandoc-citeproc and lts-13.John MacFarlane1-5/+2
2019-04-09Use cmark-gfm 0.2.0.John MacFarlane1-1/+1
2019-03-28stack.yml - remove -Wmissing-home-modulesJohn MacFarlane1-1/+1
This seems to cause problems with stack ghci.
2019-03-28stack.yaml: remove RTS optionsJohn MacFarlane1-1/+1
2019-03-27Quote RTS options in stack.yaml.John MacFarlane1-1/+1
2019-03-27Add nice default ghc options to stack.yaml.John MacFarlane1-1/+1
2019-03-13Use cmark-gfm-0.1.8.John MacFarlane1-0/+1
2019-03-12Use latest pandoc-citeproc.John MacFarlane1-1/+1
2019-03-07Use latest pandoc-citeproc, texmath.John MacFarlane1-2/+2
2019-03-02Use latest pandoc-citeproc. Updated cahngelog.John MacFarlane1-1/+1
2019-03-02Require texmath 0.11.2.1John MacFarlane1-1/+1
2019-02-27Remove workaround for foundation, now that the bug is fixed.John MacFarlane1-9/+1
2019-02-27Use latest skylighting.John MacFarlane1-2/+2
This should fix #5328.
2019-02-15Use latest pandoc-citeproc (0.16.1).John MacFarlane1-1/+1
2019-02-10Use latest skylighting.John MacFarlane1-0/+2
2019-02-07Use pandoc-citeproc-0.16.0.2John MacFarlane1-1/+1
2019-02-06stack.yaml - use latest pandoc-citeproc.John MacFarlane1-1/+1
2019-01-30stack.yaml - use latest texmath.John MacFarlane1-0/+1
2019-01-30Update stack.yaml to use lts-13.John MacFarlane1-9/+2
2019-01-25Update pandoc-citeproc commit in stack.yaml.John MacFarlane1-1/+1
2019-01-22Support ipynb (Jupyter notebook) as input and output format.John MacFarlane1-0/+1
[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.
2018-12-16Update stack resolver.John MacFarlane1-3/+1
2018-12-02Use compatible version of pandoc-citeproc.John MacFarlane1-1/+1
2018-12-01stack.yaml - use skylighting 0.7.5.John MacFarlane1-2/+2
2018-11-23Use latest dev version of pandoc-citeproc.John MacFarlane1-1/+2
IT allows pandoc 2.5.
2018-11-13Clean up stack.yaml, allow latest pandoc-citeproc.John MacFarlane1-4/+3
2018-11-11stack.yaml - use latest versions of packages.John MacFarlane1-3/+3
pandoc-citeproc, HsYaml, yaml.
2018-10-24Use latest texmath.John MacFarlane1-1/+1
2018-10-19stack.yaml - use latest cmark-gfm, pandoc-citeproc.John MacFarlane1-2/+3
2018-10-17Updated version bounds for containers and haddock-library.John MacFarlane1-1/+1
Allow haddock-library 1.7 and containers 0.6.*. Closes #4974.