From bed3f14dbc53f8dc69a542547d2858bb06c6fa94 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Apr 2015 21:09:18 -0700 Subject: [PATCH] epub, epub3: added header-includes, include-before, include-after. Closes jgm/pandoc#1987. --- default.epub | 9 +++++++++ default.epub3 | 9 +++++++++ 2 files changed, 18 insertions(+) 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)$ $endfor$ +$for(header-includes)$ + $header-includes$ +$endfor$ $if(titlepage)$ @@ -43,7 +46,13 @@ $if(rights)$
$rights$
$endif$ $else$ +$for(include-before)$ +$include-before$ +$endfor$ $body$ +$for(include-after)$ +$include-after$ +$endfor$ $endif$ 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)$ $endfor$ +$for(header-includes)$ + $header-includes$ +$endfor$ $if(titlepage)$ @@ -49,7 +52,13 @@ $if(rights)$ $endif$ $else$ +$for(include-before)$ +$include-before$ +$endfor$ $body$ +$for(include-after)$ +$include-after$ +$endfor$ $endif$