asciidoctor-pdf 1.5.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.adoc +22 -0
  3. data/NOTICE.adoc +76 -0
  4. data/README.adoc +263 -0
  5. data/Rakefile +78 -0
  6. data/bin/asciidoctor-pdf +15 -0
  7. data/bin/optimize-pdf +63 -0
  8. data/data/fonts/LICENSE-liberation-fonts-2.00.1 +102 -0
  9. data/data/fonts/LICENSE-mplus-testflight-58 +16 -0
  10. data/data/fonts/LICENSE-noto-fonts-2014-01-30 +201 -0
  11. data/data/fonts/liberationmono-bold-latin.ttf +0 -0
  12. data/data/fonts/liberationmono-bolditalic-latin.ttf +0 -0
  13. data/data/fonts/liberationmono-italic-latin.ttf +0 -0
  14. data/data/fonts/liberationmono-regular-latin.ttf +0 -0
  15. data/data/fonts/mplus1mn-bold-ascii.ttf +0 -0
  16. data/data/fonts/mplus1mn-bolditalic-ascii.ttf +0 -0
  17. data/data/fonts/mplus1mn-italic-ascii.ttf +0 -0
  18. data/data/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
  19. data/data/fonts/mplus1p-bold-latin.ttf +0 -0
  20. data/data/fonts/mplus1p-light-latin.ttf +0 -0
  21. data/data/fonts/mplus1p-regular-latin.ttf +0 -0
  22. data/data/fonts/mplus1p-regular-multilingual.ttf +0 -0
  23. data/data/fonts/notoserif-bold-latin.ttf +0 -0
  24. data/data/fonts/notoserif-bolditalic-latin.ttf +0 -0
  25. data/data/fonts/notoserif-italic-latin.ttf +0 -0
  26. data/data/fonts/notoserif-regular-latin.ttf +0 -0
  27. data/data/themes/asciidoctor-theme.yml +174 -0
  28. data/data/themes/default-theme.yml +182 -0
  29. data/examples/chronicles.adoc +429 -0
  30. data/examples/chronicles.pdf +0 -0
  31. data/examples/example-pdf-screenshot.png +0 -0
  32. data/examples/example.adoc +27 -0
  33. data/examples/example.pdf +0 -0
  34. data/examples/sample-title-logo.jpg +0 -0
  35. data/examples/wolpertinger.jpg +0 -0
  36. data/lib/asciidoctor-pdf.rb +3 -0
  37. data/lib/asciidoctor-pdf/asciidoctor_ext.rb +1 -0
  38. data/lib/asciidoctor-pdf/asciidoctor_ext/section.rb +26 -0
  39. data/lib/asciidoctor-pdf/converter.rb +1365 -0
  40. data/lib/asciidoctor-pdf/core_ext/array.rb +5 -0
  41. data/lib/asciidoctor-pdf/core_ext/ostruct.rb +9 -0
  42. data/lib/asciidoctor-pdf/implicit_header_processor.rb +59 -0
  43. data/lib/asciidoctor-pdf/pdfmarks.rb +30 -0
  44. data/lib/asciidoctor-pdf/prawn_ext.rb +3 -0
  45. data/lib/asciidoctor-pdf/prawn_ext/coderay_encoder.rb +94 -0
  46. data/lib/asciidoctor-pdf/prawn_ext/extensions.rb +529 -0
  47. data/lib/asciidoctor-pdf/prawn_ext/formatted_text/formatter.rb +29 -0
  48. data/lib/asciidoctor-pdf/prawn_ext/formatted_text/parser.rb +1012 -0
  49. data/lib/asciidoctor-pdf/prawn_ext/formatted_text/parser.treetop +115 -0
  50. data/lib/asciidoctor-pdf/prawn_ext/formatted_text/transform.rb +178 -0
  51. data/lib/asciidoctor-pdf/roman_numeral.rb +107 -0
  52. data/lib/asciidoctor-pdf/theme_loader.rb +103 -0
  53. data/lib/asciidoctor-pdf/version.rb +5 -0
  54. metadata +248 -0
@@ -0,0 +1,5 @@
1
+ module Asciidoctor
2
+ module Pdf
3
+ VERSION = '1.5.0.alpha.1'
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,248 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asciidoctor-pdf
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.0.alpha.1
5
+ platform: ruby
6
+ authors:
7
+ - Dan Allen
8
+ - Sarah White
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-09-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '10.0'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '10.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: asciidoctor
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: 1.5.0
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: 1.5.0
42
+ - !ruby/object:Gem::Dependency
43
+ name: prawn
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '='
47
+ - !ruby/object:Gem::Version
48
+ version: 1.2.1
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 1.2.1
56
+ - !ruby/object:Gem::Dependency
57
+ name: prawn-table
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '='
61
+ - !ruby/object:Gem::Version
62
+ version: 0.1.1
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 0.1.1
70
+ - !ruby/object:Gem::Dependency
71
+ name: prawn-templates
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 0.0.3
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 0.0.3
84
+ - !ruby/object:Gem::Dependency
85
+ name: prawn-svg
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '='
89
+ - !ruby/object:Gem::Version
90
+ version: 0.16.0
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - '='
96
+ - !ruby/object:Gem::Version
97
+ version: 0.16.0
98
+ - !ruby/object:Gem::Dependency
99
+ name: slim
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: 2.0.0
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: 2.0.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: thread_safe
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '='
117
+ - !ruby/object:Gem::Version
118
+ version: 0.3.4
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '='
124
+ - !ruby/object:Gem::Version
125
+ version: 0.3.4
126
+ - !ruby/object:Gem::Dependency
127
+ name: tilt
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 1.4.1
133
+ - - "<"
134
+ - !ruby/object:Gem::Version
135
+ version: 2.1.0
136
+ type: :runtime
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 1.4.1
143
+ - - "<"
144
+ - !ruby/object:Gem::Version
145
+ version: 2.1.0
146
+ - !ruby/object:Gem::Dependency
147
+ name: treetop
148
+ requirement: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '='
151
+ - !ruby/object:Gem::Version
152
+ version: 1.5.3
153
+ type: :runtime
154
+ prerelease: false
155
+ version_requirements: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '='
158
+ - !ruby/object:Gem::Version
159
+ version: 1.5.3
160
+ description: |
161
+ An extension for Asciidoctor that converts AsciiDoc documents to PDF using the Prawn PDF library.
162
+ email: dan@opendevise.io
163
+ executables:
164
+ - asciidoctor-pdf
165
+ extensions: []
166
+ extra_rdoc_files:
167
+ - README.adoc
168
+ - LICENSE.adoc
169
+ - NOTICE.adoc
170
+ files:
171
+ - LICENSE.adoc
172
+ - NOTICE.adoc
173
+ - README.adoc
174
+ - Rakefile
175
+ - bin/asciidoctor-pdf
176
+ - bin/optimize-pdf
177
+ - data/fonts/LICENSE-liberation-fonts-2.00.1
178
+ - data/fonts/LICENSE-mplus-testflight-58
179
+ - data/fonts/LICENSE-noto-fonts-2014-01-30
180
+ - data/fonts/liberationmono-bold-latin.ttf
181
+ - data/fonts/liberationmono-bolditalic-latin.ttf
182
+ - data/fonts/liberationmono-italic-latin.ttf
183
+ - data/fonts/liberationmono-regular-latin.ttf
184
+ - data/fonts/mplus1mn-bold-ascii.ttf
185
+ - data/fonts/mplus1mn-bolditalic-ascii.ttf
186
+ - data/fonts/mplus1mn-italic-ascii.ttf
187
+ - data/fonts/mplus1mn-regular-ascii-conums.ttf
188
+ - data/fonts/mplus1p-bold-latin.ttf
189
+ - data/fonts/mplus1p-light-latin.ttf
190
+ - data/fonts/mplus1p-regular-latin.ttf
191
+ - data/fonts/mplus1p-regular-multilingual.ttf
192
+ - data/fonts/notoserif-bold-latin.ttf
193
+ - data/fonts/notoserif-bolditalic-latin.ttf
194
+ - data/fonts/notoserif-italic-latin.ttf
195
+ - data/fonts/notoserif-regular-latin.ttf
196
+ - data/themes/asciidoctor-theme.yml
197
+ - data/themes/default-theme.yml
198
+ - examples/chronicles.adoc
199
+ - examples/chronicles.pdf
200
+ - examples/example-pdf-screenshot.png
201
+ - examples/example.adoc
202
+ - examples/example.pdf
203
+ - examples/sample-title-logo.jpg
204
+ - examples/wolpertinger.jpg
205
+ - lib/asciidoctor-pdf.rb
206
+ - lib/asciidoctor-pdf/asciidoctor_ext.rb
207
+ - lib/asciidoctor-pdf/asciidoctor_ext/section.rb
208
+ - lib/asciidoctor-pdf/converter.rb
209
+ - lib/asciidoctor-pdf/core_ext/array.rb
210
+ - lib/asciidoctor-pdf/core_ext/ostruct.rb
211
+ - lib/asciidoctor-pdf/implicit_header_processor.rb
212
+ - lib/asciidoctor-pdf/pdfmarks.rb
213
+ - lib/asciidoctor-pdf/prawn_ext.rb
214
+ - lib/asciidoctor-pdf/prawn_ext/coderay_encoder.rb
215
+ - lib/asciidoctor-pdf/prawn_ext/extensions.rb
216
+ - lib/asciidoctor-pdf/prawn_ext/formatted_text/formatter.rb
217
+ - lib/asciidoctor-pdf/prawn_ext/formatted_text/parser.rb
218
+ - lib/asciidoctor-pdf/prawn_ext/formatted_text/parser.treetop
219
+ - lib/asciidoctor-pdf/prawn_ext/formatted_text/transform.rb
220
+ - lib/asciidoctor-pdf/roman_numeral.rb
221
+ - lib/asciidoctor-pdf/theme_loader.rb
222
+ - lib/asciidoctor-pdf/version.rb
223
+ homepage: https://github.com/asciidoctor/asciidoctor-pdf
224
+ licenses:
225
+ - MIT
226
+ metadata: {}
227
+ post_install_message:
228
+ rdoc_options:
229
+ - --charset=UTF-8 --title="Asciidoctor PDF" --main=README.adoc -ri
230
+ require_paths:
231
+ - lib
232
+ required_ruby_version: !ruby/object:Gem::Requirement
233
+ requirements:
234
+ - - ">="
235
+ - !ruby/object:Gem::Version
236
+ version: '1.9'
237
+ required_rubygems_version: !ruby/object:Gem::Requirement
238
+ requirements:
239
+ - - ">"
240
+ - !ruby/object:Gem::Version
241
+ version: 1.3.1
242
+ requirements: []
243
+ rubyforge_project:
244
+ rubygems_version: 2.2.2
245
+ signing_key:
246
+ specification_version: 4
247
+ summary: Converts AsciiDoc documents to PDF using Prawn
248
+ test_files: []