diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..33fe830 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ + +# Relaton local cache: never commit negative lookup markers +sources/**/relaton/cache/**/*.notfound +sources/**/relaton/cache/**/*.redirect diff --git a/scripts/validate-register.rb b/scripts/validate-register.rb index 353e9d5..4e6a640 100644 --- a/scripts/validate-register.rb +++ b/scripts/validate-register.rb @@ -94,6 +94,19 @@ end end +# ---- pass 2a: relaton local cache (the committed bib database) --------------- +# The registers compile with :local-cache: and commit sources/*/relaton as the +# portable bib database (metanorma.org, reference lookups: local cache stores +# are committed to git for reproducible CI builds). Negative lookup markers +# (.notfound) poison the cache: with a committed marker, every future build +# drops the reference. They are gitignored; a present marker is an error. +ROOTS.each do |root| + key = root + Dir.glob(File.join(root, "sources", "**", "relaton", "cache", "**", "*.notfound")).each do |f| + report.call(key, "relaton cache poison (delete): #{f.sub("#{root}/", "")}") + end +end + # ---- pass 2b: bibliography markup (renders empty when malformed) ------------- # Metanorma drops bibliography entries without a [[[id,text]]] anchor and # renders only the first anchor of a multi-anchor entry, so a malformed diff --git a/sources/pm-1001/document.adoc b/sources/pm-1001/document.adoc index a065e1a..34c8925 100644 --- a/sources/pm-1001/document.adoc +++ b/sources/pm-1001/document.adoc @@ -14,7 +14,7 @@ :mn-document-class: ribose :docfile: document.adoc :mn-output-extensions: xml,html,doc -:local-cache-only: +:local-cache: :data-uri-image: include::sections/00-foreword.adoc[] diff --git a/sources/pm-1001/relaton/cache/bipm/version b/sources/pm-1001/relaton/cache/bipm/version new file mode 100644 index 0000000..95b999e --- /dev/null +++ b/sources/pm-1001/relaton/cache/bipm/version @@ -0,0 +1 @@ +496a1353d78eeccd8432c7ce83a5c0c2 \ No newline at end of file diff --git a/sources/pm-1001/relaton/cache/ecma/ecma-376.xml b/sources/pm-1001/relaton/cache/ecma/ecma-376.xml new file mode 100644 index 0000000..7f1b47e --- /dev/null +++ b/sources/pm-1001/relaton/cache/ecma/ecma-376.xml @@ -0,0 +1,73 @@ + + 2026-11-02 + Office Open XML file formats + https://ecma-international.org/publications-and-standards/standards/ecma-376/ + https://ecma-international.org/wp-content/uploads/ECMA-376-1_5th_edition_december_2016.zip + ECMA-376 + + 2021-12 + + + + + Ecma International + + + 5 + en + + This Standard defines Office Open XML’s vocabularies and document representation and packaging. It also specifies requirements for consumers and producers of Office Open XML. ECMA-376 contains 4 parts but only part 2 has been adopted in the last edition of the Standard. +An Office Open XML overview is available below under ressources. +The four parts of the Standard are the following: + + + ECMA-376 + https://ecma-international.org/wp-content/uploads/ECMA-376_1st_edition_december_2006.zip + ECMA-376 + + 2006-12 + + 1 + + + + + ECMA-376 + https://ecma-international.org/wp-content/uploads/ECMA-376_2nd_edition_december_2008.zip + ECMA-376 + + 2008-12 + + 2 + + + + + ECMA-376 + https://ecma-international.org/wp-content/uploads/ECMA-376_3rd_edition_june_2011.zip + ECMA-376 + + 2011-06 + + 3 + + + + + ECMA-376 + https://ecma-international.org/wp-content/uploads/ECMA-376_4th_edition_december_2012.zip + ECMA-376 + + 2012-12 + + 4 + + + + Geneva + + + document + ecma + + \ No newline at end of file diff --git a/sources/pm-1001/relaton/cache/ecma/version b/sources/pm-1001/relaton/cache/ecma/version new file mode 100644 index 0000000..a64001d --- /dev/null +++ b/sources/pm-1001/relaton/cache/ecma/version @@ -0,0 +1 @@ +7062d009e9c4707c1cb04ac7ac1a221c \ No newline at end of file diff --git a/sources/pm-1002/document.adoc b/sources/pm-1002/document.adoc index 024c3c1..73fec02 100644 --- a/sources/pm-1002/document.adoc +++ b/sources/pm-1002/document.adoc @@ -14,7 +14,7 @@ :mn-document-class: ribose :docfile: document.adoc :mn-output-extensions: xml,html,doc -:local-cache-only: +:local-cache: :data-uri-image: include::sections/00-foreword.adoc[] diff --git a/sources/pm-1002/relaton/cache/bipm/version b/sources/pm-1002/relaton/cache/bipm/version new file mode 100644 index 0000000..95b999e --- /dev/null +++ b/sources/pm-1002/relaton/cache/bipm/version @@ -0,0 +1 @@ +496a1353d78eeccd8432c7ce83a5c0c2 \ No newline at end of file diff --git a/sources/pm-1003/document.adoc b/sources/pm-1003/document.adoc index f08441f..c85fe95 100644 --- a/sources/pm-1003/document.adoc +++ b/sources/pm-1003/document.adoc @@ -14,7 +14,7 @@ :mn-document-class: ribose :docfile: document.adoc :mn-output-extensions: xml,html,doc -:local-cache-only: +:local-cache: :data-uri-image: include::sections/00-foreword.adoc[] diff --git a/sources/pm-1004/document.adoc b/sources/pm-1004/document.adoc index 8d16045..e7410e2 100644 --- a/sources/pm-1004/document.adoc +++ b/sources/pm-1004/document.adoc @@ -14,7 +14,7 @@ :mn-document-class: ribose :docfile: document.adoc :mn-output-extensions: xml,html,doc -:local-cache-only: +:local-cache: :data-uri-image: include::sections/00-foreword.adoc[] diff --git a/sources/pm-1004/relaton/cache/bipm/version b/sources/pm-1004/relaton/cache/bipm/version new file mode 100644 index 0000000..95b999e --- /dev/null +++ b/sources/pm-1004/relaton/cache/bipm/version @@ -0,0 +1 @@ +496a1353d78eeccd8432c7ce83a5c0c2 \ No newline at end of file diff --git a/sources/pm-1005/document.adoc b/sources/pm-1005/document.adoc index 2852a66..bbf511c 100644 --- a/sources/pm-1005/document.adoc +++ b/sources/pm-1005/document.adoc @@ -14,7 +14,7 @@ :mn-document-class: ribose :docfile: document.adoc :mn-output-extensions: xml,html,doc -:local-cache-only: +:local-cache: :data-uri-image: include::sections/00-foreword.adoc[] diff --git a/sources/pm-1006/document.adoc b/sources/pm-1006/document.adoc index 91192bb..6b46354 100644 --- a/sources/pm-1006/document.adoc +++ b/sources/pm-1006/document.adoc @@ -14,7 +14,7 @@ :mn-document-class: ribose :docfile: document.adoc :mn-output-extensions: xml,html,doc -:local-cache-only: +:local-cache: :data-uri-image: include::sections/00-foreword.adoc[] diff --git a/sources/pm-1006/relaton/cache/bipm/version b/sources/pm-1006/relaton/cache/bipm/version new file mode 100644 index 0000000..95b999e --- /dev/null +++ b/sources/pm-1006/relaton/cache/bipm/version @@ -0,0 +1 @@ +496a1353d78eeccd8432c7ce83a5c0c2 \ No newline at end of file diff --git a/sources/pm-1006/sections/98-bibliography.adoc b/sources/pm-1006/sections/98-bibliography.adoc index a179ff6..ba0f58e 100644 --- a/sources/pm-1006/sections/98-bibliography.adoc +++ b/sources/pm-1006/sections/98-bibliography.adoc @@ -12,6 +12,6 @@ * [[[cc36815-b,nofetch(CalConnect 36815)]]] of the UnitsML series * [[[cc36816-b,nofetch(CalConnect 36816)]]] of the UnitsML series * [[[jcgm100-b,JCGM 100:2008]]], together with Amd.1:2026 -* [[[jcgm101-b,JCGM 101:2008]]] +* [[[jcgm101-b,JCGM 101:2008]]], the Monte Carlo reference for the coverage-interval category * [[[python-uncertainties,nofetch(Python `uncertainties` package documentation)]]] (the `+-` precedent, Annex C) * [[[asciiunits-artifact,nofetch(asciiunits)]]] — the artifact pattern this notation's grammar follows (CalConnect 36817)