metanorma-bipm 2.1.13 → 2.2.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 +0 -28
- data/lib/isodoc/bipm/bipm.brochure.xsl +340 -240
- data/lib/isodoc/bipm/bipm.guide.xsl +340 -240
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +340 -240
- data/lib/isodoc/bipm/bipm.rapport.xsl +340 -240
- data/lib/isodoc/bipm/html/htmlstyle.css +5 -2
- data/lib/isodoc/bipm/index.rb +29 -18
- data/lib/isodoc/bipm/jcgm.standard.xsl +282 -194
- data/lib/isodoc/bipm/presentation_xml_convert.rb +26 -9
- data/lib/metanorma/bipm/basicdoc.rng +3 -0
- data/lib/metanorma/bipm/biblio-standoc.rng +1 -1
- data/lib/metanorma/bipm/isodoc.rng +11 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e4882c799316d8fa098e67957ac7ba521996f758c74c251a09c8f50d490aade
|
4
|
+
data.tar.gz: aa4302843b8f252c053f76653c9def6f73d0b9f13badd397206e70b806897dc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28ccb12955bdced162d84dca3b1a93c8244603187d81108eb9d9db3001a2308b04d8481bb4a7986ce459a06c0fd8d2a468e23aca8f7231c2c23d750ee1545ddc
|
7
|
+
data.tar.gz: 5ae15b413d3559a05606bbb3d163215551c4d915362c20b5344d9a92270e619d9e185ba1a7305c30a3c35011c57514140a7848659687043e3e3d40cf64591949
|
@@ -50,34 +50,6 @@ module IsoDoc
|
|
50
50
|
super
|
51
51
|
end
|
52
52
|
|
53
|
-
def nonstd_bibitem(list, bibitem, ordinal, biblio)
|
54
|
-
list.p **attr_code(iso_bibitem_entry_attrs(bibitem, biblio)) do |ref|
|
55
|
-
ids = bibitem_ref_code(bibitem)
|
56
|
-
identifiers = render_identifier(ids)
|
57
|
-
if biblio then ref_entry_code(ref, ordinal, identifiers, ids)
|
58
|
-
else
|
59
|
-
ref << (identifiers[0] || identifiers[1])
|
60
|
-
ref << " #{identifiers[1]}" if identifiers[0] && identifiers[1]
|
61
|
-
end
|
62
|
-
ref << " "
|
63
|
-
reference_format(bibitem, ref)
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
def std_bibitem_entry(list, bibitem, ordinal, biblio)
|
68
|
-
list.p **attr_code(iso_bibitem_entry_attrs(bibitem, biblio)) do |ref|
|
69
|
-
identifiers = render_identifier(bibitem_ref_code(bibitem))
|
70
|
-
if biblio then ref_entry_code(ref, ordinal, identifiers, nil)
|
71
|
-
else
|
72
|
-
ref << (identifiers[0] || identifiers[1])
|
73
|
-
ref << " #{identifiers[1]}" if identifiers[0] && identifiers[1]
|
74
|
-
end
|
75
|
-
date_note_process(bibitem, ref)
|
76
|
-
ref << " "
|
77
|
-
reference_format(bibitem, ref)
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
53
|
def term_cleanup(docxml)
|
82
54
|
@jcgm ? docxml : super
|
83
55
|
end
|