metanorma-bipm 2.1.4 → 2.1.7
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 -6
- data/lib/isodoc/bipm/bipm.brochure.xsl +3884 -3275
- data/lib/isodoc/bipm/bipm.guide.xsl +3884 -3275
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +3884 -3275
- data/lib/isodoc/bipm/bipm.rapport.xsl +3884 -3275
- data/lib/isodoc/bipm/init.rb +6 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +3468 -2799
- data/lib/metanorma/bipm/isodoc.rng +27 -1
- data/lib/metanorma/bipm/processor.rb +8 -5
- data/lib/metanorma/bipm/reqt.rng +1 -1
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +2 -2
- metadata +6 -6
data/lib/isodoc/bipm/init.rb
CHANGED
@@ -18,6 +18,12 @@ module IsoDoc
|
|
18
18
|
def i18n_init(lang, script, i18nyaml = nil)
|
19
19
|
@i18n = I18n.new(lang, script, i18nyaml: i18nyaml || @i18nyaml)
|
20
20
|
end
|
21
|
+
|
22
|
+
def omit_docid_prefix(prefix)
|
23
|
+
return true if %w(BIPM).include? prefix
|
24
|
+
|
25
|
+
super
|
26
|
+
end
|
21
27
|
end
|
22
28
|
end
|
23
29
|
end
|