diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-04-12 22:25:31 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-04-12 22:25:31 -0700 |
commit | 58cd731e51f0dfd46895d4278c28402a65c93805 (patch) | |
tree | 127331b4b6d5732622c6b7f9326e30e9ae6352a1 | |
parent | c1f5f3fa67fe2bf62a0810cf9f338ac7b0999084 (diff) | |
download | pandoc-58cd731e51f0dfd46895d4278c28402a65c93805.tar.gz |
Require doctemplates 0.8.2.
-rw-r--r-- | MANUAL.txt | 16 | ||||
-rw-r--r-- | pandoc.cabal | 4 | ||||
-rw-r--r-- | stack.yaml | 2 |
3 files changed, 19 insertions, 3 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index 14f2bef2f..0568bbeb8 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1969,6 +1969,22 @@ Currently the following pipes are predefined: - `reverse`: Reverses a textual value or array, and has no effect on other values. +- `first`: Returns the first value of an array, if + applied to a non-empty array; otherwise returns + the original value. + +- `last`: Returns the last value of an array, if + applied to a non-empty array; otherwise returns + the original value. + +- `rest`: Returns all but the first value of an array, if + applied to a non-empty array; otherwise returns + the original value. + +- `allbutlast`: Returns all but the last value of an array, if + applied to a non-empty array; otherwise returns + the original value. + - `chomp`: Removes trailing newlines (and breakable space). - `nowrap`: Disables line wrapping on breakable spaces. diff --git a/pandoc.cabal b/pandoc.cabal index c834b62f5..be552eb87 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -423,7 +423,7 @@ library JuicyPixels >= 3.1.6.1 && < 3.4, Glob >= 0.7 && < 0.11, cmark-gfm >= 0.2 && < 0.3, - doctemplates >= 0.8 && < 0.9, + doctemplates >= 0.8.2 && < 0.9, network-uri >= 2.6 && < 2.7, network >= 2.6, http-client >= 0.4.30 && < 0.7, @@ -746,7 +746,7 @@ test-suite test-pandoc executable-path >= 0.0 && < 0.1, zip-archive >= 0.2.3.4 && < 0.5, xml >= 1.3.12 && < 1.4, - doctemplates >= 0.8 && < 0.9, + doctemplates >= 0.8.2 && < 0.9, Glob >= 0.7 && < 0.11 other-modules: Prelude Tests.Old diff --git a/stack.yaml b/stack.yaml index 524bc945a..e3c4a0850 100644 --- a/stack.yaml +++ b/stack.yaml @@ -23,7 +23,7 @@ extra-deps: - jira-wiki-markup-1.3.0 - HsYAML-0.2.0.0 - HsYAML-aeson-0.2.0.0 -- doctemplates-0.8.1 +- doctemplates-0.8.2 - pandoc-citeproc-0.17 ghc-options: "$locals": -fhide-source-paths -Wno-missing-home-modules |