Public Application Repository

Back to listing of all packages

  • library

    TEI Publisher: Processing Model Libraries

    Description: TEI Publisher: Processing Model Libraries
    Version: 4.0.0
    Size: 67k
    Requirement: eXist-db version 3.6.0 or later
    Short Title: tei-publisher-lib
    Package Name (URI): http://existsolutions.com/apps/tei-publisher-lib
    Author(s): Wolfgang Meier
    License: GPLv3
    Website: https://github.com/eeditiones/tei-publisher-lib.git
    Download: tei-publisher-lib-4.0.0.xar
    Download other versions:
    Change log:
    4.0.0
    • Refactor TEI output mode: so far it was only used for docx2tei transformations. docx-specific code moved into separate module, so TEI output mode becomes usable for other scenarios.
    3.1.0
    • Support relative module import paths in configuration.xml
    • config.xqm is now exposed to the ODD under the "global" prefix
    3.0.1
    • config.xqm is now available within XQuery expressions in the ODD under the "global:" prefix
    • Output relative import paths in generated XQuery modules
    • Allow relative path for extension modules loaded via configuration.xml
    • DOCX import: where additional attributes are specified according to the <> convention but are preceded by a dot, colon, etc., they were not stripped from the text content
    3.0.0
    • Add output mode for print CSS. BREAKING CHANGE: the "print" output mode now exclusively refers to print CSS, not FO as before!
    • Fix and improve LaTeX mode
    • Optimize merging ODDs to speed up compilation
    2.10.1
    • @pb:mode needs to be applied before templates are processed
    2.10.0
    • fix error in docx upload processing
    • ignore [trash] folder in uploaded docx files
    • add support for <pb:set-param> to dynamically set a parameter for all subsequent models called. The new parameter will be availble in the $parameters map.
    • add attribute @pb:mode on <model> to declare a mode on all subsequent models called. The mode will be available to subsequent models in variable $mode.
    2.9.2
    • docx2tei: another approach to reconstruct division hierarchy from titles, covering more edge cases
    • pass-through behaviour should not copy xml:id: there might be no parent element
    2.9.1
    • docx2tei: construction of division hierarchy from titles: divisions were nested incorrectly
    • docx2tei: correctly resolve hyperlinks in footnotes and endnotes
    • only first child of modelSequence was taken into account if @output was specified
    2.9.0
    • Add support for web annotations. Complements TEI Publisher 7.1.0
    2.8.11
    • Fix: first character of each line was stripped from pb-template containing text. LaTeX output broken.
    • For HTML output, also copy @rend into generated class list
    2.8.10
    • Fix an issue with nested footnotes
    2.8.9
    • Add support for transforming a docx package
    2.8.8
    • Added library module to generate a pm-config.xql based on ODD files used.
    2.8.7
    • If changes to an ODD introduce XQuery syntax errors, don't overwrite the existing XQuery module. Instead store it with suffix .invalid.xql for reference but keep the old module.
    2.8.6
    • Avoid line breaks before footnote numbers. This mainly affects TEI Publisher 6, which uses a different library for the footnote popups.
    2.8.5
    • Fix compatibility with eXist 5.3.0: remove conflicting function declarations, which now cause an error
    • Do not recompile ODDs automatically as this causes a security issue with the new permissions setup
    • Output alternate as template within pb-popover to avoid invalid HTML for block-level content
    2.8.4
    • Generated footnote popups will now use pb-popover (with TEI Publisher 6), which provides better positioning
    2.8.3
    • Enhanced docx to TEI import
    2.8.2
    • add optional parameter 'persistent' to alternate behaviour: if true, popups will appear on click and stay until dismissed
    • use internal numbering for alternate IDs to avoid conflicts
    2.8.1
    • Update backward compatibility for older eXist versions: Last release v2.8.0 introduced breaking changes by using new functions for the `docx` module that are only supported by eXist 5.x.x versions and thus introduced a dependency to eXist 5.x.x. This release resolves the dependency by handling both new and deprecated functions.
    • Increment version number for latest commits (44300a0, dc3625c) made within release 2.8.0
    • Minor changes in `.gitignore` file: Exclude `.*` files by default, unless explicitly included.
    2.8.0
    • Update for compatibility with eXist 5.0
    • Improve naming of template functions to avoid wrong calls
    • Add target parameter for behaviour link
    • Add TEI output mode and module for transforming docx to TEI
    • Rename link parameter for behaviour link to "uri" for spec compliance; support old "link" as fallback
    2.7.0
    • Fix loading of external CSS from relative path
    • HTML output: if a label is defined for a note or list item, output it directly. Adds "n" parameter to listItem.
    • Implement alternate for LaTeX the same way as for FO: output alternate as footnote after default
    2.6.0
    • Faster loading of behaviour library by avoiding use of counter module where possible
    • Support CSS styles for web to be loaded from external css via <rendition source="myfile.css"/>
    • Use $get(.) to get the original source element for the current node. Used to fix computation of heading levels
    2.5.0
    • Support for templates and user-defined behaviours within the ODD
    2.1.0
    • Renditions defined in tei header were no longer applied
    • Support definition of default elementSpec for elements and text nodes
    • FO output: make sure to not produce an empty destination for internal and external links
    • Fix internal references for LaTeX output
    • Apply class to line breaks so they can be stiled via CSS