metanorma-iso 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/html/isodoc.scss +22 -2
- data/lib/isodoc/iso/html_convert.rb +58 -0
- data/lib/isodoc/iso/word_convert.rb +60 -4
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/assets/iso.doc +29 -12
- data/spec/isodoc/i18n_spec.rb +236 -236
- data/spec/isodoc/inline_spec.rb +2 -2
- data/spec/isodoc/iso_spec.rb +29 -48
- data/spec/isodoc/postproc_spec.rb +60 -28
- data/spec/isodoc/section_spec.rb +37 -37
- data/spec/isodoc/terms_spec.rb +25 -32
- data/spec/isodoc/xref_spec.rb +113 -123
- data/spec/metanorma/processor_spec.rb +1 -1
- metadata +2 -2
data/spec/isodoc/terms_spec.rb
CHANGED
@@ -33,11 +33,6 @@ RSpec.describe IsoDoc do
|
|
33
33
|
<admitted>rough rice</admitted>
|
34
34
|
<deprecates>cargo rice</deprecates>
|
35
35
|
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
36
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
37
|
-
<ul>
|
38
|
-
<li>A</li>
|
39
|
-
</ul>
|
40
|
-
</termexample>
|
41
36
|
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74e">
|
42
37
|
<p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
43
38
|
</termnote>
|
@@ -45,6 +40,11 @@ RSpec.describe IsoDoc do
|
|
45
40
|
<ul><li>A</li></ul>
|
46
41
|
<p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
47
42
|
</termnote>
|
43
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
44
|
+
<ul>
|
45
|
+
<li>A</li>
|
46
|
+
</ul>
|
47
|
+
</termexample>
|
48
48
|
<termsource status="identical">
|
49
49
|
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
|
50
50
|
</termsource></term>
|
@@ -53,8 +53,8 @@ RSpec.describe IsoDoc do
|
|
53
53
|
</iso-standard>
|
54
54
|
INPUT
|
55
55
|
#{HTML_HDR}
|
56
|
-
|
57
|
-
|
56
|
+
<p class="zzSTDTitle1"/>
|
57
|
+
<div id="_terms_and_definitions"><h1>1  Terms and definitions</h1><p>For the purposes of this document,
|
58
58
|
the following terms and definitions apply.</p>
|
59
59
|
<p>ISO and IEC maintain terminological databases for use in
|
60
60
|
standardization at the following addresses:</p>
|
@@ -68,13 +68,10 @@ RSpec.describe IsoDoc do
|
|
68
68
|
<p class="TermNum" id="paddy1">1.1</p><p class="Terms" style="text-align:left;">paddy</p>
|
69
69
|
|
70
70
|
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f"><rice> rice retaining its husk after threshing</p>
|
71
|
-
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f892" class="example"><p class="
|
72
|
-
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
73
|
-
<ul>
|
71
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f892" class="example"><p><span class="example_label">EXAMPLE 1</span>  Foreign seeds, husks, bran, sand, dust.</p><ul>
|
74
72
|
<li>A</li>
|
75
|
-
</ul>
|
76
|
-
|
77
|
-
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f894" class="example"><p class="example-title">EXAMPLE 2</p>
|
73
|
+
</ul></div>
|
74
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f894" class="example"><p><span class="example_label">EXAMPLE 2</span>  </p>
|
78
75
|
<ul>
|
79
76
|
<li>A</li>
|
80
77
|
</ul>
|
@@ -87,7 +84,7 @@ RSpec.describe IsoDoc do
|
|
87
84
|
<p class="AltTerms" style="text-align:left;">rough rice</p>
|
88
85
|
<p class="DeprecatedTerms" style="text-align:left;">DEPRECATED: cargo rice</p>
|
89
86
|
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p>
|
90
|
-
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f893" class="example"><p class="
|
87
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f893" class="example"><p><span class="example_label">EXAMPLE</span>  </p>
|
91
88
|
<ul>
|
92
89
|
<li>A</li>
|
93
90
|
</ul>
|
@@ -97,9 +94,8 @@ RSpec.describe IsoDoc do
|
|
97
94
|
<p>[TERMREF]
|
98
95
|
<a href="#ISO7301">ISO 7301:2011, 3.1</a>
|
99
96
|
[/TERMREF]</p></div>
|
100
|
-
|
101
|
-
|
102
|
-
</head>
|
97
|
+
</div>
|
98
|
+
</body>
|
103
99
|
</html>
|
104
100
|
OUTPUT
|
105
101
|
end
|
@@ -136,11 +132,6 @@ OUTPUT
|
|
136
132
|
<admitted>rough rice</admitted>
|
137
133
|
<deprecates>cargo rice</deprecates>
|
138
134
|
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
139
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
140
|
-
<ul>
|
141
|
-
<li>A</li>
|
142
|
-
</ul>
|
143
|
-
</termexample>
|
144
135
|
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74e">
|
145
136
|
<p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
146
137
|
</termnote>
|
@@ -148,6 +139,11 @@ OUTPUT
|
|
148
139
|
<ul><li>A</li></ul>
|
149
140
|
<p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p>
|
150
141
|
</termnote>
|
142
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
143
|
+
<ul>
|
144
|
+
<li>A</li>
|
145
|
+
</ul>
|
146
|
+
</termexample>
|
151
147
|
<termsource status="identical">
|
152
148
|
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
|
153
149
|
</termsource></term>
|
@@ -155,7 +151,7 @@ OUTPUT
|
|
155
151
|
</sections>
|
156
152
|
</iso-standard>
|
157
153
|
INPUT
|
158
|
-
|
154
|
+
<div id="_terms_and_definitions"><h1>1<span style="mso-tab-count:1">  </span>Terms and definitions</h1><p>For the purposes of this document,
|
159
155
|
the following terms and definitions apply.</p>
|
160
156
|
<p>ISO and IEC maintain terminological databases for use in
|
161
157
|
standardization at the following addresses:</p>
|
@@ -169,17 +165,14 @@ OUTPUT
|
|
169
165
|
<p class="TermNum" id="paddy1">1.1</p><p class="Terms" style="text-align:left;">paddy</p>
|
170
166
|
|
171
167
|
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f"><rice> rice retaining its husk after threshing</p>
|
172
|
-
<
|
173
|
-
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
174
|
-
<ul>
|
168
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f892" class="example"><p><span class="example_label">EXAMPLE 1</span><span style="mso-tab-count:1">  </span>Foreign seeds, husks, bran, sand, dust.</p><ul>
|
175
169
|
<li>A</li>
|
176
|
-
</ul>
|
177
|
-
</
|
178
|
-
<table id="_bd57bbf1-f948-4bae-b0ce-73c00431f894" class="example" cellspacing="0" cellpadding="0" style="mso-table-lspace:15.0cm;margin-left:423.0pt;mso-table-rspace:15.0cm;margin-right:423.0pt;mso-table-bspace:14.2pt;mso-table-anchor-vertical:paragraph;mso-table-anchor-horizontal:column;mso-table-overlap:never;border-collapse:collapse;"><tr><td valign="top" class="example_label" style="width:82.8pt;padding:0 0 0 0;margin-left:0pt">EXAMPLE 2</td><td valign="top" class="example">
|
170
|
+
</ul></div>
|
171
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f894" class="example"><p><span class="example_label">EXAMPLE 2</span><span style="mso-tab-count:1">  </span></p>
|
179
172
|
<ul>
|
180
173
|
<li>A</li>
|
181
174
|
</ul>
|
182
|
-
</
|
175
|
+
</div>
|
183
176
|
|
184
177
|
<p>[TERMREF]
|
185
178
|
<a href="#ISO7301">ISO 7301:2011, 3.1</a>
|
@@ -188,11 +181,11 @@ OUTPUT
|
|
188
181
|
<p class="AltTerms" style="text-align:left;">rough rice</p>
|
189
182
|
<p class="DeprecatedTerms" style="text-align:left;">DEPRECATED: cargo rice</p>
|
190
183
|
<p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p>
|
191
|
-
<
|
184
|
+
<div id="_bd57bbf1-f948-4bae-b0ce-73c00431f893" class="example"><p><span class="example_label">EXAMPLE</span><span style="mso-tab-count:1">  </span></p>
|
192
185
|
<ul>
|
193
186
|
<li>A</li>
|
194
187
|
</ul>
|
195
|
-
</
|
188
|
+
</div>
|
196
189
|
<div class="Note"><p class="Note">Note 1 to entry: The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></div>
|
197
190
|
<div class="Note"><p class="Note">Note 2 to entry: <ul><li>A</li></ul><p id="_19830f33-e46c-42cc-94ca-a5ef101132d5">The starch of waxy rice consists almost entirely of amylopectin. The kernels have a tendency to stick together after cooking.</p></p></div>
|
198
191
|
<p>[TERMREF]
|
data/spec/isodoc/xref_spec.rb
CHANGED
@@ -70,7 +70,7 @@ RSpec.describe IsoDoc do
|
|
70
70
|
</div>
|
71
71
|
<p class="zzSTDTitle1"/>
|
72
72
|
<div id="scope">
|
73
|
-
<h1>1
|
73
|
+
<h1>1  Scope</h1>
|
74
74
|
<div id="N" class="Note">
|
75
75
|
<p><span class="note_label">NOTE</span>  These results are based on a study carried out on three different types of kernel.</p>
|
76
76
|
</div>
|
@@ -78,7 +78,7 @@ RSpec.describe IsoDoc do
|
|
78
78
|
<a href="#N">Note</a>
|
79
79
|
</p>
|
80
80
|
</div>
|
81
|
-
<div id="terms"><h1>2
|
81
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
82
82
|
<p>ISO and IEC maintain terminological databases for use in
|
83
83
|
standardization at the following addresses:</p>
|
84
84
|
|
@@ -90,8 +90,8 @@ RSpec.describe IsoDoc do
|
|
90
90
|
</p> </li> </ul>
|
91
91
|
</div>
|
92
92
|
<div id="widgets">
|
93
|
-
<h1>3
|
94
|
-
<div id="widgets1"><h2>3.1
|
93
|
+
<h1>3  Widgets</h1>
|
94
|
+
<div id="widgets1"><h2>3.1 </h2>
|
95
95
|
<div id="note1" class="Note"><p><span class="note_label">NOTE 1</span>  These results are based on a study carried out on three different types of kernel.</p></div>
|
96
96
|
<div id="note2" class="Note"><p><span class="note_label">NOTE 2</span>  These results are based on a study carried out on three different types of kernel.</p></div>
|
97
97
|
<p> <a href="#note1">Note 1</a> <a href="#note2">Note 2</a> </p>
|
@@ -100,10 +100,10 @@ RSpec.describe IsoDoc do
|
|
100
100
|
</div>
|
101
101
|
<br/>
|
102
102
|
<div id="annex1" class="Section3">
|
103
|
-
<div id="annex1a"><h2>A.1
|
103
|
+
<div id="annex1a"><h2>A.1 </h2>
|
104
104
|
<div id="AN" class="Note"><p><span class="note_label">NOTE</span>  These results are based on a study carried out on three different types of kernel.</p></div>
|
105
105
|
</div>
|
106
|
-
<div id="annex1b"><h2>A.2
|
106
|
+
<div id="annex1b"><h2>A.2 </h2>
|
107
107
|
<div id="Anote1" class="Note"><p><span class="note_label">NOTE 1</span>  These results are based on a study carried out on three different types of kernel.</p></div>
|
108
108
|
<div id="Anote2" class="Note"><p><span class="note_label">NOTE 2</span>  These results are based on a study carried out on three different types of kernel.</p></div>
|
109
109
|
</div>
|
@@ -187,7 +187,7 @@ RSpec.describe IsoDoc do
|
|
187
187
|
</div>
|
188
188
|
<p class="zzSTDTitle1"/>
|
189
189
|
<div id="scope">
|
190
|
-
<h1>1
|
190
|
+
<h1>1  Scope</h1>
|
191
191
|
<div id="N" class="figure">
|
192
192
|
|
193
193
|
<img src="rice_images/rice_image1.png" height="auto" width="auto"/>
|
@@ -196,7 +196,7 @@ RSpec.describe IsoDoc do
|
|
196
196
|
<a href="#N">Figure 1</a>
|
197
197
|
</p>
|
198
198
|
</div>
|
199
|
-
<div id="terms"><h1>2
|
199
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
200
200
|
<p>ISO and IEC maintain terminological databases for use in
|
201
201
|
standardization at the following addresses:</p>
|
202
202
|
|
@@ -208,8 +208,8 @@ RSpec.describe IsoDoc do
|
|
208
208
|
</p> </li> </ul>
|
209
209
|
</div>
|
210
210
|
<div id="widgets">
|
211
|
-
<h1>3
|
212
|
-
<div id="widgets1"><h2>3.1
|
211
|
+
<h1>3  Widgets</h1>
|
212
|
+
<div id="widgets1"><h2>3.1 </h2>
|
213
213
|
<div id="note1" class="figure">
|
214
214
|
|
215
215
|
<img src="rice_images/rice_image1.png" height="auto" width="auto"/>
|
@@ -223,13 +223,13 @@ RSpec.describe IsoDoc do
|
|
223
223
|
</div>
|
224
224
|
<br/>
|
225
225
|
<div id="annex1" class="Section3">
|
226
|
-
<div id="annex1a"><h2>A.1
|
226
|
+
<div id="annex1a"><h2>A.1 </h2>
|
227
227
|
<div id="AN" class="figure">
|
228
228
|
|
229
229
|
<img src="rice_images/rice_image1.png" height="auto" width="auto"/>
|
230
230
|
<p class="FigureTitle" align="center">Figure A.1 — Split-it-right sample divider</p></div>
|
231
231
|
</div>
|
232
|
-
<div id="annex1b"><h2>A.2
|
232
|
+
<div id="annex1b"><h2>A.2 </h2>
|
233
233
|
<div id="Anote1" class="figure">
|
234
234
|
|
235
235
|
<img src="rice_images/rice_image1.png" height="auto" width="auto"/>
|
@@ -314,9 +314,9 @@ RSpec.describe IsoDoc do
|
|
314
314
|
</div>
|
315
315
|
<p class="zzSTDTitle1"/>
|
316
316
|
<div id="scope">
|
317
|
-
<h1>1
|
317
|
+
<h1>1  Scope</h1>
|
318
318
|
</div>
|
319
|
-
<div id="terms"><h1>2
|
319
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
320
320
|
<p>ISO and IEC maintain terminological databases for use in
|
321
321
|
standardization at the following addresses:</p>
|
322
322
|
|
@@ -328,8 +328,8 @@ RSpec.describe IsoDoc do
|
|
328
328
|
</p> </li> </ul>
|
329
329
|
</div>
|
330
330
|
<div id="widgets">
|
331
|
-
<h1>3
|
332
|
-
<div id="widgets1"><h2>3.1
|
331
|
+
<h1>3  Widgets</h1>
|
332
|
+
<div id="widgets1"><h2>3.1 </h2>
|
333
333
|
<div id="N" class="figure">
|
334
334
|
<div id="note1" class="figure">
|
335
335
|
|
@@ -345,9 +345,9 @@ RSpec.describe IsoDoc do
|
|
345
345
|
</div>
|
346
346
|
<br/>
|
347
347
|
<div id="annex1" class="Section3">
|
348
|
-
<div id="annex1a"><h2>A.1
|
348
|
+
<div id="annex1a"><h2>A.1 </h2>
|
349
349
|
</div>
|
350
|
-
<div id="annex1b"><h2>A.2
|
350
|
+
<div id="annex1b"><h2>A.2 </h2>
|
351
351
|
<div id="AN" class="figure">
|
352
352
|
<div id="Anote1" class="figure">
|
353
353
|
|
@@ -419,70 +419,60 @@ RSpec.describe IsoDoc do
|
|
419
419
|
</iso-standard>
|
420
420
|
INPUT
|
421
421
|
#{HTML_HDR}
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
422
|
+
<br/>
|
423
|
+
<div>
|
424
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
425
|
+
<p>
|
426
|
+
<a href="#N">Clause 1, Example</a>
|
427
|
+
<a href="#note1">3.1, Example 1</a>
|
428
|
+
<a href="#note2">3.1, Example 2</a>
|
429
|
+
<a href="#AN">A.1, Example</a>
|
430
|
+
<a href="#Anote1">A.2, Example 1</a>
|
431
|
+
<a href="#Anote2">A.2, Example 2</a>
|
432
|
+
</p>
|
433
|
+
</div>
|
434
|
+
<p class="zzSTDTitle1"/>
|
435
|
+
<div id="scope">
|
436
|
+
<h1>1  Scope</h1>
|
437
|
+
<div id="N" class="example">
|
438
|
+
<p><span class="example_label">EXAMPLE</span>  Hello</p>
|
439
|
+
</div>
|
440
|
+
<p>
|
441
|
+
<a href="#N">Example</a>
|
442
|
+
</p>
|
443
|
+
</div>
|
444
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
445
|
+
<p>ISO and IEC maintain terminological databases for use in
|
446
|
+
standardization at the following addresses:</p>
|
447
|
+
<ul>
|
448
|
+
<li> <p>ISO Online browsing platform: available at
|
449
|
+
<a href="http://www.iso.org/obp">http://www.iso.org/obp</a></p> </li>
|
450
|
+
<li> <p>IEC Electropedia: available at
|
451
|
+
<a href="http://www.electropedia.org">http://www.electropedia.org</a>
|
452
|
+
</p> </li> </ul>
|
453
|
+
</div>
|
454
|
+
<div id="widgets">
|
455
|
+
<h1>3  Widgets</h1>
|
456
|
+
<div id="widgets1"><h2>3.1 </h2>
|
457
|
+
<div id="note1" class="example"><p><span class="example_label">EXAMPLE 1</span>  Hello</p></div>
|
458
|
+
<div id="note2" class="example"><p><span class="example_label">EXAMPLE 2</span>  Hello</p></div>
|
459
|
+
<p> <a href="#note1">Example 1</a> <a href="#note2">Example 2</a> </p>
|
460
|
+
</div>
|
461
|
+
</div>
|
462
|
+
<br/>
|
463
|
+
<div id="annex1" class="Section3">
|
464
|
+
<div id="annex1a"><h2>A.1 </h2>
|
465
|
+
<div id="AN" class="example"><p><span class="example_label">EXAMPLE</span>  Hello</p></div>
|
466
|
+
</div>
|
467
|
+
<div id="annex1b"><h2>A.2 </h2>
|
468
|
+
<div id="Anote1" class="example"><p><span class="example_label">EXAMPLE 1</span>  Hello</p></div>
|
469
|
+
<div id="Anote2" class="example"><p><span class="example_label">EXAMPLE 2</span>  Hello</p></div>
|
470
|
+
</div>
|
471
|
+
</div>
|
472
|
+
</div>
|
473
|
+
</body>
|
474
|
+
</html>
|
447
475
|
|
448
|
-
<ul>
|
449
|
-
<li> <p>ISO Online browsing platform: available at
|
450
|
-
<a href="http://www.iso.org/obp">http://www.iso.org/obp</a></p> </li>
|
451
|
-
<li> <p>IEC Electropedia: available at
|
452
|
-
<a href="http://www.electropedia.org">http://www.electropedia.org</a>
|
453
|
-
</p> </li> </ul>
|
454
|
-
</div>
|
455
|
-
<div id="widgets">
|
456
|
-
<h1>3.  Widgets</h1>
|
457
|
-
<div id="widgets1"><h2>3.1. </h2>
|
458
|
-
<div id="note1" class="example"><p class="example-title">EXAMPLE 1</p>
|
459
|
-
<p>Hello</p>
|
460
|
-
</div>
|
461
|
-
<div id="note2" class="example"><p class="example-title">EXAMPLE 2</p>
|
462
|
-
<p>Hello</p>
|
463
|
-
</div>
|
464
|
-
<p> <a href="#note1">Example 1</a> <a href="#note2">Example 2</a> </p>
|
465
|
-
</div>
|
466
|
-
</div>
|
467
|
-
<br/>
|
468
|
-
<div id="annex1" class="Section3">
|
469
|
-
<div id="annex1a"><h2>A.1. </h2>
|
470
|
-
<div id="AN" class="example"><p class="example-title">EXAMPLE</p>
|
471
|
-
<p>Hello</p>
|
472
|
-
</div>
|
473
|
-
</div>
|
474
|
-
<div id="annex1b"><h2>A.2. </h2>
|
475
|
-
<div id="Anote1" class="example"><p class="example-title">EXAMPLE 1</p>
|
476
|
-
<p>Hello</p>
|
477
|
-
</div>
|
478
|
-
<div id="Anote2" class="example"><p class="example-title">EXAMPLE 2</p>
|
479
|
-
<p>Hello</p>
|
480
|
-
</div>
|
481
|
-
</div>
|
482
|
-
</div>
|
483
|
-
</div>
|
484
|
-
</body>
|
485
|
-
</html>
|
486
476
|
OUTPUT
|
487
477
|
end
|
488
478
|
|
@@ -567,13 +557,13 @@ RSpec.describe IsoDoc do
|
|
567
557
|
</div>
|
568
558
|
<p class="zzSTDTitle1"/>
|
569
559
|
<div id="scope">
|
570
|
-
<h1>1
|
560
|
+
<h1>1  Scope</h1>
|
571
561
|
<div id="N" class="formula"><p><span class="stem">(#(r = 1 %)#)</span>  (1)</p></div>
|
572
562
|
<p>
|
573
563
|
<a href="#N">Formula (1)</a>
|
574
564
|
</p>
|
575
565
|
</div>
|
576
|
-
<div id="terms"><h1>2
|
566
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
577
567
|
<p>ISO and IEC maintain terminological databases for use in
|
578
568
|
standardization at the following addresses:</p>
|
579
569
|
|
@@ -585,8 +575,8 @@ RSpec.describe IsoDoc do
|
|
585
575
|
</p> </li> </ul>
|
586
576
|
</div>
|
587
577
|
<div id="widgets">
|
588
|
-
<h1>3
|
589
|
-
<div id="widgets1"><h2>3.1
|
578
|
+
<h1>3  Widgets</h1>
|
579
|
+
<div id="widgets1"><h2>3.1 </h2>
|
590
580
|
<div id="note1" class="formula"><p><span class="stem">(#(r = 1 %)#)</span>  (2)</p></div>
|
591
581
|
<div id="note2" class="formula"><p><span class="stem">(#(r = 1 %)#)</span>  (3)</p></div>
|
592
582
|
<p> <a href="#note1">Formula (2)</a> <a href="#note2">Formula (3)</a> </p>
|
@@ -594,10 +584,10 @@ RSpec.describe IsoDoc do
|
|
594
584
|
</div>
|
595
585
|
<br/>
|
596
586
|
<div id="annex1" class="Section3">
|
597
|
-
<div id="annex1a"><h2>A.1
|
587
|
+
<div id="annex1a"><h2>A.1 </h2>
|
598
588
|
<div id="AN" class="formula"><p><span class="stem">(#(r = 1 %)#)</span>  (A.1)</p></div>
|
599
589
|
</div>
|
600
|
-
<div id="annex1b"><h2>A.2
|
590
|
+
<div id="annex1b"><h2>A.2 </h2>
|
601
591
|
<div id="Anote1" class="formula"><p><span class="stem">(#(r = 1 %)#)</span>  (A.2)</p></div>
|
602
592
|
<div id="Anote2" class="formula"><p><span class="stem">(#(r = 1 %)#)</span>  (A.3)</p></div>
|
603
593
|
</div>
|
@@ -717,7 +707,7 @@ RSpec.describe IsoDoc do
|
|
717
707
|
</div>
|
718
708
|
<p class="zzSTDTitle1"/>
|
719
709
|
<div id="scope">
|
720
|
-
<h1>1
|
710
|
+
<h1>1  Scope</h1>
|
721
711
|
<p class="TableTitle" align="center">
|
722
712
|
Table 1 — Repeatability and reproducibility of husked rice yield
|
723
713
|
</p>
|
@@ -734,7 +724,7 @@ RSpec.describe IsoDoc do
|
|
734
724
|
<a href="#N">Table 1</a>
|
735
725
|
</p>
|
736
726
|
</div>
|
737
|
-
<div id="terms"><h1>2
|
727
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
738
728
|
<p>ISO and IEC maintain terminological databases for use in
|
739
729
|
standardization at the following addresses:</p>
|
740
730
|
|
@@ -746,8 +736,8 @@ RSpec.describe IsoDoc do
|
|
746
736
|
</p> </li> </ul>
|
747
737
|
</div>
|
748
738
|
<div id="widgets">
|
749
|
-
<h1>3
|
750
|
-
<div id="widgets1"><h2>3.1
|
739
|
+
<h1>3  Widgets</h1>
|
740
|
+
<div id="widgets1"><h2>3.1 </h2>
|
751
741
|
<p class="TableTitle" align="center">Table 2 — Repeatability and reproducibility of husked rice yield</p><table id="note1" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0"><tbody><tr><td align="left" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">Number of laboratories retained after eliminating outliers</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">13</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">11</td></tr></tbody></table>
|
752
742
|
<p class="TableTitle" align="center">Table 3 — Repeatability and reproducibility of husked rice yield</p><table id="note2" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0"><tbody><tr><td align="left" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">Number of laboratories retained after eliminating outliers</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">13</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">11</td></tr></tbody></table>
|
753
743
|
<p> <a href="#note1">Table 2</a> <a href="#note2">Table 3</a> </p>
|
@@ -755,10 +745,10 @@ RSpec.describe IsoDoc do
|
|
755
745
|
</div>
|
756
746
|
<br/>
|
757
747
|
<div id="annex1" class="Section3">
|
758
|
-
<div id="annex1a"><h2>A.1
|
748
|
+
<div id="annex1a"><h2>A.1 </h2>
|
759
749
|
<p class="TableTitle" align="center">Table A.1 — Repeatability and reproducibility of husked rice yield</p><table id="AN" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0"><tbody><tr><td align="left" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">Number of laboratories retained after eliminating outliers</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">13</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">11</td></tr></tbody></table>
|
760
750
|
</div>
|
761
|
-
<div id="annex1b"><h2>A.2
|
751
|
+
<div id="annex1b"><h2>A.2 </h2>
|
762
752
|
<p class="TableTitle" align="center">Table A.2 — Repeatability and reproducibility of husked rice yield</p><table id="Anote1" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0"><tbody><tr><td align="left" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">Number of laboratories retained after eliminating outliers</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">13</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">11</td></tr></tbody></table>
|
763
753
|
<p class="TableTitle" align="center">Table A.3 — Repeatability and reproducibility of husked rice yield</p><table id="Anote2" class="MsoISOTable" border="1" cellspacing="0" cellpadding="0"><tbody><tr><td align="left" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">Number of laboratories retained after eliminating outliers</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">13</td><td align="center" style="border-top:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;">11</td></tr></tbody></table>
|
764
754
|
</div>
|
@@ -812,9 +802,9 @@ RSpec.describe IsoDoc do
|
|
812
802
|
</div>
|
813
803
|
<p class="zzSTDTitle1"/>
|
814
804
|
<div id="scope">
|
815
|
-
<h1>1
|
805
|
+
<h1>1  Scope</h1>
|
816
806
|
</div>
|
817
|
-
<div id="terms"><h1>2
|
807
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>For the purposes of this document,
|
818
808
|
the following terms and definitions apply.</p>
|
819
809
|
<p>ISO and IEC maintain terminological databases for use in
|
820
810
|
standardization at the following addresses:</p>
|
@@ -943,22 +933,22 @@ RSpec.describe IsoDoc do
|
|
943
933
|
</div>
|
944
934
|
<br/>
|
945
935
|
<div class="Section3" id="B">
|
946
|
-
<h1 class="IntroTitle">0
|
936
|
+
<h1 class="IntroTitle">0  Introduction</h1>
|
947
937
|
<div id="C">
|
948
|
-
<h2>0.1
|
938
|
+
<h2>0.1 Introduction Subsection</h2>
|
949
939
|
</div>
|
950
|
-
<div id="C1"><h2>0.2
|
940
|
+
<div id="C1"><h2>0.2 </h2>Text</div>
|
951
941
|
</div>
|
952
942
|
<p class="zzSTDTitle1"/>
|
953
943
|
<div id="D">
|
954
|
-
<h1>1
|
944
|
+
<h1>1  Scope</h1>
|
955
945
|
<p id="E">Text</p>
|
956
946
|
</div>
|
957
947
|
<div>
|
958
|
-
<h1>2
|
948
|
+
<h1>2  Normative references</h1>
|
959
949
|
<p>There are no normative references in this document.</p>
|
960
950
|
</div>
|
961
|
-
<div id="H"><h1>3
|
951
|
+
<div id="H"><h1>3  Terms, definitions, symbols and abbreviated terms</h1><p>For the purposes of this document,
|
962
952
|
the following terms and definitions apply.</p>
|
963
953
|
<p>ISO and IEC maintain terminological databases for use in
|
964
954
|
standardization at the following addresses:</p>
|
@@ -970,15 +960,15 @@ RSpec.describe IsoDoc do
|
|
970
960
|
<a href="http://www.electropedia.org">http://www.electropedia.org</a>
|
971
961
|
</p> </li> </ul>
|
972
962
|
<div id="I">
|
973
|
-
<h2>3.1
|
963
|
+
<h2>3.1 Normal Terms</h2>
|
974
964
|
<p class="TermNum" id="J">3.1.1</p>
|
975
965
|
<p class="Terms" style="text-align:left;">Term2</p>
|
976
966
|
|
977
|
-
</div><div id="K"><h2>3.2
|
967
|
+
</div><div id="K"><h2>3.2 Symbols and abbreviated terms</h2>
|
978
968
|
<dl><dt><p>Symbol</p></dt><dd>Definition</dd></dl>
|
979
969
|
</div></div>
|
980
970
|
<div id="L" class="Symbols">
|
981
|
-
<h1>4
|
971
|
+
<h1>4  Symbols and abbreviated terms</h1>
|
982
972
|
<dl>
|
983
973
|
<dt>
|
984
974
|
<p>Symbol</p>
|
@@ -987,25 +977,25 @@ RSpec.describe IsoDoc do
|
|
987
977
|
</dl>
|
988
978
|
</div>
|
989
979
|
<div id="M">
|
990
|
-
<h1>5
|
980
|
+
<h1>5  Clause 4</h1>
|
991
981
|
<div id="N">
|
992
|
-
<h2>5.1
|
982
|
+
<h2>5.1 Introduction</h2>
|
993
983
|
</div>
|
994
984
|
<div id="O">
|
995
|
-
<h2>5.2
|
985
|
+
<h2>5.2 Clause 4.2</h2>
|
996
986
|
</div>
|
997
987
|
</div>
|
998
988
|
<br/>
|
999
989
|
<div id="P" class="Section3">
|
1000
990
|
<h1 class="Annex"><b>Annex A</b><br/>(normative)<br/><br/><b>Annex</b></h1>
|
1001
991
|
<div id="Q">
|
1002
|
-
<h2>A.1
|
992
|
+
<h2>A.1 Annex A.1</h2>
|
1003
993
|
<div id="Q1">
|
1004
|
-
<h3>A.1.1
|
994
|
+
<h3>A.1.1 Annex A.1a</h3>
|
1005
995
|
</div>
|
1006
996
|
</div>
|
1007
997
|
<div id="Q2">
|
1008
|
-
<h2>Appendix 1
|
998
|
+
<h2>Appendix 1 An Appendix</h2>
|
1009
999
|
</div>
|
1010
1000
|
</div>
|
1011
1001
|
<br/>
|
@@ -1086,12 +1076,12 @@ RSpec.describe IsoDoc do
|
|
1086
1076
|
</div>
|
1087
1077
|
<p class="zzSTDTitle1"/>
|
1088
1078
|
<div id="scope">
|
1089
|
-
<h1>1
|
1079
|
+
<h1>1  Scope</h1>
|
1090
1080
|
<ol type="a" id="N">
|
1091
1081
|
<li><p>A</p></li>
|
1092
1082
|
</ol>
|
1093
1083
|
</div>
|
1094
|
-
<div id="terms"><h1>2
|
1084
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
1095
1085
|
<p>ISO and IEC maintain terminological databases for use in
|
1096
1086
|
standardization at the following addresses:</p>
|
1097
1087
|
|
@@ -1103,8 +1093,8 @@ RSpec.describe IsoDoc do
|
|
1103
1093
|
</p> </li> </ul>
|
1104
1094
|
</div>
|
1105
1095
|
<div id="widgets">
|
1106
|
-
<h1>3
|
1107
|
-
<div id="widgets1"><h2>3.1
|
1096
|
+
<h1>3  Widgets</h1>
|
1097
|
+
<div id="widgets1"><h2>3.1 </h2>
|
1108
1098
|
<ol type="a" id="note1">
|
1109
1099
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
1110
1100
|
</ol>
|
@@ -1115,12 +1105,12 @@ RSpec.describe IsoDoc do
|
|
1115
1105
|
</div>
|
1116
1106
|
<br/>
|
1117
1107
|
<div id="annex1" class="Section3">
|
1118
|
-
<div id="annex1a"><h2>A.1
|
1108
|
+
<div id="annex1a"><h2>A.1 </h2>
|
1119
1109
|
<ol type="a" id="AN">
|
1120
1110
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
1121
1111
|
</ol>
|
1122
1112
|
</div>
|
1123
|
-
<div id="annex1b"><h2>A.2
|
1113
|
+
<div id="annex1b"><h2>A.2 </h2>
|
1124
1114
|
<ol type="a" id="Anote1">
|
1125
1115
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
1126
1116
|
</ol>
|
@@ -1201,12 +1191,12 @@ RSpec.describe IsoDoc do
|
|
1201
1191
|
</div>
|
1202
1192
|
<p class="zzSTDTitle1"/>
|
1203
1193
|
<div id="scope">
|
1204
|
-
<h1>1
|
1194
|
+
<h1>1  Scope</h1>
|
1205
1195
|
<ol type="a" id="N1">
|
1206
1196
|
<li id="N"><p>A</p></li>
|
1207
1197
|
</ol>
|
1208
1198
|
</div>
|
1209
|
-
<div id="terms"><h1>2
|
1199
|
+
<div id="terms"><h1>2  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
1210
1200
|
<p>ISO and IEC maintain terminological databases for use in
|
1211
1201
|
standardization at the following addresses:</p>
|
1212
1202
|
|
@@ -1218,8 +1208,8 @@ RSpec.describe IsoDoc do
|
|
1218
1208
|
</p> </li> </ul>
|
1219
1209
|
</div>
|
1220
1210
|
<div id="widgets">
|
1221
|
-
<h1>3
|
1222
|
-
<div id="widgets1"><h2>3.1
|
1211
|
+
<h1>3  Widgets</h1>
|
1212
|
+
<div id="widgets1"><h2>3.1 </h2>
|
1223
1213
|
<ol type="a" id="note1l">
|
1224
1214
|
<li id="note1"><p>A</p></li>
|
1225
1215
|
</ol>
|
@@ -1230,12 +1220,12 @@ RSpec.describe IsoDoc do
|
|
1230
1220
|
</div>
|
1231
1221
|
<br/>
|
1232
1222
|
<div id="annex1" class="Section3">
|
1233
|
-
<div id="annex1a"><h2>A.1
|
1223
|
+
<div id="annex1a"><h2>A.1 </h2>
|
1234
1224
|
<ol type="a" id="ANl">
|
1235
1225
|
<li id="AN"><p>A</p></li>
|
1236
1226
|
</ol>
|
1237
1227
|
</div>
|
1238
|
-
<div id="annex1b"><h2>A.2
|
1228
|
+
<div id="annex1b"><h2>A.2 </h2>
|
1239
1229
|
<ol type="a" id="Anote1l">
|
1240
1230
|
<li id="Anote1"><p>A</p></li>
|
1241
1231
|
</ol>
|
@@ -1304,7 +1294,7 @@ RSpec.describe IsoDoc do
|
|
1304
1294
|
</div>
|
1305
1295
|
<p class="zzSTDTitle1"/>
|
1306
1296
|
<div id="scope">
|
1307
|
-
<h1>1
|
1297
|
+
<h1>1  Scope</h1>
|
1308
1298
|
<ol type="a" id="N1">
|
1309
1299
|
<li id="N"><p>A</p>
|
1310
1300
|
<ol type="1">
|