This is a patch release in the 2.1.x release line. It fixes a few minor bugs. If the layout is changed from portrait to landscape or vice-versa in the main document, that same change is applied to the scratch document. This ensures that the extent of the content block is computed correctly. If an extended converter overrides the get_entries_for_toc method, the converter looks at that result instead of Document#sections? to determine if the TOC should be inserted. And the converter now uses the correct logic to insert an empty page before the TOC with automatic placement in a prepress book.
Numerous updates and enhancements were made to the docs during this release cycle as well.
The 2.2.x release line will be created following this patch release.
Distribution
Changelog
Bug Fixes
- apply page layout from main document to new page in scratch document (#2248)
- use correct logic to insert page before TOC with automatic placement when doctype=book and media=prepress
- use
get_entries_for_toc
to determine if the TOC is non-empty rather thanDocument#sections?
Release meta
Released on: 2022-06-17
Released by: @mojavelinux
Release beer: Strata-Ford IPA by Athletic Brewing Co.
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.