bookshop 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +24 -2
- data/lib/bookshop/commands/build.rb +53 -1
- data/lib/bookshop/generators/bookshop/app/templates/README.rdoc +24 -2
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.epub.css +17 -9
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.html.css +16 -8
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.mobi.css +17 -9
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.pdf.css +16 -8
- data/lib/bookshop/generators/bookshop/app/templates/book/assets/images/cover.png +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/backmatter/index.html.erb +2 -2
- data/lib/bookshop/generators/bookshop/app/templates/book/bodymatter/ch02/ch02.html.erb +1 -1
- data/lib/bookshop/generators/bookshop/app/templates/book/book.html.erb +11 -4
- data/lib/bookshop/{commands/epub/templates → generators/bookshop/app/templates/book/epub}/META-INF/container.xml +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/epub/OEBPS/content.opf.erb +41 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/epub/OEBPS/toc.ncx.erb +57 -0
- data/lib/bookshop/{commands/epub/templates → generators/bookshop/app/templates/book/epub}/mimetype +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/book/frontmatter/cover.html.erb +26 -7
- data/lib/bookshop/generators/bookshop/app/templates/book/frontmatter/preface.html.erb +2 -2
- data/lib/bookshop/generators/bookshop/app/templates/book/frontmatter/title.html.erb +8 -6
- data/lib/bookshop/generators/bookshop/app/templates/book/frontmatter/toc.html.erb +58 -21
- data/lib/bookshop/generators/bookshop/app/templates/config/book.yml +18 -7
- data/lib/bookshop/version.rb +1 -1
- metadata +21 -27
- data/lib/bookshop/commands/epub/epub_build.rb +0 -91
- data/lib/bookshop/commands/epub/templates/OEBPS/.empty_directory +0 -0
- data/lib/bookshop/commands/epub/templates/OEBPS/content.opf.tt +0 -106
- data/lib/bookshop/commands/epub/templates/OEBPS/toc.opf.tt +0 -107
- data/lib/bookshop/commands/yaml/toc.rb +0 -46
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/.empty_directory +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/container.xml +0 -6
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/OEBPS/.empty_directory +0 -0
- data/lib/bookshop/generators/bookshop/app/templates/builds/epub/mimetype +0 -1
File without changes
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="BlueHeadPublishing">
|
3
|
+
<metadata xmlns:opf="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
4
|
+
<dc:language>en</dc:language>
|
5
|
+
<dc:title><%= @book.title %></dc:title>
|
6
|
+
<dc:creator opf:role="aut" opf:file-as="<%= @book.creator %>"><%= @book.creator %></dc:creator>
|
7
|
+
<dc:date><%= @book.date %></dc:date>
|
8
|
+
<dc:publisher><%= @book.publisher %></dc:publisher>
|
9
|
+
<dc:rights><%= @book.rights %></dc:rights>
|
10
|
+
<dc:identifier id="BlueHeadPublishing" opf:scheme="ISBN"><%= @book.identifier %></dc:identifier>
|
11
|
+
<dc:subject><%= @book.subject %></dc:subject>
|
12
|
+
<meta name="cover" content="cover-image"/>
|
13
|
+
</metadata>
|
14
|
+
<manifest>
|
15
|
+
<item id="css" href="assets/css/stylesheet.<%= @output %>.css" media-type="text/css"/>
|
16
|
+
<item id="pt" href="assets/css/page-template.xpgt" media-type="application/vnd.adobe-page-template+xml"/>
|
17
|
+
<item id="cover" href="cover.html" media-type="application/xhtml+xml"/>
|
18
|
+
<item id="cover-image" href="assets/images/cover.png" media-type="image/png"/>
|
19
|
+
<item id="toc" href="toc.html" media-type="application/xhtml+xml"/>
|
20
|
+
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml"/>
|
21
|
+
|
22
|
+
<!-- Book Contents -->
|
23
|
+
<item id="book"
|
24
|
+
href="book.html"
|
25
|
+
media-type="application/xhtml+xml" />
|
26
|
+
|
27
|
+
<!-- Assets -->
|
28
|
+
<item id="canvas0image" href="assets/images/canvas.jpg" media-type="image/jpeg"/>
|
29
|
+
<item id="draft-image" href="assets/images/draft.png" media-type="image/png"/>
|
30
|
+
<item id="html-image" href="assets/images/html-18.png" media-type="image/png"/>
|
31
|
+
|
32
|
+
</manifest>
|
33
|
+
<spine toc="ncx">
|
34
|
+
<itemref idref="cover" linear="no"/>
|
35
|
+
<itemref idref="toc" />
|
36
|
+
<itemref idref="book" />
|
37
|
+
</spine>
|
38
|
+
<guide>
|
39
|
+
<reference type="cover" title="Cover" href="cover.html"/>
|
40
|
+
</guide>
|
41
|
+
</package>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<ncx xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en">
|
3
|
+
<head>
|
4
|
+
<meta name="dtb:uid" content="<%= @book.isbn %>"/>
|
5
|
+
<meta name="dtb:depth" content="1"/>
|
6
|
+
<meta name="dtb:totalPageCount" content="0"/>
|
7
|
+
<meta name="dtb:maxPageNumber" content="0"/>
|
8
|
+
</head>
|
9
|
+
<docTitle>
|
10
|
+
<text><%= @book.epub.title %></text>
|
11
|
+
</docTitle>
|
12
|
+
|
13
|
+
<navMap>
|
14
|
+
<navPoint id="navPoint-0" playOrder="1">
|
15
|
+
<navLabel>
|
16
|
+
<text>Preface</text>
|
17
|
+
</navLabel>
|
18
|
+
<content src="book.html#preface-h-1"/>
|
19
|
+
</navPoint>
|
20
|
+
|
21
|
+
<navPoint id="navPoint-0" playOrder="2">
|
22
|
+
<navLabel>
|
23
|
+
<text>The Web and HTML</text>
|
24
|
+
</navLabel>
|
25
|
+
<content src="book.html#the-web"/>
|
26
|
+
|
27
|
+
<navPoint id="navPoint-0" playOrder="3">
|
28
|
+
<navLabel>
|
29
|
+
<text>Development of the Web</text>
|
30
|
+
</navLabel>
|
31
|
+
<content src="book.html#development"/>
|
32
|
+
</navPoint>
|
33
|
+
|
34
|
+
<navPoint id="navPoint-0" playOrder="4">
|
35
|
+
<navLabel>
|
36
|
+
<text>Adding Images</text>
|
37
|
+
</navLabel>
|
38
|
+
<content src="book.html#images"/>
|
39
|
+
</navPoint>
|
40
|
+
|
41
|
+
</navPoint>
|
42
|
+
<navPoint id="navPoint-0" playOrder="5">
|
43
|
+
<navLabel>
|
44
|
+
<text>CSS</text>
|
45
|
+
</navLabel>
|
46
|
+
<content src="book.html#css-h-1"/>
|
47
|
+
|
48
|
+
<navPoint id="navPoint-0" playOrder="6">
|
49
|
+
<navLabel>
|
50
|
+
<text>Rules and Style Sheets</text>
|
51
|
+
</navLabel>
|
52
|
+
<content src="book.html#rules"/>
|
53
|
+
</navPoint>
|
54
|
+
|
55
|
+
</navPoint>
|
56
|
+
</navMap>
|
57
|
+
</ncx>
|
data/lib/bookshop/{commands/epub/templates → generators/bookshop/app/templates/book/epub}/mimetype
RENAMED
File without changes
|
@@ -1,7 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<
|
4
|
-
<
|
5
|
-
<
|
6
|
-
<
|
7
|
-
</
|
1
|
+
<% if @output == (:pdf or :html) %>
|
2
|
+
|
3
|
+
<div class="frontcover">
|
4
|
+
<img src="assets/images/canvas.jpg" />
|
5
|
+
<h1>Cascading Style Sheets</h1>
|
6
|
+
<h2>Designing for the Web</h2>
|
7
|
+
<h3>Third Edition</h3>
|
8
|
+
<p>Sample document</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<% else %>
|
12
|
+
|
13
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
14
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
15
|
+
<head>
|
16
|
+
<title>Cover</title>
|
17
|
+
<style type="text/css"> img { max-width: 600px; } </style>
|
18
|
+
</head>
|
19
|
+
<body>
|
20
|
+
<div id="cover-image">
|
21
|
+
<img src="assets/images/cover.png" alt="Cascade Styling Sheets"/>
|
22
|
+
</div>
|
23
|
+
</body>
|
24
|
+
</html>
|
25
|
+
|
26
|
+
<% end %>
|
@@ -14,6 +14,6 @@ and CSS sources by the Prince formatter.</p>
|
|
14
14
|
<p>We encourage you to reuse the structure, markup and style sheet of
|
15
15
|
this sample document. In your own book, however, you need to provide
|
16
16
|
the content yourself.</p>
|
17
|
-
<p class="author">Håkon Wium Lie & Bert Bos
|
18
|
-
Oslo/Antibes
|
17
|
+
<p class="author">Håkon Wium Lie & Bert Bos
|
18
|
+
Oslo/Antibes November 2005</p>
|
19
19
|
</div>
|
@@ -1,18 +1,20 @@
|
|
1
|
+
<% if @output == :pdf %>
|
1
2
|
<div class="halftitlepage">
|
2
|
-
<h1 class="no-toc"
|
3
|
-
<h2 class="no-toc"
|
3
|
+
<h1 class="no-toc"><%= @book.title %></h1>
|
4
|
+
<h2 class="no-toc"><%= @book.subtitle %></h2>
|
4
5
|
<h3 class="no-toc">Third Edition</h3>
|
5
6
|
</div>
|
7
|
+
<% end %>
|
6
8
|
|
7
9
|
<div class="titlepage">
|
8
|
-
<h1 class="no-toc"
|
9
|
-
<h2 class="no-toc"
|
10
|
+
<h1 class="no-toc"><%= @book.title %></h1>
|
11
|
+
<h2 class="no-toc"><%= @book.subtitle %></h2>
|
10
12
|
<h3 class="no-toc">Third Edition</h3>
|
11
13
|
|
12
|
-
<p class="no-toc">Håkon Wium Lie
|
14
|
+
<p class="no-toc">Håkon Wium Lie & Bert Bos</p>
|
13
15
|
<!-- also, the publisher's name would typically be printed here -->
|
14
16
|
</div>
|
15
17
|
|
16
18
|
<div class="imprint">
|
17
|
-
<p>Copyright © 2005 Håkon Wium Lie
|
19
|
+
<p>Copyright © 2005 Håkon Wium Lie & Bert Bos</p>
|
18
20
|
</div>
|
@@ -1,25 +1,62 @@
|
|
1
|
+
<% if @output == (:pdf or :html) %>
|
1
2
|
<div class="toc" id="toc-h-1">
|
2
|
-
<h1>Table of Contents</h1>
|
3
|
+
<h1>Table of Contents</h1>
|
3
4
|
|
4
|
-
<
|
5
|
-
<li class="frontmatter"><a href="#toc-h-1">Table of Contents</a></li>
|
6
|
-
<li class="frontmatter"><a href="#preface-h-1">Preface</a></li>
|
7
|
-
<li class="chapter"><a href="#html-h-1">The Web and HTML</a>
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
<ol class="toc">
|
6
|
+
<li class="frontmatter"><a href="#toc-h-1">Table of Contents</a></li>
|
7
|
+
<li class="frontmatter"><a href="#preface-h-1">Preface</a></li>
|
8
|
+
<li class="chapter"><a href="#html-h-1">The Web and HTML</a>
|
9
|
+
<ol>
|
10
|
+
<li class="section"><a href="#the-web">The Web</a>
|
11
|
+
<ol>
|
12
|
+
<li class="section"><a href="#development">Development of the Web</a></li>
|
13
|
+
<li class="section"><a href="#images">Adding images</a></li>
|
14
|
+
</ol>
|
15
|
+
</li>
|
16
|
+
</ol>
|
14
17
|
</li>
|
15
|
-
</
|
16
|
-
|
17
|
-
<li class="
|
18
|
-
|
19
|
-
|
20
|
-
</
|
21
|
-
</
|
22
|
-
|
23
|
-
|
18
|
+
<li class="chapter"><a href="#css-h-1">CSS</a>
|
19
|
+
<ol>
|
20
|
+
<li class="section"><a href="#roles">Rules and Style Sheets</a></li>
|
21
|
+
</ol>
|
22
|
+
</li>
|
23
|
+
<li class="backmatter"><a href="#index-h-1">Index</a></li>
|
24
|
+
</ol>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<% else %>
|
28
|
+
|
29
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
30
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
31
|
+
<head>
|
32
|
+
<title>Table of Contents</title>
|
33
|
+
</head>
|
34
|
+
<body>
|
35
|
+
<div class="toc" id="toc-h-1">
|
36
|
+
<h1>Table of Contents</h1>
|
37
|
+
|
38
|
+
<ol class="toc">
|
39
|
+
<li class="frontmatter"><a href="#toc-h-1">Table of Contents</a></li>
|
40
|
+
<li class="frontmatter"><a href="book.html#preface-h-1">Preface</a></li>
|
41
|
+
<li class="chapter"><a href="book.html#html-h-1">The Web and HTML</a>
|
42
|
+
<ol>
|
43
|
+
<li class="section"><a href="book.html#the-web">The Web</a>
|
44
|
+
<ol>
|
45
|
+
<li class="section"><a href="book.html#development">Development of the Web</a></li>
|
46
|
+
<li class="section"><a href="book.html#images">Adding images</a></li>
|
47
|
+
</ol>
|
48
|
+
</li>
|
49
|
+
</ol>
|
50
|
+
</li>
|
51
|
+
<li class="chapter"><a href="book.html#css-h-1">CSS</a>
|
52
|
+
<ol>
|
53
|
+
<li class="section"><a href="book.html#rules">Rules and Style Sheets</a></li>
|
54
|
+
</ol>
|
55
|
+
</li>
|
56
|
+
<li class="backmatter"><a href="book.html#index-h-1">Index</a></li>
|
57
|
+
</ol>
|
58
|
+
</div>
|
59
|
+
</body>
|
60
|
+
</html>
|
24
61
|
|
25
|
-
|
62
|
+
<% end %>
|
@@ -10,28 +10,39 @@
|
|
10
10
|
# <p>Whew! We made it!</p>
|
11
11
|
# <% end %>
|
12
12
|
|
13
|
-
title:
|
14
|
-
subtitle:
|
13
|
+
title: Cascading Style Sheets
|
14
|
+
subtitle: Designing for the Web
|
15
15
|
isbn: 1234567891011 # ISBN-13
|
16
|
+
creator:
|
17
|
+
publisher: BlueHead Publishing
|
18
|
+
contributor: 'Håkon Wium Lie and Bert Bos'
|
19
|
+
date: 2012-03-31
|
20
|
+
type:
|
21
|
+
format:
|
22
|
+
identifier: 1234567891011
|
23
|
+
source:
|
24
|
+
language: en
|
25
|
+
relation:
|
26
|
+
coverage:
|
27
|
+
rights:
|
28
|
+
|
16
29
|
|
17
30
|
|
18
31
|
# Place the pdf specific settings here. Use whatever you want.
|
19
32
|
# You can use these settings in your source layouts by using a tag
|
20
33
|
# in book.html.erb you could use <%= book.pdf.title %>
|
21
34
|
pdf:
|
22
|
-
|
23
|
-
title: Bookshop (PDF Version)
|
35
|
+
title: Cascading Style Sheets
|
24
36
|
|
25
37
|
|
26
38
|
# Place the epub specific settings here.
|
27
39
|
epub:
|
28
|
-
|
29
|
-
title: Bookshop ePub Version
|
40
|
+
title: Cascading Style Sheets
|
30
41
|
|
31
42
|
|
32
43
|
# Place the html specific settings here
|
33
44
|
html:
|
34
|
-
title:
|
45
|
+
title: Cascading Style Sheets
|
35
46
|
|
36
47
|
|
37
48
|
# You can add any additional variables you want
|
data/lib/bookshop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70094906635460 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.14.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70094906635460
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70094906634800 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.0.0
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70094906634800
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70094906634240 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70094906634240
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: minitest
|
49
|
-
requirement: &
|
49
|
+
requirement: &70094906633220 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70094906633220
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: aruba
|
60
|
-
requirement: &
|
60
|
+
requirement: &70094906632520 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70094906632520
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rdoc
|
71
|
-
requirement: &
|
71
|
+
requirement: &70094906631880 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70094906631880
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: mocha
|
82
|
-
requirement: &
|
82
|
+
requirement: &70094906631220 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70094906631220
|
91
91
|
description: ! "bookshop is a book publishing framework for building pdf/(e)books
|
92
92
|
based on HTML,\n CSS, and JavaScript. The framework is optimized
|
93
93
|
to help publishers, editors, and authors\n quickly ramp-up, allowing
|
@@ -104,13 +104,7 @@ files:
|
|
104
104
|
- bin/bookshop
|
105
105
|
- lib/bookshop/commands/application.rb
|
106
106
|
- lib/bookshop/commands/build.rb
|
107
|
-
- lib/bookshop/commands/epub/epub_build.rb
|
108
|
-
- lib/bookshop/commands/epub/templates/META-INF/container.xml
|
109
|
-
- lib/bookshop/commands/epub/templates/mimetype
|
110
|
-
- lib/bookshop/commands/epub/templates/OEBPS/content.opf.tt
|
111
|
-
- lib/bookshop/commands/epub/templates/OEBPS/toc.opf.tt
|
112
107
|
- lib/bookshop/commands/yaml/book.rb
|
113
|
-
- lib/bookshop/commands/yaml/toc.rb
|
114
108
|
- lib/bookshop/commands.rb
|
115
109
|
- lib/bookshop/generators/bookshop/app/app_generator.rb
|
116
110
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/page-template.xpgt
|
@@ -119,6 +113,7 @@ files:
|
|
119
113
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.mobi.css
|
120
114
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/css/stylesheet.pdf.css
|
121
115
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/canvas.jpg
|
116
|
+
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/cover.png
|
122
117
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/draft.png
|
123
118
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/images/html-18.png
|
124
119
|
- lib/bookshop/generators/bookshop/app/templates/book/backmatter/index.html.erb
|
@@ -129,12 +124,14 @@ files:
|
|
129
124
|
- lib/bookshop/generators/bookshop/app/templates/book/bodymatter/ch02/ch02.html.erb
|
130
125
|
- lib/bookshop/generators/bookshop/app/templates/book/bodymatter/ch02/rules_and_css.html.erb
|
131
126
|
- lib/bookshop/generators/bookshop/app/templates/book/book.html.erb
|
127
|
+
- lib/bookshop/generators/bookshop/app/templates/book/epub/META-INF/container.xml
|
128
|
+
- lib/bookshop/generators/bookshop/app/templates/book/epub/mimetype
|
129
|
+
- lib/bookshop/generators/bookshop/app/templates/book/epub/OEBPS/content.opf.erb
|
130
|
+
- lib/bookshop/generators/bookshop/app/templates/book/epub/OEBPS/toc.ncx.erb
|
132
131
|
- lib/bookshop/generators/bookshop/app/templates/book/frontmatter/cover.html.erb
|
133
132
|
- lib/bookshop/generators/bookshop/app/templates/book/frontmatter/preface.html.erb
|
134
133
|
- lib/bookshop/generators/bookshop/app/templates/book/frontmatter/title.html.erb
|
135
134
|
- lib/bookshop/generators/bookshop/app/templates/book/frontmatter/toc.html.erb
|
136
|
-
- lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/container.xml
|
137
|
-
- lib/bookshop/generators/bookshop/app/templates/builds/epub/mimetype
|
138
135
|
- lib/bookshop/generators/bookshop/app/templates/CHANGELOG
|
139
136
|
- lib/bookshop/generators/bookshop/app/templates/config/book.yml
|
140
137
|
- lib/bookshop/generators/bookshop/app/templates/README.rdoc
|
@@ -145,11 +142,8 @@ files:
|
|
145
142
|
- lib/bookshop/script_bookshop_loader.rb
|
146
143
|
- lib/bookshop/version.rb
|
147
144
|
- lib/bookshop.rb
|
148
|
-
- lib/bookshop/commands/epub/templates/OEBPS/.empty_directory
|
149
145
|
- lib/bookshop/generators/bookshop/app/templates/book/assets/js/.empty_directory
|
150
146
|
- lib/bookshop/generators/bookshop/app/templates/builds/epub/.empty_directory
|
151
|
-
- lib/bookshop/generators/bookshop/app/templates/builds/epub/META-INF/.empty_directory
|
152
|
-
- lib/bookshop/generators/bookshop/app/templates/builds/epub/OEBPS/.empty_directory
|
153
147
|
- lib/bookshop/generators/bookshop/app/templates/builds/html/.empty_directory
|
154
148
|
- lib/bookshop/generators/bookshop/app/templates/builds/mobi/.empty_directory
|
155
149
|
- lib/bookshop/generators/bookshop/app/templates/builds/pdf/.empty_directory
|