github rupor-github/fb2cng v1.4.4

3 hours ago

New features

Template improvements

  • Added common template fields across configuration templates:
    • .Context — current template field name, e.g. label_template
    • .Format — requested output format: epub2, epub3, kepub, kfx, azw8, or pdf
  • label_template can now branch on .Format.
  • creator_name_template now has access to .Format.
  • backlink_template now has access to .Context.

Default configuration changes

  • Updated default label_template:
    • PDF uses descriptive footnote title suffixes such as Notes: 17 or meaningful note titles.
    • Other formats use short numeric labels to avoid long superscript labels in inline text/title rendering.
  • Reformatted default backlink_template for consistency with other templates without changing its output behavior.
  • Expanded config.yaml.tmpl comments to consistently document all available template fields.

Documentation

  • Updated docs/guide.md with the new .Context and .Format template fields.
  • Updated footnote template examples to match the current default configuration.
  • Added internal documentation comments for the PDF conversion pipeline, including layout, printed footnote reservation, backlink convergence, and resource assignment.

Full Changelog: v1.4.3...v1.4.4

Don't miss a new fb2cng release

NewReleases is sending notifications on new releases.