metanorma-acme 1.0.9 → 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/acme/biblio.rng +21 -11
- data/lib/asciidoctor/acme/isodoc.rng +3 -0
- data/lib/isodoc/acme/html/acme.scss +14 -6
- data/lib/isodoc/acme/html/htmlstyle.scss +2 -1
- data/lib/isodoc/acme/html_convert.rb +6 -2
- data/lib/isodoc/acme/pdf_convert.rb +6 -2
- data/lib/isodoc/acme/word_convert.rb +6 -2
- data/lib/metanorma/acme/version.rb +1 -1
- data/metanorma-acme.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 706c34cec8264684b2402f94f756ae0c19fd259a06839c10c5ad578ac5392b8b
|
4
|
+
data.tar.gz: 1bf3b000f406c7531636f3636d2842c88b3a846c13fb8e3535742a7d1d4ad278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcaee5c325f50509fad3bc50c37429a22844eed39353378de01d28de3b52c49baa95dafdca7b7d18b22fc8e7234ec756b806d950ec69aedba323196c71322100
|
7
|
+
data.tar.gz: 64e3cf32541024874a30388e5a269530f41bd83f671101b4c6601cfb55fc8e96c114f6b5bd6bc8688bfb45fae2b6e60812e0e777be8b78ad58b79061deffb4fb
|
@@ -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">
|
@@ -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;
|
@@ -622,13 +622,14 @@ p.Biblio, p.NormRef {
|
|
622
622
|
background-color: #e1eef1;
|
623
623
|
padding: 1.2em;
|
624
624
|
margin: 2em 0 1em 0;
|
625
|
+
padding-left: 2em;
|
625
626
|
}
|
626
627
|
|
627
628
|
.example .example-title {
|
628
629
|
font-weight: 700;
|
629
630
|
text-transform: uppercase;
|
630
|
-
text-align: center;
|
631
631
|
margin-top:0;
|
632
|
+
margin-left:-1.5em;
|
632
633
|
}
|
633
634
|
|
634
635
|
/*
|
@@ -12,8 +12,12 @@ module IsoDoc
|
|
12
12
|
def initialize(options)
|
13
13
|
@libdir = File.dirname(__FILE__)
|
14
14
|
super
|
15
|
-
|
16
|
-
|
15
|
+
end
|
16
|
+
|
17
|
+
def convert1(docxml, filename, dir)
|
18
|
+
FileUtils.cp html_doc_path('logo.jpg'), "#{@localdir}/logo.jpg"
|
19
|
+
@files_to_delete << "#{@localdir}/logo.jpg"
|
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.jpg'), "logo.jpg"
|
14
17
|
@files_to_delete << "logo.jpg"
|
18
|
+
super
|
15
19
|
end
|
16
20
|
|
17
21
|
def default_fonts(options)
|
@@ -71,8 +75,8 @@ module IsoDoc
|
|
71
75
|
t << "#{get_anchors[annex['id']][:label]} "
|
72
76
|
t.br
|
73
77
|
t.b do |b|
|
74
|
-
|
75
|
-
|
78
|
+
name&.children&.each { |c2| parse(c2, b) }
|
79
|
+
end
|
76
80
|
end
|
77
81
|
end
|
78
82
|
|
@@ -11,7 +11,11 @@ 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.jpg'), "logo.jpg"
|
18
|
+
super
|
15
19
|
end
|
16
20
|
|
17
21
|
def default_fonts(options)
|
@@ -68,8 +72,8 @@ module IsoDoc
|
|
68
72
|
t << "#{get_anchors[annex['id']][:label]} "
|
69
73
|
t.br
|
70
74
|
t.b do |b|
|
71
|
-
|
72
|
-
|
75
|
+
name&.children&.each { |c2| parse(c2, b) }
|
76
|
+
end
|
73
77
|
end
|
74
78
|
end
|
75
79
|
|
data/metanorma-acme.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_dependency "asciidoctor", "~> 1.5.7"
|
29
29
|
spec.add_dependency "htmlentities", "~> 4.3.4"
|
30
30
|
spec.add_dependency "ruby-jing"
|
31
|
-
spec.add_dependency "metanorma-standoc", "~> 1.0
|
31
|
+
spec.add_dependency "metanorma-standoc", "~> 1.1.0"
|
32
32
|
spec.add_dependency "isodoc", "~> 0.9.0"
|
33
33
|
|
34
34
|
spec.add_development_dependency "bundler", "~> 2.0.1"
|
@@ -42,5 +42,5 @@ Gem::Specification.new do |spec|
|
|
42
42
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
43
43
|
spec.add_development_dependency "timecop", "~> 0.9"
|
44
44
|
spec.add_development_dependency "metanorma", "~> 0.3.0"
|
45
|
-
spec.add_development_dependency "metanorma-cli", "~> 1.
|
45
|
+
spec.add_development_dependency "metanorma-cli", "~> 1.1.2"
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-acme
|
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.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
|
68
|
+
version: 1.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: isodoc
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 1.
|
243
|
+
version: 1.1.2
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 1.
|
250
|
+
version: 1.1.2
|
251
251
|
description: |
|
252
252
|
Metanorma for the (fictitious) Acme Corp.
|
253
253
|
|