metanorma-iso 2.7.5 → 2.7.7
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/iso/index.rb +4 -6
- data/lib/isodoc/iso/iso.amendment.xsl +399 -111
- data/lib/isodoc/iso/iso.international-standard.xsl +399 -111
- data/lib/isodoc/iso/presentation_xml_convert.rb +5 -0
- data/lib/isodoc/iso/presentation_xref.rb +4 -19
- data/lib/isodoc/iso/word_convert.rb +10 -6
- data/lib/isodoc/iso/word_dis_cleanup.rb +1 -1
- data/lib/isodoc/iso/word_dis_convert.rb +0 -2
- data/lib/isodoc/iso/xref.rb +2 -4
- data/lib/isodoc/iso/xref_section.rb +12 -2
- data/lib/metanorma/iso/base.rb +9 -1
- data/lib/metanorma/iso/biblio.rng +22 -23
- data/lib/metanorma/iso/isodoc.rng +37 -116
- data/lib/metanorma/iso/validate.rb +0 -8
- data/lib/metanorma/iso/validate_style.rb +17 -21
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +1 -3
- metadata +3 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6561177e59665f65664fe4668ed42f3cc00b795c1831c26db3d952144639c71
|
4
|
+
data.tar.gz: bdfab13575019ed66f6c3578df616f1449970528c2e55cf6aa974ee6522cdc3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 415c1d96ba2c24bd341474cf412ba6905b35de488d793abe86a12c77c80261ea629d7a134b0c610b18b740d30dae503fe7345af80e9256ad963eaf6856eda6c2
|
7
|
+
data.tar.gz: c5ace736c387bf075c9824d2ebbb2a328295c76db2d54b07ccbefebca2cb822124e86a34f576647d129d5538aa6d4d0dd3ac4d74d40889f5b24eb2e5616ae79a
|
data/lib/isodoc/iso/index.rb
CHANGED
@@ -50,9 +50,8 @@ module IsoDoc
|
|
50
50
|
ret = index_entries_head(words[primary],
|
51
51
|
index.dig(words[primary], nil, nil),
|
52
52
|
index_entries_opt)
|
53
|
-
words2 = index[words[primary]]&.keys&.
|
54
|
-
|
55
|
-
end&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
53
|
+
words2 = index[words[primary]]&.keys&.compact
|
54
|
+
&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
56
55
|
unless words2.empty?
|
57
56
|
ret += "<ul>"
|
58
57
|
words2.keys.localize(@lang.to_sym).sort.to_a.each do |w|
|
@@ -67,9 +66,8 @@ module IsoDoc
|
|
67
66
|
ret = index_entries_head(words[secondary],
|
68
67
|
index.dig(words[secondary], nil),
|
69
68
|
index_entries_opt)
|
70
|
-
words3 = index[words[secondary]]&.keys&.
|
71
|
-
|
72
|
-
end&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
69
|
+
words3 = index[words[secondary]]&.keys&.compact
|
70
|
+
&.each_with_object({}) { |w, v| v[w.downcase] = w }
|
73
71
|
unless words3.empty?
|
74
72
|
ret += "<ul>"
|
75
73
|
words3.keys.localize(@lang.to_sym).sort.to_a.each do |w|
|