metanorma-iso 2.7.2 → 2.7.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/iso/init.rb +5 -0
- data/lib/isodoc/iso/iso.amendment.xsl +594 -96
- data/lib/isodoc/iso/iso.international-standard.xsl +594 -96
- data/lib/isodoc/iso/presentation_xml_convert.rb +0 -5
- data/lib/metanorma/iso/biblio.rng +28 -25
- data/lib/metanorma/iso/front_id.rb +9 -14
- data/lib/metanorma/iso/relaton-iso.rng +1 -0
- data/lib/metanorma/iso/validate.rb +1 -1
- data/lib/metanorma/iso/version.rb +1 -1
- data/metanorma-iso.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a578d6fc8279c91c78cf1a035b035027bfed0274d1cf9a9b59ec430d129ac532
|
4
|
+
data.tar.gz: 91e3c5fe3ecfe531e1873ca25706e95f0eb103f37b0e3a280d6b74d0d897328f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 674e561621cf267ff9c80e16139495d95f484233cbed90b941e8a2a115b79f6bf35de586d4d2cb5dd536607930a1dbbb35a0b1d8b3a902a06bd069e28de8a611
|
7
|
+
data.tar.gz: c5d4628d5bec7dd172019c68fc52978623731ca999f757fa4dcc1e4a3a1acc60f0c7fa2a7131f394a207971ddcc992afaffdcb97402d31abd8586b9ecbf970ec
|
data/lib/isodoc/iso/init.rb
CHANGED
@@ -35,6 +35,11 @@ module IsoDoc
|
|
35
35
|
@i18n.set(old, @i18n.get[new])
|
36
36
|
end
|
37
37
|
|
38
|
+
def bibrenderer(options = {})
|
39
|
+
::Relaton::Render::Iso::General.new(options.merge(language: @lang,
|
40
|
+
i18nhash: @i18n.get))
|
41
|
+
end
|
42
|
+
|
38
43
|
def amd?(_docxml)
|
39
44
|
%w(amendment technical-corrigendum).include? @doctype
|
40
45
|
end
|