prophecy 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -7
- data/lib/prophecy/assets/latex_template/book-core-first.sty +62 -35
- data/lib/prophecy/assets/sass/_byronic.sass +10 -6
- data/lib/prophecy/assets/stylesheets/style-epub.css +41 -41
- data/lib/prophecy/assets/stylesheets/style-mobi-kf8.css +41 -41
- data/lib/prophecy/assets/stylesheets/style-mobi.css +41 -41
- data/lib/prophecy/book.rb +3 -1
- data/lib/prophecy/chapter.rb +26 -3
- data/lib/prophecy/cli.rb +132 -47
- data/lib/prophecy/generators/book/book.yml.tt +9 -2
- data/lib/prophecy/generators/book/manuscript/further-comments.markdown +5 -0
- data/lib/prophecy/generators/book/manuscript/glossary.md +8 -3
- data/lib/prophecy/generators/book/manuscript/like-a-boat.md +12 -0
- data/lib/prophecy/generators/book/manuscript/nameless-labyrinth.markdown +24 -30
- data/lib/prophecy/generators/book/manuscript/time-machine.markdown +25 -0
- data/lib/prophecy/version.rb +1 -1
- data/prophecy.gemspec +4 -2
- metadata +9 -12
- data/lib/prophecy/generators/book/manuscript/the-sway-of-reason.markdown +0 -22
- data/lib/prophecy/generators/book/manuscript/unhuman-massiveness.markdown +0 -27
data/lib/prophecy/version.rb
CHANGED
data/prophecy.gemspec
CHANGED
@@ -8,13 +8,15 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Prophecy::VERSION
|
9
9
|
spec.authors = ["Gambhiro"]
|
10
10
|
spec.email = ["gambhiro@ratanagiri.org.uk"]
|
11
|
-
spec.description = %q{Book boilerplate for generating PDF, EPUB and MOBI}
|
12
11
|
spec.summary = %q{Book boilerplate for generating PDF, EPUB and MOBI}
|
12
|
+
spec.description = %q{Book boilerplate to generate books as EPUB,
|
13
|
+
MOBI, and PDF from simple Markdown text files. Or from HTML. Or from
|
14
|
+
LaTeX. Or mixed.}
|
13
15
|
spec.homepage = "http://profound-labs.github.io/projects/prophecy/"
|
14
16
|
spec.license = "MIT"
|
15
17
|
|
16
18
|
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables =
|
19
|
+
spec.executables = [ 'prophecy', ]
|
18
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
21
|
spec.require_paths = ["lib"]
|
20
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prophecy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gambhiro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -192,18 +192,14 @@ dependencies:
|
|
192
192
|
- - ~>
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0.18'
|
195
|
-
description:
|
195
|
+
description: |-
|
196
|
+
Book boilerplate to generate books as EPUB,
|
197
|
+
MOBI, and PDF from simple Markdown text files. Or from HTML. Or from
|
198
|
+
LaTeX. Or mixed.
|
196
199
|
email:
|
197
200
|
- gambhiro@ratanagiri.org.uk
|
198
201
|
executables:
|
199
|
-
- epubcheck
|
200
|
-
- kindlegen
|
201
|
-
- kindlegen.exe
|
202
|
-
- kindlegen_linux
|
203
|
-
- kindlegen_mac
|
204
|
-
- kindlestrip.py
|
205
202
|
- prophecy
|
206
|
-
- zip.exe
|
207
203
|
extensions: []
|
208
204
|
extra_rdoc_files: []
|
209
205
|
files:
|
@@ -335,11 +331,12 @@ files:
|
|
335
331
|
- lib/prophecy/generators/book/images/cover.jpg
|
336
332
|
- lib/prophecy/generators/book/images/cover.xcf
|
337
333
|
- lib/prophecy/generators/book/images/publisher-logo.jpg
|
334
|
+
- lib/prophecy/generators/book/manuscript/further-comments.markdown
|
338
335
|
- lib/prophecy/generators/book/manuscript/glossary.md
|
336
|
+
- lib/prophecy/generators/book/manuscript/like-a-boat.md
|
339
337
|
- lib/prophecy/generators/book/manuscript/nameless-labyrinth.markdown
|
340
338
|
- lib/prophecy/generators/book/manuscript/preface.md
|
341
|
-
- lib/prophecy/generators/book/manuscript/
|
342
|
-
- lib/prophecy/generators/book/manuscript/unhuman-massiveness.markdown
|
339
|
+
- lib/prophecy/generators/book/manuscript/time-machine.markdown
|
343
340
|
- lib/prophecy/generators/book/manuscript/xhtml/.gitkeep
|
344
341
|
- lib/prophecy/generators/book/manuscript/xhtml/cover.xhtml.erb
|
345
342
|
- lib/prophecy/generators/book/manuscript/xhtml/titlepage.xhtml.erb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
# The Sway of Reason
|
3
|
-
|
4
|
-
> "I have seen the dark universe yawning\\
|
5
|
-
> Where the black planets roll without aim,\\
|
6
|
-
> Where they roll in their horror unheeded,\\
|
7
|
-
> without knowledge or lustre or name."
|
8
|
-
>
|
9
|
-
> Nemesis, 1917
|
10
|
-
> {:.attribution}
|
11
|
-
|
12
|
-
Yet now the sway of reason seemed irrefutably shaken, for this Cyclopean maze
|
13
|
-
of squared, curved, and angled blocks had features which cut off all
|
14
|
-
comfortable refuge. It was, very clearly, the blasphemous city of the mirage in
|
15
|
-
stark, objective, and ineluctable reality. That damnable portent had had a
|
16
|
-
material basis after all—there had been some horizontal stratum of ice dust in
|
17
|
-
the upper air, and this shocking stone survival had projected its image across
|
18
|
-
the mountains according to the simple laws of reflection, Of course, the
|
19
|
-
phantom had been twisted and exaggerated, and had contained things which the
|
20
|
-
real source did not contain; yet now, as we saw that real source, we thought it
|
21
|
-
even more hideous and menacing than its distant image.
|
22
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
|
2
|
-
# Vast Stone Towers
|
3
|
-
|
4
|
-
Only the incredible, unhuman massiveness of these vast stone towers and
|
5
|
-
ramparts had saved the frightful things from utter annihilation in the hundreds
|
6
|
-
of thousands—perhaps millions—of years it had brooded there amidst the blasts
|
7
|
-
of a bleak upland. "Corona Mundi—Roof of the World—" All sorts of fantastic
|
8
|
-
phrases sprang to our lips as we looked dizzily down at the unbelievable
|
9
|
-
spectacle. I thought again of the eldritch primal myths that had so
|
10
|
-
persistently haunted me since my first sight of this dead antarctic world—of
|
11
|
-
the demoniac plateau of Leng, of the Mi-Go, or abominable Snow Men of the
|
12
|
-
Himalayas, of the Pnakotic Manuscripts with their prehuman implications, of the
|
13
|
-
Cthulhu cult, of the Necronomicon, and of the Hyperborean legends of formless
|
14
|
-
Tsathoggua and the worse than formless star spawn associated with that
|
15
|
-
semientity.
|
16
|
-
|
17
|
-
For boundless miles in every direction the thing stretched off with very little
|
18
|
-
thinning; indeed, as our eyes followed it to the right and left along the base
|
19
|
-
of the low, gradual foothills which separated it from the actual mountain rim,
|
20
|
-
we decided that we could see no thinning at all except for an interruption at
|
21
|
-
the left of the pass through which we had come. We had merely struck, at
|
22
|
-
random, a limited part of something of incalculable extent. The foothills were
|
23
|
-
more sparsely sprinkled with grotesque stone structures, linking the terrible
|
24
|
-
city to the already familiar cubes and ramparts which evidently formed its
|
25
|
-
mountain outposts. These latter, as well as the queer cave mouths, were as
|
26
|
-
thick on the inner as on the outer sides of the mountains.
|
27
|
-
|