asciidoctor-pdf 2.0.0.beta.2 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +54 -0
- data/README.adoc +79 -1103
- data/docs/theming-guide.adoc +1 -1
- data/lib/asciidoctor/pdf/converter.rb +2122 -2115
- data/lib/asciidoctor/pdf/ext/asciidoctor/abstract_block.rb +31 -0
- data/lib/asciidoctor/pdf/ext/asciidoctor.rb +1 -0
- data/lib/asciidoctor/pdf/ext/prawn/document/column_box.rb +9 -5
- data/lib/asciidoctor/pdf/ext/prawn/extensions.rb +58 -28
- data/lib/asciidoctor/pdf/ext/prawn/formatted_text/protect_bottom_gutter.rb +8 -5
- data/lib/asciidoctor/pdf/formatted_text/inline_image_arranger.rb +5 -1
- data/lib/asciidoctor/pdf/formatted_text/source_wrap.rb +9 -3
- data/lib/asciidoctor/pdf/formatted_text/transform.rb +21 -17
- data/lib/asciidoctor/pdf/theme_loader.rb +7 -7
- data/lib/asciidoctor/pdf/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d912c0aa04b380a6b2a69420f01a3c4795bb897dd3b1fbc22316ec38f333905
|
4
|
+
data.tar.gz: 6a717bfc06aa32799bc4bfb24c0e67b621709eac500efb1e78c1cf9f42d06afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69b76de214031c839abed9c1de5a0df55925ff638e4f9eab327e8970b66e78b499a1e9966bf7df436767a71728f6e6396608ad821feebf7a995de0585ca00861
|
7
|
+
data.tar.gz: 5f86394d598bdd7aa2c574912f95213cefa0620f375a34c35ff15d00369c0ca36b2dcec836ac95c460f9222f5ca24fa2b7573dd85448a5b5677cba5c1d2dd164
|
data/CHANGELOG.adoc
CHANGED
@@ -5,6 +5,59 @@
|
|
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 {url-repo}/commits/main[commit history] on GitHub.
|
7
7
|
|
8
|
+
== 2.0.1 (2022-05-21) - @mojavelinux
|
9
|
+
|
10
|
+
Bug Fixes::
|
11
|
+
|
12
|
+
* scale inline image to fit within available height of page, accounting for the top padding of the line and the bottom gutter (#2193)
|
13
|
+
* short-circuit formatted_text routine and log error if fragments in first line cannot fit on a new page
|
14
|
+
* break and wrap long contiguous text in source block when linenums are enabled (#2198)
|
15
|
+
|
16
|
+
=== Details
|
17
|
+
|
18
|
+
{url-repo}/releases/tag/v2.0.1[git tag] | {url-repo}/compare/v2.0.0\...v2.0.1[full diff]
|
19
|
+
|
20
|
+
== 2.0.0 (2022-05-18) - @mojavelinux
|
21
|
+
|
22
|
+
Improvements::
|
23
|
+
|
24
|
+
* use more stable approach to recreating current bounds in scratch document
|
25
|
+
* add foundation to support multi-column layout for the body of an article (using an extended converter only)
|
26
|
+
|
27
|
+
=== Details
|
28
|
+
|
29
|
+
{url-repo}/releases/tag/v2.0.0[git tag] | {url-repo}/compare/v2.0.0.rc.1\...v2.0.0[full diff]
|
30
|
+
|
31
|
+
== 2.0.0.rc.1 (2022-05-17) - @mojavelinux
|
32
|
+
|
33
|
+
Enhancements::
|
34
|
+
|
35
|
+
* allow theme to position caption for code and example blocks below block using `caption-end` key (#1730)
|
36
|
+
* allow hyphenation to be turned on and configured using the `base-hyphens` key in the theme (#2161)
|
37
|
+
* replace `docdir` attribute reference in value of `pdf-themesdir` and `pdf-fontsdir` attributes (if not already replaced) (#412)
|
38
|
+
* split out `start_title_page` method from `ink_title_page` to make customization of the title page simpler using an extended converter
|
39
|
+
* introduce `start_toc_page` method to handle positioning cursor at first page of TOC
|
40
|
+
|
41
|
+
Improvements::
|
42
|
+
|
43
|
+
* reclassify and mark which methods in the converter are private
|
44
|
+
* organize methods in converter
|
45
|
+
* add DOM traversal methods to simplify the logic in the converter
|
46
|
+
* remove requirement to add dummy text to title page to preserve it
|
47
|
+
|
48
|
+
Bug Fixes::
|
49
|
+
|
50
|
+
* apply top line height padding to first line of text when text runs to top of next page (#2173)
|
51
|
+
* don't add entry to outline for notitle section if no content follows it
|
52
|
+
* don't add entry to TOC for notitle section if no content follows it
|
53
|
+
* look for block align roles on image instead of text align roles (#2176)
|
54
|
+
* use correct left value when creating bounding box
|
55
|
+
* don't apply border on block images to logo image on title page
|
56
|
+
|
57
|
+
=== Details
|
58
|
+
|
59
|
+
{url-repo}/releases/tag/v2.0.0.rc.1[git tag] | {url-repo}/compare/v2.0.0.beta.2\...v2.0.0.rc.1[full diff]
|
60
|
+
|
8
61
|
== 2.0.0.beta.2 (2022-05-14) - @mojavelinux
|
9
62
|
|
10
63
|
Enhancements::
|
@@ -65,6 +118,7 @@ Enhancements::
|
|
65
118
|
* use `base-border-color` as default border color; control appearance of border using `border-width` value alone (#2134)
|
66
119
|
* remove border colors in base theme so all border colors can be controlled using `base-border-color` when extending theme
|
67
120
|
* enable running footer when using base theme
|
121
|
+
* allow built-in optimizer to set PDF compliance flag (PDF/A and PDF/X) using value of `optimize` attribute (#125)
|
68
122
|
|
69
123
|
Bug Fixes::
|
70
124
|
|