metanorma-bipm 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/bipm/bipm.brochure.xsl +23 -3
- data/lib/isodoc/bipm/bipm.guide.xsl +23 -3
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +23 -3
- data/lib/isodoc/bipm/bipm.rapport.xsl +23 -3
- data/lib/isodoc/bipm/jcgm.standard.xsl +23 -3
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dc6dea6bff44b301710108fe0f360f84c9a081c6503ccbf9903a612636ea72a
|
4
|
+
data.tar.gz: f58b879ba367233907371bae08d563fd354f5d9e8c06c9bdc65df8ed6457244d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74bdf97de373be23543a58265d760825cadb8ba489299332ccfffe8ff2515da405e0e3e648d2b62d7e75da1bbe485409e60a6e88cdab0cc36cbb9bc191a1b371
|
7
|
+
data.tar.gz: fa377c93817bd81211ef65e09abdc5f41b03256a297b4b130e50f991937600e88e31ebeb5d3bf6b170726e7e8a17178fa77e8df210505dfe8fccc63f898956ca
|
@@ -5302,8 +5302,27 @@
|
|
5302
5302
|
<xsl:sort select="@displayorder" data-type="number"/>
|
5303
5303
|
<xsl:apply-templates select="."/>
|
5304
5304
|
</xsl:for-each>
|
5305
|
-
</xsl:template><xsl:template match="text()">
|
5306
|
-
<xsl:
|
5305
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
5306
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
5307
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
5308
|
+
<xsl:call-template name="replace_fo_inline">
|
5309
|
+
<xsl:with-param name="text" select="$text"/>
|
5310
|
+
</xsl:call-template>
|
5311
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
5312
|
+
<xsl:param name="text"/>
|
5313
|
+
<xsl:choose>
|
5314
|
+
<xsl:when test="contains($text, $tag_open)">
|
5315
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
5316
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
5317
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
5318
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
5319
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
5320
|
+
<xsl:call-template name="replace_fo_inline">
|
5321
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
5322
|
+
</xsl:call-template>
|
5323
|
+
</xsl:when>
|
5324
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
5325
|
+
</xsl:choose>
|
5307
5326
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
5308
5327
|
<xsl:value-of select="$linebreak"/>
|
5309
5328
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -9080,7 +9099,8 @@
|
|
9080
9099
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
9081
9100
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
9082
9101
|
<xsl:if test="normalize-space() != ''">
|
9083
|
-
<xsl:value-of select="."/>
|
9102
|
+
<!-- <xsl:value-of select="."/> -->
|
9103
|
+
<xsl:call-template name="text"/>
|
9084
9104
|
</xsl:if>
|
9085
9105
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
9086
9106
|
<fo:block-container margin-left="0mm">
|
@@ -5302,8 +5302,27 @@
|
|
5302
5302
|
<xsl:sort select="@displayorder" data-type="number"/>
|
5303
5303
|
<xsl:apply-templates select="."/>
|
5304
5304
|
</xsl:for-each>
|
5305
|
-
</xsl:template><xsl:template match="text()">
|
5306
|
-
<xsl:
|
5305
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
5306
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
5307
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
5308
|
+
<xsl:call-template name="replace_fo_inline">
|
5309
|
+
<xsl:with-param name="text" select="$text"/>
|
5310
|
+
</xsl:call-template>
|
5311
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
5312
|
+
<xsl:param name="text"/>
|
5313
|
+
<xsl:choose>
|
5314
|
+
<xsl:when test="contains($text, $tag_open)">
|
5315
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
5316
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
5317
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
5318
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
5319
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
5320
|
+
<xsl:call-template name="replace_fo_inline">
|
5321
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
5322
|
+
</xsl:call-template>
|
5323
|
+
</xsl:when>
|
5324
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
5325
|
+
</xsl:choose>
|
5307
5326
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
5308
5327
|
<xsl:value-of select="$linebreak"/>
|
5309
5328
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -9080,7 +9099,8 @@
|
|
9080
9099
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
9081
9100
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
9082
9101
|
<xsl:if test="normalize-space() != ''">
|
9083
|
-
<xsl:value-of select="."/>
|
9102
|
+
<!-- <xsl:value-of select="."/> -->
|
9103
|
+
<xsl:call-template name="text"/>
|
9084
9104
|
</xsl:if>
|
9085
9105
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
9086
9106
|
<fo:block-container margin-left="0mm">
|
@@ -5302,8 +5302,27 @@
|
|
5302
5302
|
<xsl:sort select="@displayorder" data-type="number"/>
|
5303
5303
|
<xsl:apply-templates select="."/>
|
5304
5304
|
</xsl:for-each>
|
5305
|
-
</xsl:template><xsl:template match="text()">
|
5306
|
-
<xsl:
|
5305
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
5306
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
5307
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
5308
|
+
<xsl:call-template name="replace_fo_inline">
|
5309
|
+
<xsl:with-param name="text" select="$text"/>
|
5310
|
+
</xsl:call-template>
|
5311
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
5312
|
+
<xsl:param name="text"/>
|
5313
|
+
<xsl:choose>
|
5314
|
+
<xsl:when test="contains($text, $tag_open)">
|
5315
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
5316
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
5317
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
5318
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
5319
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
5320
|
+
<xsl:call-template name="replace_fo_inline">
|
5321
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
5322
|
+
</xsl:call-template>
|
5323
|
+
</xsl:when>
|
5324
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
5325
|
+
</xsl:choose>
|
5307
5326
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
5308
5327
|
<xsl:value-of select="$linebreak"/>
|
5309
5328
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -9080,7 +9099,8 @@
|
|
9080
9099
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
9081
9100
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
9082
9101
|
<xsl:if test="normalize-space() != ''">
|
9083
|
-
<xsl:value-of select="."/>
|
9102
|
+
<!-- <xsl:value-of select="."/> -->
|
9103
|
+
<xsl:call-template name="text"/>
|
9084
9104
|
</xsl:if>
|
9085
9105
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
9086
9106
|
<fo:block-container margin-left="0mm">
|
@@ -5302,8 +5302,27 @@
|
|
5302
5302
|
<xsl:sort select="@displayorder" data-type="number"/>
|
5303
5303
|
<xsl:apply-templates select="."/>
|
5304
5304
|
</xsl:for-each>
|
5305
|
-
</xsl:template><xsl:template match="text()">
|
5306
|
-
<xsl:
|
5305
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
5306
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
5307
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
5308
|
+
<xsl:call-template name="replace_fo_inline">
|
5309
|
+
<xsl:with-param name="text" select="$text"/>
|
5310
|
+
</xsl:call-template>
|
5311
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
5312
|
+
<xsl:param name="text"/>
|
5313
|
+
<xsl:choose>
|
5314
|
+
<xsl:when test="contains($text, $tag_open)">
|
5315
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
5316
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
5317
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
5318
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
5319
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
5320
|
+
<xsl:call-template name="replace_fo_inline">
|
5321
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
5322
|
+
</xsl:call-template>
|
5323
|
+
</xsl:when>
|
5324
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
5325
|
+
</xsl:choose>
|
5307
5326
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
5308
5327
|
<xsl:value-of select="$linebreak"/>
|
5309
5328
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -9080,7 +9099,8 @@
|
|
9080
9099
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
9081
9100
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
9082
9101
|
<xsl:if test="normalize-space() != ''">
|
9083
|
-
<xsl:value-of select="."/>
|
9102
|
+
<!-- <xsl:value-of select="."/> -->
|
9103
|
+
<xsl:call-template name="text"/>
|
9084
9104
|
</xsl:if>
|
9085
9105
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
9086
9106
|
<fo:block-container margin-left="0mm">
|
@@ -3159,8 +3159,27 @@
|
|
3159
3159
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3160
3160
|
<xsl:apply-templates select="."/>
|
3161
3161
|
</xsl:for-each>
|
3162
|
-
</xsl:template><xsl:template match="text()">
|
3163
|
-
<xsl:
|
3162
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3163
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3164
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3165
|
+
<xsl:call-template name="replace_fo_inline">
|
3166
|
+
<xsl:with-param name="text" select="$text"/>
|
3167
|
+
</xsl:call-template>
|
3168
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3169
|
+
<xsl:param name="text"/>
|
3170
|
+
<xsl:choose>
|
3171
|
+
<xsl:when test="contains($text, $tag_open)">
|
3172
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3173
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3174
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3175
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3176
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3177
|
+
<xsl:call-template name="replace_fo_inline">
|
3178
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3179
|
+
</xsl:call-template>
|
3180
|
+
</xsl:when>
|
3181
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3182
|
+
</xsl:choose>
|
3164
3183
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3165
3184
|
<xsl:value-of select="$linebreak"/>
|
3166
3185
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -6879,7 +6898,8 @@
|
|
6879
6898
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
6880
6899
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
6881
6900
|
<xsl:if test="normalize-space() != ''">
|
6882
|
-
<xsl:value-of select="."/>
|
6901
|
+
<!-- <xsl:value-of select="."/> -->
|
6902
|
+
<xsl:call-template name="text"/>
|
6883
6903
|
</xsl:if>
|
6884
6904
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
6885
6905
|
<fo:block-container margin-left="0mm">
|
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.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|