git.iko.soy/typeable/pandoc
on master help sign in
Split epub-page.html into default.epub and default.epub3.
ba97adfJohn MacFarlane
default.epubnew file+29
@@ -0,0 +1,29 @@
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" xmlns:epub="http://www.idpf.org/2007/ops">
4+<head>
5+<title>$pagetitle$</title>
6+$if(highlighting-css)$
7+ <style type="text/css">
8+$highlighting-css$
9+ </style>
10+$endif$
11+$for(css)$
12+ <link rel="stylesheet" type="text/css" href="$css$" />
13+$endfor$
14+</head>
15+<body>
16+$if(titlepage)$
17+ <h1 class="title">$title$</h1>
18+$for(author)$
19+ <h2 class="author">$author$</h2>
20+$endfor$
21+$if(date)$
22+ <h3 class="date">$date$</h3>
23+$endif$
24+$else$
25+$body$
26+$endif$
27+</body>
28+</html>
29+
epub-page.html → default.epub3renamed+5−5
@@ -1,5 +1,5 @@
1<?xml version="1.0" encoding="UTF-8"?>
1<?xml version="1.0" encoding="UTF-8"?>
2−<!DOCTYPE html$if(epub3)$$else$ PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"$endif$>
2+<!DOCTYPE html>
3<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
3<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
4<head>
4<head>
5<title>$pagetitle$</title>
5<title>$pagetitle$</title>
@@ -14,17 +14,17 @@ $highlighting-css$
14 </style>
14 </style>
15$endif$
15$endif$
16$for(css)$
16$for(css)$
17− <link rel="stylesheet" $if(epub3)$$else$type="text/css"$endif$ href="$css$" />
17+ <link rel="stylesheet" href="$css$" />
18$endfor$
18$endfor$
19</head>
19</head>
20<body>
20<body>
21$if(titlepage)$
21$if(titlepage)$
22−<h1 class="title">$title$</h1>
22+ <h1 class="title">$title$</h1>
23$for(author)$
23$for(author)$
24−<h2 class="author">$author$</h2>
24+ <h2 class="author">$author$</h2>
25$endfor$
25$endfor$
26$if(date)$
26$if(date)$
27−<h3 class="date">$date$</h3>
27+ <h3 class="date">$date$</h3>
28$endif$
28$endif$
29$else$
29$else$
30$body$
30$body$