diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-04-07 21:09:18 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-04-07 21:10:00 -0700 |
commit | bed3f14dbc53f8dc69a542547d2858bb06c6fa94 (patch) | |
tree | a9cff68600f90dd58fbda33eeee3ea90c319c35d | |
parent | c3aa395c715e7d7e2e79b3f37078ef84a2f69172 (diff) | |
download | pandoc-bed3f14dbc53f8dc69a542547d2858bb06c6fa94.tar.gz |
epub, epub3: added header-includes, include-before, include-after.
Closes jgm/pandoc#1987.
-rw-r--r-- | default.epub | 9 | ||||
-rw-r--r-- | default.epub3 | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/default.epub b/default.epub index a30de3a45..74c1dc6aa 100644 --- a/default.epub +++ b/default.epub @@ -14,6 +14,9 @@ $endif$ $for(css)$ <link rel="stylesheet" type="text/css" href="$css$" /> $endfor$ +$for(header-includes)$ + $header-includes$ +$endfor$ </head> <body$if(coverpage)$ id="cover"$endif$> $if(titlepage)$ @@ -43,7 +46,13 @@ $if(rights)$ <div class="rights">$rights$</div> $endif$ $else$ +$for(include-before)$ +$include-before$ +$endfor$ $body$ +$for(include-after)$ +$include-after$ +$endfor$ $endif$ </body> </html> diff --git a/default.epub3 b/default.epub3 index 421088ec2..a8d6c1716 100644 --- a/default.epub3 +++ b/default.epub3 @@ -18,6 +18,9 @@ $endif$ $for(css)$ <link rel="stylesheet" type="text/css" href="$css$" /> $endfor$ +$for(header-includes)$ + $header-includes$ +$endfor$ </head> <body$if(coverpage)$ id="cover"$endif$> $if(titlepage)$ @@ -49,7 +52,13 @@ $if(rights)$ $endif$ </section> $else$ +$for(include-before)$ +$include-before$ +$endfor$ $body$ +$for(include-after)$ +$include-after$ +$endfor$ $endif$ </body> </html> |