metanorma-bipm 2.1.11 → 2.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: deb15c0d884da169c86a1bc0f84306a50058f5f58efab8e9a2ff4dddbf5ddb85
4
- data.tar.gz: b938f5f8bf762bef096481a495ac313cbb6266114560e0c3204a5d9f2f90beb3
3
+ metadata.gz: c8a36d5f02fd20de1a1a7957a96b18448f30f6184685c7bb63b81489827f4ff2
4
+ data.tar.gz: f45ac4cb256a62540ebcebd834fb550bb318ac503cc4fedd1b1836f55d69a6d9
5
5
  SHA512:
6
- metadata.gz: fc2984c3c54e5c1acc31a127120ba972dc844de5b3a3b189f13f0847a690ccd2a24241363695d4f9ad3ccc27b776c72a5d632281af8103f980e737b3f18b59e5
7
- data.tar.gz: b7f2f9a00f0bff7fe711db8d0616bf30ff67131684ba4fe3098d0aac078ba0ba41fcce0f30d2a05da817044c8a977ad63320aa77a225e6c656d20782dfe6d8a7
6
+ metadata.gz: b4f34561eaa8da2a435314bf1dc9f292f858314b4f68e8b5f5527f3d0a418b216d0cfe745a766128357c193a00f1f026187731c538db0b16c58f8db3306fc7bd
7
+ data.tar.gz: 6de1b279002240ab5a754620d724235200e4a2aac52eb008cf47c784f9dfa444c934c339385e54fd17e150f3c05f418b5d336d1659382a3f5902b356e0b1fe81
@@ -8,7 +8,7 @@ module IsoDoc
8
8
  end
9
9
 
10
10
  def convert1(docxml, filename, dir)
11
- @jcgm = docxml&.at(ns("//bibdata/ext/editorialgroup/committee/"\
11
+ @jcgm = docxml&.at(ns("//bibdata/ext/editorialgroup/committee/" \
12
12
  "@acronym"))&.value == "JCGM"
13
13
  super
14
14
  end
@@ -42,7 +42,8 @@ module IsoDoc
42
42
 
43
43
  def implicit_reference(bib)
44
44
  b = bib.at(ns("./docidentifier[@primary = 'true'][@type = 'BIPM']"))
45
- return true if /^(CGPM|CIPM|CCDS|CCTF)\s
45
+ doctype = bib.at(ns("//bibdata/ext/doctype"))&.text
46
+ return true if doctype == "brochure" && /^(CGPM|CIPM|CCDS|CCTF)\s
46
47
  (Resolution|Recommendation|Declaration|Decision|Recommendation|Meeting)/x
47
48
  .match?(b&.text)
48
49