metanorma-csa 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/csa/csa.standard.xsl +21 -2
- data/lib/metanorma/csa/biblio.rng +12 -6
- data/lib/metanorma/csa/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: a8ea0778b4e68a55bead6274e7e3cf36b91b2a16d964f6b840d472f9adb468ce
|
4
|
+
data.tar.gz: 70b4227e4c3eccd950766dd67c90a5cef44a6873f6f868faa86ebf39ba074db5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4e409b698b17b4d9120965528538ff949a93092b75c5bcbda2ddc6b1d5ac924d3f6d761d3fc374b3db80bb8564c8970e38a454d0d1be7ebc1fe1dc4270565f7
|
7
|
+
data.tar.gz: f12c7ab8f68ba003001c74bca76774baa5c3609a94b85986a264b494586408c4f172527ead3e263c2109d50de78767d1ed299c1629ae9f7f6e932792487ee8dd
|
@@ -671,8 +671,21 @@
|
|
671
671
|
|
672
672
|
<!-- <xsl:strip-space elements="csa:xref"/> -->
|
673
673
|
|
674
|
-
<xsl:variable name="
|
675
|
-
|
674
|
+
<xsl:variable name="namespace_full_">
|
675
|
+
<xsl:choose>
|
676
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
677
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
678
|
+
</xsl:choose>
|
679
|
+
</xsl:variable>
|
680
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
681
|
+
|
682
|
+
<xsl:variable name="root_element_">
|
683
|
+
<xsl:choose>
|
684
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
685
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
686
|
+
</xsl:choose>
|
687
|
+
</xsl:variable>
|
688
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
676
689
|
|
677
690
|
<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'])"/>
|
678
691
|
|
@@ -5465,6 +5478,12 @@
|
|
5465
5478
|
</xsl:if>
|
5466
5479
|
</xsl:template>
|
5467
5480
|
|
5481
|
+
<xsl:template match="*[local-name()='strike']">
|
5482
|
+
<fo:inline text-decoration="line-through">
|
5483
|
+
<xsl:apply-templates/>
|
5484
|
+
</fo:inline>
|
5485
|
+
</xsl:template>
|
5486
|
+
|
5468
5487
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
5469
5488
|
<fo:block break-after="page"/>
|
5470
5489
|
<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-csa
|
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
|
@@ -242,7 +242,7 @@ homepage: https://github.com/metanorma/metanorma-csa
|
|
242
242
|
licenses:
|
243
243
|
- BSD-2-Clause
|
244
244
|
metadata: {}
|
245
|
-
post_install_message:
|
245
|
+
post_install_message:
|
246
246
|
rdoc_options: []
|
247
247
|
require_paths:
|
248
248
|
- lib
|
@@ -258,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
260
|
rubygems_version: 3.3.27
|
261
|
-
signing_key:
|
261
|
+
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc.
|
264
264
|
test_files: []
|