metanorma-csa 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: dd8c77f4a99cfbf81e151ab5ba7f9bd5e7bb716867183fbce2953bdaf44c6540
4
- data.tar.gz: a726b84ff192baf5fdeb8a5830a72fbf2a3c82db54e0f7f4162092f1adc01d59
3
+ metadata.gz: f9fbf21e53ed4478f6ec43e593984fd7ba6bf273df34a7b6a8b49c6d89b71e5b
4
+ data.tar.gz: 8674dcf9228706dba024db8019a39037affca9fd4d41744d13813b2b31c0f516
5
5
  SHA512:
6
- metadata.gz: 455cdf3fcf3e8cb0b418d5b5d54dc60a8a3f051ae2486d43cbbfd5b715f420518c1280983587db35c04f53e3e03dfb4085271d6399a55e54b3973a2dae4a36d7
7
- data.tar.gz: a0d0b5398824d6f166a8fb973658f1eb42fec2747579c8473ec99c8769371e4cc160dfbbe1e1268f262719fcc8c3c5bc305516c3b068d5bc0b3839c21ce29d69
6
+ metadata.gz: b92d2ec6643339f6b7ccdba7ecf9956bd650ffd772848edb09608947d05f03b8214ce0d2615dc2ceacd5e4817e26756136530dfaac505e06de93f6d9b860009c
7
+ data.tar.gz: 792f71be791f3403d8f5005f2de8086851aa559475014461149cf6a040d73b9f7a01b8470147e1141f5dfb28da41c8e41f76d08551700f7cf6dfb1582996a06d
data/README.adoc CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  image:https://img.shields.io/gem/v/metanorma-csa.svg["Gem Version", link="https://rubygems.org/gems/metanorma-csa"]
4
4
  image:https://github.com/metanorma/metanorma-csa/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-csa/actions?query=workflow=rake"]
5
- image:https://codeclimate.com/github/metanorma/metanorma-csand/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-csand"]
5
+ // image:https://codeclimate.com/github/metanorma/metanorma-csand/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-csand"]
6
6
  image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-csa.svg["Pull Requests", link="https://github.com/metanorma/metanorma-csa/pulls"]
7
7
  image:https://img.shields.io/github/commits-since/metanorma/metanorma-csa/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-csa/releases"]
8
8
 
@@ -10074,7 +10074,7 @@
10074
10074
 
10075
10075
  <xsl:template name="insertFootnoteSeparatorCommon">
10076
10076
  <xsl:param name="leader_length">30%</xsl:param>
10077
- <fo:static-content flow-name="xsl-footnote-separator">
10077
+ <fo:static-content flow-name="xsl-footnote-separator" role="artifact">
10078
10078
  <fo:block>
10079
10079
  <fo:leader leader-pattern="rule" leader-length="{$leader_length}"/>
10080
10080
  </fo:block>
@@ -10946,9 +10946,15 @@
10946
10946
  <xsl:attribute name="role">H1</xsl:attribute>
10947
10947
  </xsl:attribute-set>
10948
10948
 
10949
+ <xsl:template name="refine_toc-title-style">
10950
+ </xsl:template>
10951
+
10949
10952
  <xsl:attribute-set name="toc-title-page-style">
10950
10953
  </xsl:attribute-set> <!-- toc-title-page-style -->
10951
10954
 
10955
+ <xsl:template name="refine_toc-title-page-style">
10956
+ </xsl:template>
10957
+
10952
10958
  <xsl:attribute-set name="toc-item-block-style">
10953
10959
  <xsl:attribute name="provisional-distance-between-starts">3mm</xsl:attribute>
10954
10960
  </xsl:attribute-set>
@@ -10982,6 +10988,9 @@
10982
10988
  <xsl:attribute name="provisional-distance-between-starts">3mm</xsl:attribute>
10983
10989
  </xsl:attribute-set>
10984
10990
 
10991
+ <xsl:template name="refine_toc-listof-title-style">
10992
+ </xsl:template>
10993
+
10985
10994
  <xsl:attribute-set name="toc-listof-item-block-style">
10986
10995
  <xsl:attribute name="provisional-distance-between-starts">10mm</xsl:attribute>
10987
10996
  </xsl:attribute-set>
@@ -11330,7 +11339,7 @@
11330
11339
  </xsl:if>
11331
11340
 
11332
11341
  <xsl:for-each select="$contents_nodes/mnx:doc">
11333
- <fo:bookmark internal-destination="{contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
11342
+ <fo:bookmark internal-destination="{mnx:contents/mnx:item[@display = 'true'][1]/@id}" starting-state="hide">
11334
11343
  <xsl:if test="@bundle = 'true'">
11335
11344
  <xsl:attribute name="internal-destination"><xsl:value-of select="@firstpage_id"/></xsl:attribute>
11336
11345
  </xsl:if>
@@ -11364,7 +11373,7 @@
11364
11373
  </xsl:choose>
11365
11374
  </fo:bookmark-title>
11366
11375
 
11367
- <xsl:apply-templates select="contents/mnx:item" mode="bookmark"/>
11376
+ <xsl:apply-templates select="mnx:contents/mnx:item" mode="bookmark"/>
11368
11377
 
11369
11378
  <xsl:call-template name="insertFigureBookmarks">
11370
11379
  <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 Csa
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-csa
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
  - - ">="