metanorma-bipm 2.0.7 → 2.1.1
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 -2
- data/lib/isodoc/bipm/bipm.brochure.xsl +1654 -476
- data/lib/isodoc/bipm/bipm.guide.xsl +1654 -476
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1654 -476
- data/lib/isodoc/bipm/bipm.rapport.xsl +1654 -476
- data/lib/isodoc/bipm/doccontrol.rb +101 -0
- data/lib/isodoc/bipm/html/html_bipm_titlepage.html +1 -0
- data/lib/isodoc/bipm/init.rb +1 -1
- data/lib/isodoc/bipm/jcgm.standard.xsl +1615 -370
- data/lib/isodoc/bipm/presentation_xml_convert.rb +18 -93
- data/lib/isodoc/bipm/xref.rb +8 -4
- data/lib/metanorma/bipm/biblio.rng +62 -10
- data/lib/metanorma/bipm/converter.rb +38 -108
- data/lib/metanorma/bipm/front.rb +113 -0
- data/lib/metanorma/bipm/isodoc.rng +56 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4761e4bcdcee984cf3976957d64cd4d70a3ecacbaa658979e8284903ca35fa06
|
4
|
+
data.tar.gz: d7d08d2a8f096b1e52c8beb34a5be55b0df5c739e63ae182521abd992dcfdd86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef3b51a790882dfafab98c78575d77dfa7ff0be910bfda2bdd0fc5f34ccaed360761874a9753ace15ee54646b93ac12125faac07f5e8fb5de3ede747d3813eca
|
7
|
+
data.tar.gz: 6948128c8dbf35bc418a648156182655c1a5d1579f6dcd2a311aeb089f47161c2d08588583013db37cf29b73fd97475378a771f882597cac1ed535393a6f8a48
|
@@ -46,6 +46,13 @@ 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 /^BIPM CGPM Resolution|^BIPM CIPM Decision/.match?(b&.text)
|
52
|
+
|
53
|
+
super
|
54
|
+
end
|
55
|
+
|
49
56
|
def nonstd_bibitem(list, bibitem, ordinal, biblio)
|
50
57
|
list.p **attr_code(iso_bibitem_entry_attrs(bibitem, biblio)) do |ref|
|
51
58
|
ids = bibitem_ref_code(bibitem)
|
@@ -55,7 +62,7 @@ module IsoDoc
|
|
55
62
|
ref << (identifiers[0] || identifiers[1])
|
56
63
|
ref << " #{identifiers[1]}" if identifiers[0] && identifiers[1]
|
57
64
|
end
|
58
|
-
ref << " "
|
65
|
+
ref << " "
|
59
66
|
reference_format(bibitem, ref)
|
60
67
|
end
|
61
68
|
end
|
@@ -69,7 +76,7 @@ module IsoDoc
|
|
69
76
|
ref << " #{identifiers[1]}" if identifiers[0] && identifiers[1]
|
70
77
|
end
|
71
78
|
date_note_process(bibitem, ref)
|
72
|
-
ref << " "
|
79
|
+
ref << " "
|
73
80
|
reference_format(bibitem, ref)
|
74
81
|
end
|
75
82
|
end
|