From 6f13402c0794a520b557c471055118026bf419fa Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 29 May 2020 16:11:39 +0200 Subject: add Ebook --- templates/book.epub | 71 +++++++++++++++++++++++++++++++++++++++++++++++ templates/ebook/book.epub | 66 ------------------------------------------- 2 files changed, 71 insertions(+), 66 deletions(-) create mode 100644 templates/book.epub delete mode 100644 templates/ebook/book.epub (limited to 'templates') diff --git a/templates/book.epub b/templates/book.epub new file mode 100644 index 0000000..ae658fa --- /dev/null +++ b/templates/book.epub @@ -0,0 +1,71 @@ + + + + + + + $pagetitle$ +$if(highlighting-css)$ + +$endif$ +$for(css)$ + +$endfor$ +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$if(titlepage)$ +
+$for(title)$ +$if(title.type)$ +

$title.text$

+$else$ +

$title$

+$endif$ +$endfor$ +$if(subtitle)$ +

$subtitle$

+$endif$ +$for(author)$ +

$author$

+$endfor$ +$for(creator)$ +

$creator.text$

+$endfor$ +$if(publisher)$ +

$publisher$

+$endif$ +$if(date)$ +

$date$

+$endif$ +$if(rights)$ +
$rights$
+$endif$ + +
+$if(acknowledgement)$ +
+$acknowledgement$ +
+$endif$ +$else$ +$for(include-before)$ +$include-before$ +$endfor$ +$if(toc)$ +
+$table-of-contents$ +
+$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ +$endif$ + + + diff --git a/templates/ebook/book.epub b/templates/ebook/book.epub deleted file mode 100644 index 336b608..0000000 --- a/templates/ebook/book.epub +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - $pagetitle$ -$if(highlighting-css)$ - -$endif$ -$for(css)$ - -$endfor$ -$for(header-includes)$ - $header-includes$ -$endfor$ - - -$if(titlepage)$ -
-$for(title)$ -$if(title.type)$ -

$title.text$

-$else$ -

$title$

-$endif$ -$endfor$ -$if(subtitle)$ -

$subtitle$

-$endif$ -$for(author)$ -

$author$

-$endfor$ -$for(creator)$ -

$creator.text$

-$endfor$ -$if(publisher)$ -

$publisher$

-$endif$ -$if(date)$ -

$date$

-$endif$ -$if(rights)$ -
$rights$
-$endif$ - -
-$if(acknowledgement)$ -
-$acknowledgement$ -
-$endif$ -$else$ -$for(include-before)$ -$include-before$ -$endfor$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ -$endif$ - - - -- cgit v1.2.3