metanorma-cc 2.5.9 → 2.5.10
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/cc/cc.standard.xsl +21 -2
- data/lib/metanorma/cc/biblio.rng +12 -6
- data/lib/metanorma/cc/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: beff4398218564ac9cbaf3bd447151d6ca275086e01e1a9c5999c9ad6515246d
|
|
4
|
+
data.tar.gz: ccdd274f2e67a44ea41900888420ef97a655cd9c45f452d4e1763d91d57fd67a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2df226344aa62d4171e0c0e6ae10e93d9925793d70da127275d3e654ebf888921d3d9e2956e28f309eb34e2bc78a9e2a3bb3b79bec5fca0861dd4372601a8c50
|
|
7
|
+
data.tar.gz: ab00b4fe640ec8e69a31fb8a16733422491438901b606509d89c5b36b40040b164cdfe551f62c8d34150f1fc121c106e57b8109dcab6f0f1e25f99c06b056d5e
|
|
@@ -679,8 +679,21 @@
|
|
|
679
679
|
|
|
680
680
|
<!-- <xsl:strip-space elements="csd:xref"/> -->
|
|
681
681
|
|
|
682
|
-
<xsl:variable name="
|
|
683
|
-
|
|
682
|
+
<xsl:variable name="namespace_full_">
|
|
683
|
+
<xsl:choose>
|
|
684
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
|
685
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
|
686
|
+
</xsl:choose>
|
|
687
|
+
</xsl:variable>
|
|
688
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
|
689
|
+
|
|
690
|
+
<xsl:variable name="root_element_">
|
|
691
|
+
<xsl:choose>
|
|
692
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
|
693
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
|
694
|
+
</xsl:choose>
|
|
695
|
+
</xsl:variable>
|
|
696
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
|
684
697
|
|
|
685
698
|
<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'])"/>
|
|
686
699
|
|
|
@@ -5457,6 +5470,12 @@
|
|
|
5457
5470
|
</xsl:if>
|
|
5458
5471
|
</xsl:template>
|
|
5459
5472
|
|
|
5473
|
+
<xsl:template match="*[local-name()='strike']">
|
|
5474
|
+
<fo:inline text-decoration="line-through">
|
|
5475
|
+
<xsl:apply-templates/>
|
|
5476
|
+
</fo:inline>
|
|
5477
|
+
</xsl:template>
|
|
5478
|
+
|
|
5460
5479
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
|
5461
5480
|
<fo:block break-after="page"/>
|
|
5462
5481
|
<fo:block> </fo:block>
|
data/lib/metanorma/cc/biblio.rng
CHANGED
|
@@ -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>
|
data/lib/metanorma/cc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-cc
|
|
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
|
|
@@ -243,7 +243,7 @@ homepage: https://github.com/metanorma/metanorma-cc
|
|
|
243
243
|
licenses:
|
|
244
244
|
- BSD-2-Clause
|
|
245
245
|
metadata: {}
|
|
246
|
-
post_install_message:
|
|
246
|
+
post_install_message:
|
|
247
247
|
rdoc_options: []
|
|
248
248
|
require_paths:
|
|
249
249
|
- lib
|
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
259
259
|
version: '0'
|
|
260
260
|
requirements: []
|
|
261
261
|
rubygems_version: 3.3.27
|
|
262
|
-
signing_key:
|
|
262
|
+
signing_key:
|
|
263
263
|
specification_version: 4
|
|
264
264
|
summary: metanorma-cc lets you write CalConnect standards in AsciiDoc.
|
|
265
265
|
test_files: []
|