any2pdf 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/any2pdf.gemspec +2 -2
- data/bin/any2pdf +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05ce3ca115826a2f7bb50ed4fc0f57995fc1d540
|
4
|
+
data.tar.gz: 21af605e0c4312d2274813e5ade3c84d9e3a82db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 459358330747938fbe49f720c7b1dac3ee7b0fb76b38be3d0163efcf9bb1eeb710c24621d7ca9d98923ccdcb71278134a36f92b13f5b81bd211fff44ded24fba
|
7
|
+
data.tar.gz: 6d6a0eaf6e6e2c0d8443d2cf4ef51a6818e37352b5b077e8a48b844569f07be1217ee62f7a1167c455e714686bf35d84093c8883da36c823739e74bce2aca5bd
|
data/README.md
CHANGED
@@ -36,12 +36,12 @@ Eg for **Ubuntu**:
|
|
36
36
|
```bash
|
37
37
|
# in case you don't have ruby:
|
38
38
|
apt-get install ruby1.9.3
|
39
|
-
# or use any other ruby version / rvm / etc you like
|
40
39
|
|
40
|
+
# and any other applications
|
41
41
|
apt-get install pandoc wkhtmltopdf
|
42
42
|
```
|
43
43
|
|
44
|
-
Eg for **Arch Linux**: Get `pandoc` from
|
44
|
+
Eg for **Arch Linux**: Get `pandoc` from `haskell-core`. It requires in your `pacman.conf`:
|
45
45
|
|
46
46
|
[haskell-core]
|
47
47
|
Server = http://xsounds.org/~haskell/core/$arch
|
@@ -49,7 +49,7 @@ Eg for **Arch Linux**: Get `pandoc` from AUR, easiest done via `yaourt`. You wil
|
|
49
49
|
Then you can:
|
50
50
|
|
51
51
|
```bash
|
52
|
-
|
52
|
+
pacman -S ruby haskell-pandoc wkhtmltopdf
|
53
53
|
```
|
54
54
|
|
55
55
|
**2.** **Install this app**
|
@@ -122,4 +122,4 @@ any2pdf test.md
|
|
122
122
|
License and Author
|
123
123
|
==================
|
124
124
|
Author: Dominik Richter <dominik.richter@googlemail.com>
|
125
|
-
License: see `LICENSE` file
|
125
|
+
License: see `LICENSE` file
|
data/any2pdf.gemspec
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'any2pdf'
|
4
|
-
s.version = '1.0.
|
4
|
+
s.version = '1.0.2'
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.summary = "convert anything to pdf (via pandoc and pdfkit)"
|
7
7
|
s.description = s.summary
|
8
8
|
s.author = "Dominik Richter"
|
9
|
-
s.email = "dominik.richter@gmail.com"
|
9
|
+
s.email = "dominik.richter@gmail.com"
|
10
10
|
|
11
11
|
s.add_dependency "pdfkit"
|
12
12
|
s.add_dependency "trollop"
|
data/bin/any2pdf
CHANGED
@@ -17,7 +17,7 @@ opts = Trollop::options do
|
|
17
17
|
opt :input, "input file", :default => ""
|
18
18
|
opt :landscape, "if you want landscape instead of portrait"
|
19
19
|
opt :view_cmd, "command used for viewing", :default => "v %s"
|
20
|
-
opt :view, "what to view (pdf|html|none)", :default => "
|
20
|
+
opt :view, "what to view (pdf|html|none)", :default => "none"
|
21
21
|
opt :renderer, "what engine to use for pdf creation (pdfkit|xelatex)", default: "pdfkit", type: :string
|
22
22
|
opt :toc, "generate a table of contents"
|
23
23
|
opt :toc_level, "which depth if headings to include in ToC", :default => 2, :type => :int
|