asciidoctor-iso 0.7.5 → 0.7.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.
@@ -867,7 +867,7 @@
867
867
  </define>
868
868
  <define name="termdocsource">
869
869
  <element name="termdocsource">
870
- <ref name="erefType"/>
870
+ <ref name="CitationType"/>
871
871
  </element>
872
872
  </define>
873
873
  <define name="ics">
@@ -139,7 +139,7 @@ module Asciidoctor
139
139
  xml.terms **attr_code(attrs) do |section|
140
140
  section.title { |t| t << term_def_title(toplevel, node) }
141
141
  (s = node.attr("source")) && s.split(/,/).each do |s1|
142
- section.termdocsource(nil, **attr_code(target: s1, type: "inline"))
142
+ section.termdocsource(nil, **attr_code(bibitemid: s1, type: "inline"))
143
143
  end
144
144
  section << node.content
145
145
  end
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module ISO
3
- VERSION = "0.7.5".freeze
3
+ VERSION = "0.7.6".freeze
4
4
  end
5
5
  end
@@ -6,9 +6,11 @@ RSpec.describe Asciidoctor::ISO do
6
6
  end
7
7
 
8
8
  it "generates output for the Rice document" do
9
- system "cd spec/examples; rm -f rice.doc; rm -f rice.html; asciidoctor --trace -b iso -r 'asciidoctor-iso' rice.adoc; cd ../.."
9
+ system "cd spec/examples; rm -f rice.xml; rm -f rice.doc; rm -f rice.html; rm -f rice_alt.html; asciidoctor --trace -b iso -r 'asciidoctor-iso' rice.adoc; cd ../.."
10
+ expect(File.exist?("spec/examples/rice.xml")).to be true
10
11
  expect(File.exist?("spec/examples/rice.doc")).to be true
11
12
  expect(File.exist?("spec/examples/rice.html")).to be true
13
+ expect(File.exist?("spec/examples/rice_alt.html")).to be true
12
14
  end
13
15
 
14
16
  it "processes a blank document" do
@@ -225,6 +227,18 @@ RSpec.describe Asciidoctor::ISO do
225
227
  OUTPUT
226
228
  end
227
229
 
230
+ it "reads scripts into blank HTML document" do
231
+ system "rm -f test.html"
232
+ Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
233
+ = Document title
234
+ Author
235
+ :docfile: test.adoc
236
+ :novalid:
237
+ INPUT
238
+ html = File.read("test.html", encoding: "utf-8")
239
+ expect(html).to match(%r{<script>})
240
+ end
241
+
228
242
  it "uses default fonts" do
229
243
  system "rm -f test.html"
230
244
  Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
@@ -233,12 +247,26 @@ RSpec.describe Asciidoctor::ISO do
233
247
  :docfile: test.adoc
234
248
  :novalid:
235
249
  INPUT
236
- html = File.read("test.html")
237
- expect(html).to match(%r[p\.Sourcecode[^{]+\{[^{]+font-family: "Courier New", monospace;]m)
238
- expect(html).to match(%r[p\.Biblio[^{]+\{[^{]+font-family: "Cambria", serif;]m)
250
+ html = File.read("test.html", encoding: "utf-8")
251
+ expect(html).to match(%r[\.Sourcecode[^{]+\{[^{]+font-family: "Courier New", monospace;]m)
252
+ expect(html).to match(%r[blockquote[^{]+\{[^{]+font-family: "Cambria", serif;]m)
239
253
  expect(html).to match(%r[\.h2Annex[^{]+\{[^{]+font-family: "Cambria", serif;]m)
240
254
  end
241
255
 
256
+ it "uses default fonts for alt doc" do
257
+ system "rm -f test_alt.html"
258
+ Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
259
+ = Document title
260
+ Author
261
+ :docfile: test.adoc
262
+ :novalid:
263
+ INPUT
264
+ html = File.read("test_alt.html", encoding: "utf-8")
265
+ expect(html).to match(%r[\.Sourcecode[^{]+\{[^{]+font-family: "Space Mono", monospace;]m)
266
+ expect(html).to match(%r[blockquote[^{]+\{[^{]+font-family: "Lato", sans-serif;]m)
267
+ expect(html).to match(%r[\.h2Annex[^{]+\{[^{]+font-family: "Lato", sans-serif;]m)
268
+ end
269
+
242
270
  it "uses Chinese fonts" do
243
271
  system "rm -f test.html"
244
272
  Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true)
@@ -248,9 +276,9 @@ RSpec.describe Asciidoctor::ISO do
248
276
  :novalid:
249
277
  :script: Hans
250
278
  INPUT
251
- html = File.read("test.html")
252
- expect(html).to match(%r[p\.Sourcecode[^{]+\{[^{]+font-family: "Courier New", monospace;]m)
253
- expect(html).to match(%r[p\.Biblio[^{]+\{[^{]+font-family: "SimSun", serif;]m)
279
+ html = File.read("test.html", encoding: "utf-8")
280
+ expect(html).to match(%r[\.Sourcecode[^{]+\{[^{]+font-family: "Courier New", monospace;]m)
281
+ expect(html).to match(%r[blockquote[^{]+\{[^{]+font-family: "SimSun", serif;]m)
254
282
  expect(html).to match(%r[\.h2Annex[^{]+\{[^{]+font-family: "SimHei", sans-serif;]m)
255
283
  end
256
284
 
@@ -266,9 +294,9 @@ RSpec.describe Asciidoctor::ISO do
266
294
  :header-font: Comic Sans
267
295
  :monospace-font: Andale Mono
268
296
  INPUT
269
- html = File.read("test.html")
270
- expect(html).to match(%r[p\.Sourcecode[^{]+\{[^{]+font-family: Andale Mono;]m)
271
- expect(html).to match(%r[p\.Biblio[^{]+\{[^{]+font-family: Zapf Chancery;]m)
297
+ html = File.read("test.html", encoding: "utf-8")
298
+ expect(html).to match(%r[\.Sourcecode[^{]+\{[^{]+font-family: Andale Mono;]m)
299
+ expect(html).to match(%r[blockquote[^{]+\{[^{]+font-family: Zapf Chancery;]m)
272
300
  expect(html).to match(%r[\.h2Annex[^{]+\{[^{]+font-family: Comic Sans;]m)
273
301
  end
274
302
 
@@ -142,14 +142,30 @@ RSpec.describe Asciidoctor::ISO do
142
142
  </iso-standard>
143
143
 
144
144
  OUTPUT
145
- end
145
+ end
146
146
 
147
- it "processes simple admonitions with Asciidoc names" do
147
+ it "does nothing in particular with literals" do
148
148
  expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
149
- #{ASCIIDOC_BLANK_HDR}
150
- CAUTION: Only use paddy or parboiled rice for the determination of husked rice yield.
149
+ #{ASCIIDOC_BLANK_HDR}
150
+ ....
151
+ LITERAL
152
+ ....
151
153
  INPUT
152
- #{BLANK_HDR}
154
+ #{BLANK_HDR}
155
+ <sections>
156
+ <p id="_">LITERAL</p>
157
+ </sections>
158
+ </iso-standard>
159
+
160
+ OUTPUT
161
+ end
162
+
163
+ it "processes simple admonitions with Asciidoc names" do
164
+ expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
165
+ #{ASCIIDOC_BLANK_HDR}
166
+ CAUTION: Only use paddy or parboiled rice for the determination of husked rice yield.
167
+ INPUT
168
+ #{BLANK_HDR}
153
169
  <sections>
154
170
  <admonition id="_" type="caution">
155
171
  <p id="_">Only use paddy or parboiled rice for the determination of husked rice yield.</p>
@@ -158,11 +174,11 @@ RSpec.describe Asciidoctor::ISO do
158
174
  </iso-standard>
159
175
 
160
176
  OUTPUT
161
- end
177
+ end
162
178
 
163
179
 
164
- it "processes complex admonitions with non-Asciidoc names" do
165
- expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
180
+ it "processes complex admonitions with non-Asciidoc names" do
181
+ expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
166
182
  #{ASCIIDOC_BLANK_HDR}
167
183
  [CAUTION,type=Safety Precautions]
168
184
  .Safety Precautions
@@ -192,10 +208,10 @@ RSpec.describe Asciidoctor::ISO do
192
208
  </iso-standard>
193
209
 
194
210
  OUTPUT
195
- end
211
+ end
196
212
 
197
- it "processes term examples" do
198
- expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
213
+ it "processes term examples" do
214
+ expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
199
215
  #{ASCIIDOC_BLANK_HDR}
200
216
  == Terms and Definitions
201
217
 
@@ -204,7 +220,7 @@ RSpec.describe Asciidoctor::ISO do
204
220
  [example]
205
221
  This is an example
206
222
  INPUT
207
- #{BLANK_HDR}
223
+ #{BLANK_HDR}
208
224
  <sections>
209
225
  <terms id="_" obligation="normative">
210
226
  <title>Terms and Definitions</title>
@@ -219,7 +235,7 @@ RSpec.describe Asciidoctor::ISO do
219
235
  </iso-standard>
220
236
 
221
237
  OUTPUT
222
- end
238
+ end
223
239
 
224
240
  it "processes examples" do
225
241
  expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
@@ -231,14 +247,14 @@ RSpec.describe Asciidoctor::ISO do
231
247
  Amen
232
248
  ====
233
249
  INPUT
234
- #{BLANK_HDR}
250
+ #{BLANK_HDR}
235
251
  <sections>
236
252
  <example id="_"><p id="_">This is an example</p>
237
253
  <p id="_">Amen</p></example>
238
254
  </sections>
239
255
  </iso-standard>
240
256
  OUTPUT
241
- end
257
+ end
242
258
 
243
259
  it "processes preambles" do
244
260
  expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
@@ -247,7 +263,7 @@ RSpec.describe Asciidoctor::ISO do
247
263
 
248
264
  == Section 1
249
265
  INPUT
250
- #{BLANK_HDR}
266
+ #{BLANK_HDR}
251
267
  <preface><foreword obligation="informative">
252
268
  <title>Foreword</title>
253
269
  <p id="_">This is a preamble</p>
@@ -264,9 +280,9 @@ RSpec.describe Asciidoctor::ISO do
264
280
  #{ASCIIDOC_BLANK_HDR}
265
281
  .Split-it-right sample divider
266
282
  image::spec/examples/rice_images/rice_image1.png[]
267
-
283
+
268
284
  INPUT
269
- #{BLANK_HDR}
285
+ #{BLANK_HDR}
270
286
  <sections>
271
287
  <figure id="_">
272
288
  <name>Split-it-right sample divider</name>
@@ -277,14 +293,14 @@ RSpec.describe Asciidoctor::ISO do
277
293
  OUTPUT
278
294
  end
279
295
 
280
- it "accepts width and height attributes on images" do
296
+ it "accepts width and height attributes on images" do
281
297
  expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
282
298
  #{ASCIIDOC_BLANK_HDR}
283
299
  [height=4,width=3]
284
300
  image::spec/examples/rice_images/rice_image1.png[]
285
301
 
286
302
  INPUT
287
- #{BLANK_HDR}
303
+ #{BLANK_HDR}
288
304
  <sections>
289
305
  <figure id="_">
290
306
  <image src="spec/examples/rice_images/rice_image1.png" id="_" imagetype="PNG" height="4" width="3"/>
@@ -294,13 +310,13 @@ RSpec.describe Asciidoctor::ISO do
294
310
  OUTPUT
295
311
  end
296
312
 
297
- it "accepts alignment attribute on paragraphs" do
313
+ it "accepts alignment attribute on paragraphs" do
298
314
  expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
299
315
  #{ASCIIDOC_BLANK_HDR}
300
316
  [align=right]
301
317
  This para is right-aligned.
302
318
  INPUT
303
- #{BLANK_HDR}
319
+ #{BLANK_HDR}
304
320
  <sections>
305
321
  <p align="right" id="_">This para is right-aligned.</p>
306
322
  </sections>
@@ -316,7 +332,7 @@ RSpec.describe Asciidoctor::ISO do
316
332
  Block quotation
317
333
  ____
318
334
  INPUT
319
- #{BLANK_HDR}
335
+ #{BLANK_HDR}
320
336
  <sections>
321
337
  <quote id="_">
322
338
  <source type="inline" bibitemid="ISO7301" citeas=""><locality type="section"><referenceFrom>1</referenceFrom></locality></source>
@@ -339,7 +355,7 @@ RSpec.describe Asciidoctor::ISO do
339
355
  end
340
356
  --
341
357
  INPUT
342
- #{BLANK_HDR}
358
+ #{BLANK_HDR}
343
359
  <sections>
344
360
  <sourcecode id="_">puts "Hello, world."
345
361
  %w{a b c}.each do |x|
@@ -363,7 +379,7 @@ RSpec.describe Asciidoctor::ISO do
363
379
  <1> This is one callout
364
380
  <2> This is another callout
365
381
  INPUT
366
- #{BLANK_HDR}
382
+ #{BLANK_HDR}
367
383
  <sections><sourcecode id="_">puts "Hello, world." <callout target="_">1</callout>
368
384
  %w{a b c}.each do |x|
369
385
  puts x <callout target="_">2</callout>
@@ -377,8 +393,8 @@ RSpec.describe Asciidoctor::ISO do
377
393
  OUTPUT
378
394
  end
379
395
 
380
- it "processes unmodified term sources" do
381
- expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
396
+ it "processes unmodified term sources" do
397
+ expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
382
398
  #{ASCIIDOC_BLANK_HDR}
383
399
  == Terms and Definitions
384
400
 
@@ -387,7 +403,7 @@ RSpec.describe Asciidoctor::ISO do
387
403
  [.source]
388
404
  <<ISO2191,section 1>>
389
405
  INPUT
390
- #{BLANK_HDR}
406
+ #{BLANK_HDR}
391
407
  <sections>
392
408
  <terms id="_" obligation="normative">
393
409
  <title>Terms and Definitions</title>
@@ -401,10 +417,10 @@ RSpec.describe Asciidoctor::ISO do
401
417
  </sections>
402
418
  </iso-standard>
403
419
  OUTPUT
404
- end
420
+ end
405
421
 
406
- it "processes modified term sources" do
407
- expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
422
+ it "processes modified term sources" do
423
+ expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :iso, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
408
424
  #{ASCIIDOC_BLANK_HDR}
409
425
  == Terms and Definitions
410
426
 
@@ -413,7 +429,7 @@ RSpec.describe Asciidoctor::ISO do
413
429
  [.source]
414
430
  <<ISO2191,section 1>>, with adjustments
415
431
  INPUT
416
- #{BLANK_HDR}
432
+ #{BLANK_HDR}
417
433
  <sections>
418
434
  <terms id="_" obligation="normative">
419
435
  <title>Terms and Definitions</title>
@@ -429,8 +445,8 @@ RSpec.describe Asciidoctor::ISO do
429
445
  </terms>
430
446
  </sections>
431
447
  </iso-standard>
432
- OUTPUT
433
- end
448
+ OUTPUT
449
+ end
434
450
 
435
451
 
436
452
  end
@@ -316,7 +316,7 @@ RSpec.describe Asciidoctor::ISO do
316
316
 
317
317
  INPUT
318
318
  #{BLANK_HDR}
319
- <termdocsource target="iso1234" type="inline"/><termdocsource target="iso5678" type="inline"/>
319
+ <termdocsource bibitemid="iso1234" type="inline"/><termdocsource bibitemid="iso5678" type="inline"/>
320
320
  <preface><foreword obligation="informative">
321
321
  <title>Foreword</title>
322
322
  <p id="_">Foreword</p>
@@ -32,7 +32,6 @@
32
32
  :section-refsig: Clause
33
33
  :table-caption: Table
34
34
  :example-caption: Figure
35
- :ii18nyaml: english.yaml
36
35
 
37
36
  [[foreword]]
38
37
  .Foreword
@@ -4,17 +4,16 @@
4
4
  <meta charset="UTF-8">
5
5
  <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <meta name="generator" content="Asciidoctor 1.5.6.2">
7
+ <meta name="generator" content="Asciidoctor 1.5.7.1">
8
8
  <title>Rice model</title>
9
9
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
10
10
  <style>
11
11
  /* Asciidoctor default stylesheet | MIT License | http://asciidoctor.org */
12
- /* Remove comment around @import statement below when using as a custom stylesheet */
12
+ /* Uncomment @import statement below to use as custom stylesheet */
13
13
  /*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";*/
14
14
  article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}
15
15
  audio,canvas,video{display:inline-block}
16
16
  audio:not([controls]){display:none;height:0}
17
- [hidden],template{display:none}
18
17
  script{display:none!important}
19
18
  html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
20
19
  a{background:transparent}
@@ -44,12 +43,10 @@ button,select{text-transform:none}
44
43
  button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}
45
44
  button[disabled],html input[disabled]{cursor:default}
46
45
  input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}
47
- input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
48
- input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
49
46
  button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
50
47
  textarea{overflow:auto;vertical-align:top}
51
48
  table{border-collapse:collapse;border-spacing:0}
52
- *,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
49
+ *,*::before,*::after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
53
50
  html,body{font-size:100%}
54
51
  body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
55
52
  a:hover{cursor:pointer}
@@ -67,8 +64,7 @@ img,object,svg{display:inline-block;vertical-align:middle}
67
64
  textarea{height:auto;min-height:50px}
68
65
  select{width:100%}
69
66
  .center{margin-left:auto;margin-right:auto}
70
- .spread{width:100%}
71
- p.lead,.paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{font-size:1.21875em;line-height:1.6}
67
+ .stretch{width:100%}
72
68
  .subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
73
69
  div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0;direction:ltr}
74
70
  a{color:#2156a5;text-decoration:underline;line-height:inherit}
@@ -102,24 +98,24 @@ abbr,acronym{text-transform:uppercase;font-size:90%;color:rgba(0,0,0,.8);border-
102
98
  abbr{text-transform:none}
103
99
  blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
104
100
  blockquote cite{display:block;font-size:.9375em;color:rgba(0,0,0,.6)}
105
- blockquote cite:before{content:"\2014 \0020"}
101
+ blockquote cite::before{content:"\2014 \0020"}
106
102
  blockquote cite a,blockquote cite a:visited{color:rgba(0,0,0,.6)}
107
103
  blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
108
- @media only screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
104
+ @media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
109
105
  h1{font-size:2.75em}
110
106
  h2{font-size:2.3125em}
111
107
  h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
112
108
  h4{font-size:1.4375em}}
113
109
  table{background:#fff;margin-bottom:1.25em;border:solid 1px #dedede}
114
- table thead,table tfoot{background:#f7f8f7;font-weight:bold}
110
+ table thead,table tfoot{background:#f7f8f7}
115
111
  table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
116
112
  table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
117
113
  table tr.even,table tr.alt,table tr:nth-of-type(even){background:#f8f8f7}
118
114
  table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}
119
115
  h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
120
116
  h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
121
- .clearfix:before,.clearfix:after,.float-group:before,.float-group:after{content:" ";display:table}
122
- .clearfix:after,.float-group:after{clear:both}
117
+ .clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
118
+ .clearfix::after,.float-group::after{clear:both}
123
119
  *:not(pre)>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background-color:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed;word-wrap:break-word}
124
120
  *:not(pre)>code.nobreak{word-wrap:normal}
125
121
  *:not(pre)>code.nowrap{white-space:nowrap}
@@ -135,15 +131,15 @@ kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-bl
135
131
  .menuseq{word-spacing:-.02em}
136
132
  .menuseq b.caret{font-size:1.25em;line-height:.8}
137
133
  .menuseq i.caret{font-weight:bold;text-align:center;width:.45em}
138
- b.button:before,b.button:after{position:relative;top:-1px;font-weight:400}
139
- b.button:before{content:"[";padding:0 3px 0 2px}
140
- b.button:after{content:"]";padding:0 2px 0 3px}
134
+ b.button::before,b.button::after{position:relative;top:-1px;font-weight:400}
135
+ b.button::before{content:"[";padding:0 3px 0 2px}
136
+ b.button::after{content:"]";padding:0 2px 0 3px}
141
137
  p a>code:hover{color:rgba(0,0,0,.9)}
142
138
  #header,#content,#footnotes,#footer{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em}
143
- #header:before,#header:after,#content:before,#content:after,#footnotes:before,#footnotes:after,#footer:before,#footer:after{content:" ";display:table}
144
- #header:after,#content:after,#footnotes:after,#footer:after{clear:both}
139
+ #header::before,#header::after,#content::before,#content::after,#footnotes::before,#footnotes::after,#footer::before,#footer::after{content:" ";display:table}
140
+ #header::after,#content::after,#footnotes::after,#footer::after{clear:both}
145
141
  #content{margin-top:1.25em}
146
- #content:before{content:none}
142
+ #content::before{content:none}
147
143
  #header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
148
144
  #header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #ddddd8}
149
145
  #header>h1:only-child,body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #ddddd8;padding-bottom:8px}
@@ -151,11 +147,11 @@ p a>code:hover{color:rgba(0,0,0,.9)}
151
147
  #header .details span:first-child{margin-left:-.125em}
152
148
  #header .details span.email a{color:rgba(0,0,0,.85)}
153
149
  #header .details br{display:none}
154
- #header .details br+span:before{content:"\00a0\2013\00a0"}
155
- #header .details br+span.author:before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)}
156
- #header .details br+span#revremark:before{content:"\00a0|\00a0"}
150
+ #header .details br+span::before{content:"\00a0\2013\00a0"}
151
+ #header .details br+span.author::before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)}
152
+ #header .details br+span#revremark::before{content:"\00a0|\00a0"}
157
153
  #header #revnumber{text-transform:capitalize}
158
- #header #revnumber:after{content:"\00a0"}
154
+ #header #revnumber::after{content:"\00a0"}
159
155
  #content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #ddddd8;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
160
156
  #toc{border-bottom:1px solid #efefed;padding-bottom:.5em}
161
157
  #toc>ul{margin-left:.125em}
@@ -166,7 +162,7 @@ p a>code:hover{color:rgba(0,0,0,.9)}
166
162
  #toc a{text-decoration:none}
167
163
  #toc a:active{text-decoration:underline}
168
164
  #toctitle{color:#7a2518;font-size:1.2em}
169
- @media only screen and (min-width:768px){#toctitle{font-size:1.375em}
165
+ @media screen and (min-width:768px){#toctitle{font-size:1.375em}
170
166
  body.toc2{padding-left:15em;padding-right:0}
171
167
  #toc.toc2{margin-top:0!important;background-color:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #efefed;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
172
168
  #toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
@@ -175,7 +171,7 @@ body.toc2{padding-left:15em;padding-right:0}
175
171
  #toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
176
172
  body.toc2.toc-right{padding-left:0;padding-right:15em}
177
173
  body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #efefed;left:auto;right:0}}
178
- @media only screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
174
+ @media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
179
175
  #toc.toc2{width:20em}
180
176
  #toc.toc2 #toctitle{font-size:1.375em}
181
177
  #toc.toc2>ul{font-size:.95em}
@@ -186,22 +182,25 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
186
182
  #content #toc>:last-child{margin-bottom:0}
187
183
  #footer{max-width:100%;background-color:rgba(0,0,0,.8);padding:1.25em}
188
184
  #footer-text{color:rgba(255,255,255,.8);line-height:1.44}
185
+ #content{margin-bottom:.625em}
189
186
  .sect1{padding-bottom:.625em}
190
- @media only screen and (min-width:768px){.sect1{padding-bottom:1.25em}}
187
+ @media screen and (min-width:768px){#content{margin-bottom:1.25em}
188
+ .sect1{padding-bottom:1.25em}}
189
+ .sect1:last-child{padding-bottom:0}
191
190
  .sect1+.sect1{border-top:1px solid #efefed}
192
191
  #content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
193
- #content h1>a.anchor:before,h2>a.anchor:before,h3>a.anchor:before,#toctitle>a.anchor:before,.sidebarblock>.content>.title>a.anchor:before,h4>a.anchor:before,h5>a.anchor:before,h6>a.anchor:before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
192
+ #content h1>a.anchor::before,h2>a.anchor::before,h3>a.anchor::before,#toctitle>a.anchor::before,.sidebarblock>.content>.title>a.anchor::before,h4>a.anchor::before,h5>a.anchor::before,h6>a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
194
193
  #content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
195
194
  #content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none}
196
195
  #content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
197
196
  .audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
198
197
  .admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
199
- table.tableblock>caption.title{white-space:nowrap;overflow:visible;max-width:0}
200
- .paragraph.lead>p,#preamble>.sectionbody>.paragraph:first-of-type p{color:rgba(0,0,0,.85)}
201
- table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inherit}
198
+ table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
199
+ .paragraph.lead>p,#preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:1.21875em;line-height:1.6;color:rgba(0,0,0,.85)}
200
+ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font-size:inherit}
202
201
  .admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
203
202
  .admonitionblock>table td.icon{text-align:center;width:80px}
204
- .admonitionblock>table td.icon img{max-width:initial}
203
+ .admonitionblock>table td.icon img{max-width:none}
205
204
  .admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
206
205
  .admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)}
207
206
  .admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
@@ -217,17 +216,17 @@ table.tableblock #preamble>.sectionbody>.paragraph:first-of-type p{font-size:inh
217
216
  .sidebarblock .literalblock pre,.sidebarblock .listingblock pre:not(.highlight),.sidebarblock .listingblock pre[class="highlight"],.sidebarblock .listingblock pre[class^="highlight "],.sidebarblock .listingblock pre.CodeRay,.sidebarblock .listingblock pre.prettyprint{background:#f2f1f1}
218
217
  .literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{-webkit-border-radius:4px;border-radius:4px;word-wrap:break-word;padding:1em;font-size:.8125em}
219
218
  .literalblock pre.nowrap,.literalblock pre[class].nowrap,.listingblock pre.nowrap,.listingblock pre[class].nowrap{overflow-x:auto;white-space:pre;word-wrap:normal}
220
- @media only screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}
221
- @media only screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}
219
+ @media screen and (min-width:768px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:.90625em}}
220
+ @media screen and (min-width:1280px){.literalblock pre,.literalblock pre[class],.listingblock pre,.listingblock pre[class]{font-size:1em}}
222
221
  .literalblock.output pre{color:#f7f7f8;background-color:rgba(0,0,0,.9)}
223
222
  .listingblock pre.highlightjs{padding:0}
224
223
  .listingblock pre.highlightjs>code{padding:1em;-webkit-border-radius:4px;border-radius:4px}
225
224
  .listingblock pre.prettyprint{border-width:0}
226
225
  .listingblock>.content{position:relative}
227
- .listingblock code[data-lang]:before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:#999}
228
- .listingblock:hover code[data-lang]:before{display:block}
229
- .listingblock.terminal pre .command:before{content:attr(data-prompt);padding-right:.5em;color:#999}
230
- .listingblock.terminal pre .command:not([data-prompt]):before{content:"$"}
226
+ .listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:#999}
227
+ .listingblock:hover code[data-lang]::before{display:block}
228
+ .listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color:#999}
229
+ .listingblock.terminal pre .command:not([data-prompt])::before{content:"$"}
231
230
  table.pyhltable{border-collapse:separate;border:0;margin-bottom:0;background:none}
232
231
  table.pyhltable td{vertical-align:top;padding-top:0;padding-bottom:0;line-height:1.45}
233
232
  table.pyhltable td.code{padding-left:.75em;padding-right:0}
@@ -238,35 +237,39 @@ table.pyhltable .linenodiv{background:none!important;padding-right:0!important}
238
237
  .quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
239
238
  .quoteblock blockquote,.quoteblock blockquote p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
240
239
  .quoteblock blockquote{margin:0;padding:0;border:0}
241
- .quoteblock blockquote:before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
240
+ .quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
242
241
  .quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
243
242
  .quoteblock .attribution{margin-top:.5em;margin-right:.5ex;text-align:right}
244
243
  .quoteblock .quoteblock{margin-left:0;margin-right:0;padding:.5em 0;border-left:3px solid rgba(0,0,0,.6)}
245
244
  .quoteblock .quoteblock blockquote{padding:0 0 0 .75em}
246
- .quoteblock .quoteblock blockquote:before{display:none}
247
- .verseblock{margin:0 1em 1.25em 1em}
245
+ .quoteblock .quoteblock blockquote::before{display:none}
246
+ .verseblock{margin:0 1em 1.25em}
248
247
  .verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
249
248
  .verseblock pre strong{font-weight:400}
250
249
  .verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
251
250
  .quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
252
251
  .quoteblock .attribution br,.verseblock .attribution br{display:none}
253
252
  .quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)}
254
- .quoteblock.abstract{margin:0 0 1.25em 0;display:block}
255
- .quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{text-align:left;word-spacing:0}
256
- .quoteblock.abstract blockquote:before,.quoteblock.abstract blockquote p:first-of-type:before{display:none}
253
+ .quoteblock.abstract{margin:0 1em 1.25em;display:block}
254
+ .quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
255
+ .quoteblock.abstract blockquote,.quoteblock.abstract blockquote p{word-spacing:0;line-height:1.6}
256
+ .quoteblock.abstract blockquote::before,.quoteblock.abstract p::before{display:none}
257
257
  table.tableblock{max-width:100%;border-collapse:separate}
258
- table.tableblock td>.paragraph:last-child p>p:last-child,table.tableblock th>p:last-child,table.tableblock td>p:last-child{margin-bottom:0}
258
+ p.tableblock:last-child{margin-bottom:0}
259
+ td.tableblock>.content{margin-bottom:-1.25em}
259
260
  table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
260
261
  table.grid-all>thead>tr>.tableblock,table.grid-all>tbody>tr>.tableblock{border-width:0 1px 1px 0}
261
262
  table.grid-all>tfoot>tr>.tableblock{border-width:1px 1px 0 0}
262
263
  table.grid-cols>*>tr>.tableblock{border-width:0 1px 0 0}
263
- table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px 0}
264
- table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0 0}
264
+ table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}
265
+ table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}
265
266
  table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
266
267
  table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}
267
268
  table.frame-all{border-width:1px}
268
269
  table.frame-sides{border-width:0 1px}
269
- table.frame-topbot{border-width:1px 0}
270
+ table.frame-topbot,table.frame-ends{border-width:1px 0}
271
+ table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd){background:#f8f8f7}
272
+ table.stripes-none tr,table.stripes-odd tr:nth-of-type(even){background:none}
270
273
  th.halign-left,td.halign-left{text-align:left}
271
274
  th.halign-right,td.halign-right{text-align:right}
272
275
  th.halign-center,td.halign-center{text-align:center}
@@ -290,9 +293,8 @@ ul.unstyled,ol.unstyled{margin-left:0}
290
293
  ul.checklist{margin-left:.625em}
291
294
  ul.checklist li>p:first-child>.fa-square-o:first-child,ul.checklist li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
292
295
  ul.checklist li>p:first-child>input[type="checkbox"]:first-child{margin-right:.25em}
293
- ul.inline{margin:0 auto .625em auto;margin-left:-1.375em;margin-right:0;padding:0;list-style:none;overflow:hidden}
294
- ul.inline>li{list-style:none;float:left;margin-left:1.375em;display:block}
295
- ul.inline>li>*{display:block}
296
+ ul.inline{display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex-flow:row wrap;-webkit-flex-flow:row wrap;flex-flow:row wrap;list-style:none;margin:0 0 .625em -1.25em}
297
+ ul.inline>li{margin-left:1.25em}
296
298
  .unstyled dl dt{font-weight:400;font-style:normal}
297
299
  ol.arabic{list-style-type:decimal}
298
300
  ol.decimal{list-style-type:decimal-leading-zero}
@@ -306,9 +308,9 @@ ol.lowergreek{list-style-type:lower-greek}
306
308
  td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
307
309
  td.hdlist1{font-weight:bold;padding-bottom:1.25em}
308
310
  .literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
309
- .colist>table tr>td:first-of-type{padding:.4em .75em 0 .75em;line-height:1;vertical-align:top}
310
- .colist>table tr>td:first-of-type img{max-width:initial}
311
- .colist>table tr>td:last-of-type{padding:.25em 0}
311
+ .colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
312
+ .colist td:not([class]):first-child img{max-width:none}
313
+ .colist td:not([class]):last-child{padding:.25em 0}
312
314
  .thumb,.th{line-height:0;display:inline-block;border:solid 4px #fff;-webkit-box-shadow:0 0 0 1px #ddd;box-shadow:0 0 0 1px #ddd}
313
315
  .imageblock.left,.imageblock[style*="float: left"]{margin:.25em .625em 1.25em 0}
314
316
  .imageblock.right,.imageblock[style*="float: right"]{margin:.25em 0 1.25em .625em}
@@ -324,9 +326,9 @@ sup.footnote,sup.footnoteref{font-size:.875em;position:static;vertical-align:sup
324
326
  sup.footnote a,sup.footnoteref a{text-decoration:none}
325
327
  sup.footnote a:active,sup.footnoteref a:active{text-decoration:underline}
326
328
  #footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}
327
- #footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em 0;border-width:1px 0 0 0}
328
- #footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;text-indent:-1.05em;margin-bottom:.2em}
329
- #footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none}
329
+ #footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em;border-width:1px 0 0}
330
+ #footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;margin-bottom:.2em}
331
+ #footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em}
330
332
  #footnotes .footnote:last-of-type{margin-bottom:0}
331
333
  #content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
332
334
  .gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
@@ -372,15 +374,15 @@ div.unbreakable{page-break-inside:avoid}
372
374
  span.icon>.fa{cursor:default}
373
375
  a span.icon>.fa{cursor:inherit}
374
376
  .admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default}
375
- .admonitionblock td.icon .icon-note:before{content:"\f05a";color:#19407c}
376
- .admonitionblock td.icon .icon-tip:before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111}
377
- .admonitionblock td.icon .icon-warning:before{content:"\f071";color:#bf6900}
378
- .admonitionblock td.icon .icon-caution:before{content:"\f06d";color:#bf3400}
379
- .admonitionblock td.icon .icon-important:before{content:"\f06a";color:#bf0000}
377
+ .admonitionblock td.icon .icon-note::before{content:"\f05a";color:#19407c}
378
+ .admonitionblock td.icon .icon-tip::before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111}
379
+ .admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
380
+ .admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
381
+ .admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
380
382
  .conum[data-value]{display:inline-block;color:#fff!important;background-color:rgba(0,0,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
381
383
  .conum[data-value] *{color:#fff!important}
382
384
  .conum[data-value]+b{display:none}
383
- .conum[data-value]:after{content:attr(data-value)}
385
+ .conum[data-value]::after{content:attr(data-value)}
384
386
  pre .conum[data-value]{position:relative;top:-.125em}
385
387
  b.conum *{color:inherit!important}
386
388
  .conum:not([data-value]):empty{display:none}
@@ -392,12 +394,13 @@ p{margin-bottom:1.25rem}
392
394
  .sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
393
395
  .exampleblock>.content{background-color:#fffef7;border-color:#e0e0dc;-webkit-box-shadow:0 1px 4px #e0e0dc;box-shadow:0 1px 4px #e0e0dc}
394
396
  .print-only{display:none!important}
395
- @media print{@page{margin:1.25cm .75cm}
396
- *{-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}
397
+ @page{margin:1.25cm .75cm}
398
+ @media print{*{-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}
399
+ html{font-size:80%}
397
400
  a{color:inherit!important;text-decoration:underline!important}
398
401
  a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
399
- a[href^="http:"]:not(.bare):after,a[href^="https:"]:not(.bare):after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
400
- abbr[title]:after{content:" (" attr(title) ")"}
402
+ a[href^="http:"]:not(.bare)::after,a[href^="https:"]:not(.bare)::after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
403
+ abbr[title]::after{content:" (" attr(title) ")"}
401
404
  pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
402
405
  thead{display:table-header-group}
403
406
  svg{max-width:100%}
@@ -405,24 +408,26 @@ p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
405
408
  h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
406
409
  #toc,.sidebarblock,.exampleblock>.content{background:none!important}
407
410
  #toc{border-bottom:1px solid #ddddd8!important;padding-bottom:0!important}
408
- .sect1{padding-bottom:0!important}
409
- .sect1+.sect1{border:0!important}
410
- #header>h1:first-child{margin-top:1.25rem}
411
411
  body.book #header{text-align:center}
412
- body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em 0}
412
+ body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
413
413
  body.book #header .details{border:0!important;display:block;padding:0!important}
414
414
  body.book #header .details span:first-child{margin-left:0!important}
415
415
  body.book #header .details br{display:block}
416
- body.book #header .details br+span:before{content:none!important}
416
+ body.book #header .details br+span::before{content:none!important}
417
417
  body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}
418
418
  body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}
419
- .listingblock code[data-lang]:before{display:block}
420
- #footer{background:none!important;padding:0 .9375em}
421
- #footer-text{color:rgba(0,0,0,.6)!important;font-size:.9em}
419
+ .listingblock code[data-lang]::before{display:block}
420
+ #footer{padding:0 .9375em}
422
421
  .hide-on-print{display:none!important}
423
422
  .print-only{display:block!important}
424
423
  .hide-for-print{display:none!important}
425
424
  .show-for-print{display:inherit!important}}
425
+ @media print,amzn-kf8{#header>h1:first-child{margin-top:1.25rem}
426
+ .sect1{padding:0!important}
427
+ .sect1+.sect1{border:0}
428
+ #footer{background:none}
429
+ #footer-text{color:rgba(0,0,0,.6);font-size:.9em}}
430
+ @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}}
426
431
  </style>
427
432
  </head>
428
433
  <body class="international-standard">
@@ -636,7 +641,7 @@ World<br>
636
641
  <p><a id="ISO8351-2"></a>[ISO 8351-2], <em>Packaging&#8201;&#8212;&#8201;Method of specification for sacks&#8201;&#8212;&#8201;Part 2: Sacks made from thermoplastic flexible film</em></p>
637
642
  </li>
638
643
  <li>
639
- <p><a id="ISO16634"></a>[ISO 16634:--] <sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnote_1" title="View footnote.">1</a>]</sup>, <em>Cereals, pulses, milled cereal products, oilseeds and animal feeding stuffs&#8201;&#8212;&#8201;Determination of the total nitrogen content by combustion according to the Dumas principle and calculation of the crude protein content</em></p>
644
+ <p><a id="ISO16634"></a>[ISO 16634:--] <sup class="footnote">[<a id="_footnoteref_1" class="footnote" href="#_footnotedef_1" title="View footnote.">1</a>]</sup>, <em>Cereals, pulses, milled cereal products, oilseeds and animal feeding stuffs&#8201;&#8212;&#8201;Determination of the total nitrogen content by combustion according to the Dumas principle and calculation of the crude protein content</em></p>
640
645
  </li>
641
646
  <li>
642
647
  <p><a id="ISO20483"></a>[ISO 20483:2013], <em>Cereals and pulses&#8201;&#8212;&#8201;Determination of the nitrogen content and calculation of the crude protein content&#8201;&#8212;&#8201;Kjeldahl method</em></p>
@@ -894,7 +899,7 @@ See <a href="#figureC-1">Figure 2</a>.
894
899
  <div class="sect3">
895
900
  <h4 id="">3.2.1. </h4>
896
901
  <div class="paragraph">
897
- <p>The mass fraction of moisture, determined in accordance with <a href="#ISO712">[ISO 712]</a>, using an oven complying with the requirements of <a href="#IEC61010-2">[IEC 61010-2:1998]</a>, shall not be greater than 15 %.<sup class="footnote">[<a id="_footnoteref_2" class="footnote" href="#_footnote_2" title="View footnote.">2</a>]</sup></p>
902
+ <p>The mass fraction of moisture, determined in accordance with <a href="#ISO712">[ISO 712]</a>, using an oven complying with the requirements of <a href="#IEC61010-2">[IEC 61010-2:1998]</a>, shall not be greater than 15 %.<sup class="footnote">[<a id="_footnoteref_2" class="footnote" href="#_footnotedef_2" title="View footnote.">2</a>]</sup></p>
898
903
  </div>
899
904
  <div class="paragraph">
900
905
  <p>The mass fraction of extraneous matter and defective kernels in husked and milled rice, whether or not parboiled, determined in accordance with <a href="#AnnexA">Annex A</a>, shall not be greater than the values specified in <a href="#table1">Table 1</a>.</p>
@@ -917,7 +922,7 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
917
922
  <div class="paragraph">
918
923
  <p>The defect tolerance for the categories considered, and determined in accordance with the method given in <a href="#AnnexA">Annex A</a>, shall not exceed the limits given in <a href="#table1">Table 1</a>.</p>
919
924
  </div>
920
- <table id="table1" class="tableblock frame-all grid-all spread">
925
+ <table id="table1" class="tableblock frame-all grid-all stretch">
921
926
  <caption class="title">Table 1. Maximum permissible mass fraction of defects</caption>
922
927
  <colgroup>
923
928
  <col style="width: 20%;">
@@ -933,13 +938,6 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
933
938
  \$w_max\$</th>
934
939
  </tr>
935
940
  </thead>
936
- <tfoot>
937
- <tr>
938
- <td class="tableblock halign-left valign-top" colspan="5"><div><div class="paragraph">
939
- <p>Live insects shall not be present. Dead insects shall be included in extraneous matter.</p>
940
- </div></div></td>
941
- </tr>
942
- </tfoot>
943
941
  <tbody>
944
942
  <tr>
945
943
  <td class="tableblock halign-left valign-top"><p class="tableblock">in husked rice</p></td>
@@ -948,14 +946,14 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
948
946
  <td class="tableblock halign-center valign-top"><p class="tableblock">in milled parboiled rice</p></td>
949
947
  </tr>
950
948
  <tr>
951
- <td class="tableblock halign-left valign-top"><p class="tableblock">Extraneous matter: organic <sup class="footnote">[<a id="_footnoteref_3" class="footnote" href="#_footnote_3" title="View footnote.">3</a>]</sup></p></td>
949
+ <td class="tableblock halign-left valign-top"><p class="tableblock">Extraneous matter: organic <sup class="footnote">[<a id="_footnoteref_3" class="footnote" href="#_footnotedef_3" title="View footnote.">3</a>]</sup></p></td>
952
950
  <td class="tableblock halign-center valign-top"><p class="tableblock">1,0</p></td>
953
951
  <td class="tableblock halign-center valign-top"><p class="tableblock">0,5</p></td>
954
952
  <td class="tableblock halign-center valign-top"><p class="tableblock">1,0</p></td>
955
953
  <td class="tableblock halign-center valign-top"><p class="tableblock">0,5</p></td>
956
954
  </tr>
957
955
  <tr>
958
- <td class="tableblock halign-left valign-top"><p class="tableblock">Extraneous matter: inorganic <sup class="footnote">[<a id="_footnoteref_4" class="footnote" href="#_footnote_4" title="View footnote.">4</a>]</sup></p></td>
956
+ <td class="tableblock halign-left valign-top"><p class="tableblock">Extraneous matter: inorganic <sup class="footnote">[<a id="_footnoteref_4" class="footnote" href="#_footnotedef_4" title="View footnote.">4</a>]</sup></p></td>
959
957
  <td class="tableblock halign-center valign-top"><p class="tableblock">0,5</p></td>
960
958
  <td class="tableblock halign-center valign-top"><p class="tableblock">0,5</p></td>
961
959
  <td class="tableblock halign-center valign-top"><p class="tableblock">0,5</p></td>
@@ -1005,9 +1003,9 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
1005
1003
  </tr>
1006
1004
  <tr>
1007
1005
  <td class="tableblock halign-left valign-top"><p class="tableblock">HDK</p></td>
1008
- <td class="tableblock halign-center valign-top"><p class="tableblock">2,0 <sup class="footnote" id="_footnote_defectsmass">[<a id="_footnoteref_5" class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1006
+ <td class="tableblock halign-center valign-top"><p class="tableblock">2,0 <sup class="footnote" id="_footnote_defectsmass">[<a id="_footnoteref_5" class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1009
1007
  <td class="tableblock halign-center valign-top"><p class="tableblock">2,0</p></td>
1010
- <td class="tableblock halign-center valign-top"><p class="tableblock">2,0 <sup class="footnoteref">[<a class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1008
+ <td class="tableblock halign-center valign-top"><p class="tableblock">2,0 <sup class="footnoteref">[<a class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1011
1009
  <td class="tableblock halign-center valign-top"><p class="tableblock">2,0</p></td>
1012
1010
  </tr>
1013
1011
  <tr>
@@ -1026,7 +1024,7 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
1026
1024
  </tr>
1027
1025
  <tr>
1028
1026
  <td class="tableblock halign-left valign-top"><p class="tableblock">Chalky kernels</p></td>
1029
- <td class="tableblock halign-center valign-top"><p class="tableblock">5,0 <sup class="footnoteref">[<a class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1027
+ <td class="tableblock halign-center valign-top"><p class="tableblock">5,0 <sup class="footnoteref">[<a class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1030
1028
  <td class="tableblock halign-center valign-top"><p class="tableblock">5,0</p></td>
1031
1029
  <td class="tableblock halign-center valign-top"><p class="tableblock">Not applicable</p></td>
1032
1030
  <td class="tableblock halign-center valign-top"><p class="tableblock">Not applicable</p></td>
@@ -1035,14 +1033,14 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
1035
1033
  <td class="tableblock halign-left valign-top"><p class="tableblock">Red kernels and red-streaked kernels</p></td>
1036
1034
  <td class="tableblock halign-center valign-top"><p class="tableblock">12,0</p></td>
1037
1035
  <td class="tableblock halign-center valign-top"><p class="tableblock">12,0</p></td>
1038
- <td class="tableblock halign-center valign-top"><p class="tableblock">12,0 <sup class="footnoteref">[<a class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1036
+ <td class="tableblock halign-center valign-top"><p class="tableblock">12,0 <sup class="footnoteref">[<a class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1039
1037
  <td class="tableblock halign-center valign-top"><p class="tableblock">12,0</p></td>
1040
1038
  </tr>
1041
1039
  <tr>
1042
1040
  <td class="tableblock halign-left valign-top"><p class="tableblock">Partly gelatinized kernels</p></td>
1043
1041
  <td class="tableblock halign-center valign-top"><p class="tableblock">Not applicable</p></td>
1044
1042
  <td class="tableblock halign-center valign-top"><p class="tableblock">Not applicable</p></td>
1045
- <td class="tableblock halign-center valign-top"><p class="tableblock">11,0 <sup class="footnoteref">[<a class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1043
+ <td class="tableblock halign-center valign-top"><p class="tableblock">11,0 <sup class="footnoteref">[<a class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1046
1044
  <td class="tableblock halign-center valign-top"><p class="tableblock">11,0</p></td>
1047
1045
  </tr>
1048
1046
  <tr>
@@ -1054,12 +1052,19 @@ Lower mass fractions of moisture are sometimes needed for certain destinations d
1054
1052
  </tr>
1055
1053
  <tr>
1056
1054
  <td class="tableblock halign-left valign-top"><p class="tableblock">Waxy rice</p></td>
1057
- <td class="tableblock halign-center valign-top"><p class="tableblock">1,0 <sup class="footnoteref">[<a class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1055
+ <td class="tableblock halign-center valign-top"><p class="tableblock">1,0 <sup class="footnoteref">[<a class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1058
1056
  <td class="tableblock halign-center valign-top"><p class="tableblock">1,0</p></td>
1059
- <td class="tableblock halign-center valign-top"><p class="tableblock">1,0 <sup class="footnoteref">[<a class="footnote" href="#_footnote_5" title="View footnote.">5</a>]</sup></p></td>
1057
+ <td class="tableblock halign-center valign-top"><p class="tableblock">1,0 <sup class="footnoteref">[<a class="footnote" href="#_footnotedef_5" title="View footnote.">5</a>]</sup></p></td>
1060
1058
  <td class="tableblock halign-center valign-top"><p class="tableblock">1,0</p></td>
1061
1059
  </tr>
1062
1060
  </tbody>
1061
+ <tfoot>
1062
+ <tr>
1063
+ <td class="tableblock halign-left valign-top" colspan="5"><div class="content"><div class="paragraph">
1064
+ <p>Live insects shall not be present. Dead insects shall be included in extraneous matter.</p>
1065
+ </div></div></td>
1066
+ </tr>
1067
+ </tfoot>
1063
1068
  </table>
1064
1069
  <div class="admonitionblock note">
1065
1070
  <table>
@@ -1469,7 +1474,7 @@ Direct contact of iodine with skin can cause lesions so care should be taken in
1469
1474
  <div class="sect3">
1470
1475
  <h4 id="AnnexB-3-2">B.3.2. Iodine stock solution,</h4>
1471
1476
  <div class="paragraph">
1472
- <p>containing a mass fraction of 4,1 % iodine and 6,3 % potassium iodide in deionized water such as Lugols.<sup class="footnote">[<a id="_footnoteref_6" class="footnote" href="#_footnote_6" title="View footnote.">6</a>]</sup></p>
1477
+ <p>containing a mass fraction of 4,1 % iodine and 6,3 % potassium iodide in deionized water such as Lugols.<sup class="footnote">[<a id="_footnoteref_6" class="footnote" href="#_footnotedef_6" title="View footnote.">6</a>]</sup></p>
1473
1478
  </div>
1474
1479
  </div>
1475
1480
  <div class="sect3">
@@ -1568,7 +1573,7 @@ Direct contact of iodine with skin can cause lesions so care should be taken in
1568
1573
  <div class="title">Figure 2. Typical gelatinization curve</div>
1569
1574
  </div>
1570
1575
  <div class="paragraph">
1571
- <p><sup class="footnote">[<a id="_footnoteref_7" class="footnote" href="#_footnote_7" title="View footnote.">7</a>]</sup></p>
1576
+ <p><sup class="footnote">[<a id="_footnoteref_7" class="footnote" href="#_footnotedef_7" title="View footnote.">7</a>]</sup></p>
1572
1577
  </div>
1573
1578
  <div class="paragraph">
1574
1579
  <p><strong>Key</strong></p>
@@ -1636,7 +1641,7 @@ These results are based on a study carried out on three different types of kerne
1636
1641
  <div class="paragraph">
1637
1642
  <p>An interlaboratory test <a href="#ref15">[15]</a> was carried out by the ENR [Rice Research Centre (Italy)] in accordance with <a href="#ISO5725-1">[ISO 5725-1]</a> and <a href="#ISO5725-2">[ISO 5725-2]</a>, with the participation of 15 laboratories. Each laboratory carried out three determinations on four different types of kernel. The statistical results are shown in <a href="#tableD-1">Table 2</a>.</p>
1638
1643
  </div>
1639
- <table id="tableD-1" class="tableblock frame-all grid-all spread">
1644
+ <table id="tableD-1" class="tableblock frame-all grid-all stretch">
1640
1645
  <caption class="title">Table 2. Repeatability and reproducibility of husked rice yield</caption>
1641
1646
  <colgroup>
1642
1647
  <col style="width: 20%;">
@@ -1652,7 +1657,7 @@ These results are based on a study carried out on three different types of kerne
1652
1657
  </tr>
1653
1658
  <tr>
1654
1659
  <td class="tableblock halign-left valign-top"><p class="tableblock">Arborio</p></td>
1655
- <td class="tableblock halign-center valign-top"><p class="tableblock">Drago <sup class="footnote">[<a id="_footnoteref_8" class="footnote" href="#_footnote_8" title="View footnote.">8</a>]</sup></p></td>
1660
+ <td class="tableblock halign-center valign-top"><p class="tableblock">Drago <sup class="footnote">[<a id="_footnoteref_8" class="footnote" href="#_footnotedef_8" title="View footnote.">8</a>]</sup></p></td>
1656
1661
  <td class="tableblock halign-center valign-top"><p class="tableblock">Balilla</p></td>
1657
1662
  <td class="tableblock halign-center valign-top"><p class="tableblock">Thaibonnet</p></td>
1658
1663
  </tr>
@@ -1819,34 +1824,34 @@ end</code></pre>
1819
1824
  </div>
1820
1825
  <div id="footnotes">
1821
1826
  <hr>
1822
- <div class="footnote" id="_footnote_1">
1827
+ <div class="footnote" id="_footnotedef_1">
1823
1828
  <a href="#_footnoteref_1">1</a>. Under preparation. (Stage at the time of publication ISO/DIS 16634)
1824
1829
  </div>
1825
- <div class="footnote" id="_footnote_2">
1830
+ <div class="footnote" id="_footnotedef_2">
1826
1831
  <a href="#_footnoteref_2">2</a>. Formerly denoted as 15 % (m/m).
1827
1832
  </div>
1828
- <div class="footnote" id="_footnote_3">
1833
+ <div class="footnote" id="_footnotedef_3">
1829
1834
  <a href="#_footnoteref_3">3</a>. Organic extraneous matter includes foreign seeds, husks, bran, parts of straw, etc.
1830
1835
  </div>
1831
- <div class="footnote" id="_footnote_4">
1836
+ <div class="footnote" id="_footnotedef_4">
1832
1837
  <a href="#_footnoteref_4">4</a>. Inorganic extraneous matter includes stones, sand, dust, etc.
1833
1838
  </div>
1834
- <div class="footnote" id="_footnote_5">
1839
+ <div class="footnote" id="_footnotedef_5">
1835
1840
  <a href="#_footnoteref_5">5</a>. The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.
1836
1841
  </div>
1837
- <div class="footnote" id="_footnote_6">
1842
+ <div class="footnote" id="_footnotedef_6">
1838
1843
  <a href="#_footnoteref_6">6</a>. Lugols is an example of a suitable product available commercially. This information is given for the convenience of users of this document and does not constitute an endorsement by ISO of this product.
1839
1844
  </div>
1840
- <div class="footnote" id="_footnote_7">
1845
+ <div class="footnote" id="_footnotedef_7">
1841
1846
  <a href="#_footnoteref_7">7</a>. The time \$t_90\$ was estimated to be 18,2 min for this example.
1842
1847
  </div>
1843
- <div class="footnote" id="_footnote_8">
1848
+ <div class="footnote" id="_footnotedef_8">
1844
1849
  <a href="#_footnoteref_8">8</a>. Parboiled rice.
1845
1850
  </div>
1846
1851
  </div>
1847
1852
  <div id="footer">
1848
1853
  <div id="footer-text">
1849
- Last updated 2018-04-24 19:14:55 AEST
1854
+ Last updated 2018-05-16 21:35:19 AEST
1850
1855
  </div>
1851
1856
  </div>
1852
1857
  <script type="text/x-mathjax-config">
@@ -1864,6 +1869,6 @@ MathJax.Hub.Config({
1864
1869
  TeX: { equationNumbers: { autoNumber: "none" } }
1865
1870
  });
1866
1871
  </script>
1867
- <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.6.0/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>
1872
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>
1868
1873
  </body>
1869
1874
  </html>