metanorma-bipm 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/bipm/bipm.brochure.xsl +356 -86
- data/lib/isodoc/bipm/bipm.guide.xsl +356 -86
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +356 -86
- data/lib/isodoc/bipm/bipm.rapport.xsl +356 -86
- data/lib/isodoc/bipm/jcgm.standard.xsl +329 -86
- data/lib/isodoc/bipm/presentation_xml_convert.rb +6 -6
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +2 -2
@@ -17,9 +17,9 @@ module IsoDoc
|
|
17
17
|
super
|
18
18
|
end
|
19
19
|
|
20
|
-
def eref_localities1(target, type, from,
|
21
|
-
@jcgm and
|
22
|
-
|
20
|
+
def eref_localities1(target, type, from, upto, node, lang = "en")
|
21
|
+
@jcgm and return @iso.eref_localities1(target, type, from, upto,
|
22
|
+
node, lang)
|
23
23
|
super
|
24
24
|
end
|
25
25
|
|
@@ -142,7 +142,7 @@ module IsoDoc
|
|
142
142
|
ret = list_people(
|
143
143
|
xml, "//bibdata/contributor[xmlns:role/@type = 'author']/person"
|
144
144
|
)
|
145
|
-
@i18n.
|
145
|
+
@i18n.boolean_conj(ret, "and")
|
146
146
|
end
|
147
147
|
|
148
148
|
COCHAIR = "xmlns:role[contains(text(),'co-chair')]".freeze
|
@@ -154,7 +154,7 @@ module IsoDoc
|
|
154
154
|
ret.empty? and return ""
|
155
155
|
role = xml&.at(ns("//bibdata/contributor[#{COCHAIR}]/role"))&.text
|
156
156
|
label = ret.size > 1 && role ? "#{role}s" : role
|
157
|
-
"#{label}: #{@i18n.
|
157
|
+
"#{label}: #{@i18n.boolean_conj(ret, 'and')}"
|
158
158
|
end
|
159
159
|
|
160
160
|
def list_chairs(xml)
|
@@ -162,7 +162,7 @@ module IsoDoc
|
|
162
162
|
ret.empty? and return ""
|
163
163
|
role = xml&.at(ns("//bibdata/contributor#{CHAIR}/role"))&.text
|
164
164
|
label = ret.size > 1 && role ? "#{role}s" : role
|
165
|
-
"#{label}: #{@i18n.
|
165
|
+
"#{label}: #{@i18n.boolean_conj(ret, 'and')}"
|
166
166
|
end
|
167
167
|
|
168
168
|
def list_people(xml, xpath)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|