metanorma-cc 2.7.7 → 2.7.8
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 +16 -2
- data/lib/metanorma/cc/biblio.rng +4 -4
- data/lib/metanorma/cc/isodoc.rng +27 -10
- data/lib/metanorma/cc/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: 133aa4b414d618cedc7b55af3a6757def2340c8d08924c1223d0150374aadc7d
|
|
4
|
+
data.tar.gz: 8d806a8a001e20ec52b6afb2424fcb929d02b57a650a36a5516508521aa6b686
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb3411b4bb45194a3e88b1b7651954ce87f535d43d44c14cf2ba04213e6275950b30ce1e9aa208134df76e97f429f5aa5463af33503091c6dc1ace3f258db029
|
|
7
|
+
data.tar.gz: '026800bbab8312d4df0776fb6b08bc756f019a87f4c7859cbe2be56f64872ef37d4ad3c1c9d7b7cba405869eb8810b85363c835a77d563f9ab347a3d39415eb9'
|
|
@@ -10592,10 +10592,10 @@
|
|
|
10592
10592
|
<!-- END Admonition -->
|
|
10593
10593
|
<!-- ================ -->
|
|
10594
10594
|
|
|
10595
|
-
<xsl:attribute-set name="
|
|
10595
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
10596
10596
|
</xsl:attribute-set>
|
|
10597
10597
|
|
|
10598
|
-
<xsl:template name="
|
|
10598
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
10599
10599
|
</xsl:template>
|
|
10600
10600
|
|
|
10601
10601
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -12658,6 +12658,7 @@
|
|
|
12658
12658
|
<!-- ===================================== -->
|
|
12659
12659
|
|
|
12660
12660
|
<xsl:attribute-set name="annex-title-style">
|
|
12661
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
12661
12662
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
12662
12663
|
|
|
12663
12664
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -12712,6 +12713,19 @@
|
|
|
12712
12713
|
<xsl:if test="ancestor::mn:sections">
|
|
12713
12714
|
<xsl:attribute name="margin-top">13.5pt</xsl:attribute>
|
|
12714
12715
|
</xsl:if>
|
|
12716
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
12717
|
+
<xsl:variable name="annex_title_styles">
|
|
12718
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
12719
|
+
</xsl:variable>
|
|
12720
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
12721
|
+
</xsl:if>
|
|
12722
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
12723
|
+
<xsl:variable name="bibliography_title_styles">
|
|
12724
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
12725
|
+
</xsl:variable>
|
|
12726
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
12727
|
+
</xsl:if>
|
|
12728
|
+
|
|
12715
12729
|
<!-- $namespace = 'csd' -->
|
|
12716
12730
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
12717
12731
|
</xsl:template> <!-- refine_title-style -->
|
data/lib/metanorma/cc/biblio.rng
CHANGED
|
@@ -690,7 +690,7 @@ Examples include GRID, LEI, CrossRef, and Ringgold</a:documentation>
|
|
|
690
690
|
<define name="CitationType">
|
|
691
691
|
<attribute name="bibitemid">
|
|
692
692
|
<a:documentation>Bibliographic item that the citation applies to, referenced as the anchor of a bibliographic description</a:documentation>
|
|
693
|
-
<
|
|
693
|
+
<ref name="IdRefType"/>
|
|
694
694
|
</attribute>
|
|
695
695
|
<choice>
|
|
696
696
|
<zeroOrMore>
|
|
@@ -1296,17 +1296,17 @@ for which this claim of validity is made, if applicable</a:documentation>
|
|
|
1296
1296
|
</define>
|
|
1297
1297
|
<define name="validityBegins">
|
|
1298
1298
|
<element name="validityBegins">
|
|
1299
|
-
<ref name="
|
|
1299
|
+
<ref name="ISO8601DateTime"/>
|
|
1300
1300
|
</element>
|
|
1301
1301
|
</define>
|
|
1302
1302
|
<define name="validityEnds">
|
|
1303
1303
|
<element name="validityEnds">
|
|
1304
|
-
<ref name="
|
|
1304
|
+
<ref name="ISO8601DateTime"/>
|
|
1305
1305
|
</element>
|
|
1306
1306
|
</define>
|
|
1307
1307
|
<define name="validityRevision">
|
|
1308
1308
|
<element name="revision">
|
|
1309
|
-
<ref name="
|
|
1309
|
+
<ref name="ISO8601DateTime"/>
|
|
1310
1310
|
</element>
|
|
1311
1311
|
</define>
|
|
1312
1312
|
<define name="TypedTitleString">
|
data/lib/metanorma/cc/isodoc.rng
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
|
-
<!-- VERSION v2.1.
|
|
3
|
+
<!-- VERSION v2.1.4 -->
|
|
4
4
|
|
|
5
5
|
<!--
|
|
6
6
|
ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
|
|
@@ -905,15 +905,32 @@ titlecase, or lowercase</a:documentation>
|
|
|
905
905
|
</element>
|
|
906
906
|
</define>
|
|
907
907
|
<define name="image" combine="choice">
|
|
908
|
-
<
|
|
909
|
-
<
|
|
910
|
-
|
|
911
|
-
<
|
|
912
|
-
|
|
913
|
-
<
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
908
|
+
<choice>
|
|
909
|
+
<element name="image">
|
|
910
|
+
<ref name="RequiredId"/>
|
|
911
|
+
<ref name="ImageAttributes"/>
|
|
912
|
+
<optional>
|
|
913
|
+
<element name="svg">
|
|
914
|
+
<a:documentation>Allow svg in image/svg, for consistency</a:documentation>
|
|
915
|
+
<oneOrMore>
|
|
916
|
+
<choice>
|
|
917
|
+
<text/>
|
|
918
|
+
<ref name="AnyElement"/>
|
|
919
|
+
</choice>
|
|
920
|
+
</oneOrMore>
|
|
921
|
+
</element>
|
|
922
|
+
</optional>
|
|
923
|
+
</element>
|
|
924
|
+
<element name="svg">
|
|
925
|
+
<a:documentation>Add svg mark up to image</a:documentation>
|
|
926
|
+
<oneOrMore>
|
|
927
|
+
<choice>
|
|
928
|
+
<text/>
|
|
929
|
+
<ref name="AnyElement"/>
|
|
930
|
+
</choice>
|
|
931
|
+
</oneOrMore>
|
|
932
|
+
</element>
|
|
933
|
+
</choice>
|
|
917
934
|
</define>
|
|
918
935
|
<define name="ParagraphFnBody" combine="interleave">
|
|
919
936
|
<ref name="BlockSource">
|
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.7.
|
|
4
|
+
version: 2.7.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-generic
|