metanorma-rsd 1.0.13 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/rsd/biblio.rng +21 -11
- data/lib/asciidoctor/rsd/isodoc.rng +3 -0
- data/lib/isodoc/rsd/html/htmlstyle.scss +2 -1
- data/lib/isodoc/rsd/html/rsd.scss +14 -6
- data/lib/isodoc/rsd/html_convert.rb +4 -0
- data/lib/isodoc/rsd/pdf_convert.rb +4 -0
- data/lib/isodoc/rsd/word_convert.rb +4 -0
- data/lib/metanorma/rsd/version.rb +1 -1
- data/metanorma-rsd.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: 0c5152e4335a14f4046d5f257d79a7c480e8c1ec1a6dc986436bac11fb02a5ae
|
4
|
+
data.tar.gz: a67ed2acc1cd9b63c44b835f295ad4f50e9301c2976302eda0c0b8bd9be5eaa0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d27d521ed8ac4fb8e3d17ebbbf324b6f8243271f89ccaa62f2fc98499022855c67f0f6df3e61baa341a159e934767bce493b8bfa64c981eee703d451cb814ebf
|
7
|
+
data.tar.gz: fd42ea20421e77d073a575d37a19092f8399694e6d551cd24243bd66f715de682220e0a644c910a00620d113682e0aa5b001a7d2295d395f71b171cc7e8c35ef
|
@@ -286,18 +286,23 @@
|
|
286
286
|
</define>
|
287
287
|
<define name="address">
|
288
288
|
<element name="address">
|
289
|
-
<
|
289
|
+
<choice>
|
290
290
|
<!-- iso191606 TODO -->
|
291
|
-
<
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
291
|
+
<group>
|
292
|
+
<oneOrMore>
|
293
|
+
<ref name="street"/>
|
294
|
+
</oneOrMore>
|
295
|
+
<ref name="city"/>
|
296
|
+
<optional>
|
297
|
+
<ref name="state"/>
|
298
|
+
</optional>
|
299
|
+
<ref name="country"/>
|
300
|
+
<optional>
|
301
|
+
<ref name="postcode"/>
|
302
|
+
</optional>
|
303
|
+
</group>
|
304
|
+
<ref name="formattedAddress"/>
|
305
|
+
</choice>
|
301
306
|
</element>
|
302
307
|
</define>
|
303
308
|
<define name="street">
|
@@ -325,6 +330,11 @@
|
|
325
330
|
<text/>
|
326
331
|
</element>
|
327
332
|
</define>
|
333
|
+
<define name="formattedAddress">
|
334
|
+
<element name="formattedAddress">
|
335
|
+
<text/>
|
336
|
+
</element>
|
337
|
+
</define>
|
328
338
|
<define name="person-identifier">
|
329
339
|
<element name="identifier">
|
330
340
|
<attribute name="type">
|
@@ -623,13 +623,14 @@ p.Biblio, p.NormRef {
|
|
623
623
|
background-color: #e1eef1;
|
624
624
|
padding: 1.2em;
|
625
625
|
margin: 2em 0 1em 0;
|
626
|
+
padding-left: 2em;
|
626
627
|
}
|
627
628
|
|
628
629
|
.example .example-title {
|
629
630
|
font-weight: 700;
|
630
631
|
text-transform: uppercase;
|
631
|
-
text-align: center;
|
632
632
|
margin-top:0;
|
633
|
+
margin-left:-1.5em;
|
633
634
|
}
|
634
635
|
|
635
636
|
/*
|
@@ -607,13 +607,17 @@ div.coverpage_warning
|
|
607
607
|
aside {
|
608
608
|
font-size:10.0pt;
|
609
609
|
}
|
610
|
-
|
611
|
-
|
612
|
-
|
610
|
+
|
611
|
+
.example-title {
|
612
|
+
font-weight: bold;
|
613
|
+
margin-left: -36.0pt;
|
613
614
|
}
|
614
|
-
|
615
|
-
|
616
|
-
|
615
|
+
|
616
|
+
p.example, li.example, div.example, td.example {
|
617
|
+
margin-top: 0cm;
|
618
|
+
margin-right: 36.0pt;
|
619
|
+
margin-bottom: 0cm;
|
620
|
+
margin-left: 36.0pt;
|
617
621
|
mso-pagination:none;
|
618
622
|
font-size:10.0pt;
|
619
623
|
font-family:$bodyfont;}
|
@@ -622,6 +626,10 @@ td.example p.MsoListParagraph {
|
|
622
626
|
font-size: 10.0pt;
|
623
627
|
}
|
624
628
|
|
629
|
+
td.example p.MsoListParagraph {
|
630
|
+
font-size: 10.0pt;
|
631
|
+
}
|
632
|
+
|
625
633
|
span.note_label, span.example_label, td.example_label, td.note_label
|
626
634
|
{
|
627
635
|
font-size: 10.0pt;
|
@@ -12,8 +12,12 @@ module IsoDoc
|
|
12
12
|
def initialize(options)
|
13
13
|
@libdir = File.dirname(__FILE__)
|
14
14
|
super
|
15
|
+
end
|
16
|
+
|
17
|
+
def convert1(docxml, filename, dir)
|
15
18
|
FileUtils.cp html_doc_path('logo.svg'), "logo.svg"
|
16
19
|
@files_to_delete << "logo.svg"
|
20
|
+
super
|
17
21
|
end
|
18
22
|
|
19
23
|
def default_fonts(options)
|
@@ -10,8 +10,12 @@ module IsoDoc
|
|
10
10
|
def initialize(options)
|
11
11
|
@libdir = File.dirname(__FILE__)
|
12
12
|
super
|
13
|
+
end
|
14
|
+
|
15
|
+
def convert1(docxml, filename, dir)
|
13
16
|
FileUtils.cp html_doc_path('logo.svg'), "logo.svg"
|
14
17
|
@files_to_delete << "logo.svg"
|
18
|
+
super
|
15
19
|
end
|
16
20
|
|
17
21
|
def default_fonts(options)
|
@@ -11,8 +11,12 @@ module IsoDoc
|
|
11
11
|
def initialize(options)
|
12
12
|
@libdir = File.dirname(__FILE__)
|
13
13
|
super
|
14
|
+
end
|
15
|
+
|
16
|
+
def convert1(docxml, filename, dir)
|
14
17
|
FileUtils.cp html_doc_path('logo.svg'), "logo.svg"
|
15
18
|
@files_to_delete << "logo.svg"
|
19
|
+
super
|
16
20
|
end
|
17
21
|
|
18
22
|
def default_fonts(options)
|
data/metanorma-rsd.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
31
31
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
32
32
|
spec.add_dependency "nokogiri"
|
33
|
-
spec.add_dependency "metanorma-standoc", "~> 1.
|
33
|
+
spec.add_dependency "metanorma-standoc", "~> 1.1.0"
|
34
34
|
spec.add_dependency "isodoc", "~> 0.9.0"
|
35
35
|
|
36
36
|
spec.add_development_dependency "byebug", "~> 9.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-rsd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: isodoc
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|