diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-11-30 17:07:59 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-30 17:07:59 +0100 |
commit | e8a9de3f689796590d46f3db7afcd16d401e41eb (patch) | |
tree | 3563ce05c93c37e4d8b4a41f0ae3ced9df7a90ab | |
parent | aedd604842f87c2f0d66737c09b1ac36daee1eb0 (diff) | |
download | pandoc-e8a9de3f689796590d46f3db7afcd16d401e41eb.tar.gz |
Updated changelog.
-rw-r--r-- | changelog | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -31,12 +31,20 @@ pandoc (1.19) It is now possible to overwrite this implicitly set top-level division via the `top-level-division` command line parameter. - * Text.Pandoc.Options [API change] (#3197): `Division` has been - renamed `TopLevelDivision`. The `Section`, `Chapter`, and `Part` - constructors were renamed to `TopLevelSection`, `TopLevelChapter`, and - `TopLevelPart`, respectively. An additional `TopLevelDefault` - constructor was added, which is now also the new default value of the - `writerTopLevelDivision` field in `WriterOptions`. + * Text.Pandoc.Options [API changes]: + + + Removed `writerStandalone` field in `WriterOptions`, + made `writerTemplate` a `Maybe` value. Previously setting + `writerStandalone = True` did nothing unless a template was + provided in writerTemplate. Now a fragment will be generated + if `writerTemplate` is `Nothing`; otherwise, the specified + template will be used and standalone output generated. + + `Division` has been renamed `TopLevelDivision` (#3197). + The `Section`, `Chapter`, and `Part` constructors were + renamed to `TopLevelSection`, `TopLevelChapter`, and + `TopLevelPart`, respectively. An additional `TopLevelDefault` + constructor was added, which is now also the new default value of the + `writerTopLevelDivision` field in `WriterOptions`. * Improved error if they give wrong arg to `--top-level-division`. |