github asciidoctor/asciidoctor-pdf v1.5.0.beta.4
v1.5.0 Beta 4

pre-release4 years ago

Summary

This release addresses a major bug that prevented the converter from working when loaded from a JAR (as is the case with AsciidoctorJ PDF). Namely, the path separator used to delimit multiple font dirs cannot be a colon, so we've switched it to always being a semi-colon. This release was moved up to allow AsciidoctorJ PDF to be released.

This release contains a handful of other bug fixes as well. Hyphens in custom roles defined in the theme are preserved, the font catalog can be defined under the flattened font_catalog key in the theme file, the converter no longer crashes when highlighting source using Pygments (again), the font color in a section title is honored when displayed in the toc, the toc won't overrun the first page of content when the toc has titles which wrap.

We squeezed in one new feature. Using the second argument to the outlinelevels attribute, you can control the depth at which the outline is expanded (e.g., 3:1). By default, all levels are expanded.

Consult the CHANGELOG to find a complete list of changes.

Distribution

Changelog

  • always use ; as delimiter to separate multiple font dirs to be compatible with JAR paths (#1250)
  • preserve hyphens in role names in theme file (#1254)
  • allow second arg of outlinelevels attribute to control expand depth of outline (#1224)
  • allow font catalog and font fallbacks to be defined as flat keys in the theme file (#1243)
  • don't crash when adding indentation guards to source highlighted with Pygments (#1246)
  • don't override font color of formatted text in toc (#1247)
  • prevent toc from overrunning first page of content by reserving more space for the page number (#1242)
  • allow number of digits reserved for page number in the toc to be adjusted using toc-max-pagenum-digits attribute (#1242)

Release meta

Released on: 2019-09-04
Released by: @mojavelinux
Release beer: Fifteener Double IPA by River North Brewing

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.

Don't miss a new asciidoctor-pdf release

NewReleases is sending notifications on new releases.