metanorma-bipm 2.0.0.1 → 2.0.4
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 +9 -3
- data/lib/isodoc/bipm/bipm.brochure.xsl +2279 -1659
- data/lib/isodoc/bipm/bipm.guide.xsl +2279 -1659
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +2279 -1659
- data/lib/isodoc/bipm/bipm.rapport.xsl +2279 -1659
- data/lib/isodoc/bipm/html/htmlstyle.css +26 -19
- data/lib/isodoc/bipm/html/htmlstyle.scss +8 -2
- data/lib/isodoc/bipm/jcgm.standard.xsl +2068 -938
- data/lib/isodoc/bipm/pdf_convert.rb +4 -4
- data/lib/isodoc/bipm/xref.rb +4 -4
- data/lib/metanorma/bipm/basicdoc.rng +5 -3
- data/lib/metanorma/bipm/biblio.rng +7 -5
- data/lib/metanorma/bipm/bipm.rng +1 -1
- data/lib/metanorma/bipm/isodoc.rng +142 -4
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -0
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9363dacba25ed2d26871f71776051581988984f4c2e175f81c0babe8cd0fe9d
|
4
|
+
data.tar.gz: d63397fde6cc30edf6dc182a721ecf4c96f7ccf640e014740d444928f32f8be3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43c2bc9dc4b36033c5e82a9f56067ffec1fc726e3cc766025d7ac88d22d1cf9fb5aa13a2b55faedcb86fb4bef947478bf58722c56241385c8f6e28071871b1f2
|
7
|
+
data.tar.gz: b3754a47485db173cb13bea7c8ffb89874cf7d650ac7cf30b70e50fa6f9b54ec5f329de84d8ea9b4598f59ae648ff54d21fc29f9e89e447f9a81bb57b6e031e3
|
@@ -33,10 +33,16 @@ module IsoDoc
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
36
|
+
def omit_docid_prefix(prefix)
|
37
|
+
return true if %w(BIPM).include? prefix
|
38
|
+
|
39
|
+
super
|
40
|
+
end
|
41
|
+
|
42
|
+
def render_identifier(ident)
|
37
43
|
ret = super
|
38
|
-
ret[
|
39
|
-
|
44
|
+
ret[:sdo] = ret[:sdo]&.sub(/^(BIPM) (PV|CR) (\d.*)$/,
|
45
|
+
"\\1 <strong>\\2</strong>, \\3")
|
40
46
|
ret
|
41
47
|
end
|
42
48
|
|