metanorma-cc 2.9.1.pre.alpha.2 → 2.9.1
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/Gemfile +9 -10
- data/lib/isodoc/cc/cc.standard.xsl +20 -1
- 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: f79f5f7c4fd065a50d7b03cbefc9c9f640d675a8a4ffcb8235eb172dc2832c29
|
|
4
|
+
data.tar.gz: 72fa7da96d31bf2cb209afa3cc168033eb5bec5857228577a3be6551ed3fc7e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fedf23aff135719338de1eb0d49c514f4654c0c71073c355f2958bbd2a22d008c0c4b3ff76e91e52fd5de3362e995a03278767fc44b5c0788475be3dcab1d4b2
|
|
7
|
+
data.tar.gz: 1c7cb5f9a443febfae861daab9349745d847bb0e8e4c1213b3ce8653b3a35731a7cc5682a36ad9a78c7831b92500265ab697d76c9b3d545fe4ac1707e6103991
|
data/Gemfile
CHANGED
|
@@ -6,19 +6,18 @@ git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
|
6
6
|
|
|
7
7
|
gemspec
|
|
8
8
|
|
|
9
|
-
# Canonical line: the relaton 3
|
|
10
|
-
# gem mains (the released generic/standoc line caps relaton at 2.x).
|
|
9
|
+
# Canonical line: the relaton 3 finals over the α engine line.
|
|
11
10
|
gem "metanorma-generic", github: "metanorma/metanorma-generic", branch: "main"
|
|
12
|
-
gem "metanorma-standoc",
|
|
13
|
-
gem "metanorma-core",
|
|
14
|
-
gem "metanorma-document",
|
|
15
|
-
gem "isodoc",
|
|
11
|
+
gem "metanorma-standoc", "~> 3.5.1.pre.alpha"
|
|
12
|
+
gem "metanorma-core", "~> 0.2.5.pre.alpha" # published flavor/taste table (metanorma-core#18)
|
|
13
|
+
gem "metanorma-document", "~> 0.5.2.pre.alpha"
|
|
14
|
+
gem "isodoc", "~> 3.7.4.pre.alpha"
|
|
16
15
|
gem "metanorma-mirror", github: "metanorma/metanorma-mirror", branch: "main"
|
|
17
16
|
gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
|
|
18
|
-
gem "relaton", "~> 3.0
|
|
19
|
-
gem "relaton-render", "~> 3.0
|
|
20
|
-
gem "pubid", "~> 2.0
|
|
21
|
-
gem "lutaml-model", "0.8
|
|
17
|
+
gem "relaton", "~> 3.0"
|
|
18
|
+
gem "relaton-render", "~> 3.0"
|
|
19
|
+
gem "pubid", "~> 2.0"
|
|
20
|
+
gem "lutaml-model", "~> 0.8" # relaton 3.x declares singular_tolerance (needs 0.8.113+)
|
|
22
21
|
gem "sassc-embedded", "~> 1.80"
|
|
23
22
|
gem "rake", ">= 13.0"
|
|
24
23
|
|
|
@@ -647,7 +647,9 @@
|
|
|
647
647
|
<xsl:call-template name="getName"/>
|
|
648
648
|
</xsl:variable>
|
|
649
649
|
<xsl:variable name="variant_title">
|
|
650
|
-
<xsl:
|
|
650
|
+
<xsl:if test="not(self::mn:annex)">
|
|
651
|
+
<xsl:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
|
|
652
|
+
</xsl:if>
|
|
651
653
|
</xsl:variable>
|
|
652
654
|
|
|
653
655
|
<mnx:item id="{@id}" level="{$level}" section="{$section}" display="{$display}">
|
|
@@ -15914,6 +15916,23 @@
|
|
|
15914
15916
|
</xsl:choose>
|
|
15915
15917
|
</xsl:template>
|
|
15916
15918
|
|
|
15919
|
+
<xsl:template name="getVariable">
|
|
15920
|
+
<xsl:param name="variable"/>
|
|
15921
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
15922
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
15923
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
15924
|
+
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
15925
|
+
</xsl:template>
|
|
15926
|
+
|
|
15927
|
+
<!-- get variable value with the internal elements(nodes), e.g. formatting -->
|
|
15928
|
+
<xsl:template name="getVariableCopyOf">
|
|
15929
|
+
<xsl:param name="variable"/>
|
|
15930
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
15931
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
15932
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
15933
|
+
<xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
|
|
15934
|
+
</xsl:template>
|
|
15935
|
+
|
|
15917
15936
|
<!-- ============================================= -->
|
|
15918
15937
|
<!-- mode="print_as_xml", for debug purposes -->
|
|
15919
15938
|
<!-- ============================================= -->
|
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.9.1
|
|
4
|
+
version: 2.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-generic
|