metanorma-bipm 2.1.11 → 2.1.13
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 +3 -2
- data/lib/isodoc/bipm/bipm.brochure.xsl +327 -75
- data/lib/isodoc/bipm/bipm.guide.xsl +327 -75
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +327 -75
- data/lib/isodoc/bipm/bipm.rapport.xsl +327 -75
- data/lib/isodoc/bipm/doccontrol.rb +3 -3
- data/lib/isodoc/bipm/html/htmlstyle.css +6 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +307 -68
- data/lib/metanorma/bipm/biblio.rng +5 -0
- data/lib/metanorma/bipm/converter.rb +0 -23
- data/lib/metanorma/bipm/isodoc.rng +47 -13
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +3 -2
- metadata +4 -11
- data/.github/workflows/automerge.yml +0 -31
- data/.github/workflows/rake.yml +0 -15
- data/.github/workflows/release.yml +0 -24
- data/Rakefile +0 -8
- data/bin/console +0 -14
- data/bin/rspec +0 -18
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8a36d5f02fd20de1a1a7957a96b18448f30f6184685c7bb63b81489827f4ff2
|
4
|
+
data.tar.gz: f45ac4cb256a62540ebcebd834fb550bb318ac503cc4fedd1b1836f55d69a6d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4f34561eaa8da2a435314bf1dc9f292f858314b4f68e8b5f5527f3d0a418b216d0cfe745a766128357c193a00f1f026187731c538db0b16c58f8db3306fc7bd
|
7
|
+
data.tar.gz: 6de1b279002240ab5a754620d724235200e4a2aac52eb008cf47c784f9dfa444c934c339385e54fd17e150f3c05f418b5d336d1659382a3f5902b356e0b1fe81
|
@@ -8,7 +8,7 @@ module IsoDoc
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def convert1(docxml, filename, dir)
|
11
|
-
@jcgm = docxml&.at(ns("//bibdata/ext/editorialgroup/committee/"\
|
11
|
+
@jcgm = docxml&.at(ns("//bibdata/ext/editorialgroup/committee/" \
|
12
12
|
"@acronym"))&.value == "JCGM"
|
13
13
|
super
|
14
14
|
end
|
@@ -42,7 +42,8 @@ module IsoDoc
|
|
42
42
|
|
43
43
|
def implicit_reference(bib)
|
44
44
|
b = bib.at(ns("./docidentifier[@primary = 'true'][@type = 'BIPM']"))
|
45
|
-
|
45
|
+
doctype = bib.at(ns("//bibdata/ext/doctype"))&.text
|
46
|
+
return true if doctype == "brochure" && /^(CGPM|CIPM|CCDS|CCTF)\s
|
46
47
|
(Resolution|Recommendation|Declaration|Decision|Recommendation|Meeting)/x
|
47
48
|
.match?(b&.text)
|
48
49
|
|