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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4250f6c0a0f203fe5e164656467da521bf4741771dd2627030c02a5401c24970
4
- data.tar.gz: ef2cdb91e970f26ec2cbbb680d94db21d613aaf3c339492f63bbdb5c30a19337
3
+ metadata.gz: 29a4c9b5fe96da65792626ef875be766bf2ef161038907e2284a91133c354d6d
4
+ data.tar.gz: ad429bfed1094f031c17fa520e03823b118668f931bbc3d12f2de0d284a0ffdf
5
5
  SHA512:
6
- metadata.gz: a53a41fffe731219da61c25eea7f443dd7cb3b64594e116637f28f2f43173a8d4f43c1b7040cacee56566a3e0bb6be474a6d488275d02094646ea1d48b1fb9a2
7
- data.tar.gz: 717af76d4f0f4d958301f099e68ccd3395bc54b5740b2fa47d741fee2bd13aec2d2f48e5443c5d43f64535f23f6b12dc1a00d1c0dd74216a0f95f7ac15845e89
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 flaot group (#2596)
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.21, 2025-10-08
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
- start_page = page
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 page == start_page
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Asciidoctor
4
4
  module PDF
5
- VERSION = '2.3.21'
5
+ VERSION = '2.3.23'
6
6
  end
7
7
  end
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.21
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-08 00:00:00.000000000 Z
12
+ date: 2025-10-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: asciidoctor