softcover 0.7.9 → 0.7.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/softcover/builders/epub.rb +5 -1
- data/lib/softcover/template/html/stylesheets/softcover.css +6 -0
- data/lib/softcover/version.rb +1 -1
- data/softcover.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f30eca3e32c300571ccb272a13eb7bee2c566a9
|
4
|
+
data.tar.gz: 14bedf610bf700449fa9d915d82cc703398fd707
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2362a003a4526e251beb46a149eee2b31729b449e46b7d22236a085d8e176599f9ea55d905eba4bf7366ea484e8b60a76df462d9b0bad6fed37612c8dd94213e
|
7
|
+
data.tar.gz: 011a0e2d74c00f272729d66750d14307975c16b45aeb5cbb2f4ee0a9aed67f41d1e54bdd1f1f571d0d5b0d2bda820d5adaee9278c6a79d600a615794b6745aff
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ It is strongly recommended that right now only members of the private beta use t
|
|
6
6
|
|
7
7
|
Softcover is an ebook typesetting system for technical authors. This is the main gem, `softcover`, which depends on `polytexnic` to convert Markdown or PolyTeX input to HTML and LaTeX, and thence to EPUB, MOBI, and PDF. Authors can use Softcover to publish and optionally sell the resulting ebooks (as well as associated digital goods such as screencasts) on the [Softcover publishing platform](http://softcover.io/).
|
8
8
|
|
9
|
-
For more details about Softcover, see [*The Softcover
|
9
|
+
For more details about Softcover, see [*The Softcover Book*](http://manual.softcover.io/book).
|
10
10
|
|
11
11
|
<!--
|
12
12
|
# Softcover CLI
|
@@ -184,7 +184,11 @@ module Softcover
|
|
184
184
|
|
185
185
|
# Returns the Inkscape executable (if available).
|
186
186
|
def inkscape
|
187
|
-
filename =
|
187
|
+
filename = `which inkscape`.chomp
|
188
|
+
if filename.empty?
|
189
|
+
filename = '/Applications/Inkscape.app/Contents/Resources/bin/' +
|
190
|
+
'inkscape'
|
191
|
+
end
|
188
192
|
message = "Install Inkscape (http://inkscape.org/)"
|
189
193
|
@inkscape ||= executable(filename, message)
|
190
194
|
end
|
@@ -127,6 +127,9 @@ body #book {
|
|
127
127
|
#book .codelisting .heading {
|
128
128
|
width: 100%;
|
129
129
|
background: #ccc;
|
130
|
+
line-height: 1.2;
|
131
|
+
padding-top: 0.1em;
|
132
|
+
padding-bottom: 0.3em;
|
130
133
|
}
|
131
134
|
|
132
135
|
#book .codelisting .heading .number {
|
@@ -135,7 +138,10 @@ body #book {
|
|
135
138
|
}
|
136
139
|
|
137
140
|
#book .codelisting .heading span.filepath {
|
141
|
+
display: block;
|
138
142
|
margin-left: 0.4em;
|
143
|
+
margin-top: 0.2em;
|
144
|
+
margin-bottom: 0.1em;
|
139
145
|
}
|
140
146
|
|
141
147
|
#book .codelisting span.break {
|
data/lib/softcover/version.rb
CHANGED
data/softcover.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency 'polytexnic', '~> 0.7.
|
21
|
+
gem.add_dependency 'polytexnic', '~> 0.7.4'
|
22
22
|
gem.add_dependency 'msgpack', '~> 0.4.2'
|
23
23
|
gem.add_dependency 'nokogiri', '~> 1.6.0'
|
24
24
|
gem.add_dependency 'thor'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softcover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: polytexnic
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.7.
|
20
|
+
version: 0.7.4
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.7.
|
27
|
+
version: 0.7.4
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: msgpack
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|