mkbok 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +24 -0
- data/bin/mkbok +17 -0
- data/lib/mkbok_version.rb +3 -0
- metadata +49 -0
data/README.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
### Introduction
|
2
|
+
|
3
|
+
This is the tool `mkbok` to generate ebooks (.pdf,.epub,.mobi) from markdown plaintext files.
|
4
|
+
|
5
|
+
It use pandoc and Latex technology
|
6
|
+
|
7
|
+
### Getting started (TODO)
|
8
|
+
|
9
|
+
~~~~~~~~~~~ {.bash}
|
10
|
+
$ gem install mkbok
|
11
|
+
$ mkbok create sample --title "learn mkbok"
|
12
|
+
$ mkbok build --local # needs pandoc,XeTex packages
|
13
|
+
~~~~~~~~~~~~~
|
14
|
+
|
15
|
+
If you already follow the mkbok configuration, then
|
16
|
+
|
17
|
+
~~~~~~~~~~~ {.bash}
|
18
|
+
$ mkbok init # add needed configuration for your existing markdown files
|
19
|
+
$ mkbok build --web http://mkbok.com/diy # it will zip file and upload to web
|
20
|
+
$ mkbok build --web http://mkbok.com/ --source http://github.com/larrycai/mkbok # generate pdf from github
|
21
|
+
~~~~~~~~~~~~~~~~~
|
22
|
+
|
23
|
+
### License
|
24
|
+
|
data/bin/mkbok
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
puts "It is coming.."
|
4
|
+
|
5
|
+
puts <<eof
|
6
|
+
$ gem install mkbok
|
7
|
+
$ mkbok create sample --title "learn mkbok"
|
8
|
+
$ mkbok build --local # needs pandoc,XeTex packages
|
9
|
+
|
10
|
+
If you already follow the mkbok configuration, then
|
11
|
+
|
12
|
+
$ mkbok init # add needed configuration for your existing markdown files
|
13
|
+
$ mkbok build --web http://mkbok.com/diy # it will zip file and upload to web
|
14
|
+
$ mkbok build --web http://mkbok.com/ --source http://github.com/larrycai/mkbok # generate pdf from github
|
15
|
+
eof
|
16
|
+
|
17
|
+
puts "Please wait and check github.com/larrycai/mkbok"
|
metadata
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mkbok
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Larry Cai
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-02-09 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: the ebook generate tools from markdown plain text
|
15
|
+
email:
|
16
|
+
- larry.caiyu@gmail.com
|
17
|
+
executables:
|
18
|
+
- mkbok
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files: []
|
21
|
+
files:
|
22
|
+
- lib/mkbok_version.rb
|
23
|
+
- bin/mkbok
|
24
|
+
- README.md
|
25
|
+
homepage: http://github.com/larrycai/mkbok
|
26
|
+
licenses: []
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ! '>='
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ! '>='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.3.6
|
43
|
+
requirements: []
|
44
|
+
rubyforge_project: mkbok
|
45
|
+
rubygems_version: 1.8.12
|
46
|
+
signing_key:
|
47
|
+
specification_version: 3
|
48
|
+
summary: tools to generate ebooks from markdown
|
49
|
+
test_files: []
|