show_off_pdf 0.0.1.pre → 0.0.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CONTRIBUTORS +7 -0
- data/COPYING.md +1 -8
- data/LICENSE +19 -115
- data/README.md +19 -0
- data/show_off_pdf.gemspec +14 -4
- metadata +44 -43
- data/show_off_pdf-0.0.1.pre.gem +0 -0
data/CONTRIBUTORS
ADDED
data/COPYING.md
CHANGED
@@ -2,12 +2,5 @@ Copying / License Permissions
|
|
2
2
|
=============================
|
3
3
|
showoff2pdf was created by Ryan Stenhouse <ryan@ryanstenhouse.eu>.
|
4
4
|
|
5
|
-
This work is made available under the terms of the
|
6
|
-
Attibution, Non Commercial Share-Alike (UK:Scotland) license.
|
5
|
+
This work is made available under the terms of the MIT Licence
|
7
6
|
|
8
|
-
(Yes, that is quite a long winded title).
|
9
|
-
|
10
|
-
You can [read the copy of the licence][1] on the [creative commons][1]
|
11
|
-
website.
|
12
|
-
|
13
|
-
[1]: http://creativecommons.org/licenses/by-nc-sa/2.5/scotland/
|
data/LICENSE
CHANGED
@@ -1,115 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
"Collective Work" means a work made up of the Work in its entirety in unmodified form, along with other work, assembled into a collective whole.
|
22
|
-
"Derivative Work" means a work that Uses the Work (or any substantial part of the Work) in any material form whatsoever (such as a translation, dramatisation, or abridgment), other than (i) as a whole and in unmodified form or (ii) by modifying it as may be technically necessary to Use it in a different mode or format; but a Collective Work is not a Derivative Work for the purpose of this Licence.
|
23
|
-
"Derogatory Treatment" means derogatory treatment as defined by section 80 of the Copyright Design and Patents Act 1988, except as allowed by that Act: and it has that meaning wherever that treatment may take place and whoever may carry it out.
|
24
|
-
"Licence Elements" means the following licence attributes indicated in the title of this Licence: Attribution, Non-commercial, Share-Alike.
|
25
|
-
"Original Author" means the Person who created the Work.
|
26
|
-
"Person" means a natural person or a body of persons corporate or incorporate.
|
27
|
-
"Use", as a verb, means doing any act which is restricted by copyright, whether in the original medium or any other; and includes modifying the Work as may be technically necessary to Use it in a different mode or format.
|
28
|
-
"Work" means the work protected by copyright which is offered under the terms of this Licence, and includes the Work as incorporated in any Collective Work.
|
29
|
-
Words in the singular include the plural and vice versa.
|
30
|
-
2. The Rights Granted
|
31
|
-
|
32
|
-
2.1 The Licensor grants to You a worldwide, royalty-free, non-exclusive, licence to Use the Work for the duration of its copyright.
|
33
|
-
|
34
|
-
So you may, for example:
|
35
|
-
|
36
|
-
copy the Work, or create Derivative Works or incorporate it into a Collective Work;
|
37
|
-
copy Derivative Works, or the Work as incorporated in any Collective Work; and
|
38
|
-
publish, perform or communicate the Work and/or Derivative Works and/or the Work as incorporated in any Collective Work to anyone;
|
39
|
-
in any medium whether now known or created in the future.
|
40
|
-
|
41
|
-
2.2 However, this Licence does not allow you to:
|
42
|
-
|
43
|
-
use the work in any way primarily intended for commercial advantage or payment; but exchange for other copyrighted work without payment (whether by means of digital file-sharing or otherwise) is not to be taken to be so intended;
|
44
|
-
impose any terms or any technological measures on the Work, or a Derivative Work, that alter or restrict the terms of this Licence or any rights granted under it or have the effect or intent of restricting the ability of any person to exercise those rights;
|
45
|
-
sublicense the Work; or
|
46
|
-
subject the Work to Derogatory Treatment.
|
47
|
-
2.3 You must, if you publish or distribute the Work or any Derivative Work to anyone else in any way, give reasonable credit to the Original Author as follows:
|
48
|
-
|
49
|
-
by giving the name of the Original Author if that has been supplied; or a pseudonym if that has been supplied instead; and/or the name of any other person if that has been supplied for attribution in place of the Original Author;
|
50
|
-
by giving the title of the Work if that has been supplied;
|
51
|
-
by giving the Uniform Resource Identifier of the Work if that has been supplied, but you need not do so if this does not refer to its copyright terms or to its licensing information;
|
52
|
-
in the case of a Derivative Work, by identifying how the Work has been used (for example, "French translation of the Work by X", or "Screenplay based on original work by X"); and
|
53
|
-
in the case of a Derivative Work or a Collective Work, placing that credit in the same place, and at least as prominently, as any comparable authorship credit.
|
54
|
-
But, if what you are publishing or distributing is a Derivative Work or a Collective Work, you must remove any of these credits if you are asked to do so by the Licensor and if it is practicable to do so.
|
55
|
-
These are important conditions of this licence and if you fail to do so you will be in material breach of its terms.
|
56
|
-
|
57
|
-
2.4 The Original Author asserts the right to be identified as the original author of the Work; but only as and when required by clause 2.3 above.
|
58
|
-
|
59
|
-
2.5 You must also, if you publish or distribute the Work or any Derivative Work to anyone else in any way:
|
60
|
-
|
61
|
-
include a copy of this Licence (or its Uniform Resource Identifier) with it; and
|
62
|
-
keep intact any copyright notices for the Work and notices that refer to this Licence.
|
63
|
-
These are important conditions of this licence and if you fail to do so you will be in material breach of its terms.
|
64
|
-
|
65
|
-
2.6 Each time You publish the Work or any Derivative Work to anyone else in any way, the Licensor offers to the recipient a licence to the Work on the same terms and conditions as this Licence.
|
66
|
-
|
67
|
-
2.7 Any Derivative Work you create must be under a licence which is either one with the same terms and conditions as this Licence, or a later version of this Licence with the same Licence Elements as this Licence, or another Creative Commons licence with the same Licence Elements as this Licence (for example, Attribution-Noncommercial-ShareAlike 2.5 Slovenia).
|
68
|
-
|
69
|
-
2.8 And:
|
70
|
-
|
71
|
-
the right to collect royalties for any commercial use of the Work is reserved;
|
72
|
-
the right to collect payments via a licensing body or collecting society for any commercial use of the Work is reserved;
|
73
|
-
the right to collect payments under the Public Lending Right scheme (or any public scheme that provides payment for public borrowing or use) is reserved;
|
74
|
-
the right to release the Work under different terms, or to stop distributing the Work, is reserved; and
|
75
|
-
all other rights not expressly granted by the Licensor are reserved.
|
76
|
-
2.9 This Licence does not affect any rights that You or anyone else may independently have under any applicable law (including fair dealing, fair use, or any other legally recognised limitation or exception to copyright infringement) to make any Use of this Work.
|
77
|
-
|
78
|
-
3. Warranties and Disclaimer
|
79
|
-
|
80
|
-
3.1 The Work is licensed by the Licensor "as is" and without any warranty of any kind, either express or implied, whether of title, of accuracy, of fitness for purpose, or otherwise.
|
81
|
-
|
82
|
-
4. Limit of Liability
|
83
|
-
|
84
|
-
4.1 Subject to any liability which may not be excluded or limited by law, the Licensor shall not be liable for, and expressly excludes, all liability for loss or damage however and whenever caused to anyone by any Use under this Licence, whether by You or by anyone else, and whether caused by any fault on the part of the Licensor or not. If liability may not be excluded by law, it is limited to actual and direct financial loss to the extent it is caused by proved negligence on the part of the Licensor.
|
85
|
-
|
86
|
-
5. Termination
|
87
|
-
|
88
|
-
5.1 Any breach by You of the terms of this licence (for example, by distributing the work licensed without attributing authorship as appropriate) entitles the Licensor to terminate this Licence with immediate effect and without notice to you. Persons who have received the Work, Derivative Works, or Collective Works from You under this Licence, however, will not have their licences terminated provided their use is in full compliance with this Licence or a licence granted under clause 2.6 of this Licence.
|
89
|
-
|
90
|
-
5.2 If You are not in breach of the terms of this licence, the Licensor may not terminate your rights under it.
|
91
|
-
|
92
|
-
5.3 Unless terminated under clause 5.1, this Licence is granted to you for the duration of copyright in the Work.
|
93
|
-
|
94
|
-
6. General
|
95
|
-
|
96
|
-
6.1 If any provision of this Licence is held to be invalid or unenforceable, that shall not affect the validity or enforceability of the remainder of the terms of this Licence.
|
97
|
-
|
98
|
-
6.2 This Licence is the entire agreement between the parties with respect to the Work licensed here. It replaces any earlier understandings, agreements or representations with respect to the Work not specified here.
|
99
|
-
|
100
|
-
6.3 If You are in breach of the terms of this Licence (for example, by distributing the work licensed without attributing authorship as appropriate) you will not be entitled to rely on the terms of this Licence or to complain of any breach by the Licensor.
|
101
|
-
|
102
|
-
6.4 Neither You, nor anyone else, may enforce any provision of this Licence by specific implement or interdict.
|
103
|
-
|
104
|
-
6.5 This Licence is governed by the law of Scotland and the parties accept the exclusive jurisdiction of the Courts of Scotland to decide any action or claim directed against the Licensor.
|
105
|
-
|
106
|
-
6.6 If there is any dispute as to the meaning or effect of any provision of this Licence, it must so far as possible be read and given effect in a way that is compatible with the provisions of the Creative Commons generic licence, version 2.5, which has the same Licence Elements.
|
107
|
-
|
108
|
-
The Notice below is not part of this licence.
|
109
|
-
|
110
|
-
Creative Commons is not a party to this Licence, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this licence. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor.
|
111
|
-
|
112
|
-
Except for the limited purpose of indicating to the public that the Work is licensed under the Creative Commons Public Licence, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time.
|
113
|
-
|
114
|
-
Creative Commons may be contacted at http://creativecommons.org/.
|
115
|
-
|
1
|
+
Copyright (c) 2010 Ryan Stenhouse and CONTRIBUTORS
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
5
|
+
in the Software without restriction, including without limitation the rights
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
8
|
+
furnished to do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
showoff2pdf
|
2
|
+
===========
|
3
|
+
|
4
|
+
Using Markdown Prawn, showoff2pdf will try to convert
|
5
|
+
a ShowOff presentation into a sensible PDF document
|
6
|
+
ready to print.
|
7
|
+
|
8
|
+
Installation
|
9
|
+
------------
|
10
|
+
|
11
|
+
$ sudo gem install show_off_pdf --pre
|
12
|
+
|
13
|
+
Usage
|
14
|
+
-----
|
15
|
+
|
16
|
+
$ cd ./show_off_presentation
|
17
|
+
$ showoff2pdf > presentation.pdf
|
18
|
+
|
19
|
+
That's it
|
data/show_off_pdf.gemspec
CHANGED
@@ -1,10 +1,20 @@
|
|
1
|
-
|
1
|
+
summary = "ShowOff slides can now be translated into semi-useful PDF documents for printing out and handing out at your talks, using Markdown Prawn and the Prawn libary."
|
2
|
+
description = <<-TXT
|
3
|
+
ShowOff2PDF converts ShowOff presentations into PDF files for use
|
4
|
+
as handouts or to provide an easy-to-print version of your presentation.
|
5
|
+
|
6
|
+
It was delveoped by Ryan Stenhouse and relies on Prawn and Ryan's
|
7
|
+
Markdown Prawn library.
|
8
|
+
|
9
|
+
Documentation is available at http://ryanstenhouse.eu
|
10
|
+
TXT
|
11
|
+
|
2
12
|
Gem::Specification.new do |spec|
|
3
13
|
spec.name = "show_off_pdf"
|
4
|
-
spec.version = '0.0.
|
14
|
+
spec.version = '0.0.2.pre'
|
5
15
|
spec.platform = Gem::Platform::RUBY
|
6
16
|
spec.files = Dir.glob("{bin,lib,.}/**/**/*") +
|
7
|
-
["README.md","COPYING.md",'LICENSE', "show_off_pdf.gemspec"]
|
17
|
+
["show_off_pdf.rb","README.md","COPYING.md",'LICENSE', "show_off_pdf.gemspec"]
|
8
18
|
spec.require_path = "lib"
|
9
19
|
spec.required_ruby_version = '>= 1.8.7'
|
10
20
|
spec.required_rubygems_version = ">= 1.3.6"
|
@@ -17,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
17
27
|
spec.add_dependency('showoff', '~>0.3.2')
|
18
28
|
|
19
29
|
spec.homepage = "http://ryanstenhouse.eu"
|
20
|
-
spec.summary =
|
30
|
+
spec.summary = summary
|
21
31
|
spec.description = description
|
22
32
|
spec.executables << 'showoff2pdf'
|
23
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: show_off_pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 961915980
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
9
|
+
- 2
|
10
10
|
- pre
|
11
|
-
version: 0.0.
|
11
|
+
version: 0.0.2.pre
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Ryan Stenhouse
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-12-09 00:00:00 +00:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
version: 0.3.2
|
51
51
|
type: :runtime
|
52
52
|
version_requirements: *id002
|
53
|
-
description: ShowOff
|
53
|
+
description: " ShowOff2PDF converts ShowOff presentations into PDF files for use\n as handouts or to provide an easy-to-print version of your presentation.\n\n It was delveoped by Ryan Stenhouse and relies on Prawn and Ryan's\n Markdown Prawn library.\n\n Documentation is available at http://ryanstenhouse.eu\n"
|
54
54
|
email: ryan@ryanstenhouse.eu
|
55
55
|
executables:
|
56
56
|
- showoff2pdf
|
@@ -60,56 +60,57 @@ extra_rdoc_files: []
|
|
60
60
|
|
61
61
|
files:
|
62
62
|
- bin/showoff2pdf
|
63
|
-
- lib/
|
64
|
-
- lib/
|
65
|
-
- lib/
|
66
|
-
- lib/markdown_fragments/image_fragment.rb
|
67
|
-
- lib/markdown_fragments/links_reference_fragment.rb
|
68
|
-
- lib/markdown_fragments/list_fragment.rb
|
69
|
-
- lib/markdown_fragments/markdown_fragment.rb
|
70
|
-
- lib/markdown_fragments/page_break_fragment.rb
|
71
|
-
- lib/markdown_fragments/paragraph_fragment.rb
|
72
|
-
- lib/markdown_fragments/presenter_notes_fragment.rb
|
63
|
+
- lib/show_off_slide_stream.rb
|
64
|
+
- lib/show_off_slide.rb
|
65
|
+
- lib/show_off_utils.rb
|
73
66
|
- lib/markdown_fragments.rb
|
74
|
-
- lib/markdown_parser/file_parser.rb
|
75
67
|
- lib/markdown_parser/parser.rb
|
68
|
+
- lib/markdown_parser/file_parser.rb
|
76
69
|
- lib/markdown_parser/string_parser.rb
|
77
70
|
- lib/markdown_parser.rb
|
71
|
+
- lib/markdown_fragments/paragraph_fragment.rb
|
72
|
+
- lib/markdown_fragments/markdown_fragment.rb
|
73
|
+
- lib/markdown_fragments/presenter_notes_fragment.rb
|
74
|
+
- lib/markdown_fragments/image_fragment.rb
|
75
|
+
- lib/markdown_fragments/heading_fragment.rb
|
76
|
+
- lib/markdown_fragments/page_break_fragment.rb
|
77
|
+
- lib/markdown_fragments/links_reference_fragment.rb
|
78
|
+
- lib/markdown_fragments/code_fragment.rb
|
79
|
+
- lib/markdown_fragments/list_fragment.rb
|
80
|
+
- lib/markdown_fragments/horizontal_rule_fragment.rb
|
78
81
|
- lib/markdown_prawn_exceptions.rb
|
79
|
-
-
|
80
|
-
-
|
81
|
-
- lib/show_off_utils.rb
|
82
|
+
- ./README.md
|
83
|
+
- ./CONTRIBUTORS
|
82
84
|
- ./bin/showoff2pdf
|
85
|
+
- ./LICENSE
|
86
|
+
- ./show_off_pdf.gemspec
|
83
87
|
- ./COPYING.md
|
84
|
-
- ./
|
85
|
-
- ./
|
86
|
-
- ./
|
87
|
-
- ./
|
88
|
-
- ./HACKING.md
|
89
|
-
- ./lib/markdown_fragments/code_fragment.rb
|
90
|
-
- ./lib/markdown_fragments/heading_fragment.rb
|
91
|
-
- ./lib/markdown_fragments/horizontal_rule_fragment.rb
|
92
|
-
- ./lib/markdown_fragments/image_fragment.rb
|
93
|
-
- ./lib/markdown_fragments/links_reference_fragment.rb
|
94
|
-
- ./lib/markdown_fragments/list_fragment.rb
|
95
|
-
- ./lib/markdown_fragments/markdown_fragment.rb
|
96
|
-
- ./lib/markdown_fragments/page_break_fragment.rb
|
97
|
-
- ./lib/markdown_fragments/paragraph_fragment.rb
|
98
|
-
- ./lib/markdown_fragments/presenter_notes_fragment.rb
|
88
|
+
- ./show_off_pdf.rb
|
89
|
+
- ./lib/show_off_slide_stream.rb
|
90
|
+
- ./lib/show_off_slide.rb
|
91
|
+
- ./lib/show_off_utils.rb
|
99
92
|
- ./lib/markdown_fragments.rb
|
100
|
-
- ./lib/markdown_parser/file_parser.rb
|
101
93
|
- ./lib/markdown_parser/parser.rb
|
94
|
+
- ./lib/markdown_parser/file_parser.rb
|
102
95
|
- ./lib/markdown_parser/string_parser.rb
|
103
96
|
- ./lib/markdown_parser.rb
|
97
|
+
- ./lib/markdown_fragments/paragraph_fragment.rb
|
98
|
+
- ./lib/markdown_fragments/markdown_fragment.rb
|
99
|
+
- ./lib/markdown_fragments/presenter_notes_fragment.rb
|
100
|
+
- ./lib/markdown_fragments/image_fragment.rb
|
101
|
+
- ./lib/markdown_fragments/heading_fragment.rb
|
102
|
+
- ./lib/markdown_fragments/page_break_fragment.rb
|
103
|
+
- ./lib/markdown_fragments/links_reference_fragment.rb
|
104
|
+
- ./lib/markdown_fragments/code_fragment.rb
|
105
|
+
- ./lib/markdown_fragments/list_fragment.rb
|
106
|
+
- ./lib/markdown_fragments/horizontal_rule_fragment.rb
|
104
107
|
- ./lib/markdown_prawn_exceptions.rb
|
105
|
-
- ./
|
106
|
-
- ./
|
107
|
-
- ./
|
108
|
-
- ./
|
109
|
-
- ./
|
110
|
-
-
|
111
|
-
- ./show_off_pdf.gemspec
|
112
|
-
- ./show_off_pdf.rb
|
108
|
+
- ./example.pdf
|
109
|
+
- ./HACKING.md
|
110
|
+
- ./example/one/01_slide.md
|
111
|
+
- ./example/one/images.png
|
112
|
+
- ./example/showoff.json
|
113
|
+
- show_off_pdf.rb
|
113
114
|
- README.md
|
114
115
|
- COPYING.md
|
115
116
|
- LICENSE
|
data/show_off_pdf-0.0.1.pre.gem
DELETED
Binary file
|