metanorma-bipm 2.0.2 → 2.0.5
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 -3
- data/lib/isodoc/bipm/bipm.brochure.xsl +1215 -322
- data/lib/isodoc/bipm/bipm.guide.xsl +1215 -322
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1215 -322
- data/lib/isodoc/bipm/bipm.rapport.xsl +1215 -322
- data/lib/isodoc/bipm/jcgm.standard.xsl +1191 -359
- data/lib/isodoc/bipm/pdf_convert.rb +4 -4
- data/lib/isodoc/bipm/presentation_xml_convert.rb +6 -6
- data/lib/isodoc/bipm/xref.rb +4 -4
- data/lib/metanorma/bipm/basicdoc.rng +5 -3
- data/lib/metanorma/bipm/biblio.rng +5 -3
- data/lib/metanorma/bipm/bipm.rng +1 -1
- data/lib/metanorma/bipm/isodoc.rng +73 -3
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -0
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b206ced2e07cad956cc85b8bc7d8b762db76ffc0985ec98281349ca63751e4f
|
4
|
+
data.tar.gz: fe16b2306394e683cc6de883b00ea32f7b04dfbfaf1b03842c03dcf180748def
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 878e61ad2e63ca173e915142c1df409b9b20417bcb1c6ea404ea7224c675b13449ab991f45ee5559632efdab53677d6b5b4d45ab687a40e89afcd594d1a898cb
|
7
|
+
data.tar.gz: cd239bf349dbd8074e61a0337160595b3c63df97b282d9590ec146e78e15ce3a6d4e1a7beeb38962e102d112074ce56e880a5b556c5a3105aaf4961746e6ce2a
|
@@ -33,10 +33,16 @@ module IsoDoc
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
36
|
+
def omit_docid_prefix(prefix)
|
37
|
+
return true if %w(BIPM).include? prefix
|
38
|
+
|
39
|
+
super
|
40
|
+
end
|
41
|
+
|
42
|
+
def render_identifier(ident)
|
37
43
|
ret = super
|
38
|
-
ret[
|
39
|
-
|
44
|
+
ret[:sdo] = ret[:sdo]&.sub(/^(BIPM) (PV|CR) (\d.*)$/,
|
45
|
+
"\\1 <strong>\\2</strong>, \\3")
|
40
46
|
ret
|
41
47
|
end
|
42
48
|
|