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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3dba03aa2261b2991ebbac72a35ee4e42a1fff6a2bcff61d7ae8fbd8353d952d
4
- data.tar.gz: ccc47175fc626ce57c96f2a51d1af67797efd8f8fcee7af8f40fc453d3922b90
3
+ metadata.gz: 60225fb4f55eeafe7ba3924acdd12bf307ded800c77f2bce5aab24960ef8cfc7
4
+ data.tar.gz: 0c2470229ebb9fc80e24525420794b5472e64970b01b52a922fed498b6d63110
5
5
  SHA512:
6
- metadata.gz: 5e93b785a7f26c3333a65a15d2cacfe8a8695ddc53111371799a7f552d3b8e31a429b3b30a4a11f25c36f52343b5731ba44c020f27ca17415193f03731e2717f
7
- data.tar.gz: 98c98fd64d75be15f106fde61af3c8ab646223e5b2e31ca0dc6cecfa1ce3176536323c438fe02927b4caea758c265826d8485436f71af81b419a831249b5e9f1
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:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
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
  <!-- ============================================= -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ribose
3
- VERSION = "2.9.1.pre.alpha.2".freeze
3
+ VERSION = "2.9.1".freeze
4
4
  end
5
5
  end
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.pre.alpha.2
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-26 00:00:00.000000000 Z
11
+ date: 2026-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic