mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
EPUB writer: treat epub:type "frontispiece" as front matter.
This allows you to include a frontispiece using ```  etc. ``` Closes #7600.
This commit is contained in:
@@ -6278,6 +6278,7 @@ halftitlepage frontmatter
|
||||
seriespage frontmatter
|
||||
foreword frontmatter
|
||||
preface frontmatter
|
||||
frontispiece frontmatter
|
||||
appendix backmatter
|
||||
colophon backmatter
|
||||
bibliography backmatter
|
||||
|
||||
@@ -659,7 +659,7 @@ pandocToEPUB version opts doc = do
|
||||
"contributors", "other-credits",
|
||||
"errata", "revision-history",
|
||||
"titlepage", "halftitlepage", "seriespage",
|
||||
"foreword", "preface",
|
||||
"foreword", "preface", "frontispiece",
|
||||
"seriespage", "titlepage"]
|
||||
backMatterTypes = ["appendix", "colophon", "bibliography",
|
||||
"index"]
|
||||
|
||||
Reference in New Issue
Block a user