v1.5.0 Beta 7
Pre-releaseSummary
The feedback from the last beta led us to discover several important bugs, which warrants yet another beta release. But with over 700 tests, we're more confident than ever the release candidate for the 1.5.0 release is just over the horizon. Here's what changed to get us one step closer:
The section indent feature is now implemented properly. Despite being introduced in the last release, we discovered it was compounding the indent for each nested section and block. Now the section indent is applied once for the whole document. We also discovered the implicit page-count attribute in the running content was off if the start at for the running content or page numbering was changed. In fact, a lot of logic related to implicit attributes in the running content was cleaned up. The PDF outline would disappear or show the wrong doctitle in certain scenarios, which is now fixed. If the document is missing a doctitle, it defaults to the value of the untitled-label
attribute. Individual elements on the title page can be disabled from the theme using the display: none
property. Using the image macro, you can now import ranges of pages from another PDF document as specified by the pages
attribute. The PDF optimizer integrated into the converter in the last release is now available as a standalone bin script named asciidoctor-pdf-optimize
. And, finally, the text decoration can be controlled using a custom inline role. Oh, and did we mention there are now > 700 tests? 🎉
Consult the CHANGELOG to find the complete list of changes.
Distribution
Changelog
- fix value of implicit page-count attribute when page numbering and running content don't start on same page (#1334)
- fix value of implicit chapter-title attribute on preface pages (#1340)
- show value of untitled-label attribute in outline if doctitle is not set (#1348)
- don't show entry for doctitle in outline if doctitle is not set and untitled-label attribute is unset (#1348)
- generate outline if document has doctitle but no body (#1349)
- allow elements on title page to be disabled from theme using display: none (#1346)
- set chapter-title attribute to value of toc-title attribute on toc pages in book (#1338)
- set section-title attribute to value of toc-title attribute on toc pages in article if page has no other sections (#1338)
- allow ranges of pages from PDF file to be imported using image macro as specified by pages attribute (#1300)
- set default footer content in base theme; remove logic to process
footer_<side>_content: none
key (#1320) - include doctitle in outline for article when article is only a single page (#1322)
- allow custom (inline) role to control text decoration property (#1326)
- point doctitle entry in outline to first page of content when doctype is article and document has front cover
- fix asciidoctor-pdf-optimize script and register it as a bin script
- rename
-q
CLI option of asciidoctor-pdf-optimize script to--quality
- only promote first paragraph of preamble to lead paragraph (assuming it has no role) (#1332)
- don't promote first paragraph of preamble to lead paragraph if it already has a role (#1332)
- fix crash when document has no doctitle or sections and untitled-label attribute is unset
- ignore invalid align value for title logo image (#1352)
Release meta
Released on: 2019-10-29
Released by: @mojavelinux
Release beer: BAMARILLO! by Resolute
Logs: resolved issues | full diff
Credits
A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign who provided critical funding for the development of this release as well as ongoing development of the project.