metanorma-unece 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/unece/biblio.rng +21 -11
- data/lib/asciidoctor/unece/isodoc.rng +3 -0
- data/lib/isodoc/unece/html/htmlstyle.scss +2 -0
- data/lib/isodoc/unece/html/unece.scss +10 -6
- data/lib/isodoc/unece/html_convert.rb +4 -0
- data/lib/isodoc/unece/word_convert.rb +4 -0
- data/lib/metanorma/unece/version.rb +1 -1
- data/metanorma-unece.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: 7a005165e76100797baad319a57a783fb71c19e2ca96ccdf12f75e6462ac318c
|
4
|
+
data.tar.gz: 8a6eece329076aabbf2535cafae1a47a6e367019c9551ab570c0541d806bb4d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe1b54d981364df91efd04afee04446db003063e42101ebb58011aa34e3761a1c6f1175dc59de137403d3f543d1e07779efef1b7751ef7360179a9859b063017
|
7
|
+
data.tar.gz: fec5309b45f4be54bc60ad5808406b28ac1151e69fb315cbea9086c235116f9a8c944284cf833fa12d899a57358fd71039c53abe53c67b101b12074dfe32e966
|
@@ -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">
|
@@ -703,6 +703,7 @@ div.Admonition {
|
|
703
703
|
background-color: #e1eef1;
|
704
704
|
padding: 1.2em;
|
705
705
|
margin: 2em 0 1em 0;
|
706
|
+
padding-left: 2em;
|
706
707
|
}
|
707
708
|
|
708
709
|
.example .example-title {
|
@@ -710,6 +711,7 @@ div.Admonition {
|
|
710
711
|
text-transform: uppercase;
|
711
712
|
text-align: center;
|
712
713
|
margin-top:0;
|
714
|
+
margin-left:-1.5em;
|
713
715
|
}
|
714
716
|
|
715
717
|
/*
|
@@ -630,13 +630,17 @@ div.coverpage_warning
|
|
630
630
|
aside {
|
631
631
|
font-size:10.0pt;
|
632
632
|
}
|
633
|
-
|
634
|
-
|
635
|
-
|
633
|
+
|
634
|
+
.example-title {
|
635
|
+
font-weight: bold;
|
636
|
+
margin-left: -36.0pt;
|
636
637
|
}
|
637
|
-
|
638
|
-
|
639
|
-
|
638
|
+
|
639
|
+
p.example, li.example, div.example, td.example {
|
640
|
+
margin-top: 0cm;
|
641
|
+
margin-right: 36.0pt;
|
642
|
+
margin-bottom: 0cm;
|
643
|
+
margin-left: 36.0pt;
|
640
644
|
mso-pagination:none;
|
641
645
|
font-size:10.0pt;
|
642
646
|
font-family:$bodyfont;}
|
@@ -13,8 +13,12 @@ module IsoDoc
|
|
13
13
|
def initialize(options)
|
14
14
|
@libdir = File.dirname(__FILE__)
|
15
15
|
super
|
16
|
+
end
|
17
|
+
|
18
|
+
def convert1(docxml, filename, dir)
|
16
19
|
FileUtils.cp html_doc_path('logo.jpg'), "logo.jpg"
|
17
20
|
@files_to_delete << "logo.jpg"
|
21
|
+
super
|
18
22
|
end
|
19
23
|
|
20
24
|
def default_fonts(options)
|
data/metanorma-unece.gemspec
CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
|
|
30
30
|
spec.add_dependency "twitter_cldr"
|
31
31
|
spec.add_dependency "iso-639"
|
32
32
|
|
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 "bundler", "~> 2.0.1"
|
@@ -44,5 +44,5 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
45
45
|
spec.add_development_dependency "timecop", "~> 0.9"
|
46
46
|
spec.add_development_dependency "metanorma", "~> 0.3.1"
|
47
|
-
spec.add_development_dependency "metanorma-cli", "~> 1.
|
47
|
+
spec.add_development_dependency "metanorma-cli", "~> 1.1.0"
|
48
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-unece
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
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
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.1.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.1.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: isodoc
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,14 +282,14 @@ dependencies:
|
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 1.
|
285
|
+
version: 1.1.0
|
286
286
|
type: :development
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 1.
|
292
|
+
version: 1.1.0
|
293
293
|
description: 'Metanorma for UNECE: United Nations Economic Commission for Europe.
|
294
294
|
|
295
295
|
'
|