metanorma-iso 2.8.5 → 2.8.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/html/style-human.css +1 -1
- data/lib/isodoc/iso/html/style-iso.css +1 -1
- data/lib/isodoc/iso/iso.amendment.xsl +74 -17
- data/lib/isodoc/iso/iso.international-standard.xsl +74 -17
- data/lib/metanorma/iso/basicdoc.rng +861 -481
- data/lib/metanorma/iso/biblio-standoc.rng +87 -20
- data/lib/metanorma/iso/biblio.rng +882 -325
- data/lib/metanorma/iso/front_contributor.rb +10 -6
- data/lib/metanorma/iso/isodoc.rng +1031 -915
- data/lib/metanorma/iso/reqt.rng +94 -75
- data/lib/metanorma/iso/validate.rb +43 -15
- data/lib/metanorma/iso/validate_section.rb +1 -0
- data/lib/metanorma/iso/version.rb +1 -1
- metadata +2 -2
@@ -32,8 +32,8 @@ module Metanorma
|
|
32
32
|
node.attr("#{v}-number") or next
|
33
33
|
node.attr(v) or node.set_attr(v, "")
|
34
34
|
o = { source: [v], role: approval ? "authorizer" : "author",
|
35
|
-
default_org: false, committee: true, agency
|
36
|
-
desc: v.sub(/^approval-/, "").
|
35
|
+
default_org: false, committee: true, agency:,
|
36
|
+
desc: v.sub(/^approval-/, "").tr("-", " ").capitalize }
|
37
37
|
org_contributor(node, xml, o)
|
38
38
|
end
|
39
39
|
approval or committee_contributors_approval(node, xml, agency)
|
@@ -52,11 +52,15 @@ module Metanorma
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def contrib_committee_build(xml, agency, committee)
|
55
|
-
|
55
|
+
name = org_abbrev.invert[agency] and agency = name
|
56
56
|
xml.name agency
|
57
|
-
xml.subdivision
|
58
|
-
|
59
|
-
|
57
|
+
xml.subdivision do |s|
|
58
|
+
s.organization do |o|
|
59
|
+
o.name committee[:name]
|
60
|
+
committee[:abbr] and o.abbreviation committee[:abbr]
|
61
|
+
committee[:ident] and o.identifier committee[:ident]
|
62
|
+
end
|
63
|
+
end
|
60
64
|
end
|
61
65
|
|
62
66
|
COMMITTEE_ABBREVS =
|