metanorma-bipm 2.1.2 → 2.1.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/base_convert.rb +1 -7
- data/lib/isodoc/bipm/bipm.brochure.xsl +387 -131
- data/lib/isodoc/bipm/bipm.guide.xsl +387 -131
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +387 -131
- data/lib/isodoc/bipm/bipm.rapport.xsl +387 -131
- data/lib/isodoc/bipm/html_convert.rb +4 -4
- data/lib/isodoc/bipm/init.rb +6 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +331 -112
- data/lib/isodoc/bipm/presentation_xml_convert.rb +3 -5
- data/lib/isodoc/bipm/xref.rb +22 -28
- data/lib/metanorma/bipm/biblio.rng +102 -5
- data/lib/metanorma/bipm/isodoc.rng +33 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d58d308305181236d5e44fc31d189b9d91b50acd3290652961403a295351a0d
|
4
|
+
data.tar.gz: 20588c989392592de3612ba0aee52eca2e25fe18461dcdb9eea73f709a5feb13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de0d059a658d6acd672c0066ff82953a3e861b1d2cfd95023113d2dd6d47d7c27230dd471115791feb2469aec73a48ca4d050faf232082a6d901ef83f3a0dd9
|
7
|
+
data.tar.gz: 8ecb8ace8463cced956f515a1a4490036741a6c28696b2eedd0969dc696fa3ea0db84ce7550d69a2b00490794f35a270a2aceeb92e5b3056f89c6cba270fdfb0
|
@@ -33,12 +33,6 @@ module IsoDoc
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def omit_docid_prefix(prefix)
|
37
|
-
return true if %w(BIPM).include? prefix
|
38
|
-
|
39
|
-
super
|
40
|
-
end
|
41
|
-
|
42
36
|
def render_identifier(ident)
|
43
37
|
ret = super
|
44
38
|
ret[:sdo] = ret[:sdo]&.sub(/^(BIPM) (PV|CR) (\d.*)$/,
|
@@ -49,7 +43,7 @@ module IsoDoc
|
|
49
43
|
def implicit_reference(bib)
|
50
44
|
b = bib.at(ns("./docidentifier[@primary = 'true'][@type = 'BIPM']"))
|
51
45
|
return true if /^(CGPM|CIPM|CCDS|CCTF)\s
|
52
|
-
(Resolution|Recommendation|Declaration|Decision|Recommendation)/x
|
46
|
+
(Resolution|Recommendation|Declaration|Decision|Recommendation|Meeting)/x
|
53
47
|
.match?(b&.text)
|
54
48
|
|
55
49
|
super
|