metanorma-ribose 2.7.0 → 2.7.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: 14223ba25e706195f60416f533a50e86ec510ff74db6dc4b807115f5f1cb02cc
4
- data.tar.gz: 8a4b720f59f63107da309a47997647172d46b05b73648b946a6b974195ddb684
3
+ metadata.gz: e200de00102ebf717f3b8b5282e64614182b4a2e5b7cd222bf75b10b7fd34b4e
4
+ data.tar.gz: 7313553ba686df4b63f11a8880b062cf88e56c10b3d94d10bbe83520ccce03c4
5
5
  SHA512:
6
- metadata.gz: 7f46b34703e14c86b00f65bde81efd97a985d0ddf26774791e8ea86d2e06fb8af8ff209f2f0f43ef8e7b3c212109cbb1f4c617d1209058d1a0f85e4e1aacd0e1
7
- data.tar.gz: d4cab6ffac3ebd3f40a6755d9e7c6a0981913f131ccef2e1cb62b9689371d19c15cfb18c89869b882dc4b1a7e8b88977611e3bbde5d0fe8f427932051140617a
6
+ metadata.gz: 319070c0b9830d8cc75583a573223787f79ef76dc56502b40f4d96664e8aeefc55120c4e14f7ccfaba0418e9a92f338d264b7e611708856dd00fbab4ec00e5f1
7
+ data.tar.gz: 3295a46c84c16478ecc56d9f4cf11b036c2275cc89a12780a1ca8b375608b0052c407823e304ea5544f6073796bb75c9461a57f80143117235fefd411d8ddd19
data/README.adoc CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-ribose.svg["Gem Version", link="https://rubygems.org/gems/metanorma-ribose"]
4
4
  image:https://github.com/metanorma/metanorma-ribose/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-ribose/actions?workflow=rake"]
5
- image:https://codeclimate.com/github/metanorma/metanorma-ribose/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ribose"]
5
+ // image:https://codeclimate.com/github/metanorma/metanorma-ribose/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ribose"]
6
6
  image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-ribose.svg["Pull Requests", link="https://github.com/metanorma/metanorma-ribose/pulls"]
7
7
  image:https://img.shields.io/github/commits-since/metanorma/metanorma-ribose/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-ribose/releases"]
8
8
 
@@ -10833,7 +10833,7 @@
10833
10833
 
10834
10834
  <xsl:template name="insertFootnoteSeparatorCommon">
10835
10835
  <xsl:param name="leader_length">30%</xsl:param>
10836
- <fo:static-content flow-name="xsl-footnote-separator">
10836
+ <fo:static-content flow-name="xsl-footnote-separator" role="artifact">
10837
10837
  <fo:block>
10838
10838
  <fo:leader leader-pattern="rule" leader-length="{$leader_length}"/>
10839
10839
  </fo:block>
@@ -11722,9 +11722,15 @@
11722
11722
  <xsl:attribute name="margin-bottom">13mm</xsl:attribute>
11723
11723
  </xsl:attribute-set>
11724
11724
 
11725
+ <xsl:template name="refine_toc-title-style">
11726
+ </xsl:template>
11727
+
11725
11728
  <xsl:attribute-set name="toc-title-page-style">
11726
11729
  </xsl:attribute-set> <!-- toc-title-page-style -->
11727
11730
 
11731
+ <xsl:template name="refine_toc-title-page-style">
11732
+ </xsl:template>
11733
+
11728
11734
  <xsl:attribute-set name="toc-item-block-style">
11729
11735
  </xsl:attribute-set>
11730
11736
 
@@ -11772,6 +11778,9 @@
11772
11778
  <xsl:attribute name="keep-with-next">always</xsl:attribute>
11773
11779
  </xsl:attribute-set>
11774
11780
 
11781
+ <xsl:template name="refine_toc-listof-title-style">
11782
+ </xsl:template>
11783
+
11775
11784
  <xsl:attribute-set name="toc-listof-item-block-style">
11776
11785
  </xsl:attribute-set>
11777
11786
 
@@ -12119,7 +12128,7 @@
12119
12128
  </xsl:if>
12120
12129
 
12121
12130
  <xsl:for-each select="$contents_nodes/mnx:doc">
12122
- <fo:bookmark internal-destination="{contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
12131
+ <fo:bookmark internal-destination="{mnx:contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
12123
12132
  <xsl:if test="@bundle = 'true'">
12124
12133
  <xsl:attribute name="internal-destination"><xsl:value-of select="@firstpage_id"/></xsl:attribute>
12125
12134
  </xsl:if>
@@ -12153,7 +12162,7 @@
12153
12162
  </xsl:choose>
12154
12163
  </fo:bookmark-title>
12155
12164
 
12156
- <xsl:apply-templates select="contents/mnx:item" mode="bookmark"/>
12165
+ <xsl:apply-templates select="mnx:contents/mnx:item" mode="bookmark"/>
12157
12166
 
12158
12167
  <xsl:call-template name="insertFigureBookmarks">
12159
12168
  <xsl:with-param name="contents" select="mnx:contents"/>
@@ -1291,13 +1291,13 @@ Restricted recursively to contain only other such inline elements with no identi
1291
1291
  <ref name="pure_strike"/>
1292
1292
  <ref name="pure_smallcap"/>
1293
1293
  <ref name="br"/>
1294
+ <ref name="stem"/>
1294
1295
  </choice>
1295
1296
  </define>
1296
1297
  <define name="NestedTextElement">
1297
1298
  <a:documentation>Contents of TextElement tags: leaves out tags that should occur only at top level of block: bookmark image hr pagebreak</a:documentation>
1298
1299
  <choice>
1299
1300
  <ref name="PureTextElement"/>
1300
- <ref name="stem"/>
1301
1301
  <ref name="eref"/>
1302
1302
  <ref name="xref"/>
1303
1303
  <ref name="hyperlink"/>
@@ -42,36 +42,6 @@ All IdRefType instances point not to `@id` in Semantic XML, which is the Content
42
42
  but to `@anchor`, the user-supplied cross-reference</a:documentation>
43
43
  <text/>
44
44
  </define>
45
- <define name="index-primary">
46
- <element name="primary">
47
- <oneOrMore>
48
- <choice>
49
- <ref name="PureTextElement"/>
50
- <ref name="stem"/>
51
- </choice>
52
- </oneOrMore>
53
- </element>
54
- </define>
55
- <define name="index-secondary">
56
- <element name="secondary">
57
- <oneOrMore>
58
- <choice>
59
- <ref name="PureTextElement"/>
60
- <ref name="stem"/>
61
- </choice>
62
- </oneOrMore>
63
- </element>
64
- </define>
65
- <define name="index-tertiary">
66
- <element name="tertiary">
67
- <oneOrMore>
68
- <choice>
69
- <ref name="PureTextElement"/>
70
- <ref name="stem"/>
71
- </choice>
72
- </oneOrMore>
73
- </element>
74
- </define>
75
45
  <define name="review">
76
46
  <a:documentation>Generalise BasicDoc element from just review comments, to general annotations;
77
47
  the type attribute defaults to `review` for reviews</a:documentation>
@@ -592,28 +562,6 @@ normative or informative references, some split references into sections organiz
592
562
  </oneOrMore>
593
563
  </element>
594
564
  </define>
595
- <define name="sub">
596
- <a:documentation>Subscript text. Corresponds to HTML `sub</a:documentation>
597
- <element name="sub">
598
- <zeroOrMore>
599
- <choice>
600
- <ref name="PureTextElement"/>
601
- <ref name="stem"/>
602
- </choice>
603
- </zeroOrMore>
604
- </element>
605
- </define>
606
- <define name="sup">
607
- <a:documentation>Superscript text. Corresponds to HTML `sup`</a:documentation>
608
- <element name="sup">
609
- <zeroOrMore>
610
- <choice>
611
- <ref name="PureTextElement"/>
612
- <ref name="stem"/>
613
- </choice>
614
- </zeroOrMore>
615
- </element>
616
- </define>
617
565
  <define name="pagebreak">
618
566
  <a:documentation>Page break. Only applicable in paged layouts (e.g. PDF, Word), and not flow layouts (e.g. HTML)</a:documentation>
619
567
  <element name="pagebreak">
@@ -1094,7 +1042,6 @@ That concept may be defined as a term within the current document, or it may be
1094
1042
  <zeroOrMore>
1095
1043
  <choice>
1096
1044
  <ref name="PureTextElement"/>
1097
- <ref name="stem"/>
1098
1045
  <ref name="index"/>
1099
1046
  <ref name="index-xref"/>
1100
1047
  </choice>
@@ -1107,7 +1054,6 @@ That concept may be defined as a term within the current document, or it may be
1107
1054
  <zeroOrMore>
1108
1055
  <choice>
1109
1056
  <ref name="PureTextElement"/>
1110
- <ref name="stem"/>
1111
1057
  <ref name="index"/>
1112
1058
  <ref name="index-xref"/>
1113
1059
  </choice>
@@ -2025,10 +1971,7 @@ used in document amendments</a:documentation>
2025
1971
  <element name="name">
2026
1972
  <a:documentation>The symbolic form of the designation</a:documentation>
2027
1973
  <oneOrMore>
2028
- <choice>
2029
- <ref name="PureTextElement"/>
2030
- <ref name="stem"/>
2031
- </choice>
1974
+ <ref name="PureTextElement"/>
2032
1975
  </oneOrMore>
2033
1976
  </element>
2034
1977
  </element>
@@ -2081,7 +2024,6 @@ used in document amendments</a:documentation>
2081
2024
  <zeroOrMore>
2082
2025
  <choice>
2083
2026
  <ref name="PureTextElement"/>
2084
- <ref name="stem"/>
2085
2027
  <ref name="index"/>
2086
2028
  <ref name="index-xref"/>
2087
2029
  </choice>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ribose
3
- VERSION = "2.7.0".freeze
3
+ VERSION = "2.7.1".freeze
4
4
  end
5
5
  end
@@ -42,5 +42,5 @@ spec.add_development_dependency "rubocop-performance"
42
42
  spec.add_development_dependency "sassc-embedded", "~> 1"
43
43
  spec.add_development_dependency "simplecov", "~> 0.15"
44
44
  spec.add_development_dependency "timecop", "~> 0.9"
45
- spec.add_development_dependency "xml-c14n"
45
+ spec.add_development_dependency "canon"
46
46
  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.7.0
4
+ version: 2.7.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: 2025-07-21 00:00:00.000000000 Z
11
+ date: 2025-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -179,7 +179,7 @@ dependencies:
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0.9'
181
181
  - !ruby/object:Gem::Dependency
182
- name: xml-c14n
182
+ name: canon
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ">="