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
@@ -1,3 +1,7 @@
# Folders
.history/
_untraked-files/

# 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/asciiunits/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
:imagesdir: images
:mn-document-class: cc
:mn-output-extensions: xml,html,pdf,rxl
:local-cache-only:
:local-cache:
:data-uri-image:

include::sections/00-foreword.adoc[]
Expand Down
1 change: 1 addition & 0 deletions sources/asciiunits/relaton/cache/w3c/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8c8feb5cc53cc6e85dd10d2526dc66b0
32 changes: 32 additions & 0 deletions sources/asciiunits/relaton/cache/w3c/w3c_mathml-units.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<bibdata type="standard" schema-version="v1.5.6">
<fetched>2026-11-05</fetched>
<title language="en" script="Latn">Units in MathML</title>
<uri type="src">https://www.w3.org/TR/mathml-units/</uri>
<docidentifier type="W3C" primary="true">W3C mathml-units</docidentifier>
<docnumber>mathml-units</docnumber>
<contributor>
<role type="publisher"/>
<organization>
<name>World Wide Web Consortium</name>
<abbreviation>W3C</abbreviation>
<uri>https://www.w3.org</uri>
</organization>
</contributor>
<language>en</language>
<script>Latn</script>
<relation type="hasEdition">
<bibitem>
<title language="en" script="Latn">Units in MathML</title>
<uri type="src">https://www.w3.org/TR/2003/NOTE-mathml-units-20031110/</uri>
<docidentifier type="W3C" primary="true">W3C NOTE-mathml-units-20031110</docidentifier>
</bibitem>
</relation>
<series>
<title language="en" script="Latn">W3C technicalReport</title>
<number>mathml-units</number>
</series>
<ext schema-version="v1.0.0">
<doctype>technicalReport</doctype>
<flavor>w3c</flavor>
</ext>
</bibdata>
2 changes: 1 addition & 1 deletion sources/unitsdb/document.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
:imagesdir: images
:mn-document-class: cc
:mn-output-extensions: xml,html,pdf,rxl
:local-cache-only:
:local-cache:
:data-uri-image:

include::sections/00-foreword.adoc[]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<bibdata type="standard" schema-version="v1.5.6">
<fetched>2026-11-05</fetched>
<title language="en" type="title-main">The International System of Units</title>
<title language="en" type="title-cover">The International System of Units (SI)</title>
<title language="fr" type="title-main">Le Système international d’unités</title>
<title language="fr" type="title-cover">Le Système international d’unités (SI)</title>
<docidentifier type="BIPM" primary="true">BIPM SI Brochure sur le SI 9e v3.01 (2019/2024, F)</docidentifier>
<docidentifier type="ISBN">978-92-822-2272-0</docidentifier>
<docidentifier type="BIPM" primary="true">BIPM SI Brochure 9e v3.01 (2019/2024, E)</docidentifier>
<docnumber>SI Brochure 9e v3.01 (2019/2024, E)</docnumber>
<date type="updated">
<on>2024-08-28</on>
</date>
<contributor>
<role type="author"/>
<organization>
<name>Bureau international des poids et mesures</name>
<abbreviation>BIPM</abbreviation>
</organization>
</contributor>
<contributor>
<role type="author">
<description>committee</description>
</role>
<organization>
<name>Bureau international des poids et mesures</name>
<subdivision type="Committee">
<name language="en">International Bureau of Weights and Measures</name>
<name language="fr">Bureau International des Poids et Mesures</name>
<identifier>BIPM</identifier>
<identifier type="full">BIPM</identifier>
</subdivision>
</organization>
</contributor>
<contributor>
<role type="publisher"/>
<organization>
<name>Bureau international des poids et mesures</name>
<abbreviation>BIPM</abbreviation>
</organization>
</contributor>
<edition>9</edition>
<version>v3.01</version>
<language>fr</language>
<language>en</language>
<script>Latn</script>
<status>
<stage>in-force</stage>
</status>
<copyright>
<from>2024</from>
<owner>
<organization>
<name>Bureau international des poids et mesures</name>
<abbreviation>BIPM</abbreviation>
</organization>
</owner>
</copyright>
<ext schema-version="v1.1.2">
<doctype>brochure</doctype>
<flavor>bipm</flavor>
<structuredidentifier>
<docnumber>SI Brochure 9e v3.01 (2019/2024, E)</docnumber>
</structuredidentifier>
<si-aspect>full</si-aspect>
</ext>
</bibdata>
1 change: 1 addition & 0 deletions sources/unitsdb/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/unitsml-36812-general/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/unitsml-36812-general/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/unitsml-36813-numeric/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/unitsml-36813-numeric/relaton/cache/bipm/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
496a1353d78eeccd8432c7ce83a5c0c2
166 changes: 166 additions & 0 deletions sources/unitsml-36813-numeric/relaton/cache/iso/iso_80000-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
<bibdata type="standard" schema-version="v1.5.6">
<fetched>2026-11-05</fetched>
<title language="en" script="Latn" type="title-main">Quantities and units</title>
<title language="en" script="Latn" type="title-part">Part 1: General</title>
<title language="en" script="Latn" type="main">Quantities and units - Part 1: General</title>
<title language="fr" script="Latn" type="title-main">Grandeurs et unités</title>
<title language="fr" script="Latn" type="title-part">Partie 1: Généralités</title>
<title language="fr" script="Latn" type="main">Grandeurs et unités - Partie 1: Généralités</title>
<uri type="src">https://www.iso.org/standard/76921.html</uri>
<uri type="obp">https://www.iso.org/obp/ui/en/#!iso:std:76921:en</uri>
<uri type="rss">https://www.iso.org/contents/data/standard/07/69/76921.detail.rss</uri>
<docidentifier type="ISO" primary="true">ISO 80000-1</docidentifier>
<docidentifier type="iso-undated">ISO 80000-1</docidentifier>
<docidentifier type="iso-reference">ISO 80000-1(E)</docidentifier>
<docidentifier type="URN">urn:iso:std:iso:80000:-1</docidentifier>
<docnumber>80000</docnumber>
<contributor>
<role type="publisher"/>
<organization>
<name>International Organization for Standardization</name>
<abbreviation>ISO</abbreviation>
<uri>www.iso.org</uri>
</organization>
</contributor>
<contributor>
<role type="author">
<description>committee</description>
</role>
<organization>
<name>International Organization for Standardization</name>
<subdivision type="technical-committee" subtype="TC">
<name>Quantities and units</name>
<identifier>ISO/TC 12</identifier>
</subdivision>
<abbreviation>ISO</abbreviation>
</organization>
</contributor>
<edition>2</edition>
<language>en</language>
<language>fr</language>
<script>Latn</script>
<status>
<stage>60</stage>
<substage>60</substage>
</status>
<copyright>
<from>2022</from>
<owner>
<organization>
<name>ISO</name>
</organization>
</owner>
</copyright>
<relation type="obsoletes">
<bibitem>
<formattedref>ISO 80000-1:2009</formattedref>
<docidentifier type="ISO" primary="true">ISO 80000-1:2009</docidentifier>
<date type="published">
<on>2009-11-17</on>
</date>
</bibitem>
</relation>
<relation type="obsoletes">
<bibitem>
<formattedref>ISO 80000-1:2009/Cor 1:2011</formattedref>
<docidentifier type="ISO" primary="true">ISO 80000-1:2009/Cor 1:2011</docidentifier>
<date type="published">
<on>2011-09-22</on>
</date>
</bibitem>
</relation>
<relation type="instanceOf">
<bibitem type="standard">
<title language="en" script="Latn" type="title-main">Quantities and units</title>
<title language="en" script="Latn" type="title-part">Part 1: General</title>
<title language="en" script="Latn" type="main">Quantities and units - Part 1: General</title>
<title language="fr" script="Latn" type="title-main">Grandeurs et unités</title>
<title language="fr" script="Latn" type="title-part">Partie 1: Généralités</title>
<title language="fr" script="Latn" type="main">Grandeurs et unités - Partie 1: Généralités</title>
<uri type="src">https://www.iso.org/standard/76921.html</uri>
<uri type="obp">https://www.iso.org/obp/ui/en/#!iso:std:76921:en</uri>
<uri type="rss">https://www.iso.org/contents/data/standard/07/69/76921.detail.rss</uri>
<docidentifier type="ISO" primary="true">ISO 80000-1:2022</docidentifier>
<docidentifier type="iso-undated">ISO 80000-1</docidentifier>
<docidentifier type="iso-reference">ISO 80000-1:2022(E)</docidentifier>
<docidentifier type="URN">urn:iso:std:iso:80000:-1</docidentifier>
<docnumber>80000</docnumber>
<date type="published">
<on>2022-12-06</on>
</date>
<contributor>
<role type="publisher"/>
<organization>
<name>International Organization for Standardization</name>
<abbreviation>ISO</abbreviation>
<uri>www.iso.org</uri>
</organization>
</contributor>
<contributor>
<role type="author">
<description>committee</description>
</role>
<organization>
<name>International Organization for Standardization</name>
<subdivision type="technical-committee" subtype="TC">
<name>Quantities and units</name>
<identifier>ISO/TC 12</identifier>
</subdivision>
<abbreviation>ISO</abbreviation>
</organization>
</contributor>
<edition>2</edition>
<language>en</language>
<language>fr</language>
<script>Latn</script>
<abstract language="en" script="Latn">This document gives general information and definitions concerning quantities, systems of quantities, units, quantity and unit symbols, and coherent unit systems, especially the International System of Quantities (ISQ). The principles laid down in this document are intended for general use within the various fields of science and technology, and as an introduction to other parts of this International Standard. The ISO/IEC 80000 series does not, as yet, cover ordinal quantities and nominal properties.</abstract>
<status>
<stage>60</stage>
<substage>60</substage>
</status>
<copyright>
<from>2022</from>
<owner>
<organization>
<name>ISO</name>
</organization>
</owner>
</copyright>
<relation type="obsoletes">
<bibitem>
<formattedref>ISO 80000-1:2009</formattedref>
<docidentifier type="ISO" primary="true">ISO 80000-1:2009</docidentifier>
<date type="published">
<on>2009-11-17</on>
</date>
</bibitem>
</relation>
<relation type="obsoletes">
<bibitem>
<formattedref>ISO 80000-1:2009/Cor 1:2011</formattedref>
<docidentifier type="ISO" primary="true">ISO 80000-1:2009/Cor 1:2011</docidentifier>
<date type="published">
<on>2011-09-22</on>
</date>
</bibitem>
</relation>
<place>
<city>Geneva</city>
</place>
</bibitem>
</relation>
<place>
<city>Geneva</city>
</place>
<ext schema-version="v1.1.2">
<doctype>international-standard</doctype>
<flavor>iso</flavor>
<ics>
<code>01.060</code>
<text>Quantities and units</text>
</ics>
<structuredidentifier type="ISO">
<project-number>76921</project-number>
</structuredidentifier>
</ext>
</bibdata>
1 change: 1 addition & 0 deletions sources/unitsml-36813-numeric/relaton/cache/iso/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
44f12c51c6c6895584bba450b171c16d
2 changes: 1 addition & 1 deletion sources/unitsml-36814-unitsdb/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
Loading
Loading