metanorma-iso 1.3.27 → 1.4.3

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: 1f2bd4b15c4295ebf947cb014b8bbc6f53b7c539860613320a00e65f44e918fc
4
- data.tar.gz: 2e3741a0bf4f87e702571463f70460d8ba94e54d71a3f1ed910c54735df60b1f
3
+ metadata.gz: 4e88ecac9a1d970682830fc23fc1b808c7b83dedc00a3e6a3adcad7822225622
4
+ data.tar.gz: 413f8bb0aac5a124b33992bdaf7977d3e89da0e701512a4d877af68255fd8ba1
5
5
  SHA512:
6
- metadata.gz: 0dab537420c96a7c56e6eaf99d20462e7bf8284ed2e919761df70e1e8b2c3331376001abdf81d14e769f938492ecbe5a4439dc547c050a01e6bb4529ed2f0bab
7
- data.tar.gz: 9acb9ac16c1fb230c842d43596af7fd01ee8f08504ab62119ce03379fab9c56e7aa1e878a5114b74c0cf5214656cef47d9b0846eac9e94ca6e282181445bc948
6
+ metadata.gz: 7b9b163582c5602c131691c8aa484fe20cf4fe02f2fca00b66ef6d50b5515673b8794e0cd4e4a4e404ff169697221551e7a521dac9c7ebb2998b406de7d9b649
7
+ data.tar.gz: 26f82fb95d062ddc527a2ac2cefa798edee6771d332307713759ab494fa27a8f16a1e8b27b4f817c088da7ee9e6beac7ea41221618cfd12cfe01dc3f561d309d
@@ -29,7 +29,6 @@ jobs:
29
29
  uses: actions/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- architecture: 'x64'
33
32
  - name: Update gems
34
33
  run: |
35
34
  sudo gem install bundler --force
@@ -29,14 +29,17 @@ jobs:
29
29
  uses: actions/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- architecture: 'x64'
33
32
  - name: Update gems
34
33
  run: |
35
34
  gem install bundler
36
35
  bundle install --jobs 4 --retry 3
37
36
  - name: Install PlantUML
38
- run: |
39
- sudo bash -c "curl -L https://github.com/riboseinc/plantuml-install/raw/master/ubuntu.sh | bash"
37
+ uses: nick-invision/retry@v1
38
+ with:
39
+ polling_interval_seconds: 5
40
+ timeout_minutes: 5
41
+ max_attempts: 3
42
+ command: sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash"
40
43
  - name: Run specs
41
44
  run: |
42
45
  bundle exec rake
@@ -29,7 +29,6 @@ jobs:
29
29
  uses: actions/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
- architecture: 'x64'
33
32
  - name: Update gems
34
33
  shell: pwsh
35
34
  run: |
data/Gemfile CHANGED
@@ -5,6 +5,7 @@ source "https://rubygems.org"
5
5
  git_source(:github) { |repo| "https://github.com/#{repo}" }
6
6
 
7
7
  #gem "asciimath", git: "https://github.com/asciidoctor/asciimath"
8
+
8
9
  gemspec
9
10
 
10
11
  if File.exist? 'Gemfile.devel'
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
2
  require "rspec/core/rake_task"
3
+ require 'isodoc/gem_tasks'
3
4
 
5
+ IsoDoc::GemTasks.install
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
8
  task default: :spec
@@ -41,26 +41,23 @@ module Asciidoctor
41
41
  IsoDoc::Iso::StsConvert.new(html_extract_attributes(node))
42
42
  end
43
43
 
44
+ def presentation_xml_converter(node)
45
+ IsoDoc::Iso::PresentationXMLConvert.new(html_extract_attributes(node))
46
+ end
47
+
44
48
  def init(node)
45
49
  super
46
50
  @amd = %w(amendment technical-corrigendum).include? node.attr("doctype")
47
51
  end
48
52
 
49
- def document(node)
50
- init(node)
51
- ret = makexml(node).to_xml(indent: 2)
52
- unless node.attr("nodoc") || !node.attr("docfile")
53
+ def outputs(node, ret)
53
54
  File.open(@filename + ".xml", "w:UTF-8") { |f| f.write(ret) }
54
- html_converter_alt(node).convert(@filename + ".xml")
55
- FileUtils.mv "#{@filename}.html", "#{@filename}_alt.html"
56
- html_converter(node).convert(@filename + ".xml")
57
- doc_converter(node).convert(@filename + ".xml")
58
- pdf_converter(node)&.convert(@filename + ".xml")
59
- sts_converter(node)&.convert(@filename + ".xml")
60
- end
61
- @log.write(@localdir + @filename + ".err") unless @novalid
62
- @files_to_delete.each { |f| FileUtils.rm f }
63
- ret
55
+ presentation_xml_converter(node).convert(@filename + ".xml")
56
+ html_converter_alt(node).convert(@filename + ".presentation.xml", nil, false, "#{@filename}_alt.html")
57
+ html_converter(node).convert(@filename + ".presentation.xml", nil, false, "#{@filename}.html")
58
+ doc_converter(node).convert(@filename + ".presentation.xml", nil, false, "#{@filename}.doc")
59
+ pdf_converter(node)&.convert(@filename + ".presentation.xml", nil, false, "#{@filename}.pdf")
60
+ #sts_converter(node)&.convert(@filename + ".xml")
64
61
  end
65
62
 
66
63
  def load_yaml(lang, script)
@@ -11,10 +11,17 @@ module IsoDoc
11
11
  @meta = Metadata.new(lang, script, labels)
12
12
  end
13
13
 
14
- def convert1(docxml, filename, dir)
14
+ def xref_init(lang, script, klass, labels, options)
15
+ @xrefs = Xref.new(lang, script, klass, labels, options)
16
+ end
17
+
18
+ def amd(docxml)
15
19
  doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
16
- @amd = %w(amendment technical-corrigendum).include? doctype
17
- if @amd
20
+ %w(amendment technical-corrigendum).include? doctype
21
+ end
22
+
23
+ def convert1(docxml, filename, dir)
24
+ if amd(docxml)
18
25
  @oldsuppressheadingnumbers = @suppressheadingnumbers
19
26
  @suppressheadingnumbers = true
20
27
  end
@@ -62,12 +69,12 @@ module IsoDoc
62
69
  end
63
70
 
64
71
  def prefix_container(container, linkend, target)
65
- delim = anchor(target, :type) == "listitem" ? " " : ", "
66
- l10n(anchor(container, :xref) + delim + linkend)
72
+ delim = @xrefs.anchor(target, :type) == "listitem" ? " " : ", "
73
+ l10n(@xrefs.anchor(container, :xref) + delim + linkend)
67
74
  end
68
75
 
69
76
  def example_span_label(node, div, name)
70
- n = get_anchors[node["id"]]
77
+ n = @xrefs.get[node["id"]]
71
78
  div.span **{ class: "example_label" } do |p|
72
79
  lbl = (n.nil? || n[:label].nil? || n[:label].empty?) ? @example_lbl :
73
80
  l10n("#{@example_lbl} #{n[:label]}")
@@ -139,12 +146,6 @@ module IsoDoc
139
146
  ""
140
147
  end
141
148
 
142
- def reference_names(ref)
143
- super
144
- @anchors[ref["id"]] = { xref: @anchors[ref["id"]][:xref].
145
- sub(/ \(All Parts\)/i, "") }
146
- end
147
-
148
149
  def cleanup(docxml)
149
150
  super
150
151
  table_th_center(docxml)
@@ -200,17 +201,17 @@ module IsoDoc
200
201
  div << " &mdash; "
201
202
  end
202
203
 
203
- def figure_name_parse(node, div, name)
204
- lbl = anchor(node['id'], :label, false)
205
- lbl = nil if labelled_ancestor(node) && node.ancestors("figure").empty?
206
- return if lbl.nil? && name.nil?
207
- div.p **{ class: "FigureTitle", style: "text-align:center;" } do |p|
208
- figname = node.parent.name == "figure" ? "" : "#{@figure_lbl} "
209
- lbl.nil? or p << l10n("#{figname}#{lbl}")
210
- name and !lbl.nil? and p << "&nbsp;&mdash; "
211
- name and name.children.each { |n| parse(n, div) }
204
+ def figure_name_parse(node, div, name)
205
+ lbl = @xrefs.anchor(node['id'], :label, false)
206
+ lbl = nil if labelled_ancestor(node) && node.ancestors("figure").empty?
207
+ return if lbl.nil? && name.nil?
208
+ div.p **{ class: "FigureTitle", style: "text-align:center;" } do |p|
209
+ figname = node.parent.name == "figure" ? "" : "#{@figure_lbl} "
210
+ lbl.nil? or p << l10n("#{figname}#{lbl}")
211
+ name and !lbl.nil? and p << "&nbsp;&mdash; "
212
+ name and name.children.each { |n| parse(n, div) }
213
+ end
212
214
  end
213
215
  end
214
- end
215
216
  end
216
217
  end
@@ -0,0 +1,47 @@
1
+ p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
2
+ mso-style-noshow: yes;
3
+ mso-style-priority: 99;
4
+ mso-style-link: "Comment Text Char";
5
+ margin-top: 0cm;
6
+ margin-right: 0cm;
7
+ margin-bottom: 12.0pt;
8
+ margin-left: 0cm;
9
+ text-align: justify;
10
+ line-height: 12.0pt;
11
+ mso-pagination: widow-orphan;
12
+ tab-stops: 20.15pt;
13
+ font-size: 12.0pt;
14
+ font-family: {{bodyfont}};
15
+ mso-fareast-font-family: Calibri;
16
+ mso-bidi-font-family: "Times New Roman";
17
+ mso-ansi-language: EN-GB;
18
+ mso-fareast-language: EN-US; }
19
+
20
+ span.MsoCommentReference {
21
+ mso-style-noshow: yes;
22
+ mso-style-priority: 99;
23
+ mso-style-parent: "";
24
+ mso-ansi-font-size: 9.0pt;
25
+ mso-bidi-font-size: 9.0pt; }
26
+
27
+ p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject {
28
+ mso-style-noshow: yes;
29
+ mso-style-priority: 99;
30
+ mso-style-parent: "Comment Text";
31
+ mso-style-link: "Comment Subject Char";
32
+ mso-style-next: "Comment Text";
33
+ margin-top: 0cm;
34
+ margin-right: 0cm;
35
+ margin-bottom: 12.0pt;
36
+ margin-left: 0cm;
37
+ text-align: justify;
38
+ line-height: 12.0pt;
39
+ mso-pagination: widow-orphan;
40
+ tab-stops: 20.15pt;
41
+ font-size: 10.0pt;
42
+ font-family: {{headerfont}};
43
+ mso-fareast-font-family: Calibri;
44
+ mso-bidi-font-family: "Times New Roman";
45
+ mso-ansi-language: EN-GB;
46
+ mso-fareast-language: EN-US;
47
+ font-weight: bold; }
@@ -43,4 +43,3 @@ p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
43
43
  mso-ansi-language:EN-GB;
44
44
  mso-fareast-language:EN-US;
45
45
  font-weight:bold;}
46
-
@@ -0,0 +1,862 @@
1
+ p.Sourcecode, li.Sourcecode, div.Sourcecode, pre.Sourcecode {
2
+ mso-style-unhide: no;
3
+ mso-style-qformat: yes;
4
+ mso-style-parent: "";
5
+ margin-top: 0cm;
6
+ margin-right: 0cm;
7
+ margin-bottom: 12.0pt;
8
+ margin-left: 0cm;
9
+ text-align: left;
10
+ line-height: 12.0pt;
11
+ mso-pagination: widow-orphan;
12
+ tab-stops: 20.15pt;
13
+ font-size: 9.0pt;
14
+ font-family: {{monospacefont}};
15
+ mso-fareast-font-family: "SimSun",serif;
16
+ mso-bidi-font-family: "Courier New";
17
+ mso-ansi-language: EN-GB; }
18
+
19
+ p.pseudocode, li.pseudocode, div.pseudocode {
20
+ mso-style-unhide: no;
21
+ mso-style-qformat: yes;
22
+ mso-style-parent: "";
23
+ margin-top: 0cm;
24
+ margin-right: 0cm;
25
+ margin-bottom: 12.0pt;
26
+ margin-left: 0cm;
27
+ text-align: left;
28
+ line-height: 12.0pt;
29
+ mso-pagination: widow-orphan;
30
+ tab-stops: 20.15pt;
31
+ font-size: 10.0pt;
32
+ font-family: {{bodyfont}};
33
+ mso-fareast-font-family: "SimSun",serif;
34
+ mso-bidi-font-family: "Courier New";
35
+ mso-ansi-language: EN-GB; }
36
+
37
+ p.Biblio, li.Biblio, div.Biblio {
38
+ mso-style-unhide: no;
39
+ mso-style-qformat: yes;
40
+ mso-style-parent: "";
41
+ margin-top: 0cm;
42
+ margin-right: 0cm;
43
+ margin-bottom: 12.0pt;
44
+ margin-left: 33.15pt;
45
+ text-indent: -33.15pt;
46
+ tab-stops: 33.15pt;
47
+ line-height: 12.0pt;
48
+ mso-pagination: widow-orphan;
49
+ font-size: 11.0pt;
50
+ font-family: {{bodyfont}};
51
+ mso-fareast-font-family: "SimSun",serif;
52
+ mso-bidi-font-family: {{bodyfont}};
53
+ mso-ansi-language: EN-GB; }
54
+
55
+ p.NormRef, li.NormRef, div.NormRef {
56
+ mso-style-unhide: no;
57
+ mso-style-qformat: yes;
58
+ mso-style-parent: "";
59
+ margin-top: 0cm;
60
+ margin-right: 0cm;
61
+ margin-bottom: 12.0pt;
62
+ margin-left: 0pt;
63
+ text-indent: 0pt;
64
+ tab-stops: 33.15pt;
65
+ line-height: 12.0pt;
66
+ mso-pagination: widow-orphan;
67
+ font-size: 11.0pt;
68
+ font-family: {{bodyfont}};
69
+ mso-fareast-font-family: "SimSun",serif;
70
+ mso-bidi-font-family: {{bodyfont}};
71
+ mso-ansi-language: EN-GB; }
72
+
73
+ p.FigureTitle {
74
+ mso-style-unhide: no;
75
+ mso-style-qformat: yes;
76
+ mso-style-parent: "";
77
+ margin-top: 0cm;
78
+ margin-right: 0cm;
79
+ margin-bottom: 6.0pt;
80
+ margin-left: 0cm;
81
+ text-align: center;
82
+ line-height: 12.0pt;
83
+ page-break-before: avoid;
84
+ mso-pagination: widow-orphan;
85
+ tab-stops: 20.15pt;
86
+ font-size: 11.0pt;
87
+ font-family: {{bodyfont}};
88
+ font-weight: bold;
89
+ mso-fareast-font-family: "SimSun",serif;
90
+ mso-bidi-font-family: {{bodyfont}};
91
+ mso-ansi-language: EN-GB; }
92
+
93
+ p.AdmonitionTitle, p.RecommendationTitle {
94
+ mso-style-unhide: no;
95
+ mso-style-qformat: yes;
96
+ mso-style-parent: "";
97
+ margin-top: 0cm;
98
+ margin-right: 0cm;
99
+ margin-bottom: 6.0pt;
100
+ margin-left: 0cm;
101
+ text-align: center;
102
+ line-height: 12.0pt;
103
+ page-break-after: avoid;
104
+ mso-pagination: widow-orphan;
105
+ tab-stops: 20.15pt;
106
+ font-size: 11.0pt;
107
+ font-family: {{bodyfont}};
108
+ font-weight: bold;
109
+ mso-fareast-font-family: "SimSun",serif;
110
+ mso-bidi-font-family: {{bodyfont}};
111
+ mso-ansi-language: EN-GB; }
112
+
113
+ p.SourceTitle {
114
+ mso-style-unhide: no;
115
+ mso-style-qformat: yes;
116
+ mso-style-parent: "";
117
+ margin-top: 0cm;
118
+ margin-right: 0cm;
119
+ margin-bottom: 6.0pt;
120
+ margin-left: 0cm;
121
+ text-align: center;
122
+ line-height: 12.0pt;
123
+ page-break-before: avoid;
124
+ mso-pagination: widow-orphan;
125
+ tab-stops: 20.15pt;
126
+ font-size: 11.0pt;
127
+ font-family: {{bodyfont}};
128
+ font-weight: bold;
129
+ mso-fareast-font-family: "SimSun",serif;
130
+ mso-bidi-font-family: {{bodyfont}};
131
+ mso-ansi-language: EN-GB; }
132
+
133
+ p.TableTitle {
134
+ mso-style-unhide: no;
135
+ mso-style-qformat: yes;
136
+ mso-style-parent: "";
137
+ margin-top: 0cm;
138
+ margin-right: 0cm;
139
+ margin-bottom: 6.0pt;
140
+ margin-left: 0cm;
141
+ text-align: center;
142
+ page-break-after: avoid;
143
+ line-height: 12.0pt;
144
+ mso-pagination: widow-orphan;
145
+ tab-stops: 20.15pt;
146
+ font-size: 11.0pt;
147
+ font-weight: bold;
148
+ font-family: {{bodyfont}};
149
+ mso-fareast-font-family: "SimSun",serif;
150
+ mso-bidi-font-family: {{bodyfont}};
151
+ mso-ansi-language: EN-GB; }
152
+
153
+ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote {
154
+ mso-style-unhide: no;
155
+ mso-style-qformat: yes;
156
+ mso-style-parent: "";
157
+ margin-top: 0cm;
158
+ margin-right: 0cm;
159
+ margin-bottom: 12.0pt;
160
+ margin-left: 0cm;
161
+ text-align: justify;
162
+ line-height: 12.0pt;
163
+ mso-pagination: widow-orphan;
164
+ tab-stops: 20.15pt;
165
+ font-size: 10.0pt;
166
+ mso-bidi-font-size: 11.0pt;
167
+ font-family: {{bodyfont}};
168
+ mso-fareast-font-family: "SimSun",serif;
169
+ mso-bidi-font-family: {{bodyfont}};
170
+ mso-ansi-language: EN-GB; }
171
+
172
+ /* may need to be revised */
173
+ p.ANNEX, li.ANNEX, div.ANNEX {
174
+ mso-style-name: ANNEX;
175
+ mso-style-priority: 10;
176
+ mso-style-unhide: no;
177
+ mso-style-next: Normal;
178
+ margin-top: 0cm;
179
+ margin-right: 0cm;
180
+ margin-bottom: 24.0pt;
181
+ margin-left: 0cm;
182
+ text-align: center;
183
+ text-indent: 0cm;
184
+ line-height: 15.5pt;
185
+ mso-line-height-rule: exactly;
186
+ page-break-before: always;
187
+ mso-pagination: widow-orphan;
188
+ page-break-after: avoid;
189
+ mso-outline-level: 1;
190
+ mso-list: l0 level1 lfo12;
191
+ tab-stops: 20.15pt;
192
+ font-size: 14.0pt;
193
+ mso-bidi-font-size: 11.0pt;
194
+ font-family: {{headerfont}};
195
+ mso-fareast-font-family: "SimHei",serif;
196
+ mso-bidi-font-family: {{headerfont}};
197
+ mso-ansi-language: EN-GB;
198
+ mso-fareast-language: JA;
199
+ font-weight: bold;
200
+ mso-bidi-font-weight: normal; }
201
+
202
+ p.BiblioTitle, li.BiblioTitle, div.BiblioTitle {
203
+ mso-style-name: "Biblio Title";
204
+ mso-style-noshow: yes;
205
+ mso-style-unhide: no;
206
+ margin-top: 0cm;
207
+ margin-right: 0cm;
208
+ margin-bottom: 15.5pt;
209
+ margin-left: 0cm;
210
+ text-align: center;
211
+ line-height: 15.5pt;
212
+ mso-pagination: widow-orphan;
213
+ mso-outline-level: 1;
214
+ tab-stops: 20.15pt;
215
+ font-size: 14.0pt;
216
+ mso-bidi-font-size: 11.0pt;
217
+ font-family: {{headerfont}};
218
+ mso-fareast-font-family: "SimHei",serif;
219
+ mso-bidi-font-family: {{headerfont}};
220
+ mso-ansi-language: EN-GB;
221
+ font-weight: bold;
222
+ mso-bidi-font-weight: normal; }
223
+
224
+ p.Definition, li.Definition, div.Definition {
225
+ mso-style-name: Definition;
226
+ mso-style-priority: 9;
227
+ mso-style-unhide: no;
228
+ margin-top: 0cm;
229
+ margin-right: 0cm;
230
+ margin-bottom: 12.0pt;
231
+ margin-left: 0cm;
232
+ text-align: justify;
233
+ line-height: 12.0pt;
234
+ mso-pagination: widow-orphan;
235
+ tab-stops: 20.15pt;
236
+ font-size: 11.0pt;
237
+ font-family: {{bodyfont}};
238
+ mso-fareast-font-family: "SimSun",serif;
239
+ mso-bidi-font-family: {{bodyfont}};
240
+ mso-ansi-language: EN-GB; }
241
+
242
+ p.ForewordTitle, li.ForewordTitle, div.ForewordTitle {
243
+ mso-style-name: "Foreword Title";
244
+ mso-style-noshow: yes;
245
+ mso-style-unhide: no;
246
+ margin-top: 0cm;
247
+ margin-right: 0cm;
248
+ margin-bottom: 15.5pt;
249
+ margin-left: 0cm;
250
+ text-align: justify;
251
+ line-height: 15.5pt;
252
+ page-break-before: always;
253
+ mso-pagination: widow-orphan;
254
+ page-break-after: avoid;
255
+ mso-outline-level: 1;
256
+ mso-hyphenate: none;
257
+ tab-stops: 20.15pt;
258
+ font-size: 14.0pt;
259
+ mso-bidi-font-size: 11.0pt;
260
+ font-family: {{headerfont}};
261
+ mso-fareast-font-family: "SimHei",serif;
262
+ mso-bidi-font-family: {{headerfont}};
263
+ mso-ansi-language: EN-GB;
264
+ font-weight: bold;
265
+ mso-bidi-font-weight: normal; }
266
+
267
+ p.IntroTitle, li.IntroTitle, div.IntroTitle {
268
+ mso-style-name: "Intro Title";
269
+ mso-style-noshow: yes;
270
+ mso-style-unhide: no;
271
+ mso-style-parent: "Foreword Title";
272
+ margin-top: 0cm;
273
+ margin-right: 0cm;
274
+ margin-bottom: 15.5pt;
275
+ margin-left: 0cm;
276
+ text-align: justify;
277
+ line-height: 15.5pt;
278
+ mso-pagination: widow-orphan;
279
+ page-break-after: avoid;
280
+ mso-outline-level: 1;
281
+ mso-hyphenate: none;
282
+ tab-stops: 20.15pt;
283
+ font-size: 14.0pt;
284
+ mso-bidi-font-size: 11.0pt;
285
+ font-family: {{headerfont}};
286
+ mso-fareast-font-family: "SimHei",serif;
287
+ mso-bidi-font-family: {{headerfont}};
288
+ mso-ansi-language: EN-GB;
289
+ font-weight: bold;
290
+ page-break-before: always;
291
+ mso-bidi-font-weight: normal; }
292
+
293
+ p.TitlePageSubhead, li.TitlePageSubhead, div.TitlePageSubhead {
294
+ mso-style-noshow: yes;
295
+ mso-style-unhide: no;
296
+ mso-style-parent: "Foreword Title";
297
+ margin-top: 0cm;
298
+ margin-right: 0cm;
299
+ margin-bottom: 15.5pt;
300
+ margin-left: 0cm;
301
+ text-align: center;
302
+ line-height: 15.5pt;
303
+ mso-pagination: widow-orphan;
304
+ page-break-after: avoid;
305
+ mso-hyphenate: none;
306
+ tab-stops: 20.15pt;
307
+ font-size: 14.0pt;
308
+ mso-bidi-font-size: 11.0pt;
309
+ font-family: {{headerfont}};
310
+ mso-fareast-font-family: "SimHei",serif;
311
+ mso-bidi-font-family: {{headerfont}};
312
+ mso-ansi-language: EN-GB;
313
+ font-weight: bold;
314
+ mso-bidi-font-weight: normal; }
315
+
316
+ p.Terms, li.Terms, div.Terms {
317
+ mso-style-name: "Term\(s\)";
318
+ mso-style-priority: 8;
319
+ mso-style-unhide: no;
320
+ mso-style-next: Definition;
321
+ margin: 0cm;
322
+ margin-bottom: .0001pt;
323
+ line-height: 12.0pt;
324
+ mso-pagination: widow-orphan;
325
+ page-break-after: avoid;
326
+ mso-hyphenate: none;
327
+ tab-stops: 20.15pt;
328
+ font-size: 11.0pt;
329
+ font-family: {{headerfont}};
330
+ mso-fareast-font-family: "SimHei",serif;
331
+ mso-bidi-font-family: {{headerfont}};
332
+ mso-ansi-language: EN-GB;
333
+ font-weight: bold;
334
+ mso-bidi-font-weight: normal; }
335
+
336
+ p.AltTerms, li.AltTerms, div.AltTerms {
337
+ mso-style-name: "AltTerm\(s\)";
338
+ mso-style-priority: 8;
339
+ mso-style-unhide: no;
340
+ mso-style-next: Definition;
341
+ margin: 0cm;
342
+ margin-bottom: .0001pt;
343
+ line-height: 12.0pt;
344
+ mso-pagination: widow-orphan;
345
+ page-break-after: avoid;
346
+ mso-hyphenate: none;
347
+ tab-stops: 20.15pt;
348
+ font-size: 11.0pt;
349
+ font-family: {{bodyfont}};
350
+ mso-fareast-font-family: "SimSun",serif;
351
+ mso-bidi-font-family: {{bodyfont}};
352
+ mso-ansi-language: EN-GB;
353
+ mso-bidi-font-weight: normal; }
354
+
355
+ p.DeprecatedTerms, li.DeprecatedTerms, div.DeprecatedTerms {
356
+ mso-style-name: "DeprecatedTerm\(s\)";
357
+ mso-style-priority: 8;
358
+ mso-style-unhide: no;
359
+ mso-style-next: Definition;
360
+ margin: 0cm;
361
+ margin-bottom: .0001pt;
362
+ line-height: 12.0pt;
363
+ mso-pagination: widow-orphan;
364
+ page-break-after: avoid;
365
+ mso-hyphenate: none;
366
+ tab-stops: 20.15pt;
367
+ font-size: 11.0pt;
368
+ font-family: {{bodyfont}};
369
+ mso-fareast-font-family: "SimSun",serif;
370
+ mso-bidi-font-family: {{bodyfont}};
371
+ mso-ansi-language: EN-GB;
372
+ mso-bidi-font-weight: normal; }
373
+
374
+ p.TermNum, li.TermNum, div.TermNum {
375
+ mso-style-name: TermNum;
376
+ mso-style-priority: 7;
377
+ mso-style-unhide: no;
378
+ mso-style-next: "Term\(s\)";
379
+ margin: 0cm;
380
+ margin-bottom: .0001pt;
381
+ line-height: 12.0pt;
382
+ mso-pagination: widow-orphan;
383
+ page-break-after: avoid;
384
+ tab-stops: 20.15pt;
385
+ font-size: 11.0pt;
386
+ font-family: {{headerfont}};
387
+ mso-fareast-font-family: "SimHei",serif;
388
+ mso-bidi-font-family: {{headerfont}};
389
+ mso-ansi-language: EN-GB;
390
+ font-weight: bold;
391
+ mso-bidi-font-weight: normal; }
392
+
393
+ p.zzContents, li.zzContents, div.zzContents {
394
+ mso-style-name: zzContents;
395
+ mso-style-noshow: yes;
396
+ mso-style-unhide: no;
397
+ mso-style-next: "TOC 1";
398
+ margin-top: 48.0pt;
399
+ margin-right: 0cm;
400
+ margin-bottom: 15.5pt;
401
+ margin-left: 0cm;
402
+ line-height: 15.5pt;
403
+ mso-line-height-rule: exactly;
404
+ page-break-before: always;
405
+ mso-pagination: widow-orphan;
406
+ page-break-after: avoid;
407
+ mso-hyphenate: none;
408
+ tab-stops: 20.15pt;
409
+ font-size: 14.0pt;
410
+ mso-bidi-font-size: 11.0pt;
411
+ font-family: {{headerfont}};
412
+ mso-fareast-font-family: "SimHei",serif;
413
+ mso-bidi-font-family: {{headerfont}};
414
+ mso-ansi-language: EN-GB;
415
+ font-weight: bold;
416
+ mso-bidi-font-weight: normal; }
417
+
418
+ p.zzCopyright, li.zzCopyright, div.zzCopyright {
419
+ mso-style-name: zzCopyright;
420
+ mso-style-noshow: yes;
421
+ mso-style-unhide: no;
422
+ mso-style-next: Normal;
423
+ margin-top: 0cm;
424
+ margin-bottom: 12.0pt;
425
+ text-align: justify;
426
+ line-height: 12.0pt;
427
+ mso-pagination: widow-orphan;
428
+ tab-stops: 20.15pt 25.7pt 481.15pt;
429
+ border: none;
430
+ padding: 0cm;
431
+ mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;
432
+ font-size: 10.0pt;
433
+ font-family: {{bodyfont}};
434
+ mso-fareast-font-family: "SimSun",serif;
435
+ mso-bidi-font-family: {{bodyfont}};
436
+ mso-ansi-language: EN-GB; }
437
+
438
+ p.zzCopyright1 {
439
+ mso-style-name: zzCopyright;
440
+ mso-style-noshow: yes;
441
+ mso-style-unhide: no;
442
+ mso-style-next: Normal;
443
+ margin-top: 0cm;
444
+ margin-bottom: 12.0pt;
445
+ text-align: justify;
446
+ line-height: 12.0pt;
447
+ mso-pagination: widow-orphan;
448
+ tab-stops: 20.15pt 25.7pt 481.15pt;
449
+ border: none;
450
+ padding: 0cm;
451
+ mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;
452
+ font-size: 10.0pt;
453
+ font-family: {{bodyfont}};
454
+ mso-fareast-font-family: "SimSun",serif;
455
+ mso-bidi-font-family: {{bodyfont}};
456
+ mso-ansi-language: EN-GB; }
457
+
458
+ p.zzAddress {
459
+ margin: 0cm;
460
+ margin-bottom: 12pt;
461
+ margin-left: 20.15pt;
462
+ mso-layout-grid-align: none;
463
+ text-autospace: none;
464
+ padding: 0cm;
465
+ mso-padding-alt: 0cm 4.0pt 0cm 4.0pt;
466
+ font-size: 10.0pt;
467
+ font-family: {{bodyfont}}; }
468
+
469
+ p.zzWarning {
470
+ border: none;
471
+ mso-border-alt: solid windowtext .5pt;
472
+ padding: 0cm;
473
+ mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;
474
+ font-size: 10.0pt;
475
+ mso-bidi-font-weight: bold;
476
+ font-family: {{bodyfont}}; }
477
+
478
+ p.zzWarningHdr {
479
+ margin-bottom: 6.0pt;
480
+ border: none;
481
+ mso-border-alt: solid windowtext .5pt;
482
+ padding: 0cm;
483
+ mso-padding-alt: 1.0pt 4.0pt 1.0pt 4.0pt;
484
+ font-size: 10.0pt;
485
+ mso-bidi-font-weight: bold;
486
+ font-family: {{bodyfont}};
487
+ text-align: center;
488
+ font-weight: bold; }
489
+
490
+ p.zzSTDTitle, li.zzSTDTitle, div.zzSTDTitle {
491
+ mso-style-name: zzSTDTitle;
492
+ mso-style-noshow: yes;
493
+ mso-style-unhide: no;
494
+ mso-style-next: Normal;
495
+ margin-top: 20.0pt;
496
+ margin-right: 0cm;
497
+ margin-bottom: 38.0pt;
498
+ margin-left: 0cm;
499
+ line-height: 17.5pt;
500
+ mso-line-height-rule: exactly;
501
+ mso-pagination: widow-orphan;
502
+ mso-hyphenate: none;
503
+ tab-stops: 20.15pt;
504
+ font-size: 16.0pt;
505
+ mso-bidi-font-size: 11.0pt;
506
+ font-family: {{headerfont}};
507
+ mso-fareast-font-family: "SimHei",serif;
508
+ mso-bidi-font-family: {{headerfont}};
509
+ mso-ansi-language: EN-GB;
510
+ font-weight: bold;
511
+ mso-bidi-font-weight: normal; }
512
+
513
+ p.zzSTDTitle1, li.zzSTDTitle1, div.zzSTDTitle1 {
514
+ mso-style-name: zzSTDTitle;
515
+ mso-style-noshow: yes;
516
+ mso-style-unhide: no;
517
+ mso-style-next: Normal;
518
+ margin-top: 0pt;
519
+ margin-right: 0cm;
520
+ margin-bottom: 18.0pt;
521
+ margin-left: 0cm;
522
+ line-height: 17.5pt;
523
+ mso-line-height-rule: exactly;
524
+ mso-pagination: widow-orphan;
525
+ mso-hyphenate: none;
526
+ tab-stops: 20.15pt;
527
+ font-size: 16.0pt;
528
+ mso-bidi-font-size: 11.0pt;
529
+ font-family: {{headerfont}};
530
+ mso-fareast-font-family: "SimHei",serif;
531
+ mso-bidi-font-family: {{headerfont}};
532
+ mso-ansi-language: EN-GB;
533
+ font-weight: bold;
534
+ mso-bidi-font-weight: normal; }
535
+
536
+ p.zzSTDTitle2, li.zzSTDTitle2, div.zzSTDTitle2 {
537
+ mso-style-name: zzSTDTitle;
538
+ mso-style-noshow: yes;
539
+ mso-style-unhide: no;
540
+ mso-style-next: Normal;
541
+ margin-top: 0pt;
542
+ margin-right: 0cm;
543
+ margin-bottom: 18.0pt;
544
+ margin-left: 0cm;
545
+ line-height: 17.5pt;
546
+ mso-line-height-rule: exactly;
547
+ mso-pagination: widow-orphan;
548
+ mso-hyphenate: none;
549
+ tab-stops: 20.15pt;
550
+ font-size: 16.0pt;
551
+ mso-bidi-font-size: 11.0pt;
552
+ font-family: {{headerfont}};
553
+ mso-fareast-font-family: "SimHei",serif;
554
+ mso-bidi-font-family: {{headerfont}};
555
+ mso-ansi-language: EN-GB;
556
+ mso-bidi-font-weight: normal; }
557
+
558
+ p.Quote, li.Quote, div.Quote {
559
+ mso-style-priority: 99;
560
+ margin-top: 0cm;
561
+ margin-right: 36.0pt;
562
+ margin-bottom: 0cm;
563
+ margin-left: 36.0pt;
564
+ text-align: justify;
565
+ line-height: 12.0pt;
566
+ mso-pagination: widow-orphan;
567
+ tab-stops: 20.15pt;
568
+ font-size: 11.0pt;
569
+ font-family: {{bodyfont}};
570
+ mso-fareast-font-family: "SimSun",serif;
571
+ mso-bidi-font-family: {{bodyfont}};
572
+ mso-ansi-language: EN-GB; }
573
+
574
+ p.QuoteAttribution {
575
+ text-align: right; }
576
+
577
+ p.Admonition, li.Admonition, div.Admonition {
578
+ mso-style-priority: 99;
579
+ mso-pagination: widow-orphan;
580
+ border: none;
581
+ padding: 0cm;
582
+ font-size: 12.0pt;
583
+ font-family: {{bodyfont}};
584
+ mso-ascii-font-family: {{bodyfont}};
585
+ mso-ascii-theme-font: minor-latin;
586
+ mso-fareast-font-family: "SimSun",serif;
587
+ mso-fareast-theme-font: minor-fareast;
588
+ mso-hansi-font-family: {{bodyfont}};
589
+ mso-hansi-theme-font: minor-latin;
590
+ mso-bidi-font-family: {{bodyfont}};
591
+ mso-bidi-theme-font: minor-bidi;
592
+ font-weight: bold;
593
+ mso-ansi-language: EN-AU; }
594
+
595
+ p.Code, li.Code, div.Code {
596
+ mso-style-name: Code;
597
+ mso-style-priority: 16;
598
+ mso-style-unhide: no;
599
+ mso-style-qformat: yes;
600
+ margin: 0cm;
601
+ margin-bottom: .0001pt;
602
+ line-height: 10.0pt;
603
+ mso-pagination: widow-orphan;
604
+ tab-stops: 20.15pt;
605
+ font-size: 9.0pt;
606
+ mso-bidi-font-size: 11.0pt;
607
+ font-family: {{monospacefont}};
608
+ mso-fareast-font-family: "SimSun",serif;
609
+ mso-bidi-font-family: "Cambria";
610
+ mso-ansi-language: EN-GB; }
611
+
612
+ p.Formula, li.Formula, div.Formula {
613
+ mso-style-name: Formula;
614
+ mso-style-noshow: yes;
615
+ mso-style-unhide: no;
616
+ margin-top: 0cm;
617
+ margin-right: 0cm;
618
+ margin-bottom: 11.0pt;
619
+ margin-left: 20.15pt;
620
+ line-height: 12.0pt;
621
+ mso-pagination: widow-orphan;
622
+ tab-stops: right 487.45pt;
623
+ font-size: 11.0pt;
624
+ font-family: {{bodyfont}};
625
+ mso-fareast-font-family: "SimSun",serif;
626
+ mso-bidi-font-family: {{bodyfont}};
627
+ mso-ansi-language: EN-GB; }
628
+
629
+ table.dl {
630
+ margin-top: 0cm;
631
+ margin-right: 0cm;
632
+ margin-bottom: 11.0pt;
633
+ margin-left: 0cm; }
634
+
635
+ div.figdl {
636
+ text-align: left; }
637
+
638
+ table.figdl {
639
+ mso-para-margin: 0cm;
640
+ mso-para-margin-bottom: .0001pt;
641
+ mso-pagination: widow-orphan;
642
+ align: left;
643
+ text-align: left;
644
+ margin-top: 0cm;
645
+ margin-right: 0cm;
646
+ margin-left: 0cm;
647
+ margin-right: 0cm; }
648
+
649
+ div.figdl p, table.figdl p {
650
+ font-size: 10.0pt; }
651
+
652
+ table.formula_dl {
653
+ margin-left: 20.15pt; }
654
+
655
+ table.MsoISOTable {
656
+ mso-style-name: "Table ISO";
657
+ mso-tstyle-rowband-size: 0;
658
+ mso-tstyle-colband-size: 0;
659
+ mso-style-noshow: yes;
660
+ mso-style-priority: 99;
661
+ mso-style-parent: "";
662
+ mso-padding-alt: 0cm 2.85pt 0cm 2.85pt;
663
+ mso-para-margin: 0cm;
664
+ mso-para-margin-bottom: .0001pt;
665
+ mso-pagination: widow-orphan;
666
+ border-collapse: collapse;
667
+ /*mso-table-layout-alt:fixed;*/
668
+ border: solid windowtext 2pt;
669
+ mso-border-alt: solid windowtext 2pt;
670
+ mso-yfti-tbllook: 480;
671
+ mso-border-insideh: .75pt solid windowtext;
672
+ mso-border-insidev: .75pt solid windowtext;
673
+ font-size: 10.0pt;
674
+ font-family: {{bodyfont}}; }
675
+
676
+ table.MsoISOTable th {
677
+ border: solid windowtext 1pt;
678
+ mso-border-alt: solid windowtext 1pt;
679
+ padding: 0cm 2.85pt 0cm 2.85pt; }
680
+
681
+ table.MsoISOTable td {
682
+ border: solid windowtext 1pt;
683
+ mso-border-alt: solid windowtext 1pt;
684
+ padding: 0cm 2.85pt 0cm 2.85pt; }
685
+
686
+ table.MsoISOTable p {
687
+ font-size: 10.0pt; }
688
+
689
+ table.MsoTableGrid {
690
+ mso-style-name: "Table Grid";
691
+ mso-tstyle-rowband-size: 0;
692
+ mso-tstyle-colband-size: 0;
693
+ mso-style-priority: 39;
694
+ mso-style-unhide: no;
695
+ border: solid windowtext 1.0pt;
696
+ mso-border-alt: solid windowtext .5pt;
697
+ mso-padding-alt: 0cm 5.4pt 0cm 5.4pt;
698
+ mso-border-insideh: .5pt solid windowtext;
699
+ mso-border-insidev: .5pt solid windowtext;
700
+ mso-para-margin: 0cm;
701
+ mso-para-margin-bottom: .0001pt;
702
+ mso-pagination: widow-orphan;
703
+ font-size: 10.0pt;
704
+ font-family: {{bodyfont}}; }
705
+
706
+ div.formula {
707
+ tab-stops: right 487.45pt; }
708
+
709
+ body {
710
+ tab-interval: 36.0pt; }
711
+
712
+ .coverpage_docnumber {
713
+ text-align: right;
714
+ font-size: 14.0pt;
715
+ font-weight: bold; }
716
+
717
+ .coverpage_techcommittee {
718
+ text-align: right; }
719
+
720
+ .coverpage_docstage {
721
+ text-align: center;
722
+ font-size: 30.0pt;
723
+ color: #485094; }
724
+
725
+ div.doctitle {
726
+ margin-top: 100.0pt;
727
+ text-align: left;
728
+ font-size: 16.0pt; }
729
+
730
+ div.coverpage_warning {
731
+ mso-element: para-border-div;
732
+ border: solid windowtext 1.0pt #485094;
733
+ mso-border-alt: solid windowtext .5pt;
734
+ padding: 1.0pt 4.0pt 1.0pt 4.0pt #485094;
735
+ margin-left: 4.25pt;
736
+ margin-right: 4.25pt; }
737
+
738
+ .coverpage_warning {
739
+ color: #485094;
740
+ font-size: 10.0pt; }
741
+
742
+ .coverpage {
743
+ text-align: center;
744
+ margin: 2em 0; }
745
+
746
+ .coverpage-logo {
747
+ color: #485094; }
748
+
749
+ .coverpage-tc-name {
750
+ color: #485094;
751
+ font-size: 1.2em;
752
+ line-height: 1.2em;
753
+ margin: 0.25em 0; }
754
+
755
+ .coverpage-doc-identity {
756
+ background-color: #485094;
757
+ color: white;
758
+ font-size: 2em;
759
+ line-height: 2em;
760
+ margin: 0.5em 0; }
761
+
762
+ .coverpage-title {
763
+ font-weight: 400; }
764
+
765
+ .coverpage-title .title-second {
766
+ display: none; }
767
+
768
+ .coverpage-stage-block {
769
+ font-style: italic;
770
+ font-size: 1.25em;
771
+ font-weight: 600; }
772
+
773
+ .coverpage-warning {
774
+ border-top: solid 1px #f36f36;
775
+ border-bottom: solid 1px #f36f36;
776
+ margin: 1em 2em;
777
+ color: #485094;
778
+ padding: 1em; }
779
+
780
+ .coverpage-warning .title {
781
+ color: #f36f36;
782
+ font-weight: 500; }
783
+
784
+ .coverpage-warning .content {
785
+ font-style: italic; }
786
+
787
+ .boilerplate-copyright {
788
+ padding: 1em; }
789
+
790
+ .boilerplate-copyright .boilerplate-name {
791
+ color: #485094;
792
+ font-weight: 600; }
793
+
794
+ .boilerplate-copyright .boilerplate-address {
795
+ color: #485094; }
796
+
797
+ div.rule {
798
+ width: 100%;
799
+ height: 1px;
800
+ background-color: #485094;
801
+ margin: 2em 0; }
802
+
803
+ #toc-list ul {
804
+ margin-bottom: 0.25em; }
805
+
806
+ #toc-list li {
807
+ list-style-type: none; }
808
+
809
+ .MsoTocTextSpan {
810
+ color: windowtext;
811
+ display: none;
812
+ mso-hide: screen;
813
+ mso-ansi-language: EN-GB;
814
+ text-decoration: none;
815
+ text-underline: none; }
816
+
817
+ a.TableFootnoteRef, span.TableFootnoteRef {
818
+ mso-style-priority: 99;
819
+ mso-style-parent: "Footnote Reference";
820
+ vertical-align: super; }
821
+
822
+ aside {
823
+ font-size: 10.0pt; }
824
+
825
+ /*
826
+ div.example {
827
+ border:solid black .25pt;
828
+ mso-border-alt:solid black .25pt;
829
+ padding:10pt;
830
+ mso-padding-alt:10.0pt 10.0pt 10.0pt 10.0pt;
831
+ margin:10pt;
832
+ mso-margin-alt:10.0pt 10.0pt 10.0pt 10.0pt;
833
+ }
834
+ */
835
+ /*
836
+ div.example {
837
+ margin-left:70.9pt;
838
+ text-indent:-70.9pt;
839
+ }
840
+ */
841
+ p.example, li.example, div.example, td.example {
842
+ mso-pagination: none;
843
+ tab-stops: 70.9pt;
844
+ font-size: 10.0pt;
845
+ font-family: {{bodyfont}}; }
846
+
847
+ div.example, td.example {
848
+ margin: 0in;
849
+ margin-bottom: 12.0pt; }
850
+
851
+ td.example p.MsoListParagraph {
852
+ font-size: 10.0pt; }
853
+
854
+ div.example p.MsoListParagraph {
855
+ font-size: 10.0pt; }
856
+
857
+ div.Note p.MsoListParagraph {
858
+ font-size: 10.0pt; }
859
+
860
+ span.note_label, span.example_label, td.example_label, td.note_label {
861
+ font-size: 10.0pt;
862
+ font-family: {{bodyfont}}; }