Skip to content

DAPS 3.1.0 (stable release)

Compare
Choose a tag to compare
released this 11 May 12:37
· 201 commits to main since this release
1696070
  • New features:

    • Allow converting AsciiDoc books with multiple parts into a
      DocBook set (--adocset/ADOC_SET="yes")
    • Remove dm:docmanager during unpack-lockdrop when
      --remove-dm is used
    • Added support for DITAA diagrams as an image format (must be
      added as an external file) (#540)
    • Allow using {daps-adoc-attribute} from AsciiDoc sources to
      add a list of all AsciiDoc attributes used by DAPS to the
      output (#573)
    • Added daps validate options --validate-ids (checks
      whether IDs match a basic SEO-compatible set of characters) and
      --validate-images (checks for missing and duplicated images)
    • Renamed daps checklink to daps linkcheck for consistency
      with daps spellcheck and daps stylecheck
    • Renamed PDFNAME to OUTPUTNAME DC file option to clarify
      its purpose
  • Removed features:

    • Removed support for the Xfig (.fig), PDF, and EPS image
      formats
    • Removed support for the asciidoc tool, DAPS now only supports
      AsciiDoctor
    • Removed support for --xsltparam which has been replaced by
      --stringparam
    • Removed --css=none option of daps epub
    • Removed daps-auto.pl which has been replaced by
      daps-autobuild
    • Removed all support for Python 2 dependencies
  • Bug fixes:

    • When AsciiDoctor outputs a warning, DAPS will now fail,
      avoiding XML issues that would crop up later (this only works
      if AsciiDoctor >= 1.5.7 is used)
    • Find unresolvable AsciiDoc attribute references (such as
      {reference}) and error out rather than adding them to the
      output
    • When converting AsciiDoc, always unset the imagesdir
      attribute, so DAPS can mandate its own images directory
    • On successive DAPS runs, always convert AsciiDoc files to XML
      again
    • Improved default IDs generated by AsciiDoctor, to avoid leading
      underscores in IDs (#520)
    • Improved AsciiDoc postprocess.xsl clean-up stylesheet:
      • Rewrite @contentwidth to @width
      • Improved display of article titles
      • Fixed validation of generated abstract elements
      • Improved workarounds for authorinitials, othername,
        lineage
      • Output AsciiDoc <<reference, title>> construct as
        title (<xref linkend="reference"/>) (same for links)
      • Improved handling of slightly misused AsciiDoc block/
        example syntax that was previously converted to
        GeekoDoc-incompatible formalpara elements
    • Fixed updating of profiled files when an entity or the DC
      file of the source has changed
    • Only use AsciiDoctor's --failure-level if the version of
      AsciiDoctor is new enough to support it
    • Allowed use of AsciiDoc attributes defined on command line
      and in DC file at the same time
    • Made DAPS's default set of AsciiDoc attributes overridable
    • Internally handle --param the same as --stringparam (#589)
    • Made sure that both index.html and [ROOTID].html are
      generated during HTML builds
    • Reworked getentityname.py (#556)
    • Restored compatibility with Novdoc profiling stylesheet
      references
    • Avoid stumbling over empty hrefs in XIncludes during validation
    • Fixed issue where DC file parser would concatenate rather
      than overwrite values
    • Fixed issue where DC file parser would not correctly recognize
      last line of a DC file if it did not end in a newline character
      (#553)
    • Fixed issue where default entities like &mdash; could not
      be found
    • Fixed unpack-locdrop runs that failed because file lists
      contained spaces rather than line breaks
    • Use PROFOS value during locdrop
    • Fixed daps html --nostatic build failure resulting from
      identical files error
    • Fixed GNU Make 4.3 += operator compatibility
    • Added compatibility with Inkscape 1.0 command-line options
    • Set initial memory for FOP
    • Fixed path to Avalon Framework (bsc#1175214)
    • Fixed LibreOffice Draw executable name for Debian (#564)
    • Improved error message when MAIN file is missing (#494)
    • Improved error message displayed when ROOTID does not exist in
      the document (#546)
    • Show FOP warnings when running with -vv or higher verbosity
    • Suppressed error messages about missing xml:base during
      daps linkcheck (#558)
    • Improved message output of daps-xmlwellformed
    • Improved Git updating flow in daps-autobuild
  • Documentation:

    • Added man pages for daps-xmlformat and daps-check-deps
      (#491)
    • Added documentation for generating a DocBook set from an
      AsciiDoc book
    • Fixed typos and other minor issues throughout the documentation
  • Packaging changes:

    • Only require LibreOffice Draw when building on Arm and x86
      architectures but not on IBM Power/IBM Z
    • Cleaned up TAR archives generated by GitHub (#489)
    • Removed dependency on xml-commons-jaxp-1.3-apis, use generic
      xml-apis
    • Do not make libexec XSL files executable (#492)