metanorma-bipm 2.5.5 → 2.5.6
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 +0 -16
- data/lib/isodoc/bipm/bipm.brochure.xsl +1157 -927
- data/lib/isodoc/bipm/bipm.guide.xsl +1157 -927
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1157 -927
- data/lib/isodoc/bipm/bipm.rapport.xsl +1157 -927
- data/lib/isodoc/bipm/init.rb +0 -5
- data/lib/isodoc/bipm/jcgm.standard.xsl +195 -23
- data/lib/isodoc/bipm/presentation_biblio.rb +82 -0
- data/lib/isodoc/bipm/presentation_blocks.rb +1 -0
- data/lib/isodoc/bipm/presentation_xml_convert.rb +3 -49
- data/lib/isodoc/bipm/xref.rb +0 -10
- data/lib/metanorma/bipm/biblio.rng +13 -1
- data/lib/metanorma/bipm/isodoc.rng +6 -6
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2158eadd9b786886426881d6025d19d0827e0d93f58dfebf460009fa4e913556
|
4
|
+
data.tar.gz: da8c497d06d9670d2d86366c24e2c62fe70d443ac434a10db84b9e2859092265
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8b218b860d2ece7bf3d7f47216640b7a1beb51c60fec8fa1a27c45c35b8ad7dd6ebf2cc5e898cadc1091850e3fdb3463bb908dac5ed7f4b3a098694a412da37
|
7
|
+
data.tar.gz: 7763ebd4ce70bf548bae63a7244e535518741b7f1c8c57d75381eb63a831b34756147e5c88d15e2f9ed16af8d9b1917ddfdde313bff8cce82f5369621904838f
|
@@ -27,22 +27,6 @@ module IsoDoc
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
def render_identifier(ident)
|
31
|
-
ret = super
|
32
|
-
ret[:sdo] = ret[:sdo]&.sub(/^(BIPM)([ ])(PV|CR)([ ])(\d.*)$/,
|
33
|
-
"\\1\\2<strong>\\3</strong>,\\4\\5")
|
34
|
-
ret
|
35
|
-
end
|
36
|
-
|
37
|
-
def implicit_reference(bib)
|
38
|
-
b = bib.at(ns("./docidentifier[@primary = 'true'][@type = 'BIPM']"))
|
39
|
-
return true if @doctype == "brochure" && /^(CGPM|CIPM|CCDS|CCTF)[ ]
|
40
|
-
(Resolution|Recommendation|Declaration|Decision|Recommendation|Meeting)/x
|
41
|
-
.match?(b&.text)
|
42
|
-
|
43
|
-
super
|
44
|
-
end
|
45
|
-
|
46
30
|
def term_cleanup(docxml)
|
47
31
|
@jcgm ? docxml : super
|
48
32
|
end
|