metanorma-vsd 0.5.8 → 0.5.9

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: 9df23f8eee0db70a9c0e48bfd9418685a326531146d2574958291c01ddfe530f
4
- data.tar.gz: e2c7c3201e5b8cf53120c81f598a5fd25470ca426349a9f857dafb65284aa8ea
3
+ metadata.gz: 526abf2372886c360046a4dee42eb483b30654b213f5f9337a73915308b9bd85
4
+ data.tar.gz: 2fce0119bdd1a2f468b80eb90d9bc9d0695d9b552c88180b4a23b52dfb018bf3
5
5
  SHA512:
6
- metadata.gz: 133050a4056e319ea6f2286f9935868b0c5cd1b15e60f51dc33c1fb404b8ac677c884778788de0e2bcb94b74105995fabcbc53e63d9030e3d3bc11fcbaf7c116
7
- data.tar.gz: 65559e40a26084328dc2d403b690ea7228615b1e39b28d89a8254079a31099004afa2d21c250300ac555856d559ab21c2118ad5944a12c54e0fc7e329c65043e
6
+ metadata.gz: b4d30f14b4222e86827cbf75494f7db22e56ac448c7d063e05941f70f55fcde007c48ba40c9b232cf3c464f874340a1d510d89c91246ebb807db185130924506
7
+ data.tar.gz: ef4b25c97f5a6438fdcc620d2fb2d405e67481d12a3ae33f8fda47974aef1f654b24aa6fd671f89ed05fe61b2ad7639fd489e998e1e197de807dcca3844bf769
@@ -638,9 +638,9 @@
638
638
  <zeroOrMore>
639
639
  <ref name="license"/>
640
640
  </zeroOrMore>
641
- <optional>
641
+ <zeroOrMore>
642
642
  <ref name="bclassification"/>
643
- </optional>
643
+ </zeroOrMore>
644
644
  <zeroOrMore>
645
645
  <ref name="bkeyword"/>
646
646
  </zeroOrMore>
@@ -39,6 +39,12 @@
39
39
  <optional>
40
40
  <attribute name="filename"/>
41
41
  </optional>
42
+ <optional>
43
+ <attribute name="model"/>
44
+ </optional>
45
+ <optional>
46
+ <attribute name="type"/>
47
+ </optional>
42
48
  <optional>
43
49
  <ref name="reqtitle"/>
44
50
  </optional>
@@ -7,92 +7,49 @@
7
7
  -->
8
8
  <include href="isostandard.rng">
9
9
  <start>
10
- <ref name="vsd-standard"/>
10
+ <ref name="rsd-standard"/>
11
11
  </start>
12
- <define name="language">
13
- <element name="language">
14
- <value>en</value>
15
- </element>
16
- </define>
17
- <define name="docidentifier">
18
- <element name="docidentifier">
19
- <text/>
20
- </element>
21
- </define>
22
- <define name="btitle">
23
- <element name="title">
24
- <ref name="FormattedString"/>
25
- </element>
26
- </define>
27
12
  <define name="figure">
28
13
  <element name="figure">
29
14
  <attribute name="id">
30
15
  <data type="ID"/>
31
16
  </attribute>
32
- <optional>
33
- <ref name="source"/>
34
- </optional>
35
17
  <optional>
36
18
  <ref name="tname"/>
37
19
  </optional>
38
20
  <choice>
21
+ <ref name="image"/>
22
+ <ref name="pre"/>
39
23
  <oneOrMore>
40
- <ref name="figure"/>
24
+ <ref name="subfigure"/>
41
25
  </oneOrMore>
42
- <group>
43
- <choice>
44
- <zeroOrMore>
45
- <ref name="TextElement"/>
46
- </zeroOrMore>
47
- <ref name="pre"/>
48
- </choice>
49
- <zeroOrMore>
50
- <ref name="note"/>
51
- </zeroOrMore>
52
- <optional>
53
- <ref name="dl"/>
54
- </optional>
55
- </group>
56
26
  </choice>
27
+ <zeroOrMore>
28
+ <ref name="fn"/>
29
+ </zeroOrMore>
30
+ <optional>
31
+ <ref name="dl"/>
32
+ </optional>
33
+ <zeroOrMore>
34
+ <ref name="note"/>
35
+ </zeroOrMore>
57
36
  </element>
58
37
  </define>
59
- <define name="status">
60
- <element name="status">
38
+ <define name="subfigure">
39
+ <element name="figure">
40
+ <attribute name="id">
41
+ <data type="ID"/>
42
+ </attribute>
43
+ <optional>
44
+ <ref name="tname"/>
45
+ </optional>
61
46
  <choice>
62
- <value>proposal</value>
63
- <value>working-draft</value>
64
- <value>committee-draft</value>
65
- <value>draft-standard</value>
66
- <value>final-draft</value>
67
- <value>published</value>
68
- <value>withdrawn</value>
69
- <ref name="LocalizedString"/>
47
+ <ref name="image"/>
48
+ <ref name="pre"/>
70
49
  </choice>
71
50
  </element>
72
51
  </define>
73
- <!-- TextElement |= keyword -->
74
- <define name="TextElement">
75
- <choice>
76
- <text/>
77
- <ref name="em"/>
78
- <ref name="eref"/>
79
- <ref name="strong"/>
80
- <ref name="stem"/>
81
- <ref name="sub"/>
82
- <ref name="sup"/>
83
- <ref name="tt"/>
84
- <ref name="strike"/>
85
- <ref name="smallcap"/>
86
- <ref name="xref"/>
87
- <ref name="br"/>
88
- <ref name="hyperlink"/>
89
- <ref name="hr"/>
90
- <ref name="pagebreak"/>
91
- <ref name="bookmark"/>
92
- <ref name="keyword"/>
93
- </choice>
94
- </define>
95
- <define name="BibItemType" combine="choice">
52
+ <define name="DocumentType">
96
53
  <choice>
97
54
  <value>policy-and-procedures</value>
98
55
  <value>best-practices</value>
@@ -106,55 +63,15 @@
106
63
  </define>
107
64
  <define name="editorialgroup">
108
65
  <element name="editorialgroup">
109
- <ref name="committee"/>
66
+ <oneOrMore>
67
+ <ref name="committee"/>
68
+ </oneOrMore>
110
69
  </element>
111
70
  </define>
112
- <define name="BibData">
113
- <optional>
114
- <attribute name="type">
115
- <ref name="BibItemType"/>
116
- </attribute>
117
- </optional>
118
- <oneOrMore>
119
- <ref name="btitle"/>
120
- </oneOrMore>
71
+ <define name="BibDataExtensionType">
121
72
  <optional>
122
- <ref name="formattedref"/>
73
+ <ref name="doctype"/>
123
74
  </optional>
124
- <zeroOrMore>
125
- <ref name="bsource"/>
126
- </zeroOrMore>
127
- <zeroOrMore>
128
- <ref name="docidentifier"/>
129
- </zeroOrMore>
130
- <zeroOrMore>
131
- <ref name="bdate"/>
132
- </zeroOrMore>
133
- <zeroOrMore>
134
- <ref name="contributor"/>
135
- </zeroOrMore>
136
- <optional>
137
- <ref name="edition"/>
138
- </optional>
139
- <zeroOrMore>
140
- <ref name="biblionote"/>
141
- </zeroOrMore>
142
- <zeroOrMore>
143
- <ref name="language"/>
144
- </zeroOrMore>
145
- <zeroOrMore>
146
- <ref name="script"/>
147
- </zeroOrMore>
148
- <zeroOrMore>
149
- <ref name="abstract"/>
150
- </zeroOrMore>
151
- <optional>
152
- <ref name="status"/>
153
- </optional>
154
- <ref name="copyright"/>
155
- <zeroOrMore>
156
- <ref name="docrelation"/>
157
- </zeroOrMore>
158
75
  <ref name="editorialgroup"/>
159
76
  <zeroOrMore>
160
77
  <ref name="ics"/>
@@ -175,30 +92,20 @@
175
92
  <text/>
176
93
  </element>
177
94
  </define>
178
- <define name="pre">
179
- <element name="pre">
180
- <text/>
181
- </element>
182
- </define>
183
- <define name="keyword">
184
- <element name="keyword">
185
- <text/>
186
- </element>
187
- </define>
188
95
  <define name="security">
189
96
  <element name="security">
190
97
  <text/>
191
98
  </element>
192
99
  </define>
193
- <define name="vsd-standard">
194
- <element name="vsd-standard">
100
+ <define name="rsd-standard">
101
+ <element name="rsd-standard">
195
102
  <ref name="bibdata"/>
196
- <optional>
197
- <ref name="version"/>
198
- </optional>
199
103
  <zeroOrMore>
200
104
  <ref name="termdocsource"/>
201
105
  </zeroOrMore>
106
+ <optional>
107
+ <ref name="boilerplate"/>
108
+ </optional>
202
109
  <ref name="preface"/>
203
110
  <oneOrMore>
204
111
  <ref name="sections"/>
@@ -578,7 +578,7 @@ p.Biblio, p.NormRef {
578
578
  overflow: auto;
579
579
  }
580
580
 
581
- .FigureTitle {
581
+ .FigureTitle, .SourceTitle, .AdmonitionTitle, .RecommendationTitle {
582
582
  font-weight: 700;
583
583
  font-size: 1em;
584
584
  text-align: center;
@@ -67,6 +67,44 @@ p.FigureTitle
67
67
  mso-fareast-font-family:$bodyfont;
68
68
  mso-bidi-font-family:$bodyfont;
69
69
  mso-ansi-language:EN-GB;}
70
+ p.SourceTitle
71
+ {mso-style-unhide:no;
72
+ mso-style-qformat:yes;
73
+ mso-style-parent:"";
74
+ margin-top:0cm;
75
+ margin-right:0cm;
76
+ margin-bottom:6.0pt;
77
+ margin-left:0cm;
78
+ text-align:center;
79
+ line-height:12.0pt;
80
+ page-break-before:avoid;
81
+ mso-pagination:widow-orphan;
82
+ tab-stops:20.15pt;
83
+ font-size:11.0pt;
84
+ font-weight:bold;
85
+ font-family:$bodyfont;
86
+ mso-fareast-font-family:$bodyfont;
87
+ mso-bidi-font-family:$bodyfont;
88
+ mso-ansi-language:EN-GB;}
89
+ p.AdmonitionTitle, p.RecommendationTitle
90
+ {mso-style-unhide:no;
91
+ mso-style-qformat:yes;
92
+ mso-style-parent:"";
93
+ margin-top:0cm;
94
+ margin-right:0cm;
95
+ margin-bottom:6.0pt;
96
+ margin-left:0cm;
97
+ text-align:center;
98
+ line-height:12.0pt;
99
+ page-break-after:avoid;
100
+ mso-pagination:widow-orphan;
101
+ tab-stops:20.15pt;
102
+ font-size:11.0pt;
103
+ font-weight:bold;
104
+ font-family:$bodyfont;
105
+ mso-fareast-font-family:$bodyfont;
106
+ mso-bidi-font-family:$bodyfont;
107
+ mso-ansi-language:EN-GB;}
70
108
  p.TableTitle
71
109
  {mso-style-unhide:no;
72
110
  mso-style-qformat:yes;
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Vsd
3
- VERSION = "0.5.8"
3
+ VERSION = "0.5.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-vsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.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-12-24 00:00:00.000000000 Z
11
+ date: 2020-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
248
  version: '0'
249
249
  requirements: []
250
250
  rubyforge_project:
251
- rubygems_version: 2.7.6
251
+ rubygems_version: 2.7.7
252
252
  signing_key:
253
253
  specification_version: 4
254
254
  summary: metanorma-vsd lets you write RSD in Metanorma.