metanorma-rsd 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/asciidoctor/rsd/biblio.rng +12 -0
- data/lib/asciidoctor/rsd/converter.rb +8 -1
- data/lib/asciidoctor/rsd/isostandard.rng +10 -5
- data/lib/asciidoctor/rsd/rsd.rng +3 -1
- data/lib/isodoc/rsd/html/htmlstyle.scss +1 -1
- data/lib/isodoc/rsd/html/wordstyle.scss +67 -0
- data/lib/isodoc/rsd/html_convert.rb +0 -1
- data/lib/isodoc/rsd/pdf_convert.rb +0 -1
- data/lib/isodoc/rsd/word_convert.rb +0 -1
- data/lib/metanorma/rsd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9934a2e81bcaa0b44cbb9fcefca5bc966bc951e3d9c5b91681e5ddd8bf4a660c
|
4
|
+
data.tar.gz: 3114106ea0ada7fa5536197227b84fd23acefda5122e6a8ab07c03d9f3c75f53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15e46c71c99be72bcc98be58ee5c84b593d35df3e9a178bc257fce8ebbc7221bf34d16eca3cdd017852d2cb120430ef22205a19b12b19d38e38bbd159f392c67
|
7
|
+
data.tar.gz: fb47f1d2194099deef65c936669984f17c013ce21361c0a0fba5d782f2e6ec554473fb24336ecd0c5c55118e30af74486bd90be16751791ed1d88c5ba6bdf5a7
|
@@ -259,6 +259,9 @@
|
|
259
259
|
</define>
|
260
260
|
<define name="uri">
|
261
261
|
<element name="uri">
|
262
|
+
<optional>
|
263
|
+
<attribute name="type"/>
|
264
|
+
</optional>
|
262
265
|
<data type="anyURI"/>
|
263
266
|
</element>
|
264
267
|
</define>
|
@@ -444,6 +447,9 @@
|
|
444
447
|
<ref name="BibItemType"/>
|
445
448
|
</attribute>
|
446
449
|
</optional>
|
450
|
+
<optional>
|
451
|
+
<ref name="fetched"/>
|
452
|
+
</optional>
|
447
453
|
<choice>
|
448
454
|
<oneOrMore>
|
449
455
|
<ref name="btitle"/>
|
@@ -523,6 +529,11 @@
|
|
523
529
|
<ref name="FormattedString"/>
|
524
530
|
</element>
|
525
531
|
</define>
|
532
|
+
<define name="fetched">
|
533
|
+
<element name="fetched">
|
534
|
+
<data type="dateTime"/>
|
535
|
+
</element>
|
536
|
+
</define>
|
526
537
|
<define name="validity">
|
527
538
|
<element name="validity">
|
528
539
|
<optional>
|
@@ -599,6 +610,7 @@
|
|
599
610
|
<value>issued</value>
|
600
611
|
<value>transmitted</value>
|
601
612
|
<value>copied</value>
|
613
|
+
<value>unchanged</value>
|
602
614
|
</choice>
|
603
615
|
</attribute>
|
604
616
|
<choice>
|
@@ -3,6 +3,7 @@ require "asciidoctor/rsd"
|
|
3
3
|
require "asciidoctor/standoc/converter"
|
4
4
|
require "isodoc/rsd/html_convert"
|
5
5
|
require "isodoc/rsd/word_convert"
|
6
|
+
require "fileutils"
|
6
7
|
|
7
8
|
module Asciidoctor
|
8
9
|
module Rsd
|
@@ -41,6 +42,12 @@ module Asciidoctor
|
|
41
42
|
xml.editorialgroup do |a|
|
42
43
|
a.committee node.attr("committee"),
|
43
44
|
**attr_code(type: node.attr("committee-type"))
|
45
|
+
i = 2
|
46
|
+
while node.attr("committee_#{i}") do
|
47
|
+
a.committee node.attr("committee_#{i}"),
|
48
|
+
**attr_code(type: node.attr("committee-type_#{i}"))
|
49
|
+
i += 1
|
50
|
+
end
|
44
51
|
end
|
45
52
|
end
|
46
53
|
|
@@ -128,7 +135,7 @@ module Asciidoctor
|
|
128
135
|
word_converter(node).convert filename unless node.attr("nodoc")
|
129
136
|
pdf_convert(filename.sub(/\.xml$/, "")) unless node.attr("nodoc")
|
130
137
|
end
|
131
|
-
@files_to_delete.each { |f|
|
138
|
+
@files_to_delete.each { |f| FileUtils.rm f }
|
132
139
|
ret
|
133
140
|
end
|
134
141
|
|
@@ -69,6 +69,9 @@
|
|
69
69
|
<ref name="BibItemType"/>
|
70
70
|
</attribute>
|
71
71
|
</optional>
|
72
|
+
<optional>
|
73
|
+
<ref name="fetched"/>
|
74
|
+
</optional>
|
72
75
|
<choice>
|
73
76
|
<oneOrMore>
|
74
77
|
<ref name="btitle"/>
|
@@ -788,13 +791,15 @@
|
|
788
791
|
</define>
|
789
792
|
<define name="editorialgroup">
|
790
793
|
<element name="editorialgroup">
|
791
|
-
<
|
792
|
-
|
794
|
+
<oneOrMore>
|
795
|
+
<ref name="technical-committee"/>
|
796
|
+
</oneOrMore>
|
797
|
+
<zeroOrMore>
|
793
798
|
<ref name="subcommittee"/>
|
794
|
-
</
|
795
|
-
<
|
799
|
+
</zeroOrMore>
|
800
|
+
<zeroOrMore>
|
796
801
|
<ref name="workgroup"/>
|
797
|
-
</
|
802
|
+
</zeroOrMore>
|
798
803
|
<optional>
|
799
804
|
<ref name="secretariat"/>
|
800
805
|
</optional>
|
data/lib/asciidoctor/rsd/rsd.rng
CHANGED
@@ -76,6 +76,70 @@ p.MsoNormal, li.MsoNormal, div.MsoNormal
|
|
76
76
|
mso-fareast-font-family:"Times New Roman";
|
77
77
|
mso-ansi-language:EN-US;
|
78
78
|
mso-fareast-language:EN-US;}
|
79
|
+
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
|
80
|
+
{mso-style-priority:34;
|
81
|
+
mso-style-unhide:no;
|
82
|
+
mso-style-qformat:yes;
|
83
|
+
margin-top:0cm;
|
84
|
+
margin-right:0cm;
|
85
|
+
margin-bottom:0cm;
|
86
|
+
/* do not put in margin-left, it is specific to list level */
|
87
|
+
margin-bottom:.0001pt;
|
88
|
+
mso-add-space:auto;
|
89
|
+
mso-pagination:widow-orphan;
|
90
|
+
font-size:10.5pt;
|
91
|
+
font-family:$bodyfont;
|
92
|
+
mso-ansi-language:EN-AU;
|
93
|
+
mso-fareast-language:EN-US;}
|
94
|
+
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
|
95
|
+
{mso-style-priority:34;
|
96
|
+
mso-style-unhide:no;
|
97
|
+
mso-style-qformat:yes;
|
98
|
+
mso-style-type:export-only;
|
99
|
+
margin-top:0cm;
|
100
|
+
margin-right:0cm;
|
101
|
+
margin-bottom:0cm;
|
102
|
+
/* do not put in margin-left, it is specific to list level */
|
103
|
+
margin-bottom:.0001pt;
|
104
|
+
mso-add-space:auto;
|
105
|
+
mso-pagination:widow-orphan;
|
106
|
+
font-size:10.5pt;
|
107
|
+
font-family:$bodyfont;
|
108
|
+
mso-ansi-language:EN-AU;
|
109
|
+
mso-fareast-language:EN-US;}
|
110
|
+
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
|
111
|
+
{mso-style-priority:34;
|
112
|
+
mso-style-unhide:no;
|
113
|
+
mso-style-qformat:yes;
|
114
|
+
mso-style-type:export-only;
|
115
|
+
margin-top:0cm;
|
116
|
+
margin-right:0cm;
|
117
|
+
margin-bottom:0cm;
|
118
|
+
/* do not put in margin-left, it is specific to list level */
|
119
|
+
margin-bottom:.0001pt;
|
120
|
+
mso-add-space:auto;
|
121
|
+
mso-pagination:widow-orphan;
|
122
|
+
font-size:10.5pt;
|
123
|
+
font-family:$bodyfont;
|
124
|
+
mso-ansi-language:EN-AU;
|
125
|
+
mso-fareast-language:EN-US;}
|
126
|
+
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
|
127
|
+
{mso-style-priority:34;
|
128
|
+
mso-style-unhide:no;
|
129
|
+
mso-style-qformat:yes;
|
130
|
+
mso-style-type:export-only;
|
131
|
+
margin-top:0cm;
|
132
|
+
margin-right:0cm;
|
133
|
+
margin-bottom:0cm;
|
134
|
+
/* do not put in margin-left, it is specific to list level */
|
135
|
+
margin-bottom:12.0pt;
|
136
|
+
mso-add-space:auto;
|
137
|
+
mso-pagination:widow-orphan;
|
138
|
+
font-size:10.5pt;
|
139
|
+
font-family:$bodyfont;
|
140
|
+
mso-ansi-language:EN-AU;
|
141
|
+
mso-fareast-language:EN-US;}
|
142
|
+
|
79
143
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
80
144
|
{mso-style-noshow:yes;
|
81
145
|
mso-style-unhide:no;
|
@@ -334,6 +398,8 @@ span.blackgraphtx
|
|
334
398
|
.MsoChpDefault
|
335
399
|
{mso-style-type:export-only;
|
336
400
|
mso-default-props:yes;}
|
401
|
+
div.figure
|
402
|
+
{text-align: center;}
|
337
403
|
|
338
404
|
|
339
405
|
|
@@ -414,6 +480,7 @@ h1.Annex
|
|
414
480
|
font-size:12.0pt;
|
415
481
|
mso-bidi-font-size:11.0pt;
|
416
482
|
font-family:$headerfont;
|
483
|
+
font-weight:bold;
|
417
484
|
mso-fareast-font-family:$headerfont;
|
418
485
|
color:#0E1A85;
|
419
486
|
mso-ansi-language:EN-GB;
|
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.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|