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 +4 -4
- data/lib/isodoc/bipm/base_convert.rb +9 -0
- data/lib/isodoc/bipm/bipm.brochure.xsl +1393 -226
- data/lib/isodoc/bipm/bipm.guide.xsl +1393 -226
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1393 -226
- data/lib/isodoc/bipm/bipm.rapport.xsl +1393 -226
- data/lib/isodoc/bipm/html/htmlstyle.css +6 -0
- data/lib/isodoc/bipm/html/htmlstyle.scss +1 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +1369 -214
- data/lib/isodoc/bipm/presentation_xml_convert.rb +15 -2
- data/lib/isodoc/bipm/xref.rb +22 -28
- data/lib/metanorma/bipm/biblio.rng +134 -39
- data/lib/metanorma/bipm/bipm.rng +3 -0
- data/lib/metanorma/bipm/converter.rb +41 -108
- data/lib/metanorma/bipm/front.rb +113 -0
- data/lib/metanorma/bipm/isodoc.rng +16 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08e889cbb9c799854346513b73a19d340c7af5ce9f2e495d1213f13b02ca6825'
|
4
|
+
data.tar.gz: 375765761711226363504eaf5b25a917518084263660c86eff45e0fdf07e5598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|