metanorma-standoc 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/standoc/base.rb +0 -1
- data/lib/asciidoctor/standoc/blocks.rb +0 -1
- data/lib/asciidoctor/standoc/blocks_notes.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_amend.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_block.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_boilerplate.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_footnotes.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_image.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_inline.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_maths.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_ref.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_ref_dl.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_reqt.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_section.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_section_names.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_symbols.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_table.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_terms.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_terms_designations.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_text.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_toc.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_xref.rb +0 -1
- data/lib/asciidoctor/standoc/converter.rb +0 -1
- data/lib/asciidoctor/standoc/deprecated.rb +4 -2
- data/lib/asciidoctor/standoc/front.rb +0 -1
- data/lib/asciidoctor/standoc/front_contributor.rb +0 -1
- data/lib/asciidoctor/standoc/inline.rb +0 -1
- data/lib/asciidoctor/standoc/lists.rb +0 -1
- data/lib/asciidoctor/standoc/macros.rb +0 -1
- data/lib/asciidoctor/standoc/macros_form.rb +0 -1
- data/lib/asciidoctor/standoc/macros_note.rb +0 -1
- data/lib/asciidoctor/standoc/macros_plantuml.rb +0 -1
- data/lib/asciidoctor/standoc/macros_terms.rb +0 -1
- data/lib/asciidoctor/standoc/render.rb +0 -1
- data/lib/asciidoctor/standoc/reqt.rb +0 -1
- data/lib/asciidoctor/standoc/section.rb +0 -1
- data/lib/asciidoctor/standoc/table.rb +0 -1
- data/lib/asciidoctor/standoc/term_lookup_cleanup.rb +0 -1
- data/lib/asciidoctor/standoc/terms.rb +0 -1
- data/lib/asciidoctor/standoc/utils.rb +0 -1
- data/lib/asciidoctor/standoc/validate.rb +0 -1
- data/lib/asciidoctor/standoc/validate_section.rb +0 -1
- data/lib/isodoc/pdf_convert.rb +2 -3
- data/lib/metanorma/standoc/biblio.rng +25 -2
- data/lib/metanorma/standoc/blocks.rb +10 -0
- data/lib/metanorma/standoc/cleanup_boilerplate.rb +15 -7
- data/lib/metanorma/standoc/cleanup_ref.rb +2 -4
- data/lib/metanorma/standoc/cleanup_xref.rb +3 -4
- data/lib/metanorma/standoc/inline.rb +11 -8
- data/lib/metanorma/standoc/macros_embed.rb +1 -3
- data/lib/metanorma/standoc/macros_terms.rb +1 -1
- data/lib/metanorma/standoc/processor.rb +2 -1
- data/lib/metanorma/standoc/ref.rb +4 -4
- data/lib/metanorma/standoc/render.rb +6 -1
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -0
- data/spec/assets/iso.adoc +10 -0
- data/spec/metanorma/blocks_spec.rb +113 -72
- data/spec/metanorma/cleanup_sections_spec.rb +6 -6
- data/spec/metanorma/cleanup_spec.rb +5 -5
- data/spec/metanorma/cleanup_terms_spec.rb +93 -19
- data/spec/metanorma/inline_spec.rb +1 -1
- data/spec/metanorma/macros_spec.rb +216 -45
- data/spec/metanorma/refs_dl_spec.rb +11 -6
- data/spec/metanorma/section_spec.rb +15 -15
- data/spec/metanorma/table_spec.rb +339 -342
- data/spec/spec_helper.rb +2 -5
- metadata +17 -2
@@ -11,86 +11,86 @@ RSpec.describe Metanorma::Standoc do
|
|
11
11
|
h|1 |2 |3
|
12
12
|
|===
|
13
13
|
INPUT
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
14
|
+
#{BLANK_HDR}
|
15
|
+
<sections>
|
16
|
+
<table id="_">
|
17
|
+
<name>Table Name</name>
|
18
|
+
<thead>
|
19
|
+
<tr>
|
20
|
+
<th valign="top" align="left">A</th>
|
21
|
+
<th valign="top" align="left">B</th>
|
22
|
+
<th valign="top" align="left">C</th>
|
23
|
+
</tr>
|
24
|
+
</thead>
|
25
|
+
<tbody>
|
26
|
+
<tr>
|
27
|
+
<th valign="top" align="left">1</th>
|
28
|
+
<td valign="top" align="left">2</td>
|
29
|
+
<td valign="top" align="left">3</td>
|
30
|
+
</tr>
|
31
|
+
</tbody>
|
32
|
+
</table>
|
33
|
+
</sections>
|
34
|
+
</standard-document>
|
35
35
|
OUTPUT
|
36
36
|
end
|
37
37
|
|
38
38
|
it "processes table widths" do
|
39
39
|
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", *OPTIONS)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
#{ASCIIDOC_BLANK_HDR}
|
41
|
+
[width=75%]
|
42
|
+
|===
|
43
|
+
|A
|
44
|
+
|B
|
45
|
+
|===
|
46
46
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
47
|
+
[width=75]
|
48
|
+
|===
|
49
|
+
|A
|
50
|
+
|B
|
51
|
+
|===
|
52
52
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
53
|
+
[width=575]
|
54
|
+
|===
|
55
|
+
|A
|
56
|
+
|B
|
57
|
+
|===
|
58
58
|
|
59
59
|
INPUT
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</standard-document>
|
60
|
+
#{BLANK_HDR}
|
61
|
+
<sections>
|
62
|
+
<table id='_' width='75%'>
|
63
|
+
<tbody>
|
64
|
+
<tr>
|
65
|
+
<td valign='top' align='left'>A</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td valign='top' align='left'>B</td>
|
69
|
+
</tr>
|
70
|
+
</tbody>
|
71
|
+
</table>
|
72
|
+
<table id='_' width='75'>
|
73
|
+
<tbody>
|
74
|
+
<tr>
|
75
|
+
<td valign='top' align='left'>A</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td valign='top' align='left'>B</td>
|
79
|
+
</tr>
|
80
|
+
</tbody>
|
81
|
+
</table>
|
82
|
+
<table id='_' width='575'>
|
83
|
+
<tbody>
|
84
|
+
<tr>
|
85
|
+
<td valign='top' align='left'>A</td>
|
86
|
+
</tr>
|
87
|
+
<tr>
|
88
|
+
<td valign='top' align='left'>B</td>
|
89
|
+
</tr>
|
90
|
+
</tbody>
|
91
|
+
</table>
|
92
|
+
</sections>
|
93
|
+
</standard-document>
|
94
94
|
|
95
95
|
OUTPUT
|
96
96
|
end
|
@@ -120,69 +120,68 @@ RSpec.describe Metanorma::Standoc do
|
|
120
120
|
|1 |2 |3
|
121
121
|
|===
|
122
122
|
INPUT
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
<table id='_'>
|
142
|
-
<thead>
|
143
|
-
<tr>
|
144
|
-
<th valign='top' align='left'>A</th>
|
145
|
-
<th valign='top' align='left'>B</th>
|
146
|
-
<th valign='top' align='left'>C</th>
|
147
|
-
</tr>
|
148
|
-
</thead>
|
149
|
-
<tbody>
|
150
|
-
<tr>
|
151
|
-
<td valign='top' align='left'>1</td>
|
152
|
-
<td valign='top' align='left'>2</td>
|
153
|
-
<td valign='top' align='left'>3</td>
|
154
|
-
</tr>
|
155
|
-
</tbody>
|
156
|
-
</table>
|
123
|
+
#{BLANK_HDR}
|
124
|
+
<sections>
|
125
|
+
<table id='_'>
|
126
|
+
<thead>
|
127
|
+
<tr>
|
128
|
+
<th valign='top' align='left'>A</th>
|
129
|
+
<th valign='middle' align='left'>B</th>
|
130
|
+
<th valign='bottom' align='center'>C</th>
|
131
|
+
</tr>
|
132
|
+
</thead>
|
133
|
+
<tbody>
|
134
|
+
<tr>
|
135
|
+
<td valign='top' align='left'>1</td>
|
136
|
+
<td valign='middle' align='left'>2</td>
|
137
|
+
<td valign='bottom' align='center'>3</td>
|
138
|
+
</tr>
|
139
|
+
</tbody>
|
140
|
+
</table>
|
157
141
|
<table id='_'>
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
142
|
+
<thead>
|
143
|
+
<tr>
|
144
|
+
<th valign='top' align='left'>A</th>
|
145
|
+
<th valign='top' align='left'>B</th>
|
146
|
+
<th valign='top' align='left'>C</th>
|
147
|
+
</tr>
|
148
|
+
</thead>
|
149
|
+
<tbody>
|
150
|
+
<tr>
|
151
|
+
<td valign='top' align='left'>1</td>
|
152
|
+
<td valign='top' align='left'>2</td>
|
153
|
+
<td valign='top' align='left'>3</td>
|
154
|
+
</tr>
|
155
|
+
</tbody>
|
156
|
+
</table>
|
157
|
+
<table id='_'>
|
158
|
+
<colgroup>
|
159
|
+
<col width='11.1111%'/>
|
160
|
+
<col width='22.2222%'/>
|
161
|
+
<col width='66.6667%'/>
|
162
|
+
</colgroup>
|
163
|
+
<thead>
|
164
|
+
<tr>
|
165
|
+
<th valign='top' align='left'>A</th>
|
166
|
+
<th valign='top' align='left'>B</th>
|
167
|
+
<th valign='top' align='left'>C</th>
|
168
|
+
</tr>
|
169
|
+
</thead>
|
170
|
+
<tbody>
|
171
|
+
<tr>
|
172
|
+
<td valign='top' align='left'>1</td>
|
173
|
+
<td valign='top' align='left'>2</td>
|
174
|
+
<td valign='top' align='left'>3</td>
|
175
|
+
</tr>
|
176
|
+
</tbody>
|
177
|
+
</table>
|
178
|
+
</sections>
|
179
|
+
</standard-document>
|
180
180
|
OUTPUT
|
181
181
|
end
|
182
182
|
|
183
|
-
|
184
183
|
it "inserts header rows in a table with a name and no header" do
|
185
|
-
|
184
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", *OPTIONS)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
186
185
|
#{ASCIIDOC_BLANK_HDR}
|
187
186
|
[headerrows=2]
|
188
187
|
.Table Name
|
@@ -192,37 +191,36 @@ RSpec.describe Metanorma::Standoc do
|
|
192
191
|
h|1 |2 |3
|
193
192
|
|===
|
194
193
|
INPUT
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
194
|
+
#{BLANK_HDR}
|
195
|
+
<sections>
|
196
|
+
<table id="_">
|
197
|
+
<name>Table Name</name>
|
198
|
+
<thead><tr>
|
199
|
+
<th valign="top" align="left">A</th>
|
200
|
+
<th valign="top" align="left">B</th>
|
201
|
+
<th valign="top" align="left">C</th>
|
202
|
+
</tr><tr>
|
203
|
+
<th valign="top" align="left">1</th>
|
204
|
+
<th valign="top" align="left">2</th>
|
205
|
+
<th valign="top" align="left">3</th>
|
206
|
+
</tr></thead>
|
207
|
+
<tbody>
|
209
208
|
|
210
209
|
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
210
|
+
<tr>
|
211
|
+
<th valign="top" align="left">1</th>
|
212
|
+
<td valign="top" align="left">2</td>
|
213
|
+
<td valign="top" align="left">3</td>
|
214
|
+
</tr>
|
215
|
+
</tbody>
|
216
|
+
</table>
|
217
|
+
</sections>
|
218
|
+
</standard-document>
|
220
219
|
OUTPUT
|
221
220
|
end
|
222
221
|
|
223
|
-
|
224
222
|
it "inserts header rows in a table without a name and no header" do
|
225
|
-
|
223
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", *OPTIONS)))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
226
224
|
#{ASCIIDOC_BLANK_HDR}
|
227
225
|
[headerrows=2]
|
228
226
|
|===
|
@@ -231,29 +229,29 @@ RSpec.describe Metanorma::Standoc do
|
|
231
229
|
h|1 |2 |3
|
232
230
|
|===
|
233
231
|
INPUT
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
232
|
+
#{BLANK_HDR}
|
233
|
+
<sections>
|
234
|
+
<table id="_"><thead><tr>
|
235
|
+
<th valign="top" align="left">A</th>
|
236
|
+
<th valign="top" align="left">B</th>
|
237
|
+
<th valign="top" align="left">C</th>
|
238
|
+
</tr><tr>
|
239
|
+
<th valign="top" align="left">1</th>
|
240
|
+
<th valign="top" align="left">2</th>
|
241
|
+
<th valign="top" align="left">3</th>
|
242
|
+
</tr></thead>
|
243
|
+
<tbody>
|
246
244
|
|
247
245
|
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
246
|
+
<tr>
|
247
|
+
<th valign="top" align="left">1</th>
|
248
|
+
<td valign="top" align="left">2</td>
|
249
|
+
<td valign="top" align="left">3</td>
|
250
|
+
</tr>
|
251
|
+
</tbody>
|
252
|
+
</table>
|
253
|
+
</sections>
|
254
|
+
</standard-document>
|
257
255
|
OUTPUT
|
258
256
|
end
|
259
257
|
|
@@ -266,7 +264,7 @@ RSpec.describe Metanorma::Standoc do
|
|
266
264
|
.2+|Defect 4+^| Maximum permissible mass fraction of defects in husked rice +
|
267
265
|
stem:[w_max]
|
268
266
|
| in husked rice | in milled rice (non-glutinous) | in husked parboiled rice | in milled parboiled rice
|
269
|
-
|
267
|
+
|
270
268
|
| Extraneous matter: organic footnote:[Organic extraneous matter includes foreign seeds, husks, bran, parts of straw, etc.] | 1,0 | 0,5 | 1,0 | 0,5
|
271
269
|
// not rendered list here
|
272
270
|
| Extraneous matter: inorganic footnote:[Inorganic extraneous matter includes stones, sand, dust, etc.] | 0,5 | 0,5 | 0,5 | 0,5
|
@@ -284,176 +282,175 @@ RSpec.describe Metanorma::Standoc do
|
|
284
282
|
| Partly gelatinized kernels | Not applicable | Not applicable | 11,0 footnote:defectsmass[] | 11,0
|
285
283
|
| Pecks | Not applicable | Not applicable | 4,0 | 2,0
|
286
284
|
| Waxy rice | 1,0 footnote:defectsmass[] | 1,0 | 1,0 footnote:defectsmass[] | 1,0
|
287
|
-
|
285
|
+
|
288
286
|
5+a| Live insects shall not be present. Dead insects shall be included in extraneous matter.
|
289
287
|
|===
|
290
288
|
INPUT
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
</mrow>
|
302
|
-
<mrow>
|
303
|
-
|
304
|
-
</mrow>
|
305
|
-
</msub></math></stem></th>
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
289
|
+
#{BLANK_HDR}
|
290
|
+
<sections>
|
291
|
+
<table id="_" alt="An extensive summary, and illustration, of tables" unnumbered="true" subsequence="A" summary="This is an extremely long, convoluted summary" width="70%" number="3" keep-with-next="true" keep-lines-together="true">
|
292
|
+
<name>Maximum <em>permissible</em> mass fraction of defects</name>
|
293
|
+
<thead>
|
294
|
+
<tr>
|
295
|
+
<th rowspan="2" valign="middle" align="left">Defect</th>
|
296
|
+
<th colspan="4" valign="top" align="center">Maximum permissible mass fraction of defects in husked rice<br/>
|
297
|
+
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow>
|
298
|
+
<mi>w</mi>
|
299
|
+
</mrow>
|
300
|
+
<mrow>
|
301
|
+
<mo>max</mo>
|
302
|
+
</mrow>
|
303
|
+
</msub></math></stem></th>
|
304
|
+
</tr>
|
305
|
+
<tr>
|
306
|
+
<th valign="middle" align="left">in husked rice</th>
|
307
|
+
<th valign="top" align="center">in milled rice (non-glutinous)</th>
|
308
|
+
<th valign="bottom" align="center">in husked parboiled rice</th>
|
309
|
+
<th valign="top" align="center">in milled parboiled rice</th>
|
310
|
+
</tr></thead>
|
311
|
+
<tbody>
|
314
312
|
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
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
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
313
|
+
<tr>
|
314
|
+
<td valign="middle" align="left">Extraneous matter: organic<fn reference="a">
|
315
|
+
<p id="_">Organic extraneous matter includes foreign seeds, husks, bran, parts of straw, etc.</p>
|
316
|
+
</fn></td>
|
317
|
+
<td valign="top" align="center">1,0</td>
|
318
|
+
<td valign="bottom" align="center">0,5</td>
|
319
|
+
<td valign="top" align="center">1,0</td>
|
320
|
+
<td valign="top" align="center">0,5</td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td valign="middle" align="left">Extraneous matter: inorganic<fn reference="b">
|
324
|
+
<p id="_">Inorganic extraneous matter includes stones, sand, dust, etc.</p>
|
325
|
+
</fn></td>
|
326
|
+
<td valign="top" align="center">0,5</td>
|
327
|
+
<td valign="bottom" align="center">0,5</td>
|
328
|
+
<td valign="top" align="center">0,5</td>
|
329
|
+
<td valign="top" align="center">0,5</td>
|
330
|
+
</tr>
|
331
|
+
<tr>
|
332
|
+
<td valign="middle" align="left">Paddy</td>
|
333
|
+
<td valign="top" align="center">2,5</td>
|
334
|
+
<td valign="bottom" align="center">0,3</td>
|
335
|
+
<td valign="top" align="center">2,5</td>
|
336
|
+
<td valign="top" align="center">0,3</td>
|
337
|
+
</tr>
|
338
|
+
<tr>
|
339
|
+
<td valign="middle" align="left">Husked rice, non-parboiled</td>
|
340
|
+
<td valign="top" align="center">Not applicable</td>
|
341
|
+
<td valign="bottom" align="center">1,0</td>
|
342
|
+
<td valign="top" align="center">1,0</td>
|
343
|
+
<td valign="top" align="center">1,0</td>
|
344
|
+
</tr>
|
345
|
+
<tr>
|
346
|
+
<td valign="middle" align="left">Milled rice, non-parboiled</td>
|
347
|
+
<td valign="top" align="center">1,0</td>
|
348
|
+
<td valign="bottom" align="center">Not applicable</td>
|
349
|
+
<td valign="top" align="center">1,0</td>
|
350
|
+
<td valign="top" align="center">1,0</td>
|
351
|
+
</tr>
|
352
|
+
<tr>
|
353
|
+
<td valign="middle" align="left">Husked rice, parboiled</td>
|
354
|
+
<td valign="top" align="center">1,0</td>
|
355
|
+
<td valign="bottom" align="center">1,0</td>
|
356
|
+
<td valign="top" align="center">Not applicable</td>
|
357
|
+
<td valign="top" align="center">1,0</td>
|
358
|
+
</tr>
|
359
|
+
<tr>
|
360
|
+
<td valign="middle" align="left">Milled rice, parboiled</td>
|
361
|
+
<td valign="top" align="center">1,0</td>
|
362
|
+
<td valign="bottom" align="center">1,0</td>
|
363
|
+
<td valign="top" align="center">1,0</td>
|
364
|
+
<td valign="top" align="center">Not applicable</td>
|
365
|
+
</tr>
|
366
|
+
<tr>
|
367
|
+
<td valign="middle" align="left">Chips</td>
|
368
|
+
<td valign="top" align="center">0,1</td>
|
369
|
+
<td valign="bottom" align="center">0,1</td>
|
370
|
+
<td valign="top" align="center">0,1</td>
|
371
|
+
<td valign="top" align="center">0,1</td>
|
372
|
+
</tr>
|
373
|
+
<tr>
|
374
|
+
<td valign="middle" align="left">HDK</td>
|
375
|
+
<td valign="top" align="center">2,0<fn reference="c">
|
376
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
377
|
+
</fn></td>
|
378
|
+
<td valign="bottom" align="center">2,0</td>
|
379
|
+
<td valign="top" align="center">2,0<fn reference="c">
|
380
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
381
|
+
</fn></td>
|
382
|
+
<td valign="top" align="center">2,0</td>
|
383
|
+
</tr>
|
384
|
+
<tr>
|
385
|
+
<td valign="middle" align="left">Damaged kernels</td>
|
386
|
+
<td valign="top" align="center">4,0</td>
|
387
|
+
<td valign="bottom" align="center">3,0</td>
|
388
|
+
<td valign="top" align="center">4,0</td>
|
389
|
+
<td valign="top" align="center">3,0</td>
|
390
|
+
</tr>
|
391
|
+
<tr>
|
392
|
+
<td valign="middle" align="left">Immature and/or malformed kernels</td>
|
393
|
+
<td valign="top" align="center">8,0</td>
|
394
|
+
<td valign="bottom" align="center">2,0</td>
|
395
|
+
<td valign="top" align="center">8,0</td>
|
396
|
+
<td valign="top" align="center">2,0</td>
|
397
|
+
</tr>
|
398
|
+
<tr>
|
399
|
+
<td valign="middle" align="left">Chalky kernels</td>
|
400
|
+
<td valign="top" align="center">5,0<fn reference="c">
|
401
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
402
|
+
</fn></td>
|
403
|
+
<td valign="bottom" align="center">5,0</td>
|
404
|
+
<td valign="top" align="center">Not applicable</td>
|
405
|
+
<td valign="top" align="center">Not applicable</td>
|
406
|
+
</tr>
|
407
|
+
<tr>
|
408
|
+
<td valign="middle" align="left">Red kernels and red-streaked kernels</td>
|
409
|
+
<td valign="top" align="center">12,0</td>
|
410
|
+
<td valign="bottom" align="center">12,0</td>
|
411
|
+
<td valign="top" align="center">12,0<fn reference="c">
|
412
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
413
|
+
</fn></td>
|
414
|
+
<td valign="top" align="center">12,0</td>
|
415
|
+
</tr>
|
416
|
+
<tr>
|
417
|
+
<td valign="middle" align="left">Partly gelatinized kernels</td>
|
418
|
+
<td valign="top" align="center">Not applicable</td>
|
419
|
+
<td valign="bottom" align="center">Not applicable</td>
|
420
|
+
<td valign="top" align="center">11,0<fn reference="c">
|
421
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
422
|
+
</fn></td>
|
423
|
+
<td valign="top" align="center">11,0</td>
|
424
|
+
</tr>
|
425
|
+
<tr>
|
426
|
+
<td valign="middle" align="left">Pecks</td>
|
427
|
+
<td valign="top" align="center">Not applicable</td>
|
428
|
+
<td valign="bottom" align="center">Not applicable</td>
|
429
|
+
<td valign="top" align="center">4,0</td>
|
430
|
+
<td valign="top" align="center">2,0</td>
|
431
|
+
</tr>
|
432
|
+
<tr>
|
433
|
+
<td valign="middle" align="left">Waxy rice</td>
|
434
|
+
<td valign="top" align="center">1,0<fn reference="c">
|
435
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
436
|
+
</fn></td>
|
437
|
+
<td valign="bottom" align="center">1,0</td>
|
438
|
+
<td valign="top" align="center">1,0<fn reference="c">
|
439
|
+
<p id="_">The maximum permissible mass fraction of defects shall be determined with respect to the mass fraction obtained after milling.</p>
|
440
|
+
</fn></td>
|
441
|
+
<td valign="top" align="center">1,0</td>
|
442
|
+
</tr>
|
443
|
+
</tbody>
|
444
|
+
<tfoot>
|
445
|
+
<tr>
|
446
|
+
<td colspan="5" valign="middle" align="left">
|
447
|
+
<p id="_">Live insects shall not be present. Dead insects shall be included in extraneous matter.</p>
|
448
|
+
</td>
|
449
|
+
</tr>
|
450
|
+
</tfoot>
|
451
|
+
</table>
|
452
|
+
</sections>
|
453
|
+
</standard-document>
|
456
454
|
OUTPUT
|
457
455
|
end
|
458
456
|
end
|
459
|
-
|