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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87b62054297007670e86fe29e7ba5a32777109209b7c77d8e77d61abcb5048e6
4
- data.tar.gz: 3ee3e1f5935484da11163966236735b68f968640782f7e4aaf070a6db47974f0
3
+ metadata.gz: 0c5152e4335a14f4046d5f257d79a7c480e8c1ec1a6dc986436bac11fb02a5ae
4
+ data.tar.gz: a67ed2acc1cd9b63c44b835f295ad4f50e9301c2976302eda0c0b8bd9be5eaa0
5
5
  SHA512:
6
- metadata.gz: 63828a56e9583202a3cf574bb1424197facdf6203cfc6524652ae8050b5b3ed4065bdf68d4578ae1ae34fbb9684028f79cd69114e7ce0a223b8e62334b93b637
7
- data.tar.gz: fcfdb68f9ec28eb1ffae772483a493d3852cb74b3b0cdbd83ca520e29109e63d9491afc7d5ae66da9222abec598bb024b799e3dba114145d3a22e96627ddcebc
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
- <oneOrMore>
289
+ <choice>
290
290
  <!-- iso191606 TODO -->
291
- <ref name="street"/>
292
- </oneOrMore>
293
- <ref name="city"/>
294
- <optional>
295
- <ref name="state"/>
296
- </optional>
297
- <ref name="country"/>
298
- <optional>
299
- <ref name="postcode"/>
300
- </optional>
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">
@@ -911,6 +911,9 @@
911
911
  </choice>
912
912
  </attribute>
913
913
  </optional>
914
+ <optional>
915
+ <attribute name="alt"/>
916
+ </optional>
914
917
  </element>
915
918
  </define>
916
919
  <define name="stem">
@@ -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
- div.example {
611
- margin-left:70.9pt;
612
- text-indent:-70.9pt;
610
+
611
+ .example-title {
612
+ font-weight: bold;
613
+ margin-left: -36.0pt;
613
614
  }
614
- p.example, li.example, div.example, td.example, td.example p
615
- { margin:0in;
616
- margin-bottom:.0001pt;
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)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Rsd
3
- VERSION = "1.0.13"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
@@ -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.0.0"
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.13
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-12 00:00:00.000000000 Z
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.0.0
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.0.0
68
+ version: 1.1.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: isodoc
71
71
  requirement: !ruby/object:Gem::Requirement