metanorma-csa 1.4.0

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.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/macos.yml +38 -0
  3. data/.github/workflows/ubuntu.yml +38 -0
  4. data/.github/workflows/windows.yml +41 -0
  5. data/.gitignore +8 -0
  6. data/.hound.yml +3 -0
  7. data/.rubocop.yml +10 -0
  8. data/CODE_OF_CONDUCT.md +74 -0
  9. data/Gemfile +11 -0
  10. data/LICENSE +25 -0
  11. data/README.adoc +83 -0
  12. data/Rakefile +6 -0
  13. data/bin/console +14 -0
  14. data/bin/rspec +18 -0
  15. data/bin/setup +8 -0
  16. data/lib/asciidoctor/csa.rb +5 -0
  17. data/lib/asciidoctor/csa/basicdoc.rng +1045 -0
  18. data/lib/asciidoctor/csa/biblio.rng +1142 -0
  19. data/lib/asciidoctor/csa/converter.rb +150 -0
  20. data/lib/asciidoctor/csa/csa.rng +101 -0
  21. data/lib/asciidoctor/csa/isodoc.rng +514 -0
  22. data/lib/asciidoctor/csa/isostandard.rng +860 -0
  23. data/lib/asciidoctor/csa/reqt.rng +171 -0
  24. data/lib/asciidoctor/csa/validate.rb +21 -0
  25. data/lib/isodoc/csa/base_convert.rb +43 -0
  26. data/lib/isodoc/csa/html/csa-logo-white.png +0 -0
  27. data/lib/isodoc/csa/html/csa.png +0 -0
  28. data/lib/isodoc/csa/html/csa.scss +700 -0
  29. data/lib/isodoc/csa/html/dots-w@2x.png +0 -0
  30. data/lib/isodoc/csa/html/dots@2x.png +0 -0
  31. data/lib/isodoc/csa/html/header.html +186 -0
  32. data/lib/isodoc/csa/html/html_csa_intro.html +8 -0
  33. data/lib/isodoc/csa/html/html_csa_titlepage.html +89 -0
  34. data/lib/isodoc/csa/html/htmlstyle.scss +1129 -0
  35. data/lib/isodoc/csa/html/scripts.html +74 -0
  36. data/lib/isodoc/csa/html/scripts.pdf.html +72 -0
  37. data/lib/isodoc/csa/html/word_csa_intro.html +33 -0
  38. data/lib/isodoc/csa/html/word_csa_titlepage.html +76 -0
  39. data/lib/isodoc/csa/html/wordstyle.scss +1136 -0
  40. data/lib/isodoc/csa/html_convert.rb +58 -0
  41. data/lib/isodoc/csa/metadata.rb +50 -0
  42. data/lib/isodoc/csa/pdf_convert.rb +63 -0
  43. data/lib/isodoc/csa/word_convert.rb +41 -0
  44. data/lib/metanorma-csa.rb +11 -0
  45. data/lib/metanorma/csa.rb +7 -0
  46. data/lib/metanorma/csa/processor.rb +46 -0
  47. data/lib/metanorma/csa/version.rb +7 -0
  48. data/metanorma-csa.gemspec +52 -0
  49. metadata +348 -0
@@ -0,0 +1,171 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
+ <!--
4
+ Presupposes isodoc.rnc, is included in it
5
+ include "isodoc.rnc" { }
6
+ -->
7
+ <define name="requirement">
8
+ <element name="requirement">
9
+ <ref name="RequirementType"/>
10
+ </element>
11
+ </define>
12
+ <define name="recommendation">
13
+ <element name="recommendation">
14
+ <ref name="RequirementType"/>
15
+ </element>
16
+ </define>
17
+ <define name="permission">
18
+ <element name="permission">
19
+ <ref name="RequirementType"/>
20
+ </element>
21
+ </define>
22
+ <define name="RequirementType">
23
+ <optional>
24
+ <attribute name="obligation">
25
+ <ref name="ObligationType"/>
26
+ </attribute>
27
+ </optional>
28
+ <optional>
29
+ <attribute name="unnumbered">
30
+ <data type="boolean"/>
31
+ </attribute>
32
+ </optional>
33
+ <optional>
34
+ <attribute name="subsequence"/>
35
+ </optional>
36
+ <attribute name="id">
37
+ <data type="ID"/>
38
+ </attribute>
39
+ <optional>
40
+ <attribute name="filename"/>
41
+ </optional>
42
+ <optional>
43
+ <attribute name="model"/>
44
+ </optional>
45
+ <optional>
46
+ <attribute name="type"/>
47
+ </optional>
48
+ <optional>
49
+ <ref name="reqtitle"/>
50
+ </optional>
51
+ <optional>
52
+ <ref name="label"/>
53
+ </optional>
54
+ <optional>
55
+ <ref name="subject"/>
56
+ </optional>
57
+ <optional>
58
+ <ref name="reqinherit"/>
59
+ </optional>
60
+ <zeroOrMore>
61
+ <ref name="classification"/>
62
+ </zeroOrMore>
63
+ <zeroOrMore>
64
+ <choice>
65
+ <ref name="measurementtarget"/>
66
+ <ref name="specification"/>
67
+ <ref name="verification"/>
68
+ <ref name="import"/>
69
+ <ref name="description"/>
70
+ </choice>
71
+ </zeroOrMore>
72
+ <optional>
73
+ <ref name="reqt_references"/>
74
+ </optional>
75
+ <zeroOrMore>
76
+ <choice>
77
+ <ref name="requirement"/>
78
+ <ref name="recommendation"/>
79
+ <ref name="permission"/>
80
+ </choice>
81
+ </zeroOrMore>
82
+ </define>
83
+ <define name="reqtitle">
84
+ <element name="title">
85
+ <ref name="FormattedString"/>
86
+ </element>
87
+ </define>
88
+ <define name="label">
89
+ <element name="label">
90
+ <text/>
91
+ </element>
92
+ </define>
93
+ <define name="subject">
94
+ <element name="subject">
95
+ <text/>
96
+ </element>
97
+ </define>
98
+ <define name="reqinherit">
99
+ <element name="inherit">
100
+ <text/>
101
+ </element>
102
+ </define>
103
+ <define name="measurementtarget">
104
+ <element name="measurement-target">
105
+ <ref name="RequirementSubpart"/>
106
+ </element>
107
+ </define>
108
+ <define name="specification">
109
+ <element name="specification">
110
+ <ref name="RequirementSubpart"/>
111
+ </element>
112
+ </define>
113
+ <define name="verification">
114
+ <element name="verification">
115
+ <ref name="RequirementSubpart"/>
116
+ </element>
117
+ </define>
118
+ <define name="import">
119
+ <element name="import">
120
+ <ref name="RequirementSubpart"/>
121
+ </element>
122
+ </define>
123
+ <define name="description">
124
+ <element name="description">
125
+ <ref name="RequirementSubpart"/>
126
+ </element>
127
+ </define>
128
+ <define name="reqt_references">
129
+ <element name="references">
130
+ <oneOrMore>
131
+ <ref name="bibitem"/>
132
+ </oneOrMore>
133
+ </element>
134
+ </define>
135
+ <define name="RequirementSubpart">
136
+ <optional>
137
+ <attribute name="type"/>
138
+ </optional>
139
+ <optional>
140
+ <attribute name="exclude">
141
+ <data type="boolean"/>
142
+ </attribute>
143
+ </optional>
144
+ <oneOrMore>
145
+ <ref name="BasicBlock"/>
146
+ </oneOrMore>
147
+ </define>
148
+ <define name="ObligationType">
149
+ <choice>
150
+ <value>requirement</value>
151
+ <value>recommendation</value>
152
+ <value>permission</value>
153
+ </choice>
154
+ </define>
155
+ <define name="classification">
156
+ <element name="classification">
157
+ <ref name="classification_tag"/>
158
+ <ref name="classification_value"/>
159
+ </element>
160
+ </define>
161
+ <define name="classification_tag">
162
+ <element name="tag">
163
+ <text/>
164
+ </element>
165
+ </define>
166
+ <define name="classification_value">
167
+ <element name="value">
168
+ <text/>
169
+ </element>
170
+ </define>
171
+ </grammar>
@@ -0,0 +1,21 @@
1
+ module Asciidoctor
2
+ module Csa
3
+ class Converter < Standoc::Converter
4
+ def content_validate(doc)
5
+ super
6
+ bibdata_validate(doc.root)
7
+ end
8
+
9
+ def bibdata_validate(doc)
10
+ stage_validate(doc)
11
+ end
12
+
13
+ def stage_validate(xmldoc)
14
+ stage = xmldoc&.at("//bibdata/status/stage")&.text
15
+ %w(proposal working-draft committee-draft draft-standard final-draft
16
+ published withdrawn).include? stage or
17
+ warn "Document Attributes: #{stage} is not a recognised status"
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,43 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'isodoc'
4
+ require_relative 'metadata'
5
+
6
+ module IsoDoc
7
+ module Csa
8
+ module BaseConvert
9
+ def metadata_init(lang, script, labels)
10
+ @meta = Metadata.new(lang, script, labels)
11
+ end
12
+
13
+ def annex_name(annex, name, div)
14
+ div.h1 **{ class: "Annex" } do |t|
15
+ t << "#{anchor(annex['id'], :label)} "
16
+ t.br
17
+ t.b do |b|
18
+ name&.children&.each { |c2| parse(c2, b) }
19
+ end
20
+ end
21
+ end
22
+
23
+ def i18n_init(lang, script)
24
+ super
25
+ @annex_lbl = "Appendix"
26
+ end
27
+
28
+ def cleanup(docxml)
29
+ super
30
+ term_cleanup(docxml)
31
+ end
32
+
33
+ def term_cleanup(docxml)
34
+ docxml.xpath("//p[@class = 'Terms']").each do |d|
35
+ h2 = d.at("./preceding-sibling::*[@class = 'TermNum'][1]")
36
+ h2.add_child("&nbsp;")
37
+ h2.add_child(d.remove)
38
+ end
39
+ docxml
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,700 @@
1
+ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode, pre
2
+ {mso-style-unhide:no;
3
+ mso-style-qformat:yes;
4
+ mso-style-parent:"";
5
+ margin-top:6.0pt;
6
+ margin-right:0cm;
7
+ margin-bottom:6.0pt;
8
+ margin-left:0cm;
9
+ text-align:left;
10
+ mso-pagination:widow-orphan;
11
+ tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
12
+ font-size:10.0pt;
13
+ font-family:$monospacefont;
14
+ mso-fareast-font-family:Calibri;
15
+ mso-bidi-font-family:"Courier New";
16
+ mso-ansi-language:EN-GB;}
17
+ p.pseudocode, li.pseudocode, div.pseudocode
18
+ {mso-style-unhide:no;
19
+ mso-style-qformat:yes;
20
+ mso-style-parent:"";
21
+ margin-top:6.0pt;
22
+ margin-right:0cm;
23
+ margin-bottom:6.0pt;
24
+ margin-left:0cm;
25
+ text-align:left;
26
+ mso-pagination:widow-orphan;
27
+ tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
28
+ font-size:10.5pt;
29
+ font-family:$bodyfont;
30
+ mso-fareast-font-family:Calibri;
31
+ mso-bidi-font-family:"Courier New";
32
+ mso-ansi-language:EN-GB;}
33
+ p.Biblio, li.Biblio, div.Biblio, p.NormRef, li.NormRef, div.NormRef
34
+ {mso-style-unhide:no;
35
+ mso-style-qformat:yes;
36
+ mso-style-parent:"";
37
+ margin-top:0cm;
38
+ margin-right:0cm;
39
+ margin-bottom:12.0pt;
40
+ margin-left:33.15pt;
41
+ text-indent:-33.15pt;
42
+ tab-stops: 33.15pt;
43
+ line-height:12.0pt;
44
+ mso-pagination:widow-orphan;
45
+ font-size:10.5pt;
46
+ font-weight:normal;
47
+ font-family:$bodyfont;
48
+ mso-fareast-font-family:$bodyfont;
49
+ mso-bidi-font-family:$bodyfont;
50
+ mso-ansi-language:EN-GB;}
51
+ p.FigureTitle
52
+ {mso-style-unhide:no;
53
+ mso-style-qformat:yes;
54
+ mso-style-parent:"";
55
+ margin-top:0cm;
56
+ margin-right:0cm;
57
+ margin-bottom:6.0pt;
58
+ margin-left:0cm;
59
+ text-align:center;
60
+ line-height:12.0pt;
61
+ page-break-before:avoid;
62
+ mso-pagination:widow-orphan;
63
+ tab-stops:20.15pt;
64
+ font-size:11.0pt;
65
+ font-weight:bold;
66
+ font-family:$bodyfont;
67
+ mso-fareast-font-family:$bodyfont;
68
+ mso-bidi-font-family:$bodyfont;
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;}
108
+ p.TableTitle
109
+ {mso-style-unhide:no;
110
+ mso-style-qformat:yes;
111
+ mso-style-parent:"";
112
+ margin-top:0cm;
113
+ margin-right:0cm;
114
+ margin-bottom:6.0pt;
115
+ margin-left:0cm;
116
+ text-align:center;
117
+ page-break-after:avoid;
118
+ line-height:12.0pt;
119
+ mso-pagination:widow-orphan;
120
+ tab-stops:20.15pt;
121
+ font-size:11.0pt;
122
+ font-family:$bodyfont;
123
+ mso-fareast-font-family:$bodyfont;
124
+ mso-bidi-font-family:$bodyfont;
125
+ mso-ansi-language:EN-GB;}
126
+ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote
127
+ {mso-style-unhide:no;
128
+ mso-style-qformat:yes;
129
+ mso-style-parent:"";
130
+ margin-top:0cm;
131
+ margin-right:0cm;
132
+ margin-bottom:12.0pt;
133
+ margin-left:0cm;
134
+ text-align:justify;
135
+ line-height:12.0pt;
136
+ mso-pagination:widow-orphan;
137
+ tab-stops:20.15pt;
138
+ font-size:10.0pt;
139
+ mso-bidi-font-size:11.0pt;
140
+ font-family:$bodyfont;
141
+ font-size:10.0pt;
142
+ mso-fareast-font-family:$bodyfont;
143
+ mso-bidi-font-family:$bodyfont;
144
+ mso-ansi-language:EN-GB;}
145
+ p.ANNEX, li.ANNEX, div.ANNEX
146
+ {mso-style-name:ANNEX;
147
+ mso-style-priority:10;
148
+ mso-style-unhide:no;
149
+ mso-style-next:Normal;
150
+ margin-top:0cm;
151
+ margin-right:0cm;
152
+ margin-bottom:24.0pt;
153
+ margin-left:0cm;
154
+ text-align:center;
155
+ text-indent:0cm;
156
+ line-height:15.5pt;
157
+ mso-line-height-rule:exactly;
158
+ page-break-before:always;
159
+ mso-pagination:widow-orphan;
160
+ page-break-after:avoid;
161
+ mso-outline-level:1;
162
+ mso-list:l0 level1 lfo12;
163
+ tab-stops:20.15pt;
164
+ font-size:14.0pt;
165
+ mso-bidi-font-size:11.0pt;
166
+ font-family:$headerfont;
167
+ mso-fareast-font-family:$headerfont;
168
+ mso-bidi-font-family:$headerfont;
169
+ mso-ansi-language:EN-GB;
170
+ mso-fareast-language:JA;
171
+ font-weight:bold;
172
+ mso-bidi-font-weight:normal;}
173
+ p.BiblioTitle, li.BiblioTitle, div.BiblioTitle
174
+ {mso-style-name:"Biblio Title";
175
+ mso-style-noshow:yes;
176
+ mso-style-unhide:no;
177
+ margin-top:0cm;
178
+ margin-right:0cm;
179
+ margin-bottom:15.5pt;
180
+ margin-left:0cm;
181
+ text-align:center;
182
+ line-height:15.5pt;
183
+ mso-pagination:widow-orphan;
184
+ mso-outline-level:1;
185
+ tab-stops:20.15pt;
186
+ font-size:14.0pt;
187
+ mso-bidi-font-size:11.0pt;
188
+ font-family:$headerfont;
189
+ mso-fareast-font-family:$headerfont;
190
+ mso-bidi-font-family:$headerfont;
191
+ mso-ansi-language:EN-GB;
192
+ font-weight:bold;
193
+ mso-bidi-font-weight:normal;}
194
+ p.Definition, li.Definition, div.Definition
195
+ {mso-style-name:Definition;
196
+ mso-style-priority:9;
197
+ mso-style-unhide:no;
198
+ margin-top:0cm;
199
+ margin-right:0cm;
200
+ margin-bottom:12.0pt;
201
+ margin-left:0cm;
202
+ text-align:justify;
203
+ line-height:12.0pt;
204
+ mso-pagination:widow-orphan;
205
+ tab-stops:20.15pt;
206
+ font-size:11.0pt;
207
+ font-family:$bodyfont;
208
+ mso-fareast-font-family:$bodyfont;
209
+ mso-bidi-font-family:$bodyfont;
210
+ mso-ansi-language:EN-GB;}
211
+ p.ForewordTitle, li.ForewordTitle, div.ForewordTitle
212
+ {mso-style-name:"Foreword Title";
213
+ mso-style-noshow:yes;
214
+ mso-style-unhide:no;
215
+ margin-top:0cm;
216
+ margin-right:0cm;
217
+ margin-bottom:15.5pt;
218
+ margin-left:0cm;
219
+ text-align:justify;
220
+ line-height:15.5pt;
221
+ page-break-before:always;
222
+ mso-pagination:widow-orphan;
223
+ page-break-after:avoid;
224
+ mso-outline-level:1;
225
+ mso-hyphenate:none;
226
+ tab-stops:20.15pt;
227
+ font-size:14.0pt;
228
+ mso-bidi-font-size:11.0pt;
229
+ font-family:$headerfont;
230
+ mso-fareast-font-family:$headerfont;
231
+ mso-bidi-font-family:$headerfont;
232
+ mso-ansi-language:EN-GB;
233
+ font-weight:bold;
234
+ mso-bidi-font-weight:normal;}
235
+ p.IntroTitle, li.IntroTitle, div.IntroTitle
236
+ {mso-style-name:"Intro Title";
237
+ mso-style-noshow:yes;
238
+ mso-style-unhide:no;
239
+ mso-style-parent:"Foreword Title";
240
+ margin-top:0cm;
241
+ margin-right:0cm;
242
+ margin-bottom:15.5pt;
243
+ margin-left:0cm;
244
+ text-align:justify;
245
+ line-height:15.5pt;
246
+ mso-pagination:widow-orphan;
247
+ page-break-after:avoid;
248
+ mso-outline-level:1;
249
+ mso-hyphenate:none;
250
+ tab-stops:20.15pt;
251
+ font-size:14.0pt;
252
+ mso-bidi-font-size:11.0pt;
253
+ page-break-before:always;
254
+ font-family:$headerfont;
255
+ mso-fareast-font-family:$headerfont;
256
+ mso-bidi-font-family:$headerfont;
257
+ mso-ansi-language:EN-GB;
258
+ font-weight:bold;
259
+ mso-bidi-font-weight:normal;}
260
+ p.Terms, li.Terms, div.Terms
261
+ {mso-style-name:"Term\(s\)";
262
+ mso-style-priority:8;
263
+ mso-style-unhide:no;
264
+ mso-style-next:Definition;
265
+ margin:0cm;
266
+ margin-bottom:.0001pt;
267
+ line-height:12.0pt;
268
+ mso-pagination:widow-orphan;
269
+ page-break-after:avoid;
270
+ mso-hyphenate:none;
271
+ tab-stops:20.15pt;
272
+ font-size:11.0pt;
273
+ font-family:$headerfont;
274
+ mso-fareast-font-family:$headerfont;
275
+ mso-bidi-font-family:$headerfont;
276
+ mso-ansi-language:EN-GB;
277
+ font-weight:bold;
278
+ mso-bidi-font-weight:normal;}
279
+ p.AltTerms, li.AltTerms, div.AltTerms
280
+ {mso-style-name:"AltTerm\(s\)";
281
+ mso-style-priority:8;
282
+ mso-style-unhide:no;
283
+ mso-style-next:Definition;
284
+ margin:0cm;
285
+ margin-bottom:.0001pt;
286
+ line-height:12.0pt;
287
+ mso-pagination:widow-orphan;
288
+ page-break-after:avoid;
289
+ mso-hyphenate:none;
290
+ tab-stops:20.15pt;
291
+ font-size:11.0pt;
292
+ font-family:$bodyfont;
293
+ mso-fareast-font-family:$bodyfont;
294
+ mso-bidi-font-family:$bodyfont;
295
+ mso-ansi-language:EN-GB;
296
+ mso-bidi-font-weight:normal;}
297
+ p.DeprecatedTerms, li.DeprecatedTerms, div.DeprecatedTerms
298
+ {mso-style-name:"DeprecatedTerm\(s\)";
299
+ mso-style-priority:8;
300
+ mso-style-unhide:no;
301
+ mso-style-next:Definition;
302
+ margin:0cm;
303
+ margin-bottom:.0001pt;
304
+ line-height:12.0pt;
305
+ mso-pagination:widow-orphan;
306
+ page-break-after:avoid;
307
+ mso-hyphenate:none;
308
+ tab-stops:20.15pt;
309
+ font-size:11.0pt;
310
+ font-family:$bodyfont;
311
+ mso-fareast-font-family:$bodyfont;
312
+ mso-bidi-font-family:$bodyfont;
313
+ mso-ansi-language:EN-GB;
314
+ mso-bidi-font-weight:normal;}
315
+ p.TermNum, li.TermNum, div.TermNum
316
+ {mso-style-name:TermNum;
317
+ mso-style-priority:7;
318
+ mso-style-unhide:no;
319
+ mso-style-next:"Term\(s\)";
320
+ margin:0cm;
321
+ margin-bottom:.0001pt;
322
+ line-height:12.0pt;
323
+ mso-pagination:widow-orphan;
324
+ page-break-after:avoid;
325
+ tab-stops:20.15pt;
326
+ font-size:11.0pt;
327
+ font-family:$headerfont;
328
+ mso-fareast-font-family:$headerfont;
329
+ mso-bidi-font-family:$headerfont;
330
+ mso-ansi-language:EN-GB;
331
+ font-weight:bold;
332
+ mso-bidi-font-weight:normal;}
333
+ p.zzContents, li.zzContents, div.zzContents
334
+ {mso-style-name:zzContents;
335
+ mso-style-noshow:yes;
336
+ mso-style-unhide:no;
337
+ mso-style-next:"TOC 1";
338
+ margin-top:48.0pt;
339
+ margin-right:0cm;
340
+ margin-bottom:15.5pt;
341
+ margin-left:0cm;
342
+ line-height:15.5pt;
343
+ mso-line-height-rule:exactly;
344
+ page-break-before:always;
345
+ mso-pagination:widow-orphan;
346
+ page-break-after:avoid;
347
+ mso-hyphenate:none;
348
+ tab-stops:20.15pt;
349
+ font-size:14.0pt;
350
+ mso-bidi-font-size:11.0pt;
351
+ font-family:$headerfont;
352
+ mso-fareast-font-family:$headerfont;
353
+ mso-bidi-font-family:$headerfont;
354
+ mso-ansi-language:EN-GB;
355
+ font-weight:bold;
356
+ mso-bidi-font-weight:normal;}
357
+ p.zzCopyright, li.zzCopyright
358
+ {mso-style-name:zzCopyright;
359
+ mso-style-noshow:yes;
360
+ mso-style-unhide:no;
361
+ mso-style-next:Normal;
362
+ margin-top:0cm;
363
+ margin-right:14.2pt;
364
+ margin-bottom:12.0pt;
365
+ margin-left:14.2pt;
366
+ text-align:justify;
367
+ line-height:12.0pt;
368
+ mso-pagination:widow-orphan;
369
+ tab-stops:20.15pt 25.7pt 481.15pt;
370
+ padding:0cm;
371
+ mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt;
372
+ font-size:10.5pt;
373
+ font-family:$bodyfont;
374
+ mso-fareast-font-family:$bodyfont;
375
+ mso-bidi-font-family:$bodyfont;
376
+ mso-ansi-language:EN-GB;}
377
+ div.zzCopyright
378
+ {mso-element:para-border-div;
379
+ border:solid windowtext 1.0pt;
380
+ mso-border-top-alt:solid windowtext .5pt;
381
+ mso-border-left-alt:solid windowtext .5pt;
382
+ mso-border-right-alt:solid windowtext .5pt;
383
+ mso-border-bottom-alt:solid windowtext .5pt;
384
+ padding:1.0pt 4.0pt 0cm 4.0pt;
385
+ margin-left:5.1pt;
386
+ margin-right:5.1pt;}
387
+ p.zzCopyright_address
388
+ {margin-top:0cm;
389
+ margin-right:14.2pt;
390
+ margin-bottom:0.0pt;
391
+ margin-left:14.2pt;
392
+ mso-layout-grid-align:none;
393
+ text-autospace:none;
394
+ padding-left:20pt;
395
+ mso-padding-alt-left:20pt;
396
+ font-size:10.0pt;
397
+ text-align:left;
398
+ mso-bidi-font-size:11.0pt;}
399
+ p.zzSTDTitle, li.zzSTDTitle, div.zzSTDTitle
400
+ {mso-style-name:zzSTDTitle;
401
+ mso-style-noshow:yes;
402
+ mso-style-unhide:no;
403
+ mso-style-next:Normal;
404
+ margin-top:20.0pt;
405
+ margin-right:0cm;
406
+ margin-bottom:38.0pt;
407
+ margin-left:0cm;
408
+ line-height:17.5pt;
409
+ mso-line-height-rule:exactly;
410
+ mso-pagination:widow-orphan;
411
+ mso-hyphenate:none;
412
+ tab-stops:20.15pt;
413
+ font-size:16.0pt;
414
+ mso-bidi-font-size:11.0pt;
415
+ font-family:$headerfont;
416
+ mso-fareast-font-family:$headerfont;
417
+ mso-bidi-font-family:$headerfont;
418
+ mso-ansi-language:EN-GB;
419
+ font-weight:bold;
420
+ mso-bidi-font-weight:normal;}
421
+ p.zzSTDTitle1, li.zzSTDTitle1, div.zzSTDTitle1
422
+ {mso-style-name:zzSTDTitle;
423
+ mso-style-noshow:yes;
424
+ mso-style-unhide:no;
425
+ mso-style-next:Normal;
426
+ margin-top:0pt;
427
+ margin-right:0cm;
428
+ margin-bottom:18.0pt;
429
+ margin-left:0cm;
430
+ line-height:17.5pt;
431
+ mso-line-height-rule:exactly;
432
+ mso-pagination:widow-orphan;
433
+ mso-hyphenate:none;
434
+ tab-stops:20.15pt;
435
+ font-size:16.0pt;
436
+ mso-bidi-font-size:11.0pt;
437
+ font-family:$headerfont;
438
+ mso-fareast-font-family:$headerfont;
439
+ mso-bidi-font-family:$headerfont;
440
+ mso-ansi-language:EN-GB;
441
+ font-weight:bold;
442
+ mso-bidi-font-weight:normal;}
443
+ p.Quote, li.Quote, div.Quote
444
+ {mso-style-priority:99;
445
+ margin-top:0cm;
446
+ margin-right:36.0pt;
447
+ margin-bottom:0cm;
448
+ margin-left:36.0pt;
449
+ text-align:justify;
450
+ line-height:12.0pt;
451
+ mso-pagination:widow-orphan;
452
+ tab-stops:20.15pt;
453
+ font-size:10.5pt;
454
+ font-family:$bodyfont;
455
+ mso-fareast-font-family:$bodyfont;
456
+ mso-bidi-font-family:$bodyfont;
457
+ mso-ansi-language:EN-GB;}
458
+ p.QuoteAttribution
459
+ {text-align:right;
460
+ mso-style-priority:99;
461
+ margin-top:0cm;
462
+ margin-right:36.0pt;
463
+ margin-bottom:0cm;
464
+ margin-left:36.0pt;
465
+ line-height:12.0pt;
466
+ mso-pagination:widow-orphan;
467
+ tab-stops:20.15pt;
468
+ font-size:10.5pt;
469
+ font-family:$bodyfont;
470
+ mso-fareast-font-family:$bodyfont;
471
+ mso-bidi-font-family:$bodyfont;
472
+ mso-ansi-language:EN-GB;
473
+ }
474
+ p.Admonition, li.Admonition, div.Admonition
475
+ {mso-style-priority:99;
476
+ margin-top:0cm;
477
+ margin-right:57.6pt;
478
+ margin-bottom:0cm;
479
+ margin-left:57.6pt;
480
+ margin-bottom:.0001pt;
481
+ mso-pagination:widow-orphan;
482
+ border:none;
483
+ mso-border-alt:solid #4472C4 .25pt;
484
+ mso-border-themecolor:accent1;
485
+ padding:0cm;
486
+ mso-padding-alt:10.0pt 10.0pt 10.0pt 10.0pt;
487
+ font-size:12.0pt;
488
+ font-family:$bodyfont;
489
+ mso-ascii-font-family:$bodyfont;
490
+ mso-ascii-theme-font:minor-latin;
491
+ mso-fareast-font-family:$bodyfont;
492
+ mso-fareast-theme-font:minor-fareast;
493
+ mso-hansi-font-family:$bodyfont;
494
+ mso-hansi-theme-font:minor-latin;
495
+ mso-bidi-font-family:$bodyfont;
496
+ mso-bidi-theme-font:minor-bidi;
497
+ color:#4472C4;
498
+ mso-themecolor:accent1;
499
+ mso-ansi-language:EN-AU;
500
+ font-style:italic;}
501
+ p.Code, li.Code, div.Code
502
+ {mso-style-name:Code;
503
+ mso-style-priority:16;
504
+ mso-style-unhide:no;
505
+ mso-style-qformat:yes;
506
+ margin:0cm;
507
+ margin-bottom:.0001pt;
508
+ line-height:10.0pt;
509
+ mso-pagination:widow-orphan;
510
+ tab-stops:20.15pt;
511
+ font-size:9.0pt;
512
+ mso-bidi-font-size:11.0pt;
513
+ font-family:$monospacefont;
514
+ mso-fareast-font-family:Calibri;
515
+ mso-bidi-font-family:"Source Sans Pro";
516
+ mso-ansi-language:EN-GB;}
517
+ p.Formula, li.Formula, div.Formula
518
+ {mso-style-name:Formula;
519
+ mso-style-noshow:yes;
520
+ mso-style-unhide:no;
521
+ margin-top:0cm;
522
+ margin-right:0cm;
523
+ margin-bottom:11.0pt;
524
+ margin-left:20.15pt;
525
+ line-height:12.0pt;
526
+ mso-pagination:widow-orphan;
527
+ tab-stops:right 487.45pt;
528
+ font-size:10.5pt;
529
+ font-family:$bodyfont;
530
+ mso-fareast-font-family:$bodyfont;
531
+ mso-bidi-font-family:$bodyfont;
532
+ mso-ansi-language:EN-GB;}
533
+ @page {
534
+ mso-facing-pages:yes;
535
+ }
536
+ @page WordSection1
537
+ {size:595.3pt 841.9pt;
538
+ margin:39.7pt 53.85pt 1.0cm 53.85pt;
539
+ mso-header-margin:35.45pt;
540
+ mso-footer-margin:14.2pt;
541
+ mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh1;
542
+ mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
543
+ mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;
544
+ mso-paper-source:0;}
545
+ div.WordSection1
546
+ {page:WordSection1;}
547
+ @page WordSection2
548
+ {size:595.3pt 841.9pt;
549
+ margin:39.7pt 53.85pt 1.0cm 53.85pt;
550
+ mso-header-margin:35.45pt;
551
+ mso-footer-margin:14.2pt;
552
+ mso-page-numbers:roman-lower;
553
+ mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
554
+ mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
555
+ mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef2;
556
+ mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f2;
557
+ mso-paper-source:0;}
558
+ div.WordSection2
559
+ {page:WordSection2;}
560
+ @page WordSection3
561
+ {size:595.3pt 841.9pt;
562
+ margin:39.7pt 53.85pt 1.0cm 53.85pt;
563
+ mso-header-margin:35.45pt;
564
+ mso-footer-margin:14.2pt;
565
+ mso-page-numbers:1;
566
+ mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
567
+ mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
568
+ mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef3;
569
+ mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
570
+ mso-paper-source:0;}
571
+ div.WordSection3
572
+ {page:WordSection3;}
573
+ table.MsoISOTable
574
+ {mso-style-name:"Table ISO";
575
+ mso-tstyle-rowband-size:0;
576
+ mso-tstyle-colband-size:0;
577
+ mso-style-noshow:yes;
578
+ mso-style-priority:99;
579
+ mso-style-parent:"";
580
+ mso-padding-alt:0cm 2.85pt 0cm 2.85pt;
581
+ mso-para-margin:0cm;
582
+ mso-para-margin-bottom:.0001pt;
583
+ mso-pagination:widow-orphan;
584
+ border-collapse:collapse;
585
+ mso-table-layout-alt:fixed;
586
+ border:solid windowtext 2pt;
587
+ mso-border-alt:solid windowtext 2pt;
588
+ mso-yfti-tbllook:480;
589
+ mso-border-insideh:.75pt solid windowtext;
590
+ mso-border-insidev:.75pt solid windowtext;
591
+ font-size:10.0pt;
592
+ font-family:$bodyfont;}
593
+ table.MsoISOTable th
594
+ {border:solid windowtext 1pt;
595
+ mso-border-alt:solid windowtext 1pt;
596
+ padding:0cm 2.85pt 0cm 2.85pt;}
597
+ table.MsoISOTable td
598
+ {border:solid windowtext 1pt;
599
+ mso-border-alt:solid windowtext 1pt;
600
+ padding:0cm 2.85pt 0cm 2.85pt;}
601
+ table.MsoISOTable p
602
+ {font-size:10.0pt; }
603
+ table.MsoTableGrid
604
+ {mso-style-name:"Table Grid";
605
+ mso-tstyle-rowband-size:0;
606
+ mso-tstyle-colband-size:0;
607
+ mso-style-priority:39;
608
+ mso-style-unhide:no;
609
+ border:solid windowtext 1.0pt;
610
+ mso-border-alt:solid windowtext .5pt;
611
+ mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
612
+ mso-border-insideh:.5pt solid windowtext;
613
+ mso-border-insidev:.5pt solid windowtext;
614
+ mso-para-margin:0cm;
615
+ mso-para-margin-bottom:.0001pt;
616
+ mso-pagination:widow-orphan;
617
+ font-size:10.0pt;
618
+ font-family:$bodyfont;}
619
+ div.formula
620
+ {tab-stops:right 487.45pt;}
621
+ body
622
+ {tab-interval:36.0pt;}
623
+ .coverpage_docnumber
624
+ {text-align:center;
625
+ font-size:14.0pt;
626
+ font-weight:bold;}
627
+ .coverpage_techcommittee
628
+ {text-align:center;
629
+ font-size:12.0pt}
630
+ .coverpage_docstage
631
+ {text-align:center;
632
+ font-size:30.0pt;
633
+ color:#485094;}
634
+ div.coverpage_warning
635
+ {mso-element:para-border-div;
636
+ border:solid windowtext 1.0pt #485094;
637
+ mso-border-alt:solid windowtext .5pt;
638
+ padding:1.0pt 4.0pt 1.0pt 4.0pt #485094;
639
+ font-size:10.0pt;
640
+ margin-left:4.25pt;
641
+ margin-right:4.25pt}
642
+ .coverpage_warning
643
+ {color:#485094;
644
+ font-size:10.0pt;}
645
+
646
+ a.TableFootnoteRef, span.TableFootnoteRef
647
+ {mso-style-priority:99;
648
+ mso-style-parent:"Footnote Reference";
649
+ vertical-align:super;}
650
+
651
+ aside {
652
+ font-size:10.0pt;
653
+ }
654
+
655
+ .example-title {
656
+ font-weight: bold;
657
+ margin-left: -36.0pt;
658
+ }
659
+
660
+ p.example, li.example, td.example {
661
+ margin-right: 0pt;
662
+ margin-left: 0pt;
663
+ }
664
+
665
+ div.example {
666
+ margin-top: 0cm;
667
+ margin-bottom: 0cm;
668
+ margin-right: 36.0pt;
669
+ margin-left: 36.0pt;
670
+ }
671
+
672
+ p.example, li.example, div.example, td.example {
673
+ mso-pagination:none;
674
+ font-size:10.0pt;
675
+ font-family:$bodyfont;}
676
+
677
+ td.example p.MsoListParagraph {
678
+ font-size: 10.0pt;
679
+ }
680
+
681
+ div.example p.MsoListParagraph {
682
+ font-size: 10.0pt;
683
+ }
684
+
685
+ div.Note p.MsoListParagraph {
686
+ font-size: 10.0pt;
687
+ }
688
+
689
+
690
+ span.note_label, span.example_label, td.example_label, td.note_label
691
+ {
692
+ font-size: 10.0pt;
693
+ font-family:$bodyfont;
694
+ }
695
+
696
+ table.dl
697
+ {margin-top:0cm;
698
+ margin-right:0cm;
699
+ margin-bottom:11.0pt;
700
+ margin-left:20.15pt;}