metanorma-plateau 0.1.9 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/plateau/base_convert.rb +0 -4
- data/lib/isodoc/plateau/init.rb +4 -5
- data/lib/isodoc/plateau/plateau.international-standard.xsl +694 -173
- data/lib/isodoc/plateau/xref.rb +7 -5
- data/lib/metanorma/plateau/biblio.rng +13 -1
- data/lib/metanorma/plateau/isodoc.rng +6 -6
- data/lib/metanorma/plateau/version.rb +1 -1
- data/metanorma-plateau.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: 7fabb1046369ef3361de83bc1fa245712d3be40de137f3606dca6097f3e87fdf
|
4
|
+
data.tar.gz: fbd94265cc467dfc3134dd6681da71aa7e1cc3b8fbf38e35ce3a3a623e85dbad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32fab4c52fd9ed7d8be5bebdac1a733b4611d1d73f36a51c85f63266bb0d02e832760571e37b6f1595febec91cbbaa153b1bc57bcfa41e34b5f785950165d217
|
7
|
+
data.tar.gz: abb6fd40be7f02ea0b6ec456105061b3e57bd26197b91406d98afde172be228356ecb57885b666bb0da79e5ebef7576745804f9ea512a6f5e6518945d88b20c5
|
@@ -8,10 +8,6 @@ module IsoDoc
|
|
8
8
|
|
9
9
|
def para_parse(node, out)
|
10
10
|
out.p **attr_code(para_attrs(node)) do |p|
|
11
|
-
unless @termdomain.empty?
|
12
|
-
p << "<#{@termdomain}> "
|
13
|
-
@termdomain = ""
|
14
|
-
end
|
15
11
|
@lang == "ja" and p << " "
|
16
12
|
node.children.each { |n| parse(n, p) }
|
17
13
|
end
|
data/lib/isodoc/plateau/init.rb
CHANGED
@@ -11,9 +11,8 @@ module IsoDoc
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def xref_init(lang, script, _klass, labels, options)
|
14
|
-
|
15
|
-
|
16
|
-
labels, options)
|
14
|
+
p = HtmlConvert.new(language: lang, script:)
|
15
|
+
@xrefs = Xref.new(lang, script, p, labels, options)
|
17
16
|
end
|
18
17
|
|
19
18
|
def i18n_init(lang, script, locale, i18nyaml = nil)
|
@@ -22,8 +21,8 @@ module IsoDoc
|
|
22
21
|
end
|
23
22
|
|
24
23
|
def bibrenderer(options = {})
|
25
|
-
::Relaton::Render::Jis::General.new(options
|
26
|
-
|
24
|
+
::Relaton::Render::Jis::General.new(options
|
25
|
+
.merge(language: @lang, i18nhash: @i18n.get))
|
27
26
|
end
|
28
27
|
end
|
29
28
|
end
|