Skip to content

Allow definition source to include modifications #345

@ccameron-chromium

Description

@ccameron-chromium

In SMPTE ST 2094-50, we want to include a modified source for a definition. Something to the effect of:

[SOURCE: ISO/DIS 21496-1:2025, modified — Notes 1, 2, and 3 to entry have been added.]

The code to insert the SOURCE part is here

html-pub/smpte.js

Line 1388 in dca1e12

element.insertBefore(document.createTextNode("[SOURCE: "), anchor);

I think that the easiest way to go about this would be to support code of the form:

   <dd><a href="#bib-iso-21496-1" data-mod="Notes 1, 2, and 3 to entry have been added"><a></dd>

In the code, if the data-mod attribute is present then we'd add the text =", modified -- ", appended by the text of the modification, followed by the close-bracket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions