verku 0.8.0.p
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.gitignore +49 -0
- data/BUILD.md +6 -0
- data/Gemfile +14 -0
- data/Gemfile.lock +82 -0
- data/LICENSE.md +22 -0
- data/README.md +149 -0
- data/Rakefile +72 -0
- data/VERSION +1 -0
- data/bin/verku +5 -0
- data/lib/verku.rb +56 -0
- data/lib/verku/adapters/markdown.rb +44 -0
- data/lib/verku/cli.rb +93 -0
- data/lib/verku/dependency.rb +19 -0
- data/lib/verku/exporter.rb +77 -0
- data/lib/verku/extensions/string.rb +19 -0
- data/lib/verku/generator.rb +55 -0
- data/lib/verku/parser.rb +85 -0
- data/lib/verku/parser/epub.rb +187 -0
- data/lib/verku/parser/html.rb +245 -0
- data/lib/verku/parser/mobi.rb +17 -0
- data/lib/verku/parser/pdf.rb +54 -0
- data/lib/verku/parser/txt.rb +1 -0
- data/lib/verku/stats.rb +114 -0
- data/lib/verku/stream.rb +27 -0
- data/lib/verku/toc.rb +6 -0
- data/lib/verku/toc/epub.rb +41 -0
- data/lib/verku/toc/html.rb +78 -0
- data/lib/verku/version.rb +10 -0
- data/templates/config.erb +80 -0
- data/templates/cover.jpg +0 -0
- data/templates/dp-logo.png +0 -0
- data/templates/epub/back.erb +22 -0
- data/templates/epub/copyright.erb +46 -0
- data/templates/epub/cover.erb +12 -0
- data/templates/epub/cover.html +12 -0
- data/templates/epub/page.erb +15 -0
- data/templates/epub/user.css +500 -0
- data/templates/extras.tex +1 -0
- data/templates/html/copyright.erb +46 -0
- data/templates/html/layout.css +352 -0
- data/templates/html/layout.erb +45 -0
- data/templates/html/syntax.css +58 -0
- data/templates/html/thanks.erb +21 -0
- data/templates/html/user.css +7 -0
- data/templates/latex.erb +416 -0
- data/templates/merovex-logo.jpg +0 -0
- data/templates/merovex-logo.png +0 -0
- data/templates/pdf/layout.erb +418 -0
- data/templates/rakefile.rb +103 -0
- data/templates/readme.erb +3 -0
- data/templates/text/01-Getting-Started.md +27 -0
- data/templates/text/02-Creating-Chapters.md +22 -0
- data/templates/text/03-Generating-Output.md +2 -0
- data/templates/text/10-Test-Markdown.md +157 -0
- data/test/helper.rb +34 -0
- data/test/test_bookmaker.rb +7 -0
- data/verku.gemspec +142 -0
- metadata +317 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
# Getting Started
|
2
|
+
|
3
|
+
Welcome to Verku! Verku is the esperanto command to compose/write, and this little gem of an application is intended to help you do just that. This short guide is designed for you as a beginner to get started with Verku.
|
4
|
+
|
5
|
+
Verku tries to get styling out of your way so you can just write. To accomplish this, it uses [Markdown](https://daringfireball.net/projects/markdown/) (specifically [Kramdown](kramdown.gettalong.org/syntax.html)) to give you just enough formatting to write. It then uses a LaTeX variant to create a PDF suitable for printing; or HTML, ePUB and Mobi for electronic distribution.
|
6
|
+
|
7
|
+
First you will need to install some prerequisites:
|
8
|
+
|
9
|
+
* The [Ruby](http://ruby-lang.org) interpreter version 2.0.0 or greater.
|
10
|
+
* The [XeTeX](hhttps://en.wikipedia.org/wiki/XeTeX) typesetting engine.
|
11
|
+
* The [KindleGen](http://www.amazon.com/gp/feature.html?docId=1000765211) converter.
|
12
|
+
|
13
|
+
## Installing Ruby
|
14
|
+
|
15
|
+
To install Ruby, consider using [RVM](http://rvm.io) or [rbenv](http://rbenv.org), both available for Mac OSX and Linux distros. If you're running a Windows, well, I can't help you. I don't even know if Verku runs over Windows boxes, so if you find any bugs, make sure you [let me know](https://github.com/Merovex/verku/issues).
|
16
|
+
|
17
|
+
## Installing XeTeX
|
18
|
+
|
19
|
+
[XeTeX](hhttps://en.wikipedia.org/wiki/XeTeX) is a TeX typesetting engine using Unicode and supporting modern font technologies such as OpenType, Graphite and Apple Advanced Typography (AAT). We're using XeTeX because TeX is one of the best ways of formatting a beautiful hard-copy book.
|
20
|
+
|
21
|
+
* On Mac: To install on a Mac, you will want to install the [MacTEX distribution](https://tug.org/mactex/).
|
22
|
+
|
23
|
+
## Installing KindleGen
|
24
|
+
|
25
|
+
KindleGen is the command-line tool that allows you to convert e-pubs into `.mobi` files. Once you've done that, then you can make your work available via [CreateSpace](https://www.createspace.com/pub/member.dashboard.do).
|
26
|
+
|
27
|
+
If you're running [Homebrew](http://brew.sh) on the Mac OSX, you can install it with `brew install kindlegen`. Go to [KindleGen's website](http://www.amazon.com/gp/feature.html?docId=1000765211) and download the appropriate installer otherwise.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
## Creating Chapters
|
2
|
+
|
3
|
+
You can create chapters by having multiple files or directories. They're alphabetically sorted, so make sure you use a prefixed file name like `01_Introduction.md` as the file name.
|
4
|
+
|
5
|
+
If you're going to write a long book, make sure you use the directory organization. This way you can have smaller text files, which will be easier to read and change as you go. A file structure suggestion for a book about [Ruby on Rails](http://guides.rubyonrails.com) would be:
|
6
|
+
|
7
|
+
```text
|
8
|
+
getting-started-with-rails
|
9
|
+
├── text
|
10
|
+
└── 01_Guide_Assumptions.md
|
11
|
+
└── 02_Whats_Rails.md
|
12
|
+
└── 03_Creating_A_New_Project
|
13
|
+
└── 01_Installing_Rails.md
|
14
|
+
└── 02_Creating_The_Blog_Application.md
|
15
|
+
└── 04_Hello_Rails
|
16
|
+
└── 01_Starting_Up_The_Web_Server.md
|
17
|
+
└── 02_Say_Hello_Rails.md
|
18
|
+
└── 03_Setting_The_Application_Home_Page.md
|
19
|
+
└── ...
|
20
|
+
```
|
21
|
+
|
22
|
+
Notice that the file name does not need to be readable, but it will make your life easier.
|
@@ -0,0 +1,157 @@
|
|
1
|
+
An h1 header
|
2
|
+
============
|
3
|
+
|
4
|
+
Paragraphs are separated by a blank line.
|
5
|
+
|
6
|
+
2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists
|
7
|
+
look like:
|
8
|
+
|
9
|
+
* this one
|
10
|
+
* that one
|
11
|
+
* the other one
|
12
|
+
|
13
|
+
Note that --- not considering the asterisk --- the actual text
|
14
|
+
content starts at 4-columns in.
|
15
|
+
|
16
|
+
> Block quotes are
|
17
|
+
> written like so.
|
18
|
+
>
|
19
|
+
> They can span multiple paragraphs,
|
20
|
+
> if you like.
|
21
|
+
|
22
|
+
Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
|
23
|
+
in chapters 12--14"). Three dots ... will be converted to an ellipsis.
|
24
|
+
Unicode is supported. ☺
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
An h2 header
|
29
|
+
------------
|
30
|
+
|
31
|
+
Here's a numbered list:
|
32
|
+
|
33
|
+
1. first item
|
34
|
+
2. second item
|
35
|
+
3. third item
|
36
|
+
|
37
|
+
Note again how the actual text starts at 4 columns in (4 characters
|
38
|
+
from the left side). Here's a code sample:
|
39
|
+
|
40
|
+
# Let me re-iterate ...
|
41
|
+
for i in 1 .. 10 { do-something(i) }
|
42
|
+
|
43
|
+
As you probably guessed, indented 4 spaces. By the way, instead of
|
44
|
+
indenting the block, you can use delimited blocks, if you like:
|
45
|
+
|
46
|
+
~~~
|
47
|
+
define foobar() {
|
48
|
+
print "Welcome to flavor country!";
|
49
|
+
}
|
50
|
+
~~~
|
51
|
+
|
52
|
+
(which makes copying & pasting easier). You can optionally mark the
|
53
|
+
delimited block for Pandoc to syntax highlight it:
|
54
|
+
|
55
|
+
~~~python
|
56
|
+
import time
|
57
|
+
# Quick, count to ten!
|
58
|
+
for i in range(10):
|
59
|
+
# (but not *too* quick)
|
60
|
+
time.sleep(0.5)
|
61
|
+
print i
|
62
|
+
~~~
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
### An h3 header ###
|
67
|
+
|
68
|
+
Now a nested list:
|
69
|
+
|
70
|
+
1. First, get these ingredients:
|
71
|
+
|
72
|
+
* carrots
|
73
|
+
* celery
|
74
|
+
* lentils
|
75
|
+
|
76
|
+
2. Boil some water.
|
77
|
+
|
78
|
+
3. Dump everything in the pot and follow
|
79
|
+
this algorithm:
|
80
|
+
|
81
|
+
find wooden spoon
|
82
|
+
uncover pot
|
83
|
+
stir
|
84
|
+
cover pot
|
85
|
+
balance wooden spoon precariously on pot handle
|
86
|
+
wait 10 minutes
|
87
|
+
goto first step (or shut off burner when done)
|
88
|
+
|
89
|
+
Do not bump wooden spoon or it will fall.
|
90
|
+
|
91
|
+
Notice again how text always lines up on 4-space indents (including
|
92
|
+
that last line which continues item 3 above).
|
93
|
+
|
94
|
+
Here's a link to [a website](http://foo.bar), to a [local
|
95
|
+
doc](local-doc.html), and to a [section heading in the current
|
96
|
+
doc](#an-h2-header). Here's a footnote [^1].
|
97
|
+
|
98
|
+
[^1]: Footnote text goes here.
|
99
|
+
|
100
|
+
Tables can look like this:
|
101
|
+
|
102
|
+
size material color
|
103
|
+
---- ------------ ------------
|
104
|
+
9 leather brown
|
105
|
+
10 hemp canvas natural
|
106
|
+
11 glass transparent
|
107
|
+
|
108
|
+
Table: Shoes, their sizes, and what they're made of
|
109
|
+
|
110
|
+
(The above is the caption for the table.) Pandoc also supports
|
111
|
+
multi-line tables:
|
112
|
+
|
113
|
+
-------- -----------------------
|
114
|
+
keyword text
|
115
|
+
-------- -----------------------
|
116
|
+
red Sunsets, apples, and
|
117
|
+
other red or reddish
|
118
|
+
things.
|
119
|
+
|
120
|
+
green Leaves, grass, frogs
|
121
|
+
and other things it's
|
122
|
+
not easy being.
|
123
|
+
-------- -----------------------
|
124
|
+
|
125
|
+
A horizontal rule follows.
|
126
|
+
|
127
|
+
***
|
128
|
+
|
129
|
+
Here's a definition list:
|
130
|
+
|
131
|
+
apples
|
132
|
+
: Good for making applesauce.
|
133
|
+
oranges
|
134
|
+
: Citrus!
|
135
|
+
tomatoes
|
136
|
+
: There's no "e" in tomatoe.
|
137
|
+
|
138
|
+
Again, text is indented 4 spaces. (Put a blank line between each
|
139
|
+
term/definition pair to spread things out more.)
|
140
|
+
|
141
|
+
Here's a "line block":
|
142
|
+
|
143
|
+
| Line one
|
144
|
+
| Line too
|
145
|
+
| Line tree
|
146
|
+
|
147
|
+
and images can be specified like so:
|
148
|
+
|
149
|
+

|
150
|
+
|
151
|
+
Inline math equations go in like so: $\omega = d\phi / dt$. Display
|
152
|
+
math should get its own line and be put in in double-dollarsigns:
|
153
|
+
|
154
|
+
$$I = \int \rho R^{2} dV$$
|
155
|
+
|
156
|
+
And note that you can backslash-escape any punctuation characters
|
157
|
+
which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.
|
data/test/helper.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
module SimpleCov::Configuration
|
4
|
+
def clean_filters
|
5
|
+
@filters = []
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
SimpleCov.configure do
|
10
|
+
clean_filters
|
11
|
+
load_adapter 'test_frameworks'
|
12
|
+
end
|
13
|
+
|
14
|
+
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
+
add_filter "/.rvm/"
|
16
|
+
end
|
17
|
+
require 'rubygems'
|
18
|
+
require 'bundler'
|
19
|
+
begin
|
20
|
+
Bundler.setup(:default, :development)
|
21
|
+
rescue Bundler::BundlerError => e
|
22
|
+
$stderr.puts e.message
|
23
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
24
|
+
exit e.status_code
|
25
|
+
end
|
26
|
+
require 'test/unit'
|
27
|
+
require 'shoulda'
|
28
|
+
|
29
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
30
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
31
|
+
require 'verku'
|
32
|
+
|
33
|
+
class Test::Unit::TestCase
|
34
|
+
end
|
data/verku.gemspec
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: verku 0.8.0.p ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "verku"
|
9
|
+
s.version = "0.8.0.p"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Merovex"]
|
14
|
+
s.date = "2016-06-18"
|
15
|
+
s.description = "Verku provides authors a free, ruby-based production toolchain for self-published paper and electronic books using the LaTeX document preparation system."
|
16
|
+
s.email = ["dausha+verku@gmail.com"]
|
17
|
+
s.executables = ["verku"]
|
18
|
+
s.extra_rdoc_files = [
|
19
|
+
"LICENSE.md",
|
20
|
+
"README.md"
|
21
|
+
]
|
22
|
+
s.files = [
|
23
|
+
".document",
|
24
|
+
".gitignore",
|
25
|
+
"BUILD.md",
|
26
|
+
"Gemfile",
|
27
|
+
"Gemfile.lock",
|
28
|
+
"LICENSE.md",
|
29
|
+
"README.md",
|
30
|
+
"Rakefile",
|
31
|
+
"VERSION",
|
32
|
+
"bin/verku",
|
33
|
+
"lib/verku.rb",
|
34
|
+
"lib/verku/adapters/markdown.rb",
|
35
|
+
"lib/verku/cli.rb",
|
36
|
+
"lib/verku/dependency.rb",
|
37
|
+
"lib/verku/exporter.rb",
|
38
|
+
"lib/verku/extensions/string.rb",
|
39
|
+
"lib/verku/generator.rb",
|
40
|
+
"lib/verku/parser.rb",
|
41
|
+
"lib/verku/parser/epub.rb",
|
42
|
+
"lib/verku/parser/html.rb",
|
43
|
+
"lib/verku/parser/mobi.rb",
|
44
|
+
"lib/verku/parser/pdf.rb",
|
45
|
+
"lib/verku/parser/txt.rb",
|
46
|
+
"lib/verku/stats.rb",
|
47
|
+
"lib/verku/stream.rb",
|
48
|
+
"lib/verku/toc.rb",
|
49
|
+
"lib/verku/toc/epub.rb",
|
50
|
+
"lib/verku/toc/html.rb",
|
51
|
+
"lib/verku/version.rb",
|
52
|
+
"templates/config.erb",
|
53
|
+
"templates/cover.jpg",
|
54
|
+
"templates/dp-logo.png",
|
55
|
+
"templates/epub/back.erb",
|
56
|
+
"templates/epub/copyright.erb",
|
57
|
+
"templates/epub/cover.erb",
|
58
|
+
"templates/epub/cover.html",
|
59
|
+
"templates/epub/page.erb",
|
60
|
+
"templates/epub/user.css",
|
61
|
+
"templates/extras.tex",
|
62
|
+
"templates/html/copyright.erb",
|
63
|
+
"templates/html/layout.css",
|
64
|
+
"templates/html/layout.erb",
|
65
|
+
"templates/html/syntax.css",
|
66
|
+
"templates/html/thanks.erb",
|
67
|
+
"templates/html/user.css",
|
68
|
+
"templates/latex.erb",
|
69
|
+
"templates/merovex-logo.jpg",
|
70
|
+
"templates/merovex-logo.png",
|
71
|
+
"templates/pdf/layout.erb",
|
72
|
+
"templates/rakefile.rb",
|
73
|
+
"templates/readme.erb",
|
74
|
+
"templates/text/01-Getting-Started.md",
|
75
|
+
"templates/text/02-Creating-Chapters.md",
|
76
|
+
"templates/text/03-Generating-Output.md",
|
77
|
+
"templates/text/10-Test-Markdown.md",
|
78
|
+
"test/helper.rb",
|
79
|
+
"test/test_bookmaker.rb",
|
80
|
+
"verku.gemspec"
|
81
|
+
]
|
82
|
+
s.homepage = "https://github.com/Merovex/verku"
|
83
|
+
s.rubyforge_project = "verku"
|
84
|
+
s.rubygems_version = "2.2.2"
|
85
|
+
s.summary = "Verku is a Ruby & LaTeX based production toolchain for self-publishers."
|
86
|
+
s.test_files = ["test/helper.rb", "test/test_bookmaker.rb"]
|
87
|
+
|
88
|
+
if s.respond_to? :specification_version then
|
89
|
+
s.specification_version = 4
|
90
|
+
|
91
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
92
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
93
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
94
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
95
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
|
96
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
97
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
98
|
+
s.add_development_dependency(%q<aruba>, [">= 0"])
|
99
|
+
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
100
|
+
s.add_runtime_dependency(%q<rubyzip>, [">= 0"])
|
101
|
+
s.add_runtime_dependency(%q<zip-zip>, [">= 0"])
|
102
|
+
s.add_runtime_dependency(%q<eeepub>, [">= 0"])
|
103
|
+
s.add_runtime_dependency(%q<kramdown>, [">= 0"])
|
104
|
+
s.add_runtime_dependency(%q<thor>, [">= 0"])
|
105
|
+
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
|
106
|
+
s.add_runtime_dependency(%q<notifier>, [">= 0"])
|
107
|
+
else
|
108
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
109
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
110
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
111
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
112
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
113
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
114
|
+
s.add_dependency(%q<aruba>, [">= 0"])
|
115
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
116
|
+
s.add_dependency(%q<rubyzip>, [">= 0"])
|
117
|
+
s.add_dependency(%q<zip-zip>, [">= 0"])
|
118
|
+
s.add_dependency(%q<eeepub>, [">= 0"])
|
119
|
+
s.add_dependency(%q<kramdown>, [">= 0"])
|
120
|
+
s.add_dependency(%q<thor>, [">= 0"])
|
121
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
122
|
+
s.add_dependency(%q<notifier>, [">= 0"])
|
123
|
+
end
|
124
|
+
else
|
125
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
126
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
127
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
128
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
129
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
130
|
+
s.add_dependency(%q<activesupport>, [">= 0"])
|
131
|
+
s.add_dependency(%q<aruba>, [">= 0"])
|
132
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
133
|
+
s.add_dependency(%q<rubyzip>, [">= 0"])
|
134
|
+
s.add_dependency(%q<zip-zip>, [">= 0"])
|
135
|
+
s.add_dependency(%q<eeepub>, [">= 0"])
|
136
|
+
s.add_dependency(%q<kramdown>, [">= 0"])
|
137
|
+
s.add_dependency(%q<thor>, [">= 0"])
|
138
|
+
s.add_dependency(%q<nokogiri>, [">= 0"])
|
139
|
+
s.add_dependency(%q<notifier>, [">= 0"])
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
metadata
ADDED
@@ -0,0 +1,317 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: verku
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.8.0.p
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Merovex
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-06-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: shoulda
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: jeweler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.0.1
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: activesupport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: aruba
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: cucumber
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubyzip
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: zip-zip
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: eeepub
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: kramdown
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: thor
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: nokogiri
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: notifier
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description: Verku provides authors a free, ruby-based production toolchain for self-published
|
224
|
+
paper and electronic books using the LaTeX document preparation system.
|
225
|
+
email:
|
226
|
+
- dausha+verku@gmail.com
|
227
|
+
executables:
|
228
|
+
- verku
|
229
|
+
extensions: []
|
230
|
+
extra_rdoc_files:
|
231
|
+
- LICENSE.md
|
232
|
+
- README.md
|
233
|
+
files:
|
234
|
+
- .document
|
235
|
+
- .gitignore
|
236
|
+
- BUILD.md
|
237
|
+
- Gemfile
|
238
|
+
- Gemfile.lock
|
239
|
+
- LICENSE.md
|
240
|
+
- README.md
|
241
|
+
- Rakefile
|
242
|
+
- VERSION
|
243
|
+
- bin/verku
|
244
|
+
- lib/verku.rb
|
245
|
+
- lib/verku/adapters/markdown.rb
|
246
|
+
- lib/verku/cli.rb
|
247
|
+
- lib/verku/dependency.rb
|
248
|
+
- lib/verku/exporter.rb
|
249
|
+
- lib/verku/extensions/string.rb
|
250
|
+
- lib/verku/generator.rb
|
251
|
+
- lib/verku/parser.rb
|
252
|
+
- lib/verku/parser/epub.rb
|
253
|
+
- lib/verku/parser/html.rb
|
254
|
+
- lib/verku/parser/mobi.rb
|
255
|
+
- lib/verku/parser/pdf.rb
|
256
|
+
- lib/verku/parser/txt.rb
|
257
|
+
- lib/verku/stats.rb
|
258
|
+
- lib/verku/stream.rb
|
259
|
+
- lib/verku/toc.rb
|
260
|
+
- lib/verku/toc/epub.rb
|
261
|
+
- lib/verku/toc/html.rb
|
262
|
+
- lib/verku/version.rb
|
263
|
+
- templates/config.erb
|
264
|
+
- templates/cover.jpg
|
265
|
+
- templates/dp-logo.png
|
266
|
+
- templates/epub/back.erb
|
267
|
+
- templates/epub/copyright.erb
|
268
|
+
- templates/epub/cover.erb
|
269
|
+
- templates/epub/cover.html
|
270
|
+
- templates/epub/page.erb
|
271
|
+
- templates/epub/user.css
|
272
|
+
- templates/extras.tex
|
273
|
+
- templates/html/copyright.erb
|
274
|
+
- templates/html/layout.css
|
275
|
+
- templates/html/layout.erb
|
276
|
+
- templates/html/syntax.css
|
277
|
+
- templates/html/thanks.erb
|
278
|
+
- templates/html/user.css
|
279
|
+
- templates/latex.erb
|
280
|
+
- templates/merovex-logo.jpg
|
281
|
+
- templates/merovex-logo.png
|
282
|
+
- templates/pdf/layout.erb
|
283
|
+
- templates/rakefile.rb
|
284
|
+
- templates/readme.erb
|
285
|
+
- templates/text/01-Getting-Started.md
|
286
|
+
- templates/text/02-Creating-Chapters.md
|
287
|
+
- templates/text/03-Generating-Output.md
|
288
|
+
- templates/text/10-Test-Markdown.md
|
289
|
+
- test/helper.rb
|
290
|
+
- test/test_bookmaker.rb
|
291
|
+
- verku.gemspec
|
292
|
+
homepage: https://github.com/Merovex/verku
|
293
|
+
licenses: []
|
294
|
+
metadata: {}
|
295
|
+
post_install_message:
|
296
|
+
rdoc_options: []
|
297
|
+
require_paths:
|
298
|
+
- lib
|
299
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - '>='
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
305
|
+
requirements:
|
306
|
+
- - '>'
|
307
|
+
- !ruby/object:Gem::Version
|
308
|
+
version: 1.3.1
|
309
|
+
requirements: []
|
310
|
+
rubyforge_project: verku
|
311
|
+
rubygems_version: 2.2.2
|
312
|
+
signing_key:
|
313
|
+
specification_version: 4
|
314
|
+
summary: Verku is a Ruby & LaTeX based production toolchain for self-publishers.
|
315
|
+
test_files:
|
316
|
+
- test/helper.rb
|
317
|
+
- test/test_bookmaker.rb
|