Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# Relaton local cache: never commit negative lookup markers
sources/**/relaton/cache/**/*.notfound
sources/**/relaton/cache/**/*.redirect
13 changes: 13 additions & 0 deletions scripts/validate-register.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sources/pm-1001/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
1 change: 1 addition & 0 deletions sources/pm-1001/relaton/cache/bipm/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
496a1353d78eeccd8432c7ce83a5c0c2
73 changes: 73 additions & 0 deletions sources/pm-1001/relaton/cache/ecma/ecma-376.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<bibdata type="standard" schema-version="v1.5.6">
<fetched>2026-11-02</fetched>
<title language="en" script="Latn">Office Open XML file formats</title>
<uri type="src">https://ecma-international.org/publications-and-standards/standards/ecma-376/</uri>
<uri type="pdf">https://ecma-international.org/wp-content/uploads/ECMA-376-1_5th_edition_december_2016.zip</uri>
<docidentifier type="ECMA" primary="true">ECMA-376</docidentifier>
<date type="published">
<on>2021-12</on>
</date>
<contributor>
<role type="publisher"/>
<organization>
<name language="en" script="Latn">Ecma International</name>
</organization>
</contributor>
<edition>5</edition>
<language>en</language>
<script>Latn</script>
<abstract language="en" script="Latn">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:</abstract>
<relation type="updates">
<bibitem>
<formattedref>ECMA-376</formattedref>
<uri type="pdf">https://ecma-international.org/wp-content/uploads/ECMA-376_1st_edition_december_2006.zip</uri>
<docidentifier type="ECMA" primary="true">ECMA-376</docidentifier>
<date type="published">
<on>2006-12</on>
</date>
<edition>1</edition>
</bibitem>
</relation>
<relation type="updates">
<bibitem>
<formattedref>ECMA-376</formattedref>
<uri type="pdf">https://ecma-international.org/wp-content/uploads/ECMA-376_2nd_edition_december_2008.zip</uri>
<docidentifier type="ECMA" primary="true">ECMA-376</docidentifier>
<date type="published">
<on>2008-12</on>
</date>
<edition>2</edition>
</bibitem>
</relation>
<relation type="updates">
<bibitem>
<formattedref>ECMA-376</formattedref>
<uri type="pdf">https://ecma-international.org/wp-content/uploads/ECMA-376_3rd_edition_june_2011.zip</uri>
<docidentifier type="ECMA" primary="true">ECMA-376</docidentifier>
<date type="published">
<on>2011-06</on>
</date>
<edition>3</edition>
</bibitem>
</relation>
<relation type="updates">
<bibitem>
<formattedref>ECMA-376</formattedref>
<uri type="pdf">https://ecma-international.org/wp-content/uploads/ECMA-376_4th_edition_december_2012.zip</uri>
<docidentifier type="ECMA" primary="true">ECMA-376</docidentifier>
<date type="published">
<on>2012-12</on>
</date>
<edition>4</edition>
</bibitem>
</relation>
<place>
<city>Geneva</city>
</place>
<ext schema-version="v1.0.0">
<doctype>document</doctype>
<flavor>ecma</flavor>
</ext>
</bibdata>
1 change: 1 addition & 0 deletions sources/pm-1001/relaton/cache/ecma/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7062d009e9c4707c1cb04ac7ac1a221c
2 changes: 1 addition & 1 deletion sources/pm-1002/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
1 change: 1 addition & 0 deletions sources/pm-1002/relaton/cache/bipm/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
496a1353d78eeccd8432c7ce83a5c0c2
2 changes: 1 addition & 1 deletion sources/pm-1003/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
2 changes: 1 addition & 1 deletion sources/pm-1004/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
1 change: 1 addition & 0 deletions sources/pm-1004/relaton/cache/bipm/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
496a1353d78eeccd8432c7ce83a5c0c2
2 changes: 1 addition & 1 deletion sources/pm-1005/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
2 changes: 1 addition & 1 deletion sources/pm-1006/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
1 change: 1 addition & 0 deletions sources/pm-1006/relaton/cache/bipm/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
496a1353d78eeccd8432c7ce83a5c0c2
2 changes: 1 addition & 1 deletion sources/pm-1006/sections/98-bibliography.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Loading