diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-08-31 12:01:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-08-31 12:01:55 -0700 |
commit | d1948ce0128cea9b4eb121e61de9566b9cab203b (patch) | |
tree | 76006617ce95869c8ddaa425e4e5de08525ff563 /data/templates | |
parent | b9d524c703cf9d55c2b0cad6bf73c38adb87f604 (diff) | |
download | pandoc-d1948ce0128cea9b4eb121e61de9566b9cab203b.tar.gz |
EPUB, EPUB3 templates: Handle structured metadata on titlepage.
Previously we just expected 'title', 'subtitle', 'author', 'date'.
Now we still support those, but also support the format recommended
for epub metadata in the pandoc README:
---
title:
- type: main
text: My Book
- type: subtitle
text: An investigation of metadata
creator:
- role: author
text: John Smith
- role: editor
text: Sarah Jones
identifier:
- scheme: DOI
text: doi:10.234234.234/33
publisher: My Press
rights: (c) 2007 John Smith, CC BY-NC
...
Diffstat (limited to 'data/templates')
m--------- | data/templates | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/data/templates b/data/templates -Subproject 7be841cee65db23378e659f3be443effa15168a +Subproject 2d5491bc0b167a5b20c03e4bc02ef8b5fc20379 |