aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-10 13:54:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-10 23:21:18 -0700
commit7388cd3e7a49297a7368a7e77d8f2d86d6965006 (patch)
tree30d482dbad6494a4e6239f37afb1bac496c93b6e /pandoc.cabal
parent25239414537949486b7feaf7e05336aff0535cf8 (diff)
downloadpandoc-7388cd3e7a49297a7368a7e77d8f2d86d6965006.tar.gz
Improve parsing of --defaults.
- Add FromYAML instances to Opt and to all subsidiary types. - Remove the use of HsYAML-aeson, which doesn't give good position information on errors. - Rename some fields in Opt to better match cli options or reflect what the ycontain [API change]: + optMetadataFile -> optMetadataFiles + optPDFEngineArgs -> optPDFEngineOpts + optWrapText -> optWrap - Add IpynbOutput enumerated type to Text.Pandoc.App.Opts. Use this instead fo a string for optIpynbOutput. - Add FromYAML instance for Filter in Text.Pandoc.Filters. With these changes parsing of defaults files should be complete and should give decent error messages. Now (unlike before) we get an error if an unknown field is used.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal1
1 files changed, 0 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 049a7dec6..14756844b 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -417,7 +417,6 @@ library
case-insensitive >= 1.2 && < 1.3,
unicode-transforms >= 0.3 && < 0.4,
HsYAML >= 0.2 && < 0.3,
- HsYAML-aeson >= 0.2 && < 0.3,
doclayout >= 0.1 && < 0.2,
ipynb >= 0.1 && < 0.2,
attoparsec >= 0.12 && < 0.14