asciidoctor-pdf 2.3.21 → 2.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +22 -1
- data/README.adoc +2 -1
- data/lib/asciidoctor/pdf/converter.rb +7 -3
- data/lib/asciidoctor/pdf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29a4c9b5fe96da65792626ef875be766bf2ef161038907e2284a91133c354d6d
|
|
4
|
+
data.tar.gz: ad429bfed1094f031c17fa520e03823b118668f931bbc3d12f2de0d284a0ffdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2eebb18e0a1e91c1acdbabc7b4b06db2d2d0b22a3d5df05cba3e52c8fb5c99e37b91c9850e093094e7abc486c787aa686377f473bfe50a6a93547b43d5e28e51
|
|
7
|
+
data.tar.gz: a5c7524f2b7d66debb40f8c4a71e4a1150660b9fb8db65f326da008b58318e0466e691fffd9e76efce5e25a8fcb3c3f812d71abf50f72f16ea62538443ce7abe
|
data/CHANGELOG.adoc
CHANGED
|
@@ -5,12 +5,33 @@
|
|
|
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.3.23 (2025-10-26) - @mojavelinux
|
|
9
|
+
|
|
10
|
+
Bug Fixes::
|
|
11
|
+
|
|
12
|
+
* fix incorrect spacing between entries in horizontal dlist when entry description crosses page boundary (#2614)
|
|
13
|
+
|
|
14
|
+
=== Details
|
|
15
|
+
|
|
16
|
+
{url-repo}/releases/tag/v2.3.23[git tag] | {url-repo}/compare/v2.3.22\...v2.3.23[full diff]
|
|
17
|
+
|
|
18
|
+
== 2.3.22 (2025-10-23) - @mojavelinux
|
|
19
|
+
|
|
20
|
+
Bug Fixes::
|
|
21
|
+
|
|
22
|
+
* don't orphan section with unbreakable option that spans page boundary (#2608)
|
|
23
|
+
* correctly track start page number of section title that self-advances when section is breakable (#2609)
|
|
24
|
+
|
|
25
|
+
=== Details
|
|
26
|
+
|
|
27
|
+
{url-repo}/releases/tag/v2.3.22[git tag] | {url-repo}/compare/v2.3.21\...v2.3.22[full diff]
|
|
28
|
+
|
|
8
29
|
== 2.3.21 (2025-10-08) - @mojavelinux
|
|
9
30
|
|
|
10
31
|
Improvements::
|
|
11
32
|
|
|
12
33
|
* remove shy hyphens from text in log message when formatted text cannot be parsed (#2599)
|
|
13
|
-
* clear float box if next block falls outside of
|
|
34
|
+
* clear float box if next block falls outside of float group (#2596)
|
|
14
35
|
* resolve fonts relative to theme dir before GEM_FONTS_DIR if `pdf-fontsdir` not specified (#2349)
|
|
15
36
|
* add see and see-also associations on index terms to index (#2527)
|
|
16
37
|
|
data/README.adoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
= Asciidoctor PDF: A native PDF converter for AsciiDoc
|
|
2
2
|
Dan Allen <https://github.com/mojavelinux[@mojavelinux]>; Sarah White <https://github.com/graphitefriction[@graphitefriction]>
|
|
3
|
-
v2.3.
|
|
3
|
+
v2.3.23, 2025-10-26
|
|
4
4
|
// Settings:
|
|
5
5
|
:experimental:
|
|
6
6
|
:idprefix:
|
|
@@ -208,3 +208,4 @@ Free use of this software is granted under the terms of the MIT License.
|
|
|
208
208
|
|
|
209
209
|
For the full text of the license, see the link:LICENSE[] file.
|
|
210
210
|
Refer to the <<NOTICE.adoc#,NOTICE>> file for information about third-party Open Source software in use.
|
|
211
|
+
endif::[]
|
|
@@ -1505,10 +1505,11 @@ module Asciidoctor
|
|
|
1505
1505
|
indent term_column_width + desc_padding[3], desc_padding[1] do
|
|
1506
1506
|
traverse_list_item desc, :dlist_desc, normalize_line_height: true, margin_bottom: ((next_enclosed_block desc, descend: true) ? nil : 0)
|
|
1507
1507
|
end
|
|
1508
|
+
# ensure cursor is below last term
|
|
1508
1509
|
if page_number < after_term_page_number
|
|
1509
1510
|
go_to_page after_term_page_number
|
|
1510
1511
|
@y = after_term_y
|
|
1511
|
-
elsif y > after_term_y
|
|
1512
|
+
elsif page_number == after_term_page_number && y > after_term_y
|
|
1512
1513
|
@y = after_term_y
|
|
1513
1514
|
end
|
|
1514
1515
|
end
|
|
@@ -2912,9 +2913,10 @@ module Asciidoctor
|
|
|
2912
2913
|
if (min_height_after = @theme.heading_min_height_after) == 'auto' || (node.option? 'breakable')
|
|
2913
2914
|
orphaned = nil
|
|
2914
2915
|
doc = node.document
|
|
2916
|
+
start_page_number = nil
|
|
2915
2917
|
dry_run single_page: true do
|
|
2916
2918
|
push_scratch doc
|
|
2917
|
-
|
|
2919
|
+
start_page_number ||= page_number # block will be restarted if first attempt fails
|
|
2918
2920
|
theme_font :heading, level: opts[:level] do
|
|
2919
2921
|
if opts[:part]
|
|
2920
2922
|
ink_part_title node, title, opts
|
|
@@ -2924,9 +2926,11 @@ module Asciidoctor
|
|
|
2924
2926
|
ink_general_heading node, title, opts
|
|
2925
2927
|
end
|
|
2926
2928
|
end
|
|
2927
|
-
if
|
|
2929
|
+
if page_number == start_page_number
|
|
2928
2930
|
page.tare_content_stream
|
|
2929
2931
|
orphaned = stop_if_first_page_empty { node.context == :section ? (traverse node) : (convert node.next_sibling) }
|
|
2932
|
+
else
|
|
2933
|
+
orphaned = true
|
|
2930
2934
|
end
|
|
2931
2935
|
ensure
|
|
2932
2936
|
pop_scratch doc
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asciidoctor-pdf
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Allen
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-10-
|
|
12
|
+
date: 2025-10-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: asciidoctor
|