github rupor-github/fb2cng v1.3.1

latest release: v1.3.2
8 hours ago

New features:

  • Added legacy OPF2 cover metadata to EPUB3 output for Apple Books compatibility.
    • EPUB3 now emits both:
      • meta name="cover" content="book-cover-image"
      • properties="cover-image" on the actual cover image manifest item.
    • The legacy cover meta points directly to the raster cover image, while cover.xhtml continues to use the SVG wrapper.
    • Added EPUB3 OPF test coverage for the Apple-compatible cover metadata.
  • Added configurable device TOC nesting via document.toc_type.
    • Supported TOC types:
      • normal — preserve full section nesting.
      • old_kindle — restrict nesting for old Kindle/kindlegen compatibility.
      • flat — make navigation entries top-level siblings.
    • Kept generated visible TOC pages unchanged for EPUB2, EPUB3, and KFX.
    • Removed presentation classes from EPUB3 nav.xhtml.
    • Added shared TOC shaping helper and tests.
    • Added regression tests for normal, old_kindle, and flat nesting in EPUB2, EPUB3, and KFX.

Full Changelog: v1.3.0...v1.3.1

Don't miss a new fb2cng release

NewReleases is sending notifications on new releases.