asciidoctor-epub3 1.5.0.alpha.15 → 1.5.0

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
  SHA256:
3
- metadata.gz: 4404201f6335840b7c6bb344eed4870654ae7132a3a63309d3a3f64536da62f2
4
- data.tar.gz: 252e5083cc9a5e1d589181ee0b141414f7182867ba763a1927271d72779ab4e2
3
+ metadata.gz: 41b54ee8dc9d1be6beb0b1e120bbec6f1092844b857565c486bf4e7544a9d1f2
4
+ data.tar.gz: c19f9ca716e1bbfd51d1cb7c76956eebccfddbb5a44fd0741176e53664f9015e
5
5
  SHA512:
6
- metadata.gz: e85119f2680e17c119d1997e9272e14630c64caae39c27a2055ec60cf617399d95154e1cf3de41f2eedebc9b73a373f2028c3c854cb1d779da3adfde3c79c0f8
7
- data.tar.gz: ef099d1233ad69d99e0985ba6f9580d99f80ccdc824d036505f5507adf18fad79a8643684f111665d086147558a41eec4513db95be5d93d6e4d1bf46d35a3dba
6
+ metadata.gz: 73bd3c80e9e1e25649abf4e6caa79e4c0a891e951d9667d5a0140bbcdcd0bd0399560d37086f35dafc06d3be8eae9d443d119606c55404cc82cdc144356ac446
7
+ data.tar.gz: fe37d04a7bacc742328dc817cb084c01b8b067a97bba864b343987876e9a7cb90c919b470337e69cddd5942b84d3030e52aea61c780e54a57473893fb4eccacd
data/CHANGELOG.adoc CHANGED
@@ -5,6 +5,53 @@
5
5
  This document provides a high-level view of the changes to the {project-name} by release.
6
6
  For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
7
7
 
8
+ == 1.5.0 (2021-04-29) - @slonopotamus
9
+
10
+ * update Font Awesome Solid to 5.15.1
11
+ * use CSS for image size scaling instead of `width` attribute (#382)
12
+ * use pygments.rb 2.0.0 in CI
13
+ * add support for `:back-cover-image:` document attribute (#396)
14
+ * reenable Kindlegen support (#363)
15
+ * drop support for Ruby 2.3
16
+
17
+ == 1.5.0.alpha.19 (2020-10-21) - @slonopotamus
18
+
19
+ * add title and id support for literal blocks (#357)
20
+ * fix quotes not being properly escaped in section titles (#358)
21
+ * fix crash when encountering unsupported Asciidoctor node (#360)
22
+ * add support for 100%-wide table (#356)
23
+ * do not add multiple entries for same media files in book manifest (#370)
24
+ * do not add bogus entries to manifest when `:data-uri:` attribute is set (#371)
25
+ * add id support for listing blocks (#372)
26
+ * stop using deprecated `epub:type` for admonitions (#373)
27
+ * fix `epub:type` attributes for special sections (#374)
28
+ * fix font resize not working in iBooks (#368)
29
+ * fix visited link color in iBooks night mode (#366)
30
+
31
+ == 1.5.0.alpha.18 (2020-07-27) - @slonopotamus
32
+
33
+ * remove <b> from chapter subtitle (#123)
34
+ * improve tables support: cell content alignment, column width (#350)
35
+ * fix chapter titles to actually be chapter titles instead of document title (#343)
36
+ * store syntax highlighter CSS in a separate file (#339)
37
+ * initial landmarks support: appendix, bibliography, bodymatter, cover, frontmatter, glossary, index, preface, toc (#174)
38
+ * add support for in-document table of contents via `:toc:` document attribute (#174)
39
+ * add support for MathML (#10)
40
+ * rescale color palette to use darker shades of gray (#338)
41
+ * gracefully handle invalid `:front-cover-image:` value (#353)
42
+
43
+ == 1.5.0.alpha.17 (2020-05-25) - @slonopotamus
44
+
45
+ * support remote URLs for audio/video/image (#333, #334)
46
+
47
+ == 1.5.0.alpha.16 (2020-04-26) - @slonopotamus
48
+
49
+ * add basic audio and video support (#9)
50
+ * add support for `[horizontal]` definition list (#165)
51
+ * add proper handling of `:data-uri:` document attribute (#324)
52
+ * add support for customizable document splitting into chapters via `epub-chapter-level` attribute (#327)
53
+ * avoid outputting 'true' for unsupported blocks (#332)
54
+
8
55
  == 1.5.0.alpha.15 (2020-03-11) - @slonopotamus
9
56
 
10
57
  * support section numbering and captions (#20)
@@ -88,6 +135,7 @@ For a detailed view of what has changed, refer to the {uri-repo}/commits/master[
88
135
  * upgrade pygments.rb to 1.2.1 (#216)
89
136
  * gepub dependency is no longer locked to 1.0.2 and will use latest 1.0.x version
90
137
  * fix `-a ebook-validate` not working on Windows (#232)
138
+ * fix crash when inline pass macro `m` contains an icon (#375)
91
139
 
92
140
  == 1.5.0.alpha.9 (2019-04-04) - @mojavelinux
93
141
 
data/Gemfile CHANGED
@@ -13,8 +13,7 @@ end
13
13
 
14
14
  group :optional do
15
15
  # epubcheck-ruby might be safe to be converted into runtime dependency, but could have issues when packaged into asciidoctorj-epub3
16
- gem 'epubcheck-ruby', '~> 4.2.2.0'
17
- # We would like to make kindlegen a runtime dependency, but can't because of the way asciidoctorj-epub3 packaging works
18
- # See https://github.com/asciidoctor/asciidoctor-epub3/issues/288
19
- gem 'kindlegen', '~> 3.0.3'
16
+ gem 'epubcheck-ruby', '~> 4.2.5.0'
17
+ # Kindlegen is unavailable neither for 64-bit MacOS nor for ARM
18
+ gem 'kindlegen', '~> 3.1.0' unless RbConfig::CONFIG['host_os'] =~ /darwin/
20
19
  end
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
3
+ Copyright (c) 2014-2021 OpenDevise Inc. and the Asciidoctor Project
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
18
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19
19
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20
20
  OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
21
- OR OTHER DEALINGS IN THE SOFTWARE.
21
+ OR OTHER DEALINGS IN THE SOFTWARE.
data/NOTICE.adoc CHANGED
@@ -36,7 +36,7 @@ Noto Serif font::
36
36
 
37
37
  - https://code.google.com/p/noto/
38
38
 
39
- Font Awesome icon font (v5.12.0)::
39
+ Font Awesome icon font (v5.15.1)::
40
40
  Font Awesome, the iconic font designed for Bootstrap by David Gandy, is used for the admonition icons and other icons in author's content and bundled in the EPUB3 archive.
41
41
  Font Awesome is fully open source and GPL compatible.
42
42
  The font is licensed under the SIL Open Font 1.1 License (OFL).
data/README.adoc CHANGED
@@ -1,786 +1,69 @@
1
1
  = {project-name}: A _native_ EPUB3 converter for AsciiDoc
2
2
  Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
3
- v1.5.0.alpha.15, 2020-03-11
4
- // Settings:
5
- :experimental:
6
- :idprefix:
7
- :idseparator: -
8
- :imagesdir: data/samples/images
9
- ifdef::env-github,env-browser[]
10
- :toc: preamble
11
- :toclevels: 1
12
- endif::[]
13
- ifdef::env-github[]
14
- :status:
15
- :!toc-title:
16
- :caution-caption: :fire:
17
- :important-caption: :exclamation:
18
- :note-caption: :paperclip:
19
- :tip-caption: :bulb:
20
- :warning-caption: :warning:
21
- endif::[]
22
- ifndef::env-github[]
23
- :icons: font
24
- endif::[]
25
- // Aliases:
3
+ v1.5.0, 2021-04-29
4
+ v1.5.0, 2021-04-29
26
5
  :project-name: Asciidoctor EPUB3
27
6
  :project-handle: asciidoctor-epub3
28
- // URIs:
29
7
  :uri-project: https://github.com/asciidoctor/{project-handle}
30
- :uri-gem: http://rubygems.org/gems/asciidoctor-epub3
31
- :uri-repo: {uri-project}
32
- :uri-issues: {uri-repo}/issues
33
- :uri-ci: {uri-repo}/actions?query=workflow%3ACI
34
- :uri-discuss: http://discuss.asciidoctor.org
8
+ :uri-gem: https://rubygems.org/gems/asciidoctor-epub3
9
+ :uri-ci: {uri-project}/actions?query=branch%3Amaster
10
+ :uri-issues: {uri-project}/issues
35
11
  :uri-rvm: https://rvm.io
36
- :uri-asciidoctor: http://asciidoctor.org
37
- :uri-idpf: http://www.idpf.org/
38
- :uri-epub: http://www.idpf.org/epub/31/spec/epub-spec.html
39
- :uri-epubcheck: https://github.com/idpf/epubcheck
40
- :uri-kindlegen: http://www.amazon.com/gp/feature.html?docId=1000765211
41
- :uri-kf8: http://www.amazon.com/gp/feature.html?docId=1000729511
42
- :uri-send-to-kindle: https://www.amazon.com/gp/sendtokindle/
43
- :uri-metadata-elem: http://www.idpf.org/epub/30/spec/epub30-publications.html#sec-metadata-elem
44
- :uri-dc: http://dublincore.org/documents/2004/12/20/dces
45
- :uri-github-guides: https://guides.github.com
46
- :uri-github-guides-fork: https://github.com/opendevise/github-guides-asciidoc
47
- :uri-asciidoctor-i18n: http://asciidoctor.org/docs/user-manual/#builtin-attributes-i18n
48
- :uri-epubreadingsystem: http://www.idpf.org/epub/301/spec/epub-contentdocs.html#app-epubReadingSystem
49
- :uri-android-sdk: http://developer.android.com/sdk/index.html
50
-
51
- ifdef::status[]
12
+
13
+ image:https://img.shields.io/badge/zulip-join_chat-brightgreen.svg[project chat,link=https://asciidoctor.zulipchat.com/]
52
14
  image:https://img.shields.io/gem/v/asciidoctor-epub3.svg[Latest Release,link={uri-gem}]
53
- image:{uri-repo}/workflows/CI/badge.svg[GitHub Actions,link={uri-ci}]
54
- endif::[]
15
+ image:{uri-project}/workflows/CI/badge.svg?branch=master[GitHub Actions,link={uri-ci}]
55
16
 
56
17
  {project-name} is a set of Asciidoctor extensions for converting AsciiDoc documents directly to the EPUB3 and KF8/MOBI e-book formats.
57
18
 
58
- == Introduction
59
-
60
- {project-name} is not merely a converter from AsciiDoc to EPUB3 and KF8/MOBI.
61
- Rather, it's a tool for creating highly aesthetic, professional, _easy-to-read_ e-books.
62
- Let's face it, many of the technical e-books out there--especially those produced from software documentation--are *_hideous_*.
63
- {project-name} is on a mission to disrupt the status quo.
64
-
65
- ifdef::env-github[]
66
- .An excerpt from an e-book produced by {project-name} shown in Day, Night and Sepia mode.
67
- image::screenshots/text.png[]
68
- endif::[]
69
-
70
- === Project Mission
71
-
72
- The {project-name} project aims to produce EPUB3 documents that meet the following objectives:
73
-
74
- [itemized,subject-stop=.]
75
- Fully Semantic::
76
- Produce deeply semantic XHTML5 documents, including use of the recommended `epub:type` attribute.
77
- Exceptional Readability::
78
- Readers should be drawn into the text so that they read and absorb it.
79
- Maximize the readability of the text using carefully crafted styles that are focused on:
80
- - Custom, readable fonts with strong UTF-8 character support
81
- - Sufficient line spacing and margins
82
- - Modular font size scale
83
- - Subtle, pleasing colors with good contrast
84
- - A responsive design that scales well from small to large screens
85
- - Widowed and orphaned content avoided where possible
86
- Complete and Accurate Metadata::
87
- Fully populate the EPUB3 package metadata using information in the AsciiDoc source document.
88
- Consistent Rendering::
89
- Render consistently across a broad range of EPUB3 (and select EPUB2+) e-readers and respond to any size screen.
90
- Polish, Polish, and More Polish::
91
- Add polish to the final product such as font-based icons and callout numbers.
92
-
93
- We believe that the e-books produced by {project-name} are the _very best_ output you can expect to find in digital publishing today.
94
- Of course, there's always room for improvement, so we'll continue to work with you to achieve and maintain this goal.
95
-
96
- === Notable Features
97
-
98
- * Direct AsciiDoc to EPUB3 conversion
99
- * Direct AsciiDoc to KF8/MOBI conversion
100
- * Highly-aesthetic and readable styles with optimized text legibility
101
- * Respects font settings (if supported by the e-reader) without altering headings, code or icons
102
- * EPUB3 metadata, manifest and spine (assembled by Gepub)
103
- * Document metadata (title, authors, subject, keywords, etc.)
104
- * Internal cross reference links
105
- * Syntax highlighting with Rouge, CodeRay or Pygments
106
- * Unicode callout numbers
107
- * Page breaks avoided in block content (so much as it's supported by the e-reader)
108
- * Orphan section titles avoided (so much as it's supported by the e-reader)
109
- * Table border settings honored
110
- * Support for SVG images in the content
111
-
112
- === Project Status
113
-
114
- CAUTION: {project-name} is currently _alpha_ software.
115
- Use accordingly.
116
- Although the bulk of AsciiDoc content is converted, there's still work needed to fill in gaps where conversion is incomplete or unstyled.
117
-
118
- NOTE: {project-name} only produces variable layout (i.e., reflowable) EPUB3 documents since this layout is best suited for the types of documents typically written in AsciiDoc.
119
- We may explore the use of fixed layout documents in the future if the need arises.
120
-
121
- ifdef::env-github[]
122
- === Planned Features and Work In Progress
123
-
124
- See <<WORKLOG#,WORKLOG.adoc>>.
125
- endif::[]
126
-
127
- == Converter Workflow
128
-
129
- {project-name} takes an aggregate AsciiDoc document and any assets it references as input and produces an EPUB3 publication archive (often described as a “website in a box”).
130
-
131
- {project-name} can also produce KF8/MOBI files, the format required for viewing on Amazon Kindle.
132
- The conversion to KF8/MOBI is performed by generating a slightly modified EPUB3 publication, then passing it through the {uri-kindlegen}[KindleGen] application.
133
- The EPUB3 publication, which can be thought of as the “digital master”, is altered to adhere to certain Amazon Kindle requirements.
134
-
135
- == Structuring your Manuscript
136
-
137
- An EPUB3 archive is composed of multiple files. The content of each “chapter” is typically stored in a dedicated XHTML file.
138
- Therefore, the {project-name} converter “chunks” the AsciiDoc source document into multiple XHTML files to add to the EPUB3 archive.
139
- Like other converters, Asciidoctor EPUB3 handles this chunking task by automatically slicing up the XHTML output at predetermined heading levels.
140
-
141
- When `doctype` attribute is set to `book`, each top-level section will become a separate ebook "chapter" file.
142
- This includes preface, bibliography, appendix, etc.
143
-
144
- Otherwise, whole document is converted to a single ebook chapter.
145
-
146
- You may specify custom chapter filenames by assigning IDs to sections:
147
-
148
- [source,asciidoc]
149
- -----
150
- [#custom-chapter-id]
151
- = Chapter
152
- -----
153
-
154
- Here's an example showing the structure of a book:
155
-
156
- [source,asciidoc]
157
- ----
158
- = Book Title
159
- Author Name
160
- :doctype: book
161
- :imagesdir: images
162
- //...and so on
163
-
164
- == Chapter One
165
-
166
- Some interesting text here.
167
-
168
- == Chapter Two
169
-
170
- Even more exciting stuff.
171
- ----
172
-
173
- In older Asciidoctor EPUB3 versions, there were strict rules on document organization: 'spine' master document with chapter includes.
174
- This is no longer the case. If you followed old rules, chances are your document will work with newer Asciidoctor EPUB3 either as-is or after minor adjustments.
19
+ == Documentation
175
20
 
176
- == Prerequisites
21
+ Detailed installation and usage instructions can be found on the https://docs.asciidoctor.org/asciidoctor-epub3/latest/[Asciidoctor Docs site].
177
22
 
178
- All that's needed to use {project-name} is Ruby 2.3 or newer and a few Ruby gems (including at least Asciidoctor 1.5.6), which we'll explain how to install in the next section.
23
+ == Installation
179
24
 
180
- To check if you have Ruby available, use the `ruby` command to query the installed version:
181
-
182
- $ ruby --version
183
-
184
- == Getting Started
185
-
186
- You can get {project-name} by <<Install the Published Gem,installing the published gem>>.
187
- ifndef::env-site[You can also <<Development,run the code from source>> if you want to use the development version or participate in development.]
188
-
189
- === Install the Published Gem
190
-
191
- {project-name} is published as a pre-release on RubyGems.org.
25
+ {project-name} is published on RubyGems.org.
26
+ {project-name} requires Ruby 2.3 or newer.
192
27
  You can install the published gem using the following command:
193
28
 
194
- $ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 gem install asciidoctor-epub3 --pre
195
-
196
- This optional environment variable tells the gem installer to link against the C libraries on the system, if available, instead of compiling the libraries from scratch.
197
- This speeds up the installation of Nokogiri considerably.
198
-
199
- If you want to syntax highlight source listings, you'll also want to install Rouge, CodeRay or Pygments.
200
- Choose one (or more) of the following:
201
-
202
- .Rouge
203
- $ gem install rouge
204
-
205
- .CodeRay
206
- $ gem install coderay
207
-
208
- .Pygments
209
- $ gem install pygments.rb
210
-
211
- You then activate syntax highlighting for a given document by adding the `source-highlighter` attribute to the document header (Rouge shown):
212
-
213
- [source,asciidoc]
29
+ [source,shell script]
214
30
  ----
215
- :source-highlighter: rouge
31
+ $ gem install asciidoctor-epub3
216
32
  ----
217
33
 
218
- NOTE: If a style is not specified, the black and white theme (i.e., bw) is used.
219
- This default is used so that the syntax highlighting is legible regardless of which reading mode the reader selects (white, black, sepia, etc).
220
- To override this default, you must set `<highlighter>-style` document header attribute to a valid highlighter style name (e.g., `:rouge-style: pastie`).
221
-
222
- Assuming all the required gems install properly, verify you can run the `asciidoctor-epub3` script:
223
-
224
- $ asciidoctor-epub3 -v
225
-
226
- If you see the version of {project-name} printed, you're ready to use {project-name}.
227
- Let's get an AsciiDoc document ready to convert to EPUB3.
228
-
229
- === EPUB-related AsciiDoc Attributes
34
+ Assuming the gem and its dependencies install properly, verify you can run the `{project-handle}` script:
230
35
 
231
- The metadata in the generated EPUB3 file is populated from attributes in the AsciiDoc document.
232
- The names of the attributes and the metadata elements to which they map are documented in this section.
233
-
234
- The term [term]_package metadata_ in Table 1 is in reference to the {uri-metadata-elem}[<metadata> element] in the EPUB3 package document (e.g., [file]_package.opf_).
235
- The `dc` namespace prefix is in reference to the {uri-dc}[Dublin Core Metadata Element Set].
236
-
237
- .AsciiDoc attributes that control the EPUB3 metadata (i.e., package.opf)
238
- [cols="1m,3"]
239
- |===
240
- |Name |Description
241
-
242
- |uuid
243
- |Populates the *required* unique identifier (`<dc:identifier>`) in the package metadata.
244
- An id will be generated automatically from the doctitle if not specified.
245
- The recommended practice is to identify the document by means of a string or number conforming to a formal identification system.
246
-
247
- |lang
248
- |Populates the content language / locale (`<dc:language>`) in the package metadata.
249
-
250
- |scripts
251
- |Controls the font subsets that are selected based on the specified scripts (e.g., alphabets).
252
- (values: *latin*, latin-ext, latin-cyrillic or multilingual)
253
-
254
- |revdate
255
- |Populates the publication date (`<dc:date>`) in the package metadata.
256
- The date should be specified in a parsable format, such as `2014-01-01`.
257
-
258
- |doctitle
259
- |Populates the title (`<dc:title>`) in the package metadata.
260
- The title is added to the metadata in plain text format.
261
-
262
- |author
263
- |Populates the contributors (`<dc:contributor>`) in the package metadata.
264
- The authors in each chapter document are aggregated together with the authors in the master file.
265
-
266
- |username
267
- |Used to resolve an avatar for the author that is displayed in the header of a chapter when the `doctype` is set to a value other than `book`.
268
- The avatar image should be located at the path _\{imagesdir}/avatars/\{username}.jpg_, where `\{username}` is the value of this attribute.
269
-
270
- |producer
271
- |Populates the publisher (`<dc:publisher>`) in the package metadata.
272
-
273
- |creator
274
- |Populates the creator (`<dc:creator>`) in the package metadata.
275
- *If the creator is not specified, Asciidoctor is set as the creator with the role "mfr" (an abbreviation for manufacturer).*
276
-
277
- |description
278
- |Populates the description (`<dc:description>`) in the package metadata.
279
-
280
- |keywords
281
- |Populates the subjects (i.e., `<dc:subject>`) in the package metadata.
282
- The keywords should be represented as comma-separated values (CSV).
283
-
284
- |front-cover-image
285
- |Populates the front cover image and the image on the cover page (EPUB3 only) in the package metadata.
286
- The image is also added to the e-book archive.
287
- The value may be specified as a path or inline image macro.
288
- Using the inline image macro is preferred as it allows the height and width to be specified.
289
-
290
- |copyright
291
- |Populates the rights statement (`<dc:rights>`) in the package metadata.
292
-
293
- |source
294
- |Populates the source reference (`<dc:source>`) in the package metadata.
295
- The recommended practice is to identify the referenced resource by means of a string or number conforming to a formal identification system.
296
-
297
- |epub-properties
298
- |An optional override of the properties attribute for this document's item in the manifest.
299
- _Only applies to a chapter document._
300
-
301
- |series-name, series-volume, series-id
302
- |Populates the series statements (`belongs-to-collection`) in the package metadata.
303
- Volume is a number, ID probably a UUID that is constant for all volumes in the series.
304
-
305
- |epub3-frontmatterdir
306
- |The path to a directory that contains frontmatter files. The file names must match `front-matter*.html` and will be included in alphabetic order. The files are expected to be valid EPUB HTML files. _If only one front matter page is
307
- required, the default 'front-matter.html' file can be used instead._
308
-
309
- |epub3-stylesdir
310
- |The path to a directory that contains alternate epub3.css and epub3-css3-only.css files to customize the look and feel.
311
-
312
- |doctype
313
- |Used to control the inclusion of special content in the generated HTML.
314
- If set to a value other than book, the byline information (author and avatar) is included below the chapter header and a typographic end mark is added at the end of the last paragraph.
315
- Suggested values include: book (default), article.
316
- |===
317
-
318
- When using the EPUB3 converter, the `ebook-format` attribute resolves to the name of the e-book format being generated (epub3 or kf8) and the corresponding attribute `ebook-format-<name>` is defined, where `<name>` is `epub3` or `kf8`.
319
- You can use these attributes in a preprocessor directive if you only want to show certain content to readers using a particular device.
320
- For instance, if you want to display a message to readers on Kindle, you can use:
321
-
322
- [source,asciidoc]
36
+ [source,shell script]
323
37
  ----
324
- \ifdef::ebook-format-kf8[Hello Kindle reader!]
38
+ $ asciidoctor-epub3 -v
325
39
  ----
326
40
 
327
- With that out of the way, it's time to convert the AsciiDoc document directly to EPUB3.
328
-
329
- == Performing the Conversion
330
-
331
- You can convert AsciiDoc documents to EPUB3 and KF8/MOBI from the commandline using the `asciidoctor-epub3` script provided with the {project-name} project.
41
+ If you see the version of {project-name} printed, you're ready to use {project-name}.
332
42
 
333
- === Convert AsciiDoc to EPUB3
43
+ == Usage
334
44
 
335
- Converting an AsciiDoc document to EPUB3 is as simple as passing your document to the `asciidoctor-epub3` command.
336
- This command should be available on your PATH if you installed the `asciidoctor-epub3` gem.
45
+ Converting an AsciiDoc document to EPUB3 is as simple as passing your document to the `{project-handle}` command.
46
+ This command should be available on your PATH if you installed the `{project-handle}` gem.
337
47
  Otherwise, you can find the command in the [path]_bin_ folder of the project.
338
48
  We also recommend specifying an output directory using the `-D` option flag.
339
49
 
340
- $ asciidoctor-epub3 -D output data/samples/sample-book.adoc
341
-
342
- When the script completes, you'll see the file [file]_sample-book.epub_ appear in the [path]_output_ directory.
343
- Open that file with an EPUB reader (aka e-reader) to view the result.
344
-
345
- Below are several screenshots of this sample book as it appears on an Android phone.
346
-
347
- .An example of a chapter title and abstract shown side-by-side in Day and Night mode
348
- image::screenshots/chapter-title.png[]
349
-
350
- .An example of a section title followed by paragraph text separated by a literal block
351
- image::screenshots/section-title-paragraph.png[]
352
-
353
- .An example of a figure and an admonition
354
- image::screenshots/figure-admonition.png[]
355
-
356
- .An example of a sidebar
357
- image::screenshots/sidebar.png[]
358
-
359
- .An example of a table
360
- image::screenshots/table.png[]
361
-
362
- NOTE: The `asciidoctor-epub3` command is a temporary solution for invoking the {project-name} converter.
363
- We plan to remove this script once we have completed proper integration with the `asciidoctor` command.
364
-
365
- TIP: As another example, point `asciidoctor-epub3` at the {uri-github-guides-fork}[GitHub Guides] that we've ported to AsciiDoc, then compare the output to the real {uri-github-guides}[GitHub Guides].
366
-
367
- === Validate the EPUB3 Archive
368
-
369
- Next, let's validate the EPUB3 archive to ensure it built correctly.
370
-
371
- .EPUB3 with validation
372
- $ asciidoctor-epub3 -D output -a ebook-validate data/samples/sample-book.adoc
373
-
374
- .Validation success
375
- [.output]
376
- ....
377
- Validating using EPUB version 3.0.1 rules.
378
- No errors or warnings detected.
379
- Messages: 0 fatal / 0 errors / 0 warnings / 0 info
380
- EPUBCheck completed
381
- ....
382
-
383
- If the EPUB3 archive contains any errors, they will be output in your terminal.
384
-
385
- .EPUB Standard & Validator
386
- ****
387
- The electronic publication (EPUB) standard is developed by the {uri-idpf}[International Digital Publishing Forum (IDPF)].
388
- {uri-epub}[EPUB 3.1], released in January 2017, is the latest version of this standard.
389
-
390
- An EPUB3 archive contains:
391
-
392
- * a package document (metadata, file manifest, spine)
393
- * a navigation document (table of contents)
394
- * one or more content documents
395
- * assets (images, fonts, stylesheets, etc.)
396
-
397
- The IDPF also supports {uri-epubcheck}[EPUBCheck].
398
- EPUBCheck parses and validates the file against the EPUB schema.
399
- ****
400
-
401
- If you want to browse the contents of the EPUB3 file that is generated, or preview the XHTML files in a regular web browser, add the `-a ebook-extract` flag to the `asciidoctor-epub3` command.
402
- The EPUB3 file will be extracted to a directory adjacent to the generated file, but without the file extension.
403
-
404
- $ asciidoctor-epub3 -D output -a ebook-extract data/samples/sample-book.adoc
405
-
406
- In this example, the contents of the EPUB3 will be extracted to the [path]_output/sample-book_ directory.
407
-
408
- === Convert AsciiDoc to KF8/MOBI
409
-
410
- Creating a KF8/MOBI archive directly from an AsciiDoc document is done with the same generation script (`asciidoctor-epub3`).
411
- You just need to specify the format (`-a ebook-format`) as `kf8`.
412
-
413
- $ asciidoctor-epub3 -D output -a ebook-format=kf8 data/samples/sample-book.adoc
414
-
415
- When the script completes, you'll see the file [file]_sample-book.mobi_ as well as [file]_sample-book-kf8.epub_ (the precursor) appear in the [path]_output_ directory.
416
-
417
- KindleGen does mandatory validation so you don't need to run the `validate` command after converting to KF8/MOBI.
418
-
419
- .What is KF8?
420
- ****
421
- Kindle Format 8 (KF8) is Amazon's next generation file format offering a wide range of new features and enhancements--including HTML5 and CSS3 support--that publishers can use to create a broad range of books.
422
- The format is close enough to EPUB3 that it's safe to think of it simply as an EPUB3 implementation under most circumstances.
423
- You can read more about the format on the {uri-kf8}[Kindle Format 8 page].
424
-
425
- Amazon continues to use the _.mobi_ file extension for KF8 archives, despite the fact that they've switched from the Mobipocket format to the EPUB3-like KF8 format.
426
- That's why we refer to the format in this project as KF8/MOBI.
427
- ****
428
-
429
- === Tuning Listing Captions
430
-
431
- Unlike the built-in converters, the EPUB3 converter is configured to add a signifier (e.g., `Listing`) at the start the caption for all listing and source blocks that have a title.
432
- This behavior is triggered because the `listing-caption` attribute is set by default.
433
-
434
- If you don't want the signifier to be included at the beginning of the caption on listing and source blocks, simply unset the `listing-caption` when invoking Asciidoctor EPUB3.
435
-
436
- $ asciidoctor-epub3 -a listing-caption! book.adoc
437
-
438
- Now the behavior will match that of the built-in converters.
439
- For more information about this attribute and other related attributes, see {uri-asciidoctor-i18n}[internationalization and numbering].
440
-
441
- === Command Arguments
442
-
443
- *-h, --help* ::
444
- Show the usage message
445
-
446
- *-D, --destination-dir* ::
447
- Writes files to specified directory (defaults to the current directory)
448
-
449
- *-a ebook-epubcheck-path=<path>*::
450
- Specifies path to EPUBCheck executable to use with `-a ebook-validate`.
451
- This attribute takes precedence over `EPUBCHECK` environment variable.
452
-
453
- *-a ebook-extract* ::
454
- Extracts the EPUB3 to a folder in the destination directory after the file is generated
455
-
456
- *-a ebook-format=<format>* ::
457
- Specifies the ebook format to generate (epub3 or kf8, default: epub3)
458
-
459
- *-a ebook-kindlegen-path=<path>*::
460
- Specifies path to KindleGen executable to use when producing KF8/Mobi.
461
- This attribute takes precedence over `KINDLEGEN` environment variable.
462
-
463
- *-a ebook-validate* ::
464
- Runs {uri-epubcheck}[EPUBCheck] to validate output file against the EPUB3 specification
465
-
466
- *-a ebook-compress=<0|1|2|none|standard|huffdic>* ::
467
- Controls the compression type used by kindlegen (0=none [default if unset], 1=standard [default if empty], 2=huffdic)
468
-
469
- *-v, --version* ::
470
- Display the program version
471
-
472
- === Environment variables
473
-
474
- *EPUBCHECK*::
475
- Specifies path to EPUBCheck executable to use with `-a ebook-validate`.
476
- Effect of this variable can be overriden with `-a ebook-epubcheck-path` attribute.
477
-
478
- *KINDLEGEN*::
479
- Specifies path to KindleGen executable to use when producing KF8/Mobi.
480
- Effect of this variable can be overriden with `-a ebook-kindlegen-path` attribute.
481
-
482
- === EPUB3 Archive Structure
483
-
484
- Here's a sample manifest of files found in an EPUB3 document produced by {project-name}.
485
-
486
- ....
487
- META-INF/
488
- container.xml
489
- EPUB/
490
- fonts/
491
- awesome/
492
- fa-solid-900.ttf
493
- font-icons.ttf
494
- mplus-1mn-latin-bold.ttf
495
- mplus-1mn-latin-light.ttf
496
- mplus-1mn-latin-medium.ttf
497
- mplus-1mn-latin-regular.ttf
498
- mplus-1p-latin-bold.ttf
499
- mplus-1p-latin-light.ttf
500
- mplus-1p-latin-regular.ttf
501
- noto-serif-bold-italic.ttf
502
- noto-serif-bold.ttf
503
- noto-serif-italic.ttf
504
- noto-serif-regular.ttf
505
- images/
506
- avatars/
507
- default.png
508
- figure-01.png
509
- figure-02.png
510
- styles/
511
- epub3-css3-only.css
512
- epub3.css
513
- chapter-01.xhtml
514
- chapter-02.xhtml
515
- ...
516
- cover.xhtml
517
- nav.xhtml
518
- package.opf
519
- toc.ncx
520
- mimetype
521
- ....
522
-
523
- == Working with Images
524
-
525
- Images referenced in your AsciiDoc document must be stored in the images catalog.
526
- The images catalog is defined by the `imagesdir` attribute.
527
- If set, the value of this attribute is resolved relative to the document and must be at or below (i.e., within) the directory of that document.
528
- (In other words, it cannot point to a location outside the document directory).
529
- If this attribute is not set, the images catalog defaults to the directory of the document.
530
- {project-name} will discover all local image references and insert those images into the EPUB3 archive at the same relative path.
531
-
532
- === Default Images
533
-
534
- The sample book contains placeholder image for an author avatar.
535
-
536
- // TODO explain the avatar and book cover images
537
-
538
- === Adding the Cover Image
539
-
540
- Ereaders have different image resolution and file size limits regarding a book's cover.
541
- Kindle covers tend to be 1050x1600 (16:9 resolution).
542
- To ensure your cover displays correctly, you'll want to review the documentation or publisher guidelines for the e-reading platform you're targeting.
543
-
544
- WARNING: We've found that if the book cover is more than 1600px on any side, Aldiko will not render it and may even crash.
545
-
546
- Feel free to use the SVG of the sample cover in the [path]_data/images_ folder as a template for creating your own cover.
547
- Once your image is ready, you can set the cover image by defining the `front-cover-image` attribute in the header of the master document.
548
-
549
- [source,asciidoc]
50
+ [source,shell script]
550
51
  ----
551
- :front-cover-image: image:cover.png[Front Cover,1050,1600]
52
+ $ asciidoctor-epub3 -D output path/to/book.adoc
552
53
  ----
553
54
 
554
- The image is resolved relative to the directory specified in the `imagesdir` attribute, which defaults to the directory of the3 document.
555
- The image can be in any format, though we recommend using PNG, JPG, or SVG as they are the most portable formats.
556
-
557
- IMPORTANT: *You should always specify the dimensions of the cover image.*
558
- This ensures the viewer will preserve the aspect ratio if it needs to be scaled to fit the screen.
559
- If you don't specify a width and height, then the dimensions are assumed to be 1050x1600.
560
-
561
- === How to Organize Images by Chapter
55
+ When the script completes, you'll see the file [file]_book.epub_ appear in the [path]_output_ directory.
56
+ Open that file with an EPUB3 reader to view the result.
562
57
 
563
- You can set the `imagesdir` attribute per chapter (as long as the attribute is not overridden by the API).
564
- To do so, use an attribute entry to set the value of the `imagesdir` attribute on the line above the include directive for a chapter.
58
+ You may also produce KF8/MOBI file by setting `ebook-format` attribute to `kf8`.
565
59
 
566
- [source,asciidoc]
60
+ [source,shell script]
567
61
  ----
568
- :imagesdir: chapter-one/images
569
- \include::chapter-one.adoc[]
570
-
571
- :imagesdir: chapter-two/images
572
- \include::chapter-two.adoc[]
62
+ $ asciidoctor-epub3 -D output -a ebook-format=kf8 path/to/book.adoc
573
63
  ----
574
64
 
575
- == About the Theme
576
-
577
- EPUB3 and KF8/MOBI files are styled using CSS3.
578
- However, each e-reading platform honors a reduced set of CSS3 styles, and the styles they allow and how they implement them are rarely documented.
579
- All we've got to say is _thank goodness for CSS hacks, media queries and years of CSS experience!_
580
-
581
- The theme provided with {project-name} has been crafted to display EPUB3 and KF8/MOBI files as consistently as possible across the most common EPUB3 platforms and to degrade gracefully in select EPUB2 platforms.
582
- The theme maintains readability regardless of the reading mode (i.e., day, night or sepia) or the display device's pixel density and screen resolution.
583
-
584
- The theme's CSS files are located in the [path]_data/style_ directory.
585
-
586
- IMPORTANT: {project-name} only provides one theme, and, at this time, you can not replace it with a custom theme using the `stylesheet` attribute.
587
- However, you can use your own [path]_epub3.css_ and [path]_epub3-css3-only.css_ files by specifying the directory where they are located using the `epub3-stylesdir` attribute.
588
-
589
- === Fonts
590
-
591
- {project-name} embeds a set of fonts and font icons.
592
- The theme's fonts are located in the [path]_data/fonts_ directory.
593
-
594
- The M+ Outline fonts are used for titles, headings, literal (monospace) text, and annotation numbers.
595
- The body text uses Noto Serif.
596
- Admonition icons and the end-of-chapter mark are from the Font Awesome icon font.
597
- Refer to the <<NOTICE#,NOTICE>> file for further information about the fonts.
598
-
599
- // TODO document command to generate the M+ 1p latin fonts
600
-
601
- === Device-specific Styles
602
-
603
- For readers that support JavaScript, {project-name} adds a CSS class to the body element of each chapter that corresponds to the name of the reader as reported by the {uri-epubreadingsystem}[epubReadingSystem] JavaScript object.
604
- This enhancement allows you to use styles targeted specifically at that reader.
65
+ When the script completes, the file [file]_book.mobi_ will appear in [path]_output_ directory.
605
66
 
606
- Below you can find the readers that are known to support this feature and the CSS class name that gets added to the body element.
607
-
608
- ,===
609
- Reader,HTML Element,CSS Class Name
610
-
611
- Gitden,body,gitden-reader
612
- Namo PubTreeViewer,body,namo-epub-library
613
- Readium,body,readium-js-viewer
614
- iBooks,body,ibooks
615
- Adobe RMSDK >= 11,body,rmsdk
616
- Google Books,div,gb-reader-container
617
- ,===
618
-
619
- NOTE: Kobo does not support the epubReadingSystem JavaScript object, despite the fact that it does support JavaScript.
620
-
621
- == Pushing to Android
622
-
623
- While it's certainly possible to view the EPUB3 on your desktop/laptop, you'll probably want to test it where it's most likely going to be read--on a reading device such as a smartphone or a tablet.
624
- Assuming you have an Android device available, transferring the EPUB3 to the device is easy once you get a bit of setup out of the way.
625
-
626
- You transfer files from your computer to an Android phone over a USB connection using a command from the Android SDK Tools called `adb`.
627
- Follow these steps to get it setup:
628
-
629
- . Download the Android SDK Tools zip from the table labeled *SDK Tools Only* on the {uri-android-sdk}[Get the Android SDK] page
630
- . Extract the archive
631
- . Locate the path to the `adb` command (Hint: Look in the platform-tools folder)
632
- . Set the environment variable named ADB to the path of the `adb` command
633
-
634
- $ export ADB=~/apps/android-sdk/platform-tools/adb
635
-
636
- Now you can use the `adb-push-ebook` script provided by {project-name} to push the EPUB3 and KF8/MOBI files to your Android device.
637
-
638
- .Publish both EPUB3 and KF8 files to Android device
639
- $ adb-push-ebook output/sample-book
640
-
641
- IMPORTANT: Don't include the file extension since the script will check for both the .epub and .mobi files.
642
-
643
- The `adb-push-ebook` script copies the files to the following locations on the device:
644
-
645
- ,===
646
- File type,Destination on Android device
647
-
648
- *.epub,/sdcard/
649
- *.mobi,/sdcard/Android/data/com.amazon.kindle/files/
650
- ,===
651
-
652
- Amazon Kindle should immediately detect the new file and display it in your “On Device” library.
653
- You'll have to manually import the EPUB3 into your e-reader of choice.
654
-
655
- == E-book Reader Recommendations and Quirks
656
-
657
- EPUB3 e-readers will provide the best reading experience when viewing the book generated by {project-name}.
658
- Here's a list of some of the e-readers we know to have good EPUB3 support and the systems on which they run:
659
-
660
- * http://www.amazon.com/gp/feature.html?docId=1000493771[Amazon Kindle] (most platforms)
661
- * http://gitden.com/gitdenreader[Gitden] (Android and iOS)
662
- * http://www.apple.com/ibooks[iBooks] (iOS, OSX)
663
- * https://chrome.google.com/webstore/detail/readium/fepbnnnkkadjhjahcafoaglimekefifl?hl=en-US[Readium] (Chrome)
664
- * http://www.kobo.com/apps[Kobo] (Android, iOS, OSX and Windows)
665
- * http://www.namo.com/site/namo/menu/5074.do[Namo PubTreeViewer] (Android, iOS and Windows)
666
- * http://calibre-ebook.com[Calibre (ebook-viewer)] (Linux, OSX, Windows)
667
-
668
- IMPORTANT: To get the full experience, *ensure that the e-reader is configured to use the publisher's styles*.
669
- Different e-readers word this setting in different ways.
670
- Look for the option screen that allows you to set the fonts and font colors and disable it.
671
- With publisher's styles active, you'll still be able to adjust the relative size of the fonts and margins and toggle between day, night and sepia mode.
672
-
673
- When the book is viewed in EPUB2 e-readers and Kindle apps/devices which have reached their end-of-life (EOL), the e-book relies on the strong semantics of the HTML and some fallback styles to render properly.
674
- EPUB2 e-readers, such as Aldiko, don't understand CSS3 styles and therefore miss out on some of subtleties in the formatting.
675
-
676
- As mentioned in the <<About the Theme,theme section>>, the stylesheet attempts to provide as consistent a reading experience as possible in the common EPUB3 e-readers, despite the different CSS implementation rules and limitations unique to each e-book application.
677
- Most of these obstacles were addressed using media queries or explicit classes.
678
- Some we haven't conquered.
679
- Yet.
680
-
681
- The <<kindle-quirks,Kindle quirks list>> shows you just a few of the constraints we encountered.
682
- To see all of the workarounds and why we chose certain style options, check out the code and comments in the [file]_epub3.css_ and [file]_epub3-css-only.css_ files.
683
-
684
- // TODO add http://www.namo.com/site/namo/menu/5074.do[Namo PubTreeViewer] (iOS, Android & Windows) and http://www.kobo.com/apps[Kobo] (iOS, Android, OSX & Windows)
685
-
686
- [#kindle-quirks]
687
- .Kindle Quirks
688
- * overrules margins and line heights like a medieval tyrant
689
- * `font-family` can't be set on `<body>`
690
- * requires `!important` on text-decoration
691
- * `position: relative` isn't permitted
692
- * strips (or unwraps) `<header>` tags
693
- * `@page` isn't supported
694
- * `page-break: avoid` isn't supported
695
- * `page-break-*` cannot be applied using a compound or nested CSS selector; must be a simple ID or class
696
- * `max-width` isn't supported
697
- * `widows` are left in the cold
698
- * won't style footers without an explicit class
699
- * `-webkit-hyphens: auto` causes Kindle for Mac (and perhaps others) to crash
700
- * `text-rendering: optimizeLegibility` causes file to be rejected by KFP (and causes the text to disappear in some previewers)
701
- * Kindle Direct Publishing (KDP) strips out select font-related CSS rules (e.g., `font-family`) under certain conditions (for reasons that have proved nearly impossible to reverse engineer); the known workaround is to add a layer of indirection by using `@import` to hide the CSS files from the script
702
-
703
- === Kindle Direct Publishing
704
-
705
- If you want to publish your book to the Amazon Kindle store, and have your styles and fonts preserved, you must use https://kdp.amazon.com[Kindle Direct Publishing].
706
- No other method of publishing to the Amazon Kindle store will leave your book intact.
707
-
708
- This workflow also allows you to preview the book the way your readers will see it.
709
- So it's a good way to acceptance test your custom styles to discover which ones are honored and which ones are ignored.
710
-
711
- ==== Look Inside
712
-
713
- The Amazon Kindle store offers a “Look Inside” feature for reader.
714
- This so-called feature aims to gives readers a glimpse at the contents of the book.
715
- Sadly, it does no such thing.
716
- Instead, it shows pages from the legacy MOBI document that kindlegen adds to your e-book file, not the higher fidelity KF8 document.
717
- This means the preview won't look at all like what the Kindle reader or application will actually show.
718
- Custom fonts, font-based icons, and most styles will be missing.
719
-
720
- This situation is unfortunate for authors.
721
- What we recommend is to complain loudly to Amazon that they are hurting your sales by displaying a crippled version of your product.
722
- Tell them that under no circumstances should they show an altered version of your product.
723
- Another option is to contact Amazon to opt-out of this program.
724
-
725
- === Send to Kindle
726
-
727
- WARNING: Don't use it!
728
-
729
- {uri-send-to-kindle}[Send to Kindle] is a tempting choice for transferring MOBI files to a Kindle device.
730
- However, it's utterly broken.
731
- If you use this tool, don't be surprised if you see missing font-based icons, default fonts, and other font and style errors in your manuscript.
732
- It's known to strip out all the font files and break the encoding of the document.
733
-
734
- We *strongly* recommend you transfer the file to your device using either a USB cable or a sync service such as Dropbox.
735
- Once transferred, Whispersync will detect the new file (usually looking in the Books folder) and add it to the “On Device” library.
736
-
737
- It's important to note that “Send to Kindle” is not reflective of the experience readers will have when shopping in the Kindle store.
738
- If you use Kindle Direct Publishing (KDP) to publish your book, the integrity of your book will be preserved (to the degree that Amazon allows).
739
-
740
- ////
741
- head-stop (default '.')
742
- stack-head role (run-in is default)
743
- signature role (sets hardbreaks option)
744
-
745
- subject-stop (default ':')
746
- ////
747
-
748
- ////
749
- == Device and Application Testing
750
-
751
- {project-name} has been tested on the following devices and applications.
752
-
753
- .Computers
754
- |===
755
- |Device |OS |Resolution |ppi |Browsers |Readium |Gitden |Kindle
756
-
757
- |Asus
758
- |Fedora 17
759
- |no x no
760
- |
761
- |Chrome x
762
- |Readium
763
-
764
- Asus, Fedora 20, display resolution, Chrome x, Readium
765
- Ideapad Y460 |Fedora 20 |1366 x 768 (16:9) |
766
- PC, Windows X,
767
- |===
768
-
769
- .Tablets
770
- |===
771
- Asus Transformer, Android x, display resolution, Aldiko, Kindle, Readium, Readmill
772
- Nexus,
773
- |===
774
-
775
- .Phones
776
- |===
777
- HTC Sensation, Android x, display resolution, xxxx
778
- Nexus ,
779
- |===
780
-
781
- ////
782
-
783
- ifndef::env-site[]
784
67
  == Contributing
785
68
 
786
69
  In the spirit of free software, _everyone_ is encouraged to help improve this project.
@@ -806,12 +89,12 @@ You can retrieve {project-name} in one of two ways:
806
89
  If you want to clone the git repository, simply copy the {uri-repo}[GitHub repository URL] and pass it to the `git clone` command:
807
90
 
808
91
  [subs=attributes+]
809
- $ git clone {uri-repo}
92
+ $ git clone {uri-repo}
810
93
 
811
94
  Next, change to the project directory:
812
95
 
813
96
  [subs=attributes+]
814
- $ cd {project-handle}
97
+ $ cd {project-handle}
815
98
 
816
99
  ==== Option 2: Download the Archive
817
100
 
@@ -878,7 +161,22 @@ or
878
161
  You're now ready to test drive the development version of {project-name}!
879
162
 
880
163
  Jump back to <<Getting Started>> to learn how to create an AsciiDoc document and convert it to EPUB3.
881
- endif::[]
164
+
165
+ === Fonts
166
+
167
+ {project-name} embeds a set of fonts and font icons.
168
+ The theme's fonts are located in the [path]_data/fonts_ directory.
169
+
170
+ The M+ Outline fonts are used for titles, headings, literal (monospace) text, and annotation numbers.
171
+ The body text uses Noto Serif.
172
+ Admonition icons and the end-of-chapter mark are from the Font Awesome icon font.
173
+ Refer to the link:NOTICE.adoc[] file for further information about the fonts.
174
+
175
+ // TODO document command to generate the M+ 1p latin fonts
176
+
177
+ == Planned Features and Work In Progress
178
+
179
+ See link:WORKLOG.adoc[].
882
180
 
883
181
  == Authors
884
182
 
@@ -886,19 +184,8 @@ endif::[]
886
184
 
887
185
  == Copyright
888
186
 
889
- Copyright (C) 2014-2019 OpenDevise Inc. and the Asciidoctor Project.
187
+ Copyright (C) 2014-2021 OpenDevise Inc. and the Asciidoctor Project.
890
188
  Free use of this software is granted under the terms of the MIT License.
891
189
 
892
190
  For the full text of the license, see the link:LICENSE[] file.
893
- Refer to the <<NOTICE#,NOTICE>> file for information about third-party Open Source software in use.
894
-
895
- ////
896
- == Additional Points of Note
897
-
898
- * uppercase chapter titles to work around line-height limitation in Kindle (1.4 minimum)
899
- * using vw units crashes Aldiko
900
- * circled numbers from M+ 1mn for annotation numbers in listing blocks
901
- * avatars for authors
902
- * document command to generate the M+ 1p latin fonts
903
- * recommended e-readers (Readium, Gitden, Kindle, etc)
904
- ////
191
+ Refer to the link:NOTICE.adoc[] file for information about third-party Open Source software in use.