metanorma-plateau 1.3.2.pre.alpha.1 → 1.3.2
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 +2 -3
- data/lib/isodoc/plateau/plateau.international-standard.xsl +37 -1
- data/lib/metanorma/plateau/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: dcbb89337e0d9e649ace3dcb324510e427b5421b31b296ddb8edb86beae26c82
|
|
4
|
+
data.tar.gz: 0cf196072e7f70644ebcc3b7d938fede1f79c705d0dadb3dfa619d04c42fb527
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a101abe64f60916cee137b1df344f0ade509ee9a3902639e61724de5f87fc8f1718263983c16a5c0ad87b1166912cdc18833f35fc44af183076d6c2fbd561168
|
|
7
|
+
data.tar.gz: 1271d76a7119e0502117ab90e090becc8dc973416918deb2c228915c13a8eedbcca7e11ba92b5489205f42f4e4fc0fe27da202aba7b74713131e09b4f1893f4b
|
data/Gemfile
CHANGED
|
@@ -8,9 +8,8 @@ gemspec
|
|
|
8
8
|
|
|
9
9
|
# The ja-en availability delta needs the fixed extends merge
|
|
10
10
|
# (delta labels win per key) shipped in relaton-render alpha.32;
|
|
11
|
-
#
|
|
12
|
-
|
|
13
|
-
gem "relaton-render", ">= 3.0.0.pre.alpha.32"
|
|
11
|
+
# resolve in CI; relaton-render 3.0.0 final carries it
|
|
12
|
+
gem "relaton-render", "~> 3.0"
|
|
14
13
|
|
|
15
14
|
gem "gem-release"
|
|
16
15
|
|
|
@@ -28,6 +28,23 @@
|
|
|
28
28
|
<xsl:value-of select="/*/mn:bibdata/mn:title[@language = 'ja' and @type = 'title-main']"/>
|
|
29
29
|
</xsl:variable>
|
|
30
30
|
|
|
31
|
+
<xsl:variable name="variables_">
|
|
32
|
+
<xsl:for-each select="//mn:metanorma">
|
|
33
|
+
<xsl:variable name="num"><xsl:number level="any" count="mn:metanorma"/></xsl:variable>
|
|
34
|
+
|
|
35
|
+
<xsl:variable name="current_document">
|
|
36
|
+
<xsl:copy-of select="."/>
|
|
37
|
+
</xsl:variable>
|
|
38
|
+
|
|
39
|
+
<xsl:for-each select="xalan:nodeset($current_document)">
|
|
40
|
+
<mnx:doc num="{$num}">
|
|
41
|
+
|
|
42
|
+
</mnx:doc>
|
|
43
|
+
</xsl:for-each>
|
|
44
|
+
</xsl:for-each>
|
|
45
|
+
</xsl:variable>
|
|
46
|
+
<xsl:variable name="variables" select="xalan:nodeset($variables_)"/>
|
|
47
|
+
|
|
31
48
|
<xsl:variable name="contents_">
|
|
32
49
|
<xsl:variable name="bundle" select="count(//mn:metanorma) > 1"/>
|
|
33
50
|
|
|
@@ -871,7 +888,9 @@
|
|
|
871
888
|
<xsl:call-template name="getName"/>
|
|
872
889
|
</xsl:variable>
|
|
873
890
|
<xsl:variable name="variant_title">
|
|
874
|
-
<xsl:
|
|
891
|
+
<xsl:if test="not(self::mn:annex)">
|
|
892
|
+
<xsl:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
|
|
893
|
+
</xsl:if>
|
|
875
894
|
</xsl:variable>
|
|
876
895
|
|
|
877
896
|
<xsl:variable name="root">
|
|
@@ -17444,6 +17463,23 @@
|
|
|
17444
17463
|
</xsl:choose>
|
|
17445
17464
|
</xsl:template>
|
|
17446
17465
|
|
|
17466
|
+
<xsl:template name="getVariable">
|
|
17467
|
+
<xsl:param name="variable"/>
|
|
17468
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
17469
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
17470
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
17471
|
+
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
17472
|
+
</xsl:template>
|
|
17473
|
+
|
|
17474
|
+
<!-- get variable value with the internal elements(nodes), e.g. formatting -->
|
|
17475
|
+
<xsl:template name="getVariableCopyOf">
|
|
17476
|
+
<xsl:param name="variable"/>
|
|
17477
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
17478
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
17479
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
17480
|
+
<xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
|
|
17481
|
+
</xsl:template>
|
|
17482
|
+
|
|
17447
17483
|
<!-- ============================================= -->
|
|
17448
17484
|
<!-- mode="print_as_xml", for debug purposes -->
|
|
17449
17485
|
<!-- ============================================= -->
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-plateau
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.2
|
|
4
|
+
version: 1.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
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-jis
|