metanorma-ribose 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/lib/isodoc/ribose/ribose.standard.xsl +20 -1
- data/lib/metanorma/ribose/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: 60225fb4f55eeafe7ba3924acdd12bf307ded800c77f2bce5aab24960ef8cfc7
|
|
4
|
+
data.tar.gz: 0c2470229ebb9fc80e24525420794b5472e64970b01b52a922fed498b6d63110
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f091cf633cb2b7b9be134b3993f7694c6963be679a11b2b726fc35b2e4bb222345c86de6f27d3e15ddd86be4ead8323c2e310d195245e3722247eeae78d91e9
|
|
7
|
+
data.tar.gz: 237062fc687eb9ae763170c1bb10f5a427b49a0ee0d27cfb0db255d51a5f1e1439a202d1c03197f64d577cd4065412712959b283e80b17e49515abeae8597927
|
|
@@ -777,7 +777,9 @@
|
|
|
777
777
|
<xsl:call-template name="getName"/>
|
|
778
778
|
</xsl:variable>
|
|
779
779
|
<xsl:variable name="variant_title">
|
|
780
|
-
<xsl:
|
|
780
|
+
<xsl:if test="not(self::mn:annex)">
|
|
781
|
+
<xsl:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
|
|
782
|
+
</xsl:if>
|
|
781
783
|
</xsl:variable>
|
|
782
784
|
|
|
783
785
|
<xsl:variable name="type" select="local-name()"/>
|
|
@@ -16746,6 +16748,23 @@
|
|
|
16746
16748
|
</xsl:choose>
|
|
16747
16749
|
</xsl:template>
|
|
16748
16750
|
|
|
16751
|
+
<xsl:template name="getVariable">
|
|
16752
|
+
<xsl:param name="variable"/>
|
|
16753
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
16754
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
16755
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
16756
|
+
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
16757
|
+
</xsl:template>
|
|
16758
|
+
|
|
16759
|
+
<!-- get variable value with the internal elements(nodes), e.g. formatting -->
|
|
16760
|
+
<xsl:template name="getVariableCopyOf">
|
|
16761
|
+
<xsl:param name="variable"/>
|
|
16762
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
16763
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
16764
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
16765
|
+
<xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
|
|
16766
|
+
</xsl:template>
|
|
16767
|
+
|
|
16749
16768
|
<!-- ============================================= -->
|
|
16750
16769
|
<!-- mode="print_as_xml", for debug purposes -->
|
|
16751
16770
|
<!-- ============================================= -->
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-ribose
|
|
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
|