github asciidoctor/asciidoctor-pdf v2.0.8

latest releases: v2.3.18, v2.3.17, v2.3.16...
2 years ago

This is a patch release in the 2.0.x release line focused on fixing various rendering bugs when the content in the document body is arranged into columns. These issues were discovered while working on multi-column support in the main branch. Although support for multiple columns is not included in this release line, users who are using an extended converter to add multi-column support will benefit from these fixes. The main fix is that the converter correctly computes the value of end cursor of an extent when the column box starts below top of page. The code for how columns are handled in the scratch document has also been refactored so that the logic is encapsulated in the ColumnBox class.

This is also the first release where the release notes were generated automatically (except for this summary) as part of the release process.

Distribution

Changelog

Improvements

  • encapsulate logic to adjust column box inside float and dry run
  • automatically set height on column box if not specified; update value automatically when reflowing margins

Bug Fixes

  • correctly compute value of to cursor on extent when column box starts below top of page (#2230)
  • fix crash in ColumnBox#move_past_bottom when :reflow_margins option is not set
  • fix x position of SVG when advanced to next column of column box
  • at_page_top? should consider top of column box to be top of page
  • prevent SVG image taller than column from being advanced to next column
  • don't push section that follows index section in article to new page if last page of index does not extend to bottom of page

Release meta

Released on: 2022-06-08
Released by: @mojavelinux
Release beer: Houblon Deluxe by Pure Project Brewing

Logs: resolved issues | full diff

Credits

A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.

Don't miss a new asciidoctor-pdf release

NewReleases is sending notifications on new releases.