changeset 278:8297701f2492

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.
author Jan Larres <jan@majutsushi.net>
date Wed, 03 Jun 2015 00:28:55 +1200
parents 884c7ac424e0
children af1b5b521f3b
files default.epub default.epub3
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/default.epub	Tue Jun 02 13:22:05 2015 +0200
+++ b/default.epub	Wed Jun 03 00:28:55 2015 +1200
@@ -34,7 +34,7 @@
   <h2 class="author">$author$</h2>
 $endfor$
 $for(creator)$
-  <h2 class="$creator.type$">$creator.text$</h2>
+  <h2 class="$creator.role$">$creator.text$</h2>
 $endfor$
 $if(publisher)$
   <p class="publisher">$publisher$</p>
--- a/default.epub3	Tue Jun 02 13:22:05 2015 +0200
+++ b/default.epub3	Wed Jun 03 00:28:55 2015 +1200
@@ -39,7 +39,7 @@
   <h2 class="author">$author$</h2>
 $endfor$
 $for(creator)$
-  <h2 class="$creator.type$">$creator.text$</h2>
+  <h2 class="$creator.role$">$creator.text$</h2>
 $endfor$
 $if(publisher)$
   <p class="publisher">$publisher$</p>