metanorma-iso 2.7.4 → 2.7.6
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/i18n-en.yaml +2 -0
- data/lib/isodoc/iso/i18n-fr.yaml +2 -0
- data/lib/isodoc/iso/i18n-ru.yaml +2 -0
- data/lib/isodoc/iso/index.rb +4 -6
- data/lib/isodoc/iso/iso.amendment.xsl +929 -171
- data/lib/isodoc/iso/iso.international-standard.xsl +929 -171
- data/lib/isodoc/iso/presentation_xml_convert.rb +9 -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 +7 -11
- data/lib/isodoc/iso/xref_section.rb +23 -2
- data/lib/metanorma/iso/base.rb +9 -1
- data/lib/metanorma/iso/biblio.rng +24 -8
- data/lib/metanorma/iso/boilerplate-fr.adoc +1 -1
- data/lib/metanorma/iso/boilerplate-ru.adoc +1 -1
- data/lib/metanorma/iso/boilerplate.adoc +1 -1
- data/lib/metanorma/iso/cleanup.rb +8 -112
- data/lib/metanorma/iso/cleanup_biblio.rb +120 -0
- data/lib/metanorma/iso/front_id.rb +5 -5
- data/lib/metanorma/iso/isodoc.rng +67 -55
- 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 +4 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ea605cb2d2600317ee12d4a926aee3231e8cd789cc422990e4ea7519f5b39a4
|
4
|
+
data.tar.gz: 615fdbf41b05dfe73a2e052d37b735a535bc4f8f990d99d7670562196339fd89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ca74e3ef2122b12b2e4ccb28f140631f83de54db8d2fda891eaee9e17849b3b8faf7eddb375dfafa6303cb4abb0042161ba0a45fbba86857a44b2a0521fcc9a
|
7
|
+
data.tar.gz: c6120ebc9efd5f703261f2e47e3a28c0a2805529c5a1eda44451fccf0d0aaf5264a4298ff7babcc564f4869392b2cad9a1e4be51fe725dd24858f2a5d9695f2a
|
data/lib/isodoc/iso/i18n-en.yaml
CHANGED
@@ -12,6 +12,8 @@ all_rights_reserved: All rights reserved
|
|
12
12
|
reference_number: Reference number
|
13
13
|
reference_number_abbrev: Ref. No.
|
14
14
|
price_based_on: Price based on % pages
|
15
|
+
price: Price
|
16
|
+
date_first_printing: Date of the first printing
|
15
17
|
descriptor: Descriptor
|
16
18
|
under_preparation: Under preparation. (Stage at the time of publication %).
|
17
19
|
withdrawn: Withdrawn.
|
data/lib/isodoc/iso/i18n-fr.yaml
CHANGED
@@ -12,6 +12,8 @@ all_rights_reserved: Tous droits réservés
|
|
12
12
|
reference_number: Numéro de référence
|
13
13
|
reference_number_abbrev: Réf. №
|
14
14
|
price_based_on: Prix basé sur % pages
|
15
|
+
price: Prix
|
16
|
+
date_first_printing: Date de la première impression
|
15
17
|
descriptor: Descripteur
|
16
18
|
under_preparation: En cours d'élaboration. (Stade au moment de la publication %).
|
17
19
|
withdrawn: Retiré.
|
data/lib/isodoc/iso/i18n-ru.yaml
CHANGED
@@ -12,6 +12,8 @@ reference_number: Ссылочный номерS
|
|
12
12
|
reference_number_abbrev: Исх. №
|
13
13
|
descriptor: Дескриптор
|
14
14
|
price_based_on: Цена рассчитана на % стр.
|
15
|
+
price: Цена
|
16
|
+
date_first_printing: Дата первой печати
|
15
17
|
under_preparation: В стадии подготовки. (Стадия на момент публикации %).
|
16
18
|
withdrawn: Отозван.
|
17
19
|
cancelled_and_replaced: Отменено и заменено на %.
|
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|
|