aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Writers/EPUB.hs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Text/Pandoc/Writers/EPUB.hs b/src/Text/Pandoc/Writers/EPUB.hs
index 062ab19ed..82b6e8221 100644
--- a/src/Text/Pandoc/Writers/EPUB.hs
+++ b/src/Text/Pandoc/Writers/EPUB.hs
@@ -584,11 +584,14 @@ pandocToEPUB version opts doc = do
_ -> (Pandoc nullMeta bs, "bodymatter")
frontMatterTypes = ["prologue", "abstract", "acknowledgments",
"copyright-page", "dedication",
- "foreword", "halftitle",
- "introduction", "preface",
+ "credits", "keywords", "imprint",
+ "contributors", "other-credits",
+ "errata", "revision-history",
+ "titlepage", "halftitlepage", "seriespage",
+ "foreword", "preface",
"seriespage", "titlepage"]
- backMatterTypes = ["afterword", "appendix", "colophon",
- "conclusion", "epigraph"]
+ backMatterTypes = ["appendix", "colophon", "bibliography",
+ "index"]
chapterEntries <- zipWithM chapToEntry [1..] chapters