metanorma-bipm 2.1.0 → 2.1.3

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: '08e889cbb9c799854346513b73a19d340c7af5ce9f2e495d1213f13b02ca6825'
4
+ data.tar.gz: 375765761711226363504eaf5b25a917518084263660c86eff45e0fdf07e5598
5
5
  SHA512:
6
- metadata.gz: 66eeca92d21d4df3f0ad63de947356cb3da6e6b48ca7297d192424e9e5582bb456840d334f21ed4d6b4d4da7249df1af61511eeac89cc30206a7aaf50de51b05
7
- data.tar.gz: 537f21c08c30bd42934c64765f5b4be8c58c0955fc87ff45c6ee8ca88c00b22acfc39affc37bfdc569d9408b5102961d6e29e4550f642e7834da7b66dadc404f
6
+ metadata.gz: df0cf9a1a6dc69849c808e175650b4c4c4b9be6107d93c935877659a31ae135ead9b2350cf17e874aec25d147194e968b72571a08009b494c92e1ee1195348e8
7
+ data.tar.gz: d5f8e230343a5afa51128f3175c5d6b113ce2169cdc469844b6f12d53ea9408ebe1569016d99bf9ff254fda675fc3af1aa65918ad41865df97fc970a580c92fb
@@ -46,6 +46,15 @@ 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 /^(CGPM|CIPM|CCDS|CCTF)\s
52
+ (Resolution|Recommendation|Declaration|Decision|Recommendation)/x
53
+ .match?(b&.text)
54
+
55
+ super
56
+ end
57
+
49
58
  def nonstd_bibitem(list, bibitem, ordinal, biblio)
50
59
  list.p **attr_code(iso_bibitem_entry_attrs(bibitem, biblio)) do |ref|
51
60
  ids = bibitem_ref_code(bibitem)