github asciidoctor/asciidoctor-pdf v2.3.13

latest releases: v2.3.18, v2.3.17, v2.3.16...
7 months ago

Another week, another round of bug fixes. This is a patch release in the 2.3.x release line that fixes inconsistencies between what the documentation says and how the software behaves.

The key fix in this release is to support the toc start-at value for page numbering and running content when the toc is inserted using the toc macro. This release also fixes the page number of index entries in a prepress book when page numbering starts at or after the toc and the toc is inserted using the toc macro.

We discovered that the matcher for an isolated image macro in the content key of the running content (header or footer) was checking per line instead of across the whole string, which caused the text on other lines to be dropped in some instances. This matcher has been corrected so that all the lines are preserved.

Another case was discovered when the placeholder character for an inline image was triggering a warning about a missing character when using a fallback font.
Since this placeholder is not meant to be rendered, the code has been updated to ensure this character is skipped when analyzing the fonts for fallback font support.

Distribution

Changelog

Bug Fixes

  • don't drop text on line above inline image macro in running content value (#2495)
  • when looking for a value that only contains an image macro, match the whole string instead of per line (#2495)
  • don't warn about missing character in fallback font when inline image is advanced to next page (#2492)
  • support toc start at value for page numbering and running content when toc is added using macro (#2489)
  • fix page number of index entries in prepress book when page numbering starts at toc or after toc and toc is inserted using macro (#2487)

Release meta

Released on: 2024-02-16
Released by: @mojavelinux
Release beer: Gnoel de Abbey by The Lost Abbey

Logs: resolved issues | source diff | gem 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.