asciidoctor-epub3 1.0.0.alpha.3 → 1.5.0.alpha.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42287b2fbdd7ae40dd5bf304f7f0de9c93b129d1
4
- data.tar.gz: 652d4d643f63278e41c72bb65f1eb09b104570a2
3
+ metadata.gz: e4c3e250ddf7c643c44a7aa9940d17cd24706d0f
4
+ data.tar.gz: 0d8e25c7b95f0f43f0b35f7bff7f29b9118dab3d
5
5
  SHA512:
6
- metadata.gz: 1bbcf4a13d6e720b2ce38fce363d872bf14b8a26f988de0b05bf6395757f35d6d15433a7d535362700b723ec0b239ecbbe6db8350a1131bb2826c8f852295303
7
- data.tar.gz: e2e539fd7951d0dae04cbb4c9458d85dbfe644072c05492a3999d7d27d178a860e2540da83d00bfdcde3a72de97a2f3ae2e2f2d97f8ab34c347a57d029936e5d
6
+ metadata.gz: ce25c7aefb5de19aa8ee2d720581c92ca9ecbb0949538adcc05f92a6cd6f969c3290ffc884e3be60710e89200d3933e461d9aefdbc0577b61e00ec5e19896e48
7
+ data.tar.gz: 17d675e8e9d17999242251385a24b5e8dfab0b10981e3ddd0c23638f1ac9ab84383fdc67e98024214be50dbbd7e5dcccd2d9a2cf783404907cb04c65fc20cf68
@@ -6,6 +6,7 @@ v1.0, 2014-04-15
6
6
  :keywords: Asciidoctor, samples, e-book, EPUB3, KF8, MOBI, Asciidoctor.js
7
7
  :copyright: CC-BY-SA 3.0
8
8
  :imagesdir: images
9
+ //:front-cover-image: image:front-cover.jpg[Front Cover,1050,1600]
9
10
 
10
11
  ifeval::["{scripts}" == "multilingual"]
11
12
  include::i18n.adoc[]
@@ -844,7 +844,7 @@ Extensions.register do
844
844
  when 'mobi'
845
845
  document.attributes['ebook-format'] = 'kf8'
846
846
  else
847
- document.attributes['ebook-format'] = 'epub3'
847
+ ebook_format = document.attributes['ebook-format'] = 'epub3'
848
848
  end
849
849
  document.attributes[%(ebook-format-#{ebook_format})] = ''
850
850
  # Only fire SpineItemProcessor for top-level include directives
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Epub3
3
- VERSION = '1.0.0.alpha.3'
3
+ VERSION = '1.5.0.alpha.4'
4
4
  end
5
5
  end
@@ -4,6 +4,8 @@
4
4
  #
5
5
  # $ ./generate-font-subsets.pe <target directory>
6
6
  #
7
+ # By default, the target directory is "generated".
8
+ #
7
9
  # NOTE: Ignore "GID out of range" warnings; fontforge has to kick the tires a bit to flush out these dead references
8
10
  #
9
11
  # Use with Noto Serif fonts from https://code.google.com/p/noto/source/browse/#svn%2Ftrunk%2Ffonts%2Findividual%2Funhinted
@@ -75,8 +77,9 @@ while (fi < num_copy_fonts)
75
77
  SelectMore(0u25a0,0u25ff)
76
78
  # Greek (frequently used for math and bullets)
77
79
  SelectMore(0u0370,0u03ff)
78
- # Additional Currency Symbols (QUESTION: do we need all of them in basic latin?)
79
- SelectMore(0u20a0,0u20d0)
80
+ # Additional Currency Symbols (QUESTION: do we need all of them in basic latin? Euro Sign is 0u20ac)
81
+ #SelectMore(0u20a0,0u20d0)
82
+ SelectMore(0u20ac)
80
83
  if (script == "latin-ext" || script == "latin-cyrillic" || script == "multilingual")
81
84
  # Latin Extended-A, Latin Extended-B
82
85
  SelectMore(0u0100,0u024f)
@@ -122,6 +125,7 @@ while (fi < num_copy_fonts)
122
125
  endif
123
126
 
124
127
  # Generate line feed from no-break space (works around error "cmap format 14 is not supported" in ttfunk)
128
+ # FIXME another option here is to select all the characters referenced by the cmap format 14 table
125
129
  Select(0u00a0)
126
130
  Copy()
127
131
  SelectNone()
@@ -161,6 +165,8 @@ while (fi < num_code_fonts)
161
165
  SelectMore(0u0020,0u007e)
162
166
  # No-break space
163
167
  SelectMore(0u00a0)
168
+ # Box drawing symbols for unix `tree` output
169
+ SelectMore(0u2500,0u257f)
164
170
  if (new_basename == "mplus1mn-regular")
165
171
  # Enclosed numbers (1-20)
166
172
  SelectMore(0u2460,0u2473)
metadata CHANGED
@@ -1,76 +1,70 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-epub3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.alpha.3
4
+ version: 1.5.0.alpha.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen
8
8
  - Sarah White
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-17 00:00:00.000000000 Z
12
+ date: 2014-11-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ name: rake
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ~>
18
+ - - "~>"
18
19
  - !ruby/object:Gem::Version
19
20
  version: '10.0'
20
- name: rake
21
- prerelease: false
22
21
  type: :development
22
+ prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '10.0'
28
28
  - !ruby/object:Gem::Dependency
29
+ name: asciidoctor
29
30
  requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
- - - '>='
32
+ - - "~>"
32
33
  - !ruby/object:Gem::Version
33
34
  version: 1.5.0
34
- - - <
35
- - !ruby/object:Gem::Version
36
- version: 1.6.0
37
- name: asciidoctor
38
- prerelease: false
39
35
  type: :runtime
36
+ prerelease: false
40
37
  version_requirements: !ruby/object:Gem::Requirement
41
38
  requirements:
42
- - - '>='
39
+ - - "~>"
43
40
  - !ruby/object:Gem::Version
44
41
  version: 1.5.0
45
- - - <
46
- - !ruby/object:Gem::Version
47
- version: 1.6.0
48
42
  - !ruby/object:Gem::Dependency
43
+ name: gepub
49
44
  requirement: !ruby/object:Gem::Requirement
50
45
  requirements:
51
- - - ~>
46
+ - - "~>"
52
47
  - !ruby/object:Gem::Version
53
48
  version: 0.6.9.2
54
- name: gepub
55
- prerelease: false
56
49
  type: :runtime
50
+ prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
52
  requirements:
59
- - - ~>
53
+ - - "~>"
60
54
  - !ruby/object:Gem::Version
61
55
  version: 0.6.9.2
62
56
  - !ruby/object:Gem::Dependency
57
+ name: thread_safe
63
58
  requirement: !ruby/object:Gem::Requirement
64
59
  requirements:
65
- - - ~>
60
+ - - "~>"
66
61
  - !ruby/object:Gem::Version
67
62
  version: 0.3.4
68
- name: thread_safe
69
- prerelease: false
70
63
  type: :runtime
64
+ prerelease: false
71
65
  version_requirements: !ruby/object:Gem::Requirement
72
66
  requirements:
73
- - - ~>
67
+ - - "~>"
74
68
  - !ruby/object:Gem::Version
75
69
  version: 0.3.4
76
70
  description: |
@@ -168,25 +162,25 @@ homepage: https://github.com/asciidoctor/asciidoctor-epub3
168
162
  licenses:
169
163
  - MIT
170
164
  metadata: {}
171
- post_install_message:
165
+ post_install_message:
172
166
  rdoc_options:
173
167
  - --charset=UTF-8 --title="Asciidoctor EPUB3" --main=README.adoc -ri
174
168
  require_paths:
175
169
  - lib
176
170
  required_ruby_version: !ruby/object:Gem::Requirement
177
171
  requirements:
178
- - - '>='
172
+ - - ">="
179
173
  - !ruby/object:Gem::Version
180
174
  version: '1.9'
181
175
  required_rubygems_version: !ruby/object:Gem::Requirement
182
176
  requirements:
183
- - - '>'
177
+ - - ">"
184
178
  - !ruby/object:Gem::Version
185
179
  version: 1.3.1
186
180
  requirements: []
187
- rubyforge_project:
188
- rubygems_version: 2.1.9
189
- signing_key:
181
+ rubyforge_project:
182
+ rubygems_version: 2.2.2
183
+ signing_key:
190
184
  specification_version: 4
191
185
  summary: Converts AsciiDoc documents to EPUB3 and KF8/MOBI (Kindle) e-book formats
192
186
  test_files: []