Commit graph

13 commits

Author SHA1 Message Date
John MacFarlane
8db1c36001 Use p tag for subtitle, author, date in epub, revealjs, slidy. 2016-09-25 21:43:19 +02:00
Jan Larres
afd95e8e11 Use creator.role instead of creator.type
The EPUB metadata description specifies "role" for creators, not "type":
http://pandoc.org/README.html#epub-metadata

This fixed the two epub templates to use the correct syntax.
2015-06-03 00:28:55 +12:00
John MacFarlane
bed3f14dbc epub, epub3: added header-includes, include-before, include-after.
Closes jgm/pandoc#1987.
2015-04-07 21:10:00 -07:00
Pablo Rodríguez
5d80361089 replace <p class="rights"> with <div class="rights"> (fixes #75) 2014-12-28 18:10:24 +01:00
John MacFarlane
c76c6c5224 epub templates: insert id="cover" in body of cover page.
We check for the coverpage variable.
2014-11-17 15:42:00 -08:00
John MacFarlane
eac006ec6d Revert "epub, epub3: Added id="cover" to body of titlepage."
This reverts commit 63443da450.
2014-11-17 15:35:09 -08:00
John MacFarlane
9655f58e36 Revert "Removed extra body tag from epub3 template."
This reverts commit 7ff2baf592.
2014-11-17 15:34:59 -08:00
John MacFarlane
7ff2baf592 Removed extra body tag from epub3 template. 2014-11-16 21:12:04 -08:00
John MacFarlane
63443da450 epub, epub3: Added id="cover" to body of titlepage.
Closes jgm/pandoc#1758.
2014-11-16 20:58:17 -08:00
John MacFarlane
2d5491bc0b 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
...
2014-08-31 12:00:37 -07:00
John MacFarlane
64544dea58 Added subtitle to html and latex formats. 2013-06-21 22:48:49 -07:00
John MacFarlane
4c1f840c39 EPUB templates: UTF-8, lang variable, meta tags. 2012-11-04 21:40:03 -08:00
John MacFarlane
ba97adf746 Split epub-page.html into default.epub and default.epub3. 2012-11-04 21:11:31 -08:00