git.iko.soy/typeable/pandoc
on master help sign in
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.

commitafd95e8e11f46ebfb5b7ff973412b7a5fc857f74 authorJan Larres <jan@majutsushi.net> dateWed 3 Jun 2015, 00:28 (11 years ago) parent7db51bc
2 files changed+2−2
default.epub+1−1 default.epub3+1−1
default.epub+1−1
@@ -34,7 +34,7 @@ $for(author)$
3434 <h2 class="author">$author$</h2>
3535$endfor$
3636$for(creator)$
37− <h2 class="$creator.type$">$creator.text$</h2>
37+ <h2 class="$creator.role$">$creator.text$</h2>
3838$endfor$
3939$if(publisher)$
4040 <p class="publisher">$publisher$</p>
default.epub3+1−1
@@ -39,7 +39,7 @@ $for(author)$
3939 <h2 class="author">$author$</h2>
4040$endfor$
4141$for(creator)$
42− <h2 class="$creator.type$">$creator.text$</h2>
42+ <h2 class="$creator.role$">$creator.text$</h2>
4343$endfor$
4444$if(publisher)$
4545 <p class="publisher">$publisher$</p>