summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/OutputSettings.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-12-04 09:56:54 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2022-12-04 09:59:05 -0800
commitaaa3beacc0c624fc3bd3ac154024a6be36af83af (patch)
tree667cae7ef80ee85af72611a9ec181a8c45464fe9 /src/Text/Pandoc/App/OutputSettings.hs
parentb34ec00607c0218b3f9e8718d0fc68b3cf228f6c (diff)
EPUB writer: make title page optional.
New command line option: `--epub-title-page=true|false`. New `writerEpubTitlePage` field on `WriterOptions` [API change]. New `optEpubTitlePage` field on `Opts` [API change]. Closes #6097.
Diffstat (limited to 'src/Text/Pandoc/App/OutputSettings.hs')
-rw-r--r--src/Text/Pandoc/App/OutputSettings.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/App/OutputSettings.hs b/src/Text/Pandoc/App/OutputSettings.hs
index 56020cd1f..8b5d450cf 100644
--- a/src/Text/Pandoc/App/OutputSettings.hs
+++ b/src/Text/Pandoc/App/OutputSettings.hs
@@ -239,6 +239,7 @@ optToOutputSettings scriptingEngine opts = do
, writerEpubMetadata = epubMetadata
, writerEpubFonts = optEpubFonts opts
, writerEpubChapterLevel = optEpubChapterLevel opts
+ , writerEpubTitlePage = optEpubTitlePage opts
, writerTOCDepth = optTOCDepth opts
, writerReferenceDoc = optReferenceDoc opts
, writerSyntaxMap = syntaxMap