metanorma-bipm 2.1.0 → 2.1.1

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: ede26bc5e232051398d23f1e42aef1e48483e113fa3e450d9d499bc88ee944b8
4
- data.tar.gz: a49e576fe1c25f29a7fb67ce7f4bcafc87fcb80d52131826824fa53d7f5b3fc0
3
+ metadata.gz: 4761e4bcdcee984cf3976957d64cd4d70a3ecacbaa658979e8284903ca35fa06
4
+ data.tar.gz: d7d08d2a8f096b1e52c8beb34a5be55b0df5c739e63ae182521abd992dcfdd86
5
5
  SHA512:
6
- metadata.gz: 66eeca92d21d4df3f0ad63de947356cb3da6e6b48ca7297d192424e9e5582bb456840d334f21ed4d6b4d4da7249df1af61511eeac89cc30206a7aaf50de51b05
7
- data.tar.gz: 537f21c08c30bd42934c64765f5b4be8c58c0955fc87ff45c6ee8ca88c00b22acfc39affc37bfdc569d9408b5102961d6e29e4550f642e7834da7b66dadc404f
6
+ metadata.gz: ef3b51a790882dfafab98c78575d77dfa7ff0be910bfda2bdd0fc5f34ccaed360761874a9753ace15ee54646b93ac12125faac07f5e8fb5de3ede747d3813eca
7
+ data.tar.gz: 6948128c8dbf35bc418a648156182655c1a5d1579f6dcd2a311aeb089f47161c2d08588583013db37cf29b73fd97475378a771f882597cac1ed535393a6f8a48
@@ -46,6 +46,13 @@ module IsoDoc
46
46
  ret
47
47
  end
48
48
 
49
+ def implicit_reference(bib)
50
+ b = bib.at(ns("./docidentifier[@primary = 'true'][@type = 'BIPM']"))
51
+ return true if /^BIPM CGPM Resolution|^BIPM CIPM Decision/.match?(b&.text)
52
+
53
+ super
54
+ end
55
+
49
56
  def nonstd_bibitem(list, bibitem, ordinal, biblio)
50
57
  list.p **attr_code(iso_bibitem_entry_attrs(bibitem, biblio)) do |ref|
51
58
  ids = bibitem_ref_code(bibitem)