Added templates for epub coverimage, titlepage, regular page.
This allows even more user customization.
commit15fb6a91bb91b10f4e50e50bb2e76b0adac554bb
authorJohn MacFarlane <fiddlosopher@gmail.com>
dateSun 18 Dec 2011, 12:26 (15 years ago)
parente2e8191
epub-coverimage.htmlnew file+14
@@ -0,0 +1,14 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3+<html xmlns="http://www.w3.org/1999/xhtml">
4+<head>
5+<title>$title$</title>
6+<style type="text/css">img{ max-width: 100%; }</style>
7+<link href="stylesheet.css" type="text/css" rel="stylesheet" />
8+</head>
9+<body>
10+<div id="cover-image">
11+<img src="$coverimage$" alt="$title$" />
12+</div>
13+</body>
14+</html>
epub-page.htmlnew file+18
@@ -0,0 +1,18 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3+<html xmlns="http://www.w3.org/1999/xhtml">
4+<head>
5+<title>$title$</title>
6+<link href="stylesheet.css" type="text/css" rel="stylesheet" />
7+</head>
8+<body>
9+<h1>$title$</h1>
10+$if(toc)$
11+<div id="$idprefix$TOC">
12+$toc$
13+</div>
14+$endif$
15+$body$
16+</body>
17+</html>
18+
epub-titlepage.htmlnew file+22
@@ -0,0 +1,22 @@
1+<?xml version="1.0" encoding="UTF-8"?>
2+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3+<html xmlns="http://www.w3.org/1999/xhtml">
4+<head>
5+<title>$title$</title>
6+<link href="stylesheet.css" type="text/css" rel="stylesheet" />
7+</head>
8+<body>
9+<h1 class="title">$title$</h1>
10+$for(author)$
11+<h2 class="author">$author$</h2>
12+$endfor$
13+$if(date)$
14+<h3 class="date">$date$</h3>
15+$endif$
16+$if(toc)$
17+<div id="$idprefix$TOC">
18+$toc$
19+</div>
20+$endif$
21+</body>
22+</html>