metanorma-bipm 2.5.9 → 2.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/bipm/bipm.brochure.xsl +22 -2
- data/lib/isodoc/bipm/bipm.guide.xsl +22 -2
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +22 -2
- data/lib/isodoc/bipm/bipm.rapport.xsl +22 -2
- data/lib/isodoc/bipm/jcgm.standard.xsl +21 -2
- data/lib/metanorma/bipm/biblio.rng +12 -6
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b54e4575b187a3b6c3bb568788f70b027f29840db9e12d5597473d218a9ad1c8
|
4
|
+
data.tar.gz: c388b7c9ce1cb0f67ec1491c95658b3a6e92f0de5c7557b049122f0fe52547c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 148a5f5f5f9d85bbca594bb95a5c3853994c062d0d4d30bf4990433ff1a0ef766eb35474236dbe28bdf7a25d1c9fcc37e47a90230de0ea5b070dbaec1f2ee547
|
7
|
+
data.tar.gz: e9888cd28e1c21033621d2e448ef9c2a6f2ae9af115fb14fff6b9abbb115ee0fa4824ffbfac5def55d350ed5f7dd0167285da5e203c92d09b540cad44b034372
|
@@ -1376,6 +1376,7 @@
|
|
1376
1376
|
<fo:block> </fo:block>
|
1377
1377
|
<fo:block> </fo:block>
|
1378
1378
|
<fo:block> </fo:block>
|
1379
|
+
<fo:block text-align="right"><xsl:value-of select="bipm:bibdata/bipm:version/bipm:draft"/></fo:block>
|
1379
1380
|
<fo:block text-align-last="justify">
|
1380
1381
|
<fo:inline>
|
1381
1382
|
<xsl:if test="/bipm:bipm-standard/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:appendix">
|
@@ -3982,8 +3983,21 @@
|
|
3982
3983
|
|
3983
3984
|
<!-- <xsl:strip-space elements="bipm:xref"/> -->
|
3984
3985
|
|
3985
|
-
<xsl:variable name="
|
3986
|
-
|
3986
|
+
<xsl:variable name="namespace_full_">
|
3987
|
+
<xsl:choose>
|
3988
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3989
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
3990
|
+
</xsl:choose>
|
3991
|
+
</xsl:variable>
|
3992
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
3993
|
+
|
3994
|
+
<xsl:variable name="root_element_">
|
3995
|
+
<xsl:choose>
|
3996
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3997
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
3998
|
+
</xsl:choose>
|
3999
|
+
</xsl:variable>
|
4000
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
3987
4001
|
|
3988
4002
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
3989
4003
|
|
@@ -8895,6 +8909,12 @@
|
|
8895
8909
|
</xsl:if>
|
8896
8910
|
</xsl:template>
|
8897
8911
|
|
8912
|
+
<xsl:template match="*[local-name()='strike']">
|
8913
|
+
<fo:inline text-decoration="line-through">
|
8914
|
+
<xsl:apply-templates/>
|
8915
|
+
</fo:inline>
|
8916
|
+
</xsl:template>
|
8917
|
+
|
8898
8918
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
8899
8919
|
<fo:block break-after="page"/>
|
8900
8920
|
<fo:block> </fo:block>
|
@@ -1376,6 +1376,7 @@
|
|
1376
1376
|
<fo:block> </fo:block>
|
1377
1377
|
<fo:block> </fo:block>
|
1378
1378
|
<fo:block> </fo:block>
|
1379
|
+
<fo:block text-align="right"><xsl:value-of select="bipm:bibdata/bipm:version/bipm:draft"/></fo:block>
|
1379
1380
|
<fo:block text-align-last="justify">
|
1380
1381
|
<fo:inline>
|
1381
1382
|
<xsl:if test="/bipm:bipm-standard/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:appendix">
|
@@ -3982,8 +3983,21 @@
|
|
3982
3983
|
|
3983
3984
|
<!-- <xsl:strip-space elements="bipm:xref"/> -->
|
3984
3985
|
|
3985
|
-
<xsl:variable name="
|
3986
|
-
|
3986
|
+
<xsl:variable name="namespace_full_">
|
3987
|
+
<xsl:choose>
|
3988
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3989
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
3990
|
+
</xsl:choose>
|
3991
|
+
</xsl:variable>
|
3992
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
3993
|
+
|
3994
|
+
<xsl:variable name="root_element_">
|
3995
|
+
<xsl:choose>
|
3996
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3997
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
3998
|
+
</xsl:choose>
|
3999
|
+
</xsl:variable>
|
4000
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
3987
4001
|
|
3988
4002
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
3989
4003
|
|
@@ -8895,6 +8909,12 @@
|
|
8895
8909
|
</xsl:if>
|
8896
8910
|
</xsl:template>
|
8897
8911
|
|
8912
|
+
<xsl:template match="*[local-name()='strike']">
|
8913
|
+
<fo:inline text-decoration="line-through">
|
8914
|
+
<xsl:apply-templates/>
|
8915
|
+
</fo:inline>
|
8916
|
+
</xsl:template>
|
8917
|
+
|
8898
8918
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
8899
8919
|
<fo:block break-after="page"/>
|
8900
8920
|
<fo:block> </fo:block>
|
@@ -1376,6 +1376,7 @@
|
|
1376
1376
|
<fo:block> </fo:block>
|
1377
1377
|
<fo:block> </fo:block>
|
1378
1378
|
<fo:block> </fo:block>
|
1379
|
+
<fo:block text-align="right"><xsl:value-of select="bipm:bibdata/bipm:version/bipm:draft"/></fo:block>
|
1379
1380
|
<fo:block text-align-last="justify">
|
1380
1381
|
<fo:inline>
|
1381
1382
|
<xsl:if test="/bipm:bipm-standard/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:appendix">
|
@@ -3982,8 +3983,21 @@
|
|
3982
3983
|
|
3983
3984
|
<!-- <xsl:strip-space elements="bipm:xref"/> -->
|
3984
3985
|
|
3985
|
-
<xsl:variable name="
|
3986
|
-
|
3986
|
+
<xsl:variable name="namespace_full_">
|
3987
|
+
<xsl:choose>
|
3988
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3989
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
3990
|
+
</xsl:choose>
|
3991
|
+
</xsl:variable>
|
3992
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
3993
|
+
|
3994
|
+
<xsl:variable name="root_element_">
|
3995
|
+
<xsl:choose>
|
3996
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3997
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
3998
|
+
</xsl:choose>
|
3999
|
+
</xsl:variable>
|
4000
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
3987
4001
|
|
3988
4002
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
3989
4003
|
|
@@ -8895,6 +8909,12 @@
|
|
8895
8909
|
</xsl:if>
|
8896
8910
|
</xsl:template>
|
8897
8911
|
|
8912
|
+
<xsl:template match="*[local-name()='strike']">
|
8913
|
+
<fo:inline text-decoration="line-through">
|
8914
|
+
<xsl:apply-templates/>
|
8915
|
+
</fo:inline>
|
8916
|
+
</xsl:template>
|
8917
|
+
|
8898
8918
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
8899
8919
|
<fo:block break-after="page"/>
|
8900
8920
|
<fo:block> </fo:block>
|
@@ -1376,6 +1376,7 @@
|
|
1376
1376
|
<fo:block> </fo:block>
|
1377
1377
|
<fo:block> </fo:block>
|
1378
1378
|
<fo:block> </fo:block>
|
1379
|
+
<fo:block text-align="right"><xsl:value-of select="bipm:bibdata/bipm:version/bipm:draft"/></fo:block>
|
1379
1380
|
<fo:block text-align-last="justify">
|
1380
1381
|
<fo:inline>
|
1381
1382
|
<xsl:if test="/bipm:bipm-standard/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:appendix">
|
@@ -3982,8 +3983,21 @@
|
|
3982
3983
|
|
3983
3984
|
<!-- <xsl:strip-space elements="bipm:xref"/> -->
|
3984
3985
|
|
3985
|
-
<xsl:variable name="
|
3986
|
-
|
3986
|
+
<xsl:variable name="namespace_full_">
|
3987
|
+
<xsl:choose>
|
3988
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3989
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
3990
|
+
</xsl:choose>
|
3991
|
+
</xsl:variable>
|
3992
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
3993
|
+
|
3994
|
+
<xsl:variable name="root_element_">
|
3995
|
+
<xsl:choose>
|
3996
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
3997
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
3998
|
+
</xsl:choose>
|
3999
|
+
</xsl:variable>
|
4000
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
3987
4001
|
|
3988
4002
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
3989
4003
|
|
@@ -8895,6 +8909,12 @@
|
|
8895
8909
|
</xsl:if>
|
8896
8910
|
</xsl:template>
|
8897
8911
|
|
8912
|
+
<xsl:template match="*[local-name()='strike']">
|
8913
|
+
<fo:inline text-decoration="line-through">
|
8914
|
+
<xsl:apply-templates/>
|
8915
|
+
</fo:inline>
|
8916
|
+
</xsl:template>
|
8917
|
+
|
8898
8918
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
8899
8919
|
<fo:block break-after="page"/>
|
8900
8920
|
<fo:block> </fo:block>
|
@@ -1798,8 +1798,21 @@
|
|
1798
1798
|
|
1799
1799
|
<!-- <xsl:strip-space elements="jcgm:xref"/> -->
|
1800
1800
|
|
1801
|
-
<xsl:variable name="
|
1802
|
-
|
1801
|
+
<xsl:variable name="namespace_full_">
|
1802
|
+
<xsl:choose>
|
1803
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
1804
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
1805
|
+
</xsl:choose>
|
1806
|
+
</xsl:variable>
|
1807
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
1808
|
+
|
1809
|
+
<xsl:variable name="root_element_">
|
1810
|
+
<xsl:choose>
|
1811
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
1812
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
1813
|
+
</xsl:choose>
|
1814
|
+
</xsl:variable>
|
1815
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
1803
1816
|
|
1804
1817
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
1805
1818
|
|
@@ -6719,6 +6732,12 @@
|
|
6719
6732
|
</xsl:if>
|
6720
6733
|
</xsl:template>
|
6721
6734
|
|
6735
|
+
<xsl:template match="*[local-name()='strike']">
|
6736
|
+
<fo:inline text-decoration="line-through">
|
6737
|
+
<xsl:apply-templates/>
|
6738
|
+
</fo:inline>
|
6739
|
+
</xsl:template>
|
6740
|
+
|
6722
6741
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
6723
6742
|
<fo:block break-after="page"/>
|
6724
6743
|
<fo:block> </fo:block>
|
@@ -267,11 +267,11 @@ Detailed in https://www.relaton.org/model/creator/</a:documentation>
|
|
267
267
|
<a:documentation>An identifier of the person according to an international identifier scheme</a:documentation>
|
268
268
|
</ref>
|
269
269
|
</zeroOrMore>
|
270
|
-
<
|
270
|
+
<optional>
|
271
271
|
<ref name="contact">
|
272
272
|
<a:documentation>Contact information for the person, including URI, address, phone number, and email</a:documentation>
|
273
273
|
</ref>
|
274
|
-
</
|
274
|
+
</optional>
|
275
275
|
</element>
|
276
276
|
</define>
|
277
277
|
<define name="fullname">
|
@@ -454,11 +454,11 @@ real names (if the person is named with a pseudonym or user name); previous lega
|
|
454
454
|
<a:documentation>An identifier of the organization according to an international identifier scheme</a:documentation>
|
455
455
|
</ref>
|
456
456
|
</zeroOrMore>
|
457
|
-
<
|
457
|
+
<optional>
|
458
458
|
<ref name="contact">
|
459
459
|
<a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
|
460
460
|
</ref>
|
461
|
-
</
|
461
|
+
</optional>
|
462
462
|
<optional>
|
463
463
|
<ref name="logo">
|
464
464
|
<a:documentation>A logo for the organization</a:documentation>
|
@@ -540,12 +540,18 @@ real names (if the person is named with a pseudonym or user name); previous lega
|
|
540
540
|
<!-- TODO may change -->
|
541
541
|
<define name="contact">
|
542
542
|
<a:documentation>Contact information for a person or organization</a:documentation>
|
543
|
-
<
|
543
|
+
<zeroOrMore>
|
544
544
|
<ref name="address"/>
|
545
|
+
</zeroOrMore>
|
546
|
+
<zeroOrMore>
|
545
547
|
<ref name="phone"/>
|
548
|
+
</zeroOrMore>
|
549
|
+
<zeroOrMore>
|
546
550
|
<ref name="email"/>
|
551
|
+
</zeroOrMore>
|
552
|
+
<zeroOrMore>
|
547
553
|
<ref name="uri"/>
|
548
|
-
</
|
554
|
+
</zeroOrMore>
|
549
555
|
</define>
|
550
556
|
<define name="phone">
|
551
557
|
<a:documentation>The phone number associated with a person or organization</a:documentation>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -300,7 +300,7 @@ homepage: https://github.com/metanorma/metanorma-bipm
|
|
300
300
|
licenses:
|
301
301
|
- BSD-2-Clause
|
302
302
|
metadata: {}
|
303
|
-
post_install_message:
|
303
|
+
post_install_message:
|
304
304
|
rdoc_options: []
|
305
305
|
require_paths:
|
306
306
|
- lib
|
@@ -316,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
316
316
|
version: '0'
|
317
317
|
requirements: []
|
318
318
|
rubygems_version: 3.3.27
|
319
|
-
signing_key:
|
319
|
+
signing_key:
|
320
320
|
specification_version: 4
|
321
321
|
summary: metanorma-bipm lets you write BIPM standards in Metanorma.
|
322
322
|
test_files: []
|