isodoc 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rspec +1 -2
- data/lib/isodoc/convert.rb +2 -2
- data/lib/isodoc/css.rb +30 -26
- data/lib/isodoc/function/blocks.rb +11 -4
- data/lib/isodoc/function/blocks_example_note.rb +2 -2
- data/lib/isodoc/function/cleanup.rb +1 -2
- data/lib/isodoc/function/utils.rb +41 -39
- data/lib/isodoc/gem_tasks.rb +30 -31
- data/lib/isodoc/html_convert.rb +4 -4
- data/lib/isodoc/html_function/postprocess.rb +27 -71
- data/lib/isodoc/html_function/postprocess_footnotes.rb +59 -0
- data/lib/isodoc/i18n.rb +20 -20
- data/lib/isodoc/presentation_function/block.rb +17 -8
- data/lib/isodoc/presentation_function/inline.rb +2 -0
- data/lib/isodoc/version.rb +1 -1
- data/lib/isodoc/word_function/footnotes.rb +22 -15
- data/lib/isodoc/xref.rb +9 -10
- data/lib/isodoc/xref/xref_counter.rb +31 -15
- data/lib/isodoc/xref/xref_gen.rb +12 -7
- data/lib/isodoc/xref/xref_sect_gen.rb +22 -20
- data/spec/isodoc/blocks_spec.rb +2585 -2576
- data/spec/isodoc/cleanup_spec.rb +1107 -1109
- data/spec/isodoc/i18n_spec.rb +984 -972
- data/spec/isodoc/lists_spec.rb +316 -315
- data/spec/isodoc/postproc_spec.rb +1636 -1530
- data/spec/isodoc/ref_spec.rb +718 -723
- data/spec/isodoc/xref_spec.rb +52 -0
- metadata +3 -2
@@ -7,17 +7,21 @@ RSpec.describe IsoDoc do
|
|
7
7
|
it "generates file based on string input" do
|
8
8
|
FileUtils.rm_f "test.doc"
|
9
9
|
FileUtils.rm_f "test.html"
|
10
|
-
IsoDoc::HtmlConvert.new(
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
</
|
19
|
-
|
20
|
-
|
10
|
+
IsoDoc::HtmlConvert.new(
|
11
|
+
{ wordstylesheet: "spec/assets/word.css",
|
12
|
+
htmlstylesheet: "spec/assets/html.scss",
|
13
|
+
filename: "test" }
|
14
|
+
).convert("test", <<~"INPUT", false)
|
15
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
16
|
+
<bibdata>
|
17
|
+
<title language="en">test</title>
|
18
|
+
</bibdata>
|
19
|
+
<preface><foreword>
|
20
|
+
<note>
|
21
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
22
|
+
</note>
|
23
|
+
</foreword></preface>
|
24
|
+
</iso-standard>
|
21
25
|
INPUT
|
22
26
|
expect(File.exist?("test.html")).to be true
|
23
27
|
html = File.read("test.html")
|
@@ -30,17 +34,21 @@ RSpec.describe IsoDoc do
|
|
30
34
|
it "generates file in a remote directory" do
|
31
35
|
FileUtils.rm_f "spec/assets/test.doc"
|
32
36
|
FileUtils.rm_f "spec/assets/test.html"
|
33
|
-
IsoDoc::HtmlConvert.new(
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
</
|
42
|
-
|
43
|
-
|
37
|
+
IsoDoc::HtmlConvert.new(
|
38
|
+
{ wordstylesheet: "word.css",
|
39
|
+
htmlstylesheet: "html.scss",
|
40
|
+
filename: "test" }
|
41
|
+
).convert("spec/assets/test", <<~"INPUT", false)
|
42
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
43
|
+
<bibdata>
|
44
|
+
<title language="en">test</title>
|
45
|
+
</bibdata>
|
46
|
+
<preface><foreword>
|
47
|
+
<note>
|
48
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
49
|
+
</note>
|
50
|
+
</foreword></preface>
|
51
|
+
</iso-standard>
|
44
52
|
INPUT
|
45
53
|
expect(File.exist?("spec/assets/test.html")).to be true
|
46
54
|
html = File.read("spec/assets/test.html")
|
@@ -51,52 +59,43 @@ RSpec.describe IsoDoc do
|
|
51
59
|
it "ignores Liquid markup in the document body" do
|
52
60
|
FileUtils.rm_f "test.doc"
|
53
61
|
FileUtils.rm_f "test.html"
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
</note>
|
63
|
-
|
64
|
-
|
65
|
-
INPUT
|
66
|
-
|
62
|
+
input = <<~INPUT
|
63
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
64
|
+
<bibdata>
|
65
|
+
<title language="en">test</title>
|
66
|
+
</bibdata>
|
67
|
+
<preface><foreword>
|
68
|
+
<note>
|
69
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">{% elif %}These results are based on a study carried out on three different types of kernel.</p>
|
70
|
+
</note>
|
71
|
+
</foreword></preface>
|
72
|
+
</iso-standard>
|
73
|
+
INPUT
|
74
|
+
IsoDoc::HtmlConvert.new(wordstylesheet: "spec/assets/word.css")
|
75
|
+
.convert("test", input, false)
|
76
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css" })
|
77
|
+
.convert("test", input, false)
|
78
|
+
expect(File.exist?("test.html")).to be true
|
67
79
|
html = File.read("test.html")
|
68
|
-
|
80
|
+
expect(html).to match(%r/\{% elif %}/)
|
69
81
|
|
70
|
-
|
71
|
-
FileUtils.rm_f "test.doc"
|
72
|
-
FileUtils.rm_f "test.html"
|
73
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css"}).convert("test", <<~"INPUT", false)
|
74
|
-
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
75
|
-
<bibdata>
|
76
|
-
<title language="en">test</title>
|
77
|
-
</bibdata>
|
78
|
-
<preface><foreword>
|
79
|
-
<note>
|
80
|
-
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">{% elif %}These results are based on a study carried out on three different types of kernel.</p>
|
81
|
-
</note>
|
82
|
-
</foreword></preface>
|
83
|
-
</iso-standard>
|
84
|
-
INPUT
|
85
|
-
expect(File.exist?("test.doc")).to be true
|
82
|
+
expect(File.exist?("test.doc")).to be true
|
86
83
|
html = File.read("test.doc")
|
84
|
+
expect(html).to match(%r/\{% elif %}/)
|
87
85
|
end
|
88
86
|
|
89
87
|
it "generates HTML output docs with null configuration" do
|
90
88
|
FileUtils.rm_f "test.doc"
|
91
89
|
FileUtils.rm_f "test.html"
|
92
|
-
IsoDoc::HtmlConvert.new({wordstylesheet: "spec/assets/word.css"})
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
90
|
+
IsoDoc::HtmlConvert.new({ wordstylesheet: "spec/assets/word.css" })
|
91
|
+
.convert("test", <<~"INPUT", false)
|
92
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
93
|
+
<preface><foreword>
|
94
|
+
<note>
|
95
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
96
|
+
</note>
|
97
|
+
</foreword></preface>
|
98
|
+
</iso-standard>
|
100
99
|
INPUT
|
101
100
|
expect(File.exist?("test.html")).to be true
|
102
101
|
html = File.read("test.html")
|
@@ -110,14 +109,17 @@ expect(File.exist?("test.doc")).to be true
|
|
110
109
|
it "generates Word output docs with null configuration" do
|
111
110
|
FileUtils.rm_f "test.doc"
|
112
111
|
FileUtils.rm_f "test.html"
|
113
|
-
IsoDoc::WordConvert.new(
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
112
|
+
IsoDoc::WordConvert.new(
|
113
|
+
{ wordstylesheet: "spec/assets/word.css",
|
114
|
+
htmlstylesheet: "spec/assets/html.scss" }
|
115
|
+
).convert("test", <<~"INPUT", false)
|
116
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
117
|
+
<preface><foreword>
|
118
|
+
<note>
|
119
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
120
|
+
</note>
|
121
|
+
</foreword></preface>
|
122
|
+
</iso-standard>
|
121
123
|
INPUT
|
122
124
|
expect(File.exist?("test.doc")).to be true
|
123
125
|
word = File.read("test.doc")
|
@@ -129,7 +131,10 @@ expect(File.exist?("test.doc")).to be true
|
|
129
131
|
it "generates HTML output docs with null configuration from file" do
|
130
132
|
FileUtils.rm_f "spec/assets/iso.doc"
|
131
133
|
FileUtils.rm_f "spec/assets/iso.html"
|
132
|
-
IsoDoc::HtmlConvert.new(
|
134
|
+
IsoDoc::HtmlConvert.new(
|
135
|
+
{ wordstylesheet: "word.css",
|
136
|
+
htmlstylesheet: "html.scss" }
|
137
|
+
).convert("spec/assets/iso.xml", nil, false)
|
133
138
|
expect(File.exist?("spec/assets/iso.html")).to be true
|
134
139
|
html = File.read("spec/assets/iso.html")
|
135
140
|
expect(html).to match(/another empty stylesheet/)
|
@@ -141,7 +146,10 @@ expect(File.exist?("test.doc")).to be true
|
|
141
146
|
|
142
147
|
it "generates Headless HTML output docs with null configuration from file" do
|
143
148
|
FileUtils.rm_f "spec/assets/iso.html"
|
144
|
-
IsoDoc::HeadlessHtmlConvert.new(
|
149
|
+
IsoDoc::HeadlessHtmlConvert.new(
|
150
|
+
{ wordstylesheet: "word.css",
|
151
|
+
htmlstylesheet: "html.scss" }
|
152
|
+
).convert("spec/assets/iso.xml", nil, false)
|
145
153
|
expect(File.exist?("spec/assets/iso.headless.html")).to be true
|
146
154
|
html = File.read("spec/assets/iso.headless.html")
|
147
155
|
expect(html).not_to match(/another empty stylesheet/)
|
@@ -155,7 +163,10 @@ expect(File.exist?("test.doc")).to be true
|
|
155
163
|
|
156
164
|
it "generates Word output docs with null configuration from file" do
|
157
165
|
FileUtils.rm_f "spec/assets/iso.doc"
|
158
|
-
IsoDoc::WordConvert.new(
|
166
|
+
IsoDoc::WordConvert.new(
|
167
|
+
{ wordstylesheet: "word.css",
|
168
|
+
htmlstylesheet: "html.scss" }
|
169
|
+
).convert("spec/assets/iso.xml", nil, false)
|
159
170
|
expect(File.exist?("spec/assets/iso.doc")).to be true
|
160
171
|
word = File.read("spec/assets/iso.doc")
|
161
172
|
expect(word).to match(/one empty stylesheet/)
|
@@ -164,14 +175,30 @@ expect(File.exist?("test.doc")).to be true
|
|
164
175
|
it "generates HTML output docs with complete configuration" do
|
165
176
|
FileUtils.rm_f "test.doc"
|
166
177
|
FileUtils.rm_f "test.html"
|
167
|
-
IsoDoc::HtmlConvert.new(
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
178
|
+
IsoDoc::HtmlConvert.new(
|
179
|
+
{ bodyfont: "Zapf",
|
180
|
+
monospacefont: "Consolas",
|
181
|
+
headerfont: "Comic Sans",
|
182
|
+
normalfontsize: "30pt",
|
183
|
+
monospacefontsize: "29pt",
|
184
|
+
smallerfontsize: "28pt",
|
185
|
+
footnotefontsize: "27pt",
|
186
|
+
htmlstylesheet: "spec/assets/html.scss",
|
187
|
+
htmlstylesheet_override: "spec/assets/html_override.css",
|
188
|
+
htmlcoverpage: "spec/assets/htmlcover.html",
|
189
|
+
htmlintropage: "spec/assets/htmlintro.html",
|
190
|
+
scripts: "spec/assets/scripts.html",
|
191
|
+
i18nyaml: "spec/assets/i18n.yaml",
|
192
|
+
ulstyle: "l1",
|
193
|
+
olstyle: "l2" }
|
194
|
+
).convert("test", <<~"INPUT", false)
|
195
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
196
|
+
<preface><foreword>
|
197
|
+
<note>
|
198
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
199
|
+
</note>
|
200
|
+
</foreword></preface>
|
201
|
+
</iso-standard>
|
175
202
|
INPUT
|
176
203
|
html = File.read("test.html")
|
177
204
|
expect(html).to match(/another empty stylesheet/)
|
@@ -193,14 +220,22 @@ expect(File.exist?("test.doc")).to be true
|
|
193
220
|
it "generates HTML output docs with default fonts" do
|
194
221
|
FileUtils.rm_f "test.doc"
|
195
222
|
FileUtils.rm_f "test.html"
|
196
|
-
IsoDoc::HtmlConvert.new(
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
223
|
+
IsoDoc::HtmlConvert.new(
|
224
|
+
{ htmlstylesheet: "spec/assets/html.scss",
|
225
|
+
htmlcoverpage: "spec/assets/htmlcover.html",
|
226
|
+
htmlintropage: "spec/assets/htmlintro.html",
|
227
|
+
scripts: "spec/assets/scripts.html",
|
228
|
+
i18nyaml: "spec/assets/i18n.yaml",
|
229
|
+
ulstyle: "l1",
|
230
|
+
olstyle: "l2" }
|
231
|
+
).convert("test", <<~"INPUT", false)
|
232
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
233
|
+
<preface><foreword>
|
234
|
+
<note>
|
235
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
236
|
+
</note>
|
237
|
+
</foreword></preface>
|
238
|
+
</iso-standard>
|
204
239
|
INPUT
|
205
240
|
html = File.read("test.html")
|
206
241
|
expect(html).to match(/another empty stylesheet/)
|
@@ -221,14 +256,31 @@ expect(File.exist?("test.doc")).to be true
|
|
221
256
|
it "generates Word output docs with complete configuration" do
|
222
257
|
FileUtils.rm_f "test.doc"
|
223
258
|
FileUtils.rm_f "test.html"
|
224
|
-
IsoDoc::WordConvert.new(
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
259
|
+
IsoDoc::WordConvert.new(
|
260
|
+
{ bodyfont: "Zapf",
|
261
|
+
monospacefont: "Consolas",
|
262
|
+
headerfont: "Comic Sans",
|
263
|
+
normalfontsize: "30pt",
|
264
|
+
monospacefontsize: "29pt",
|
265
|
+
smallerfontsize: "28pt",
|
266
|
+
footnotefontsize: "27pt",
|
267
|
+
wordstylesheet: "spec/assets/html.scss",
|
268
|
+
wordstylesheet_override: "spec/assets/word_override.css",
|
269
|
+
standardstylesheet: "spec/assets/std.css",
|
270
|
+
header: "spec/assets/header.html",
|
271
|
+
wordcoverpage: "spec/assets/wordcover.html",
|
272
|
+
wordintropage: "spec/assets/wordintro.html",
|
273
|
+
i18nyaml: "spec/assets/i18n.yaml",
|
274
|
+
ulstyle: "l1",
|
275
|
+
olstyle: "l2" }
|
276
|
+
).convert("test", <<~"INPUT", false)
|
277
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
278
|
+
<preface><foreword>
|
279
|
+
<note>
|
280
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
281
|
+
</note>
|
282
|
+
</foreword></preface>
|
283
|
+
</iso-standard>
|
232
284
|
INPUT
|
233
285
|
word = File.read("test.doc")
|
234
286
|
expect(word).to match(/another empty stylesheet/)
|
@@ -240,7 +292,8 @@ expect(File.exist?("test.doc")).to be true
|
|
240
292
|
expect(word).to match(/p\.note \{[^}]*?font-size: 28pt/m)
|
241
293
|
expect(word).to match(/aside \{[^}]*?font-size: 27pt/m)
|
242
294
|
expect(word).to match(/a third empty stylesheet/)
|
243
|
-
expect(word)
|
295
|
+
expect(word)
|
296
|
+
.to match(/Content-Disposition: inline; filename="filelist.xml"/)
|
244
297
|
expect(word).to match(/an empty word cover page/)
|
245
298
|
expect(word).to match(/an empty word intro page/)
|
246
299
|
expect(word).to match(%r{Antaŭparolo</h1>})
|
@@ -250,14 +303,23 @@ expect(File.exist?("test.doc")).to be true
|
|
250
303
|
it "generates Word output docs with default fonts" do
|
251
304
|
FileUtils.rm_f "test.doc"
|
252
305
|
FileUtils.rm_f "test.html"
|
253
|
-
IsoDoc::WordConvert.new(
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
306
|
+
IsoDoc::WordConvert.new(
|
307
|
+
{ wordstylesheet: "spec/assets/html.scss",
|
308
|
+
standardstylesheet: "spec/assets/std.css",
|
309
|
+
header: "spec/assets/header.html",
|
310
|
+
wordcoverpage: "spec/assets/wordcover.html",
|
311
|
+
wordintropage: "spec/assets/wordintro.html",
|
312
|
+
i18nyaml: "spec/assets/i18n.yaml",
|
313
|
+
ulstyle: "l1",
|
314
|
+
olstyle: "l2" }
|
315
|
+
).convert("test", <<~"INPUT", false)
|
316
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
317
|
+
<preface><foreword>
|
318
|
+
<note>
|
319
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
320
|
+
</note>
|
321
|
+
</foreword></preface>
|
322
|
+
</iso-standard>
|
261
323
|
INPUT
|
262
324
|
word = File.read("test.doc")
|
263
325
|
expect(word).to match(/another empty stylesheet/)
|
@@ -269,8 +331,9 @@ expect(File.exist?("test.doc")).to be true
|
|
269
331
|
expect(word).to match(/p\.note \{[^}]*?font-size: 10pt/m)
|
270
332
|
expect(word).to match(/aside \{[^}]*?font-size: 9pt/m)
|
271
333
|
expect(word).to match(/a third empty stylesheet/)
|
272
|
-
#expect(word).to match(/<title>test<\/title>/)
|
273
|
-
expect(word)
|
334
|
+
# expect(word).to match(/<title>test<\/title>/)
|
335
|
+
expect(word)
|
336
|
+
.to match(/Content-Disposition: inline; filename="filelist.xml"/)
|
274
337
|
expect(word).to match(/an empty word cover page/)
|
275
338
|
expect(word).to match(/an empty word intro page/)
|
276
339
|
expect(word).to match(%r{Antaŭparolo</h1>})
|
@@ -279,372 +342,406 @@ expect(File.exist?("test.doc")).to be true
|
|
279
342
|
it "converts definition lists to tables for Word" do
|
280
343
|
FileUtils.rm_f "test.doc"
|
281
344
|
FileUtils.rm_f "test.html"
|
282
|
-
IsoDoc::WordConvert.new(
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
345
|
+
IsoDoc::WordConvert.new(
|
346
|
+
{ wordstylesheet: "spec/assets/word.css",
|
347
|
+
htmlstylesheet: "spec/assets/html.scss" }
|
348
|
+
).convert("test", <<~"INPUT", false)
|
349
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
350
|
+
<preface><foreword>
|
351
|
+
<dl>
|
352
|
+
<dt>Term</dt>
|
353
|
+
<dd>Definition</dd>
|
354
|
+
<dt>Term 2</dt>
|
355
|
+
<dd>Definition 2</dd>
|
356
|
+
</dl>
|
357
|
+
</foreword></preface>
|
358
|
+
</iso-standard>
|
293
359
|
INPUT
|
294
|
-
word = File.read("test.doc")
|
295
|
-
|
360
|
+
word = File.read("test.doc")
|
361
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">')
|
362
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
296
363
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
</div>
|
316
|
-
<p class="MsoNormal"> </p>
|
364
|
+
<div class="WordSection2">
|
365
|
+
<p class="MsoNormal"><br clear="all" style="mso-special-character:line-break;page-break-before:always"/></p>
|
366
|
+
<div>
|
367
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
368
|
+
<table class="dl">
|
369
|
+
<tr>
|
370
|
+
<td valign="top" align="left">
|
371
|
+
<p align="left" style="margin-left:0pt;text-align:left;" class="MsoNormal">Term</p>
|
372
|
+
</td>
|
373
|
+
<td valign="top">Definition</td>
|
374
|
+
</tr>
|
375
|
+
<tr>
|
376
|
+
<td valign="top" align="left">
|
377
|
+
<p align="left" style="margin-left:0pt;text-align:left;" class="MsoNormal">Term 2</p>
|
378
|
+
</td>
|
379
|
+
<td valign="top">Definition 2</td>
|
380
|
+
</tr>
|
381
|
+
</table>
|
317
382
|
</div>
|
383
|
+
<p class="MsoNormal"> </p>
|
384
|
+
</div>
|
318
385
|
OUTPUT
|
319
386
|
end
|
320
387
|
|
321
388
|
it "populates Word template with terms reference labels" do
|
322
389
|
FileUtils.rm_f "test.doc"
|
323
390
|
FileUtils.rm_f "test.html"
|
324
|
-
IsoDoc::WordConvert.new(
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
<
|
329
|
-
<
|
330
|
-
<
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
</
|
337
|
-
</
|
338
|
-
</
|
391
|
+
IsoDoc::WordConvert.new(
|
392
|
+
{ wordstylesheet: "spec/assets/word.css",
|
393
|
+
htmlstylesheet: "spec/assets/html.scss" }
|
394
|
+
).convert("test", <<~"INPUT", false)
|
395
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
396
|
+
<sections>
|
397
|
+
<terms id="_terms_and_definitions" obligation="normative"><title>1.<tab/>Terms and Definitions</title>
|
398
|
+
<term id="paddy1"><name>1.1.</name><preferred>paddy</preferred>
|
399
|
+
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
400
|
+
<termsource status="modified">
|
401
|
+
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011">ISO 7301:2011, Clause 3.1</origin>
|
402
|
+
<modification>
|
403
|
+
<p id="_e73a417d-ad39-417d-a4c8-20e4e2529489">The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here</p>
|
404
|
+
</modification>
|
405
|
+
</termsource></term>
|
406
|
+
</terms>
|
407
|
+
</sections>
|
408
|
+
</iso-standard>
|
339
409
|
INPUT
|
340
|
-
word = File.read("test.doc")
|
341
|
-
sub(
|
410
|
+
word = File.read("test.doc")
|
411
|
+
.sub(/^.*<div class="WordSection3">/m, '<div class="WordSection3">')
|
412
|
+
.sub(%r{<div style="mso-element:footnote-list"/>.*$}m, "")
|
342
413
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
414
|
+
<div class="WordSection3">
|
415
|
+
<p class="zzSTDTitle1"></p>
|
416
|
+
<div><a name="_terms_and_definitions" id="_terms_and_definitions"></a><h1>1.<span style="mso-tab-count:1">  </span>Terms and Definitions</h1>
|
417
|
+
<p class="TermNum"><a name="paddy1" id="paddy1"></a>1.1.</p><p class="Terms" style="text-align:left;">paddy</p>
|
418
|
+
<p class="MsoNormal"><a name="_eb29b35e-123e-4d1c-b50b-2714d41e747f" id="_eb29b35e-123e-4d1c-b50b-2714d41e747f"></a>rice retaining its husk after threshing</p>
|
419
|
+
<p class="MsoNormal">[SOURCE: <a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>, modified — The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here]</p></div>
|
420
|
+
</div>
|
350
421
|
OUTPUT
|
351
422
|
end
|
352
423
|
|
353
424
|
it "populates Word header" do
|
354
425
|
FileUtils.rm_f "test.doc"
|
355
|
-
IsoDoc::WordConvert.new(
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
426
|
+
IsoDoc::WordConvert.new(
|
427
|
+
{ wordstylesheet: "spec/assets/word.css",
|
428
|
+
htmlstylesheet: "spec/assets/html.scss",
|
429
|
+
header: "spec/assets/header.html" }
|
430
|
+
).convert("test", <<~"INPUT", false)
|
431
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
432
|
+
<bibdata type="article">
|
433
|
+
<docidentifier>
|
434
|
+
<project-number part="1">1000</project-number>
|
435
|
+
</docidentifier>
|
436
|
+
</bibdata>
|
437
|
+
</iso-standard>
|
363
438
|
INPUT
|
364
439
|
word = File.read("test.doc")
|
365
440
|
.sub(%r{^.*Content-ID: <header.html>}m, "Content-ID: <header.html>")
|
366
441
|
.sub(/------=_NextPart.*$/m, "")
|
367
442
|
expect(word).to be_equivalent_to <<~"OUTPUT"
|
368
|
-
Content-ID: <header.html>
|
369
|
-
Content-Disposition: inline; filename="header.html"
|
370
|
-
Content-Transfer-Encoding: base64
|
371
|
-
Content-Type: text/html charset="utf-8"
|
372
|
-
Ci8qIGFuIGVtcHR5IGhlYWRlciAqLwoKU1RBUlQgRE9DIElEOiAKICAgICAgICAgICAxMDAwCiAg
|
373
|
-
ICAgICAgIDogRU5EIERPQyBJRAoKRklMRU5BTUU6IHRlc3QKCg==
|
443
|
+
Content-ID: <header.html>
|
444
|
+
Content-Disposition: inline; filename="header.html"
|
445
|
+
Content-Transfer-Encoding: base64
|
446
|
+
Content-Type: text/html charset="utf-8"
|
447
|
+
Ci8qIGFuIGVtcHR5IGhlYWRlciAqLwoKU1RBUlQgRE9DIElEOiAKICAgICAgICAgICAxMDAwCiAg
|
448
|
+
ICAgICAgIDogRU5EIERPQyBJRAoKRklMRU5BTUU6IHRlc3QKCg==
|
374
449
|
OUTPUT
|
375
450
|
end
|
376
451
|
|
377
452
|
it "populates Word ToC" do
|
378
453
|
FileUtils.rm_f "test.doc"
|
379
|
-
IsoDoc::WordConvert.new(
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
<
|
393
|
-
<
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
454
|
+
IsoDoc::WordConvert.new(
|
455
|
+
{ wordstylesheet: "spec/assets/word.css",
|
456
|
+
htmlstylesheet: "spec/assets/html.scss",
|
457
|
+
wordintropage: "spec/assets/wordintro.html" }
|
458
|
+
).convert("test", <<~"INPUT", false)
|
459
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
460
|
+
<sections>
|
461
|
+
<clause id="A" inline-header="false" obligation="normative"><title>Clause 4</title><clause id="N" inline-header="false" obligation="normative">
|
462
|
+
<title>Introduction<bookmark id="Q"/> to this <image src="spec/assets/rice_image1.png" id="_" mimetype="image/png"/> <fn reference="1">
|
463
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6">Formerly denoted as 15 % (m/m).</p>
|
464
|
+
</fn></title>
|
465
|
+
</clause>
|
466
|
+
<clause id="O" inline-header="false" obligation="normative">
|
467
|
+
<title>Clause 4.2</title>
|
468
|
+
<p>A<fn reference="1">
|
469
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6">Formerly denoted as 15 % (m/m).</p>
|
470
|
+
</fn></p>
|
471
|
+
<clause id="P" inline-header="false" obligation="normative">
|
472
|
+
<title>Clause 4.2.1</title>
|
473
|
+
</clause>
|
474
|
+
</clause></clause>
|
475
|
+
</sections>
|
476
|
+
</iso-standard>
|
398
477
|
INPUT
|
399
|
-
word = File.read("test.doc")
|
400
|
-
sub(
|
478
|
+
word = File.read("test.doc")
|
479
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">')
|
480
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
401
481
|
expect(xmlpp(word.gsub(/_Toc\d\d+/, "_Toc"))).to be_equivalent_to xmlpp(<<~'OUTPUT')
|
402
|
-
|
403
|
-
|
482
|
+
<div class="WordSection2">
|
483
|
+
/* an empty word intro page */
|
404
484
|
|
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
|
-
|
485
|
+
<p class="MsoToc1"><span lang="EN-GB" xml:lang="EN-GB"><span style="mso-element:field-begin"></span><span style="mso-spacerun:yes"> </span>TOC
|
486
|
+
\o "1-2" \h \z \u <span style="mso-element:field-separator"></span></span>
|
487
|
+
<span class="MsoHyperlink"><span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
488
|
+
<a href="#_Toc">Clause 4<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
489
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
490
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
491
|
+
<span style="mso-element:field-begin"></span></span>
|
492
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
493
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
494
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span></span></p>
|
495
|
+
<p class="MsoToc2">
|
496
|
+
<span class="MsoHyperlink">
|
497
|
+
<span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
498
|
+
<a href="#_Toc">Introduction to this<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
499
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
500
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
501
|
+
<span style="mso-element:field-begin"></span></span>
|
502
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
503
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
504
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span>
|
505
|
+
</span>
|
506
|
+
</p>
|
507
|
+
<p class="MsoToc2">
|
508
|
+
<span class="MsoHyperlink">
|
509
|
+
<span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
510
|
+
<a href="#_Toc">Clause 4.2<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
511
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
512
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
513
|
+
<span style="mso-element:field-begin"></span></span>
|
514
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
515
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
516
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span>
|
517
|
+
</span>
|
518
|
+
</p>
|
519
|
+
<p class="MsoToc1">
|
520
|
+
<span lang="EN-GB" xml:lang="EN-GB">
|
521
|
+
<span style="mso-element:field-end"></span>
|
522
|
+
</span>
|
523
|
+
<span lang="EN-GB" xml:lang="EN-GB">
|
524
|
+
<p class="MsoNormal"> </p>
|
525
|
+
</span>
|
526
|
+
</p>
|
527
|
+
<p class="MsoNormal"> </p>
|
528
|
+
</div>
|
449
529
|
OUTPUT
|
450
530
|
end
|
451
531
|
|
452
|
-
|
532
|
+
it "populates Word ToC with custom levels" do
|
453
533
|
FileUtils.rm_f "test.doc"
|
454
|
-
IsoDoc::WordConvert.new(
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
</
|
467
|
-
<clause id="
|
468
|
-
<title>Clause 4.2
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
534
|
+
IsoDoc::WordConvert.new(
|
535
|
+
{ wordstylesheet: "spec/assets/word.css",
|
536
|
+
htmlstylesheet: "spec/assets/html.scss",
|
537
|
+
wordintropage: "spec/assets/wordintro.html",
|
538
|
+
doctoclevels: 3 }
|
539
|
+
).convert("test", <<~"INPUT", false)
|
540
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
541
|
+
<sections>
|
542
|
+
<clause id="A" inline-header="false" obligation="normative"><title>Clause 4</title><clause id="N" inline-header="false" obligation="normative">
|
543
|
+
<title>Introduction<bookmark id="Q"/> to this<fn reference="1">
|
544
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6">Formerly denoted as 15 % (m/m).</p>
|
545
|
+
</fn></title>
|
546
|
+
</clause>
|
547
|
+
<clause id="O" inline-header="false" obligation="normative">
|
548
|
+
<title>Clause 4.2</title>
|
549
|
+
<p>A<fn reference="1">
|
550
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6">Formerly denoted as 15 % (m/m).</p>
|
551
|
+
</fn></p>
|
552
|
+
<clause id="P" inline-header="false" obligation="normative">
|
553
|
+
<title>Clause 4.2.1</title>
|
554
|
+
</clause>
|
555
|
+
</clause></clause>
|
556
|
+
</sections>
|
557
|
+
</iso-standard>
|
473
558
|
INPUT
|
474
|
-
word = File.read("test.doc")
|
475
|
-
sub(
|
476
|
-
|
477
|
-
|
478
|
-
|
559
|
+
word = File.read("test.doc")
|
560
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">')
|
561
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
562
|
+
expect(xmlpp(word.gsub(/_Toc\d\d+/, "_Toc")))
|
563
|
+
.to be_equivalent_to xmlpp(<<~'OUTPUT')
|
564
|
+
<div class="WordSection2">
|
565
|
+
/* an empty word intro page */
|
479
566
|
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
<a href="#_Toc">Clause 4.2.1<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
518
|
-
<span style="mso-tab-count:1 dotted">. </span>
|
519
|
-
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
520
|
-
<span style="mso-element:field-begin"></span></span>
|
521
|
-
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
</p>
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
567
|
+
<p class="MsoToc1"><span lang="EN-GB" xml:lang="EN-GB"><span style="mso-element:field-begin"></span><span style="mso-spacerun:yes"> </span>TOC
|
568
|
+
\o "1-3" \h \z \u <span style="mso-element:field-separator"></span></span>
|
569
|
+
<span class="MsoHyperlink"><span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
570
|
+
<a href="#_Toc">Clause 4<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
571
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
572
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
573
|
+
<span style="mso-element:field-begin"></span></span>
|
574
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
575
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
576
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span></span></p>
|
577
|
+
<p class="MsoToc2">
|
578
|
+
<span class="MsoHyperlink">
|
579
|
+
<span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
580
|
+
<a href="#_Toc">Introduction to this<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
581
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
582
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
583
|
+
<span style="mso-element:field-begin"></span></span>
|
584
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
585
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
586
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span>
|
587
|
+
</span>
|
588
|
+
</p>
|
589
|
+
<p class="MsoToc2">
|
590
|
+
<span class="MsoHyperlink">
|
591
|
+
<span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
592
|
+
<a href="#_Toc">Clause 4.2<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
593
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
594
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
595
|
+
<span style="mso-element:field-begin"></span></span>
|
596
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
597
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
598
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span>
|
599
|
+
</span>
|
600
|
+
</p>
|
601
|
+
<p class="MsoToc3">
|
602
|
+
<span class="MsoHyperlink">
|
603
|
+
<span lang="EN-GB" style="mso-no-proof:yes" xml:lang="EN-GB">
|
604
|
+
<a href="#_Toc">Clause 4.2.1<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
605
|
+
<span style="mso-tab-count:1 dotted">. </span>
|
606
|
+
</span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">
|
607
|
+
<span style="mso-element:field-begin"></span></span>
|
608
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"> PAGEREF _Toc \h </span>
|
609
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-separator"></span></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB">1</span>
|
610
|
+
<span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"></span><span lang="EN-GB" class="MsoTocTextSpan" xml:lang="EN-GB"><span style="mso-element:field-end"></span></span></a></span>
|
611
|
+
</span>
|
612
|
+
</p>
|
613
|
+
<p class="MsoToc1">
|
614
|
+
<span lang="EN-GB" xml:lang="EN-GB">
|
615
|
+
<span style="mso-element:field-end"></span>
|
616
|
+
</span>
|
617
|
+
<span lang="EN-GB" xml:lang="EN-GB">
|
618
|
+
<p class="MsoNormal"> </p>
|
619
|
+
</span>
|
620
|
+
</p>
|
621
|
+
<p class="MsoNormal"> </p>
|
622
|
+
</div>
|
536
623
|
OUTPUT
|
537
|
-
|
624
|
+
end
|
538
625
|
|
539
|
-
|
626
|
+
it "generates HTML output with custom ToC levels function" do
|
540
627
|
FileUtils.rm_f "test.doc"
|
541
628
|
FileUtils.rm_f "test.html"
|
542
|
-
IsoDoc::HtmlConvert.new({htmltoclevels: 3})
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
629
|
+
IsoDoc::HtmlConvert.new({ htmltoclevels: 3 })
|
630
|
+
.convert("test", <<~"INPUT", false)
|
631
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
632
|
+
<preface><foreword>
|
633
|
+
<note>
|
634
|
+
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
635
|
+
</note>
|
636
|
+
</foreword></preface>
|
637
|
+
</iso-standard>
|
550
638
|
INPUT
|
551
639
|
html = File.read("test.html")
|
552
640
|
toclevel = <<~"TOCLEVEL"
|
553
|
-
function toclevel() { return "h1:not(:empty):not(.TermNum):not(.noTOC),h2:not(:empty):not(.TermNum):not(.noTOC),h3:not(:empty):not(.TermNum):not(.noTOC)";}
|
554
|
-
TOCLEVEL
|
641
|
+
function toclevel() { return "h1:not(:empty):not(.TermNum):not(.noTOC),h2:not(:empty):not(.TermNum):not(.noTOC),h3:not(:empty):not(.TermNum):not(.noTOC)";}
|
642
|
+
TOCLEVEL
|
555
643
|
expect(html).to include toclevel
|
556
644
|
end
|
557
645
|
|
558
646
|
it "reorders footnote numbers in HTML" do
|
559
647
|
FileUtils.rm_f "test.html"
|
560
|
-
IsoDoc::HtmlConvert.new(
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
648
|
+
IsoDoc::HtmlConvert.new(
|
649
|
+
{ wordstylesheet: "spec/assets/word.css",
|
650
|
+
htmlstylesheet: "spec/assets/html.scss",
|
651
|
+
wordintropage: "spec/assets/wordintro.html" }
|
652
|
+
).convert("test", <<~"INPUT", false)
|
653
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
654
|
+
<sections>
|
655
|
+
<clause id="A" inline-header="false" obligation="normative"><title>Clause 4</title><fn reference="3">
|
656
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6">This is a footnote.</p>
|
657
|
+
</fn><clause id="N" inline-header="false" obligation="normative">
|
658
|
+
<title>Introduction to this<fn reference="2">
|
659
|
+
Formerly denoted as 15 % (m/m).
|
660
|
+
</fn></title>
|
661
|
+
</clause>
|
662
|
+
<clause id="O" inline-header="false" obligation="normative">
|
663
|
+
<title>Clause 4.2</title>
|
664
|
+
<p>A<fn reference="1">
|
665
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6">Formerly denoted as 15 % (m/m).</p>
|
666
|
+
</fn></p>
|
667
|
+
</clause></clause>
|
668
|
+
</sections>
|
669
|
+
</iso-standard>
|
578
670
|
INPUT
|
579
|
-
html = File.read("test.html")
|
580
|
-
sub(
|
671
|
+
html = File.read("test.html")
|
672
|
+
.sub(/^.*<main class="main-section">/m, '<main xmlns:epub="epub" class="main-section">')
|
673
|
+
.sub(%r{</main>.*$}m, "</main>")
|
581
674
|
expect(xmlpp(html)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
</div>
|
592
|
-
<div id="O">
|
593
|
-
<h2>Clause 4.2</h2>
|
594
|
-
<p>A<a class='FootnoteRef' href='#fn:2'><sup>2</sup></a></p>
|
595
|
-
</div>
|
675
|
+
<main xmlns:epub="epub" class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
676
|
+
<p class="zzSTDTitle1"></p>
|
677
|
+
<div id="A">
|
678
|
+
<h1>Clause 4</h1>
|
679
|
+
<a class='FootnoteRef' href='#fn:3' id='fnref:1'>
|
680
|
+
<sup>1</sup>
|
681
|
+
</a>
|
682
|
+
<div id="N">
|
683
|
+
<h2>Introduction to this<a class='FootnoteRef' href='#fn:2' id='fnref:2'><sup>2</sup></a></h2>
|
596
684
|
</div>
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
685
|
+
<div id="O">
|
686
|
+
<h2>Clause 4.2</h2>
|
687
|
+
<p>A<a class='FootnoteRef' href='#fn:2'><sup>2</sup></a></p>
|
688
|
+
</div>
|
689
|
+
</div>
|
690
|
+
<aside id="fn:3" class="footnote">
|
691
|
+
<p id="_ff27c067-2785-4551-96cf-0a73530ff1e6"><a class='FootnoteRef' href='#fn:3'>
|
692
|
+
<sup>1</sup>
|
693
|
+
</a>This is a footnote.</p>
|
694
|
+
<a href="#fnref:1">↩</a></aside>
|
695
|
+
<aside id="fn:2" class="footnote">
|
696
|
+
<a class='FootnoteRef' href='#fn:2'><sup>2</sup></a>Formerly denoted as 15 % (m/m).
|
697
|
+
<a href="#fnref:2">↩</a></aside>
|
698
|
+
</main>
|
606
699
|
OUTPUT
|
607
700
|
end
|
608
701
|
|
609
702
|
it "moves images in HTML" do
|
610
703
|
FileUtils.rm_f "test.html"
|
611
704
|
FileUtils.rm_rf "test_htmlimages"
|
612
|
-
IsoDoc::HtmlConvert.new(
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ADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMBAAA//8DAE/7hyLdS2yEAAAAAElFTkSuQmCC" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f3" mimetype="image/png"/>
|
622
|
-
|
623
|
-
|
624
|
-
</foreword></preface>
|
625
|
-
|
705
|
+
IsoDoc::HtmlConvert.new(
|
706
|
+
{ wordstylesheet: "spec/assets/word.css",
|
707
|
+
htmlstylesheet: "spec/assets/html.scss" }
|
708
|
+
).convert("test", <<~"INPUT", false)
|
709
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
710
|
+
<preface><foreword>
|
711
|
+
<figure id="_">
|
712
|
+
<name>Split-it-right sample divider</name>
|
713
|
+
<image src="#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'assets/rice_image1.png'))}" id="_" mimetype="image/png"/>
|
714
|
+
<image src="spec/assets/rice_image1.png" id="_" mimetype="image/png"/>
|
715
|
+
<image src="spec/assets/rice_image1.png" id="_" width="20000" height="300000" mimetype="image/png"/>
|
716
|
+
<image src="spec/assets/rice_image1.png" id="_" width="99" height="auto" mimetype="image/png"/>
|
717
|
+
<image src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAfQCAAAAAC/U5ulAAAjo0lEQVR4nOzVMQ0AMAzAsPInvYHoMS2yEeTLHADge/M6AADYM3QACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIuAAAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA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y3RfZGVzY3JpcHRpb25fYW5kX3N1cHBvcnQiIGZpbGU9ImFjdGlvbl9zY2hlbWFleHBnMS54bWwiPgo8aW1nIHNyYz0iYWN0aW9uX3NjaGVtYWV4cGcxLmdpZiI+CjxpbWcuYXJlYSBzaGFwZT0icmVjdCIgY29vcmRzPSIyMTAsMTg2LDM0MywyMjciIGhyZWY9Ii4uLy4uL3Jlc291cmNlcy9iYXNpY19hdHRyaWJ1dGVfc2NoZW1hL2Jhc2ljX2F0dHJpYnV0ZV9zY2hlbWEueG1sIiAvPgo8aW1nLmFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iMTAsMTAsOTYsNTEiIGhyZWY9Ii4uLy4uL3Jlc291cmNlcy9hY3Rpb25fc2NoZW1hL2FjdGlvbl9zY2hlbWEueG1sIiAvPgo8aW1nLmFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iMjEwLDI2NCwzNTgsMzA1IiBocmVmPSIuLi8uLi9yZXNvdXJjZXMvc3VwcG9ydF9yZXNvdXJjZV9zY2hlbWEvc3VwcG9ydF9yZXNvdXJjZV9zY2hlbWEueG1sIiAvPgo8L2ltZz4KPC9pbWdmaWxlLmNvbnRlbnQ+Cg==" height="20" width="auto" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f2" mimetype="application/xml"/>
|
719
|
+
</figure>
|
720
|
+
</foreword></preface>
|
721
|
+
</iso-standard>
|
626
722
|
INPUT
|
627
|
-
html = File.read("test.html")
|
628
|
-
sub(
|
723
|
+
html = File.read("test.html")
|
724
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
725
|
+
.sub(%r{</main>.*$}m, "</main>")
|
629
726
|
expect(`ls test_htmlimages`).to match(/\.png$/)
|
630
|
-
expect(xmlpp(html.gsub(/\/[0-9a-f-]+\.png/, "/_.png")))
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
<img src="test_htmlimages/_.png" height="
|
639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XJlYSBzaGFwZT0icmVjdCIgY29vcmRzPSIyMTAsMTg2LDM0MywyMjciIGhyZWY9Ii4uLy4uL3Jlc291cmNlcy9iYXNpY19hdHRyaWJ1dGVfc2NoZW1hL2Jhc2ljX2F0dHJpYnV0ZV9zY2hlbWEueG1sIiAvPgo8aW1nLmFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iMTAsMTAsOTYsNTEiIGhyZWY9Ii4uLy4uL3Jlc291cmNlcy9hY3Rpb25fc2NoZW1hL2FjdGlvbl9zY2hlbWEueG1sIiAvPgo8aW1nLmFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iMjEwLDI2NCwzNTgsMzA1IiBocmVmPSIuLi8uLi9yZXNvdXJjZXMvc3VwcG9ydF9yZXNvdXJjZV9zY2hlbWEvc3VwcG9ydF9yZXNvdXJjZV9zY2hlbWEueG1sIiAvPgo8L2ltZz4KPC9pbWdmaWxlLmNvbnRlbnQ+Cg==' height='' width=''/>
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
727
|
+
expect(xmlpp(html.gsub(/\/[0-9a-f-]+\.png/, "/_.png")))
|
728
|
+
.to be_equivalent_to xmlpp(<<~"OUTPUT")
|
729
|
+
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
730
|
+
<br />
|
731
|
+
<div>
|
732
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
733
|
+
<div id="_" class="figure">
|
734
|
+
<img src="test_htmlimages/_.png" height="776" width="922" />
|
735
|
+
<img src="test_htmlimages/_.png" height="776" width="922" />
|
736
|
+
<img src="test_htmlimages/_.png" height="800" width="53" />
|
737
|
+
<img src="test_htmlimages/_.png" height="83" width="99" />
|
738
|
+
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAfQCAAAAAC/U5ulAAAjo0lEQVR4nOzVMQ0AMAzAsPInvYHoMS2yEeTLHADge/M6AADYM3QACDB0AAgwdAAIM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Pgo8aW1nLmFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iMTAsMTAsOTYsNTEiIGhyZWY9Ii4uLy4uL3Jlc291cmNlcy9hY3Rpb25fc2NoZW1hL2FjdGlvbl9zY2hlbWEueG1sIiAvPgo8aW1nLmFyZWEgc2hhcGU9InJlY3QiIGNvb3Jkcz0iMjEwLDI2NCwzNTgsMzA1IiBocmVmPSIuLi8uLi9yZXNvdXJjZXMvc3VwcG9ydF9yZXNvdXJjZV9zY2hlbWEvc3VwcG9ydF9yZXNvdXJjZV9zY2hlbWEueG1sIiAvPgo8L2ltZz4KPC9pbWdmaWxlLmNvbnRlbnQ+Cg==' height='' width=''/>
|
740
|
+
<p class="FigureTitle" style="text-align:center;">Split-it-right sample divider</p></div>
|
741
|
+
</div>
|
742
|
+
<p class="zzSTDTitle1"></p>
|
743
|
+
</main>
|
744
|
+
OUTPUT
|
648
745
|
end
|
649
746
|
|
650
747
|
describe "mathvariant to plain" do
|
@@ -694,8 +791,8 @@ TOCLEVEL
|
|
694
791
|
OUTPUT
|
695
792
|
IsoDoc::HtmlConvert.new({}).convert("test", input, false)
|
696
793
|
html = File.read("test.html")
|
697
|
-
|
698
|
-
|
794
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
795
|
+
.sub(%r{</main>.*$}m, "</main>")
|
699
796
|
expect(html).to(be_equivalent_to(output))
|
700
797
|
end
|
701
798
|
end
|
@@ -804,8 +901,8 @@ TOCLEVEL
|
|
804
901
|
OUTPUT
|
805
902
|
IsoDoc::HtmlConvert.new({}).convert("test", input, false)
|
806
903
|
html = File.read("test.html")
|
807
|
-
|
808
|
-
|
904
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
905
|
+
.sub(%r{</main>.*$}m, "</main>")
|
809
906
|
expect(html).to(be_equivalent_to(output))
|
810
907
|
end
|
811
908
|
end
|
@@ -814,190 +911,194 @@ TOCLEVEL
|
|
814
911
|
it "moves images in HTML with no file suffix" do
|
815
912
|
FileUtils.rm_f "test.html"
|
816
913
|
FileUtils.rm_rf "test_htmlimages"
|
817
|
-
IsoDoc::HtmlConvert.new(
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
<image src="data:image/*;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAfQCAAAAAC/U5ulAAAjo0lEQVR4nOzVMQ0AMAzAsPInvYHoMS2yEeTLHADge/M6AADYM3QACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIMHQACDB0AAgwdAAIuAAAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA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MAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMBAAA//8DAE/7hyLdS2yEAAAAAElFTkSuQmCC" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f3" mimetype="image/png"/>
|
825
|
-
|
826
|
-
|
827
|
-
</iso-standard>
|
914
|
+
IsoDoc::HtmlConvert.new(
|
915
|
+
{ wordstylesheet: "spec/assets/word.css",
|
916
|
+
htmlstylesheet: "spec/assets/html.scss" }
|
917
|
+
).convert("test", <<~"INPUT", false)
|
918
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
919
|
+
<preface><foreword>
|
920
|
+
<figure id="_">
|
921
|
+
<name>Split-it-right sample divider</name>
|
922
|
+
<image src="spec/assets/rice_image1" id="_" mimetype="image/png"/>
|
923
|
+
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QAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMBAAA//8DAE/7hyLdS2yEAAAAAElFTkSuQmCC" id="_8357ede4-6d44-4672-bac4-9a85e82ab7f3" mimetype="image/png"/>
|
925
|
+
</figure>
|
926
|
+
</foreword></preface>
|
927
|
+
</iso-standard>
|
828
928
|
INPUT
|
829
|
-
html = File.read("test.html")
|
830
|
-
sub(
|
929
|
+
html = File.read("test.html")
|
930
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
931
|
+
.sub(%r{</main>.*$}m, "</main>")
|
831
932
|
expect(`ls test_htmlimages`).to match(/\.png$/)
|
832
|
-
expect(xmlpp(html.gsub(/\/[0-9a-f-]+\.png/, "/_.png")))
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
<img src='data:image/*;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAfQ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gf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMBAAA//8DAE/7hyLdS2yEAAAAAElFTkSuQmCC' height='800' width='800'/>
|
842
|
-
<p class='FigureTitle' style='text-align:center;'>Split-it-right sample divider</p>
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
933
|
+
expect(xmlpp(html.gsub(/\/[0-9a-f-]+\.png/, "/_.png")))
|
934
|
+
.to be_equivalent_to xmlpp(<<~"OUTPUT")
|
935
|
+
<main class='main-section'>
|
936
|
+
<button onclick='topFunction()' id='myBtn' title='Go to top'>Top</button>
|
937
|
+
<br/>
|
938
|
+
<div>
|
939
|
+
<h1 class='ForewordTitle'>Foreword</h1>
|
940
|
+
<div id='_' class='figure'>
|
941
|
+
<img src='test_htmlimages/_.png' height='776' width='922'/>
|
942
|
+
<img src='test_htmlimages/_.png' height='776' width='922'/>
|
943
|
+
<img src='data:image/*;base64,iVBORw0KGgoAAAANSUhEUgAAB9AAAAfQCAAAAAC/U5ulAAAjo0lEQVR4nOzVMQ0AMAzAsPInvYHoMS2yEeTLHADge/M6AADYM3Q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oADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMCB0ABgIAAP//7NWBDAAAAMAgf+t7fCWR0AFgQOgAMCB0ABgQOgAMCB0ABoQOAANCB4ABoQPAgNABYEDoADAgdAAYEDoADAgdAAaEDgADQgeAAaEDwIDQAWBA6AAwIHQAGBA6AAwIHQAGhA4AA0IHgAGhA8CA0AFgQOgAMCB0ABgQOgAMBAAA//8DAE/7hyLdS2yEAAAAAElFTkSuQmCC' height='800' width='800'/>
|
944
|
+
<p class='FigureTitle' style='text-align:center;'>Split-it-right sample divider</p>
|
945
|
+
</div>
|
946
|
+
</div>
|
947
|
+
<p class='zzSTDTitle1'/>
|
948
|
+
</main>
|
949
|
+
OUTPUT
|
848
950
|
end
|
849
951
|
|
850
952
|
it "moves images in HTML, using relative file location" do
|
851
953
|
FileUtils.rm_f "spec/test.html"
|
852
954
|
FileUtils.rm_rf "spec/test_htmlimages"
|
853
|
-
IsoDoc::HtmlConvert.new({wordstylesheet: "assets/word.css", htmlstylesheet: "assets/html.scss"}).convert("spec/test", <<~"INPUT", false)
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
955
|
+
IsoDoc::HtmlConvert.new({ wordstylesheet: "assets/word.css", htmlstylesheet: "assets/html.scss" }).convert("spec/test", <<~"INPUT", false)
|
956
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
957
|
+
<preface><foreword>
|
958
|
+
<figure id="_">
|
959
|
+
<name>Split-it-right sample divider</name>
|
960
|
+
<image src="#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'assets/rice_image1.png'))}" id="_" mimetype="image/png"/>
|
961
|
+
<image src="assets/rice_image1.png" id="_" mimetype="image/png"/>
|
962
|
+
<image src="assets/rice_image1.png" id="_" width="20000" height="300000" mimetype="image/png"/>
|
963
|
+
<image src="assets/rice_image1.png" id="_" width="99" height="auto" mimetype="image/png"/>
|
964
|
+
</figure>
|
965
|
+
</foreword></preface>
|
966
|
+
</iso-standard>
|
865
967
|
INPUT
|
866
|
-
html = File.read("spec/test.html")
|
867
|
-
sub(
|
968
|
+
html = File.read("spec/test.html")
|
969
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
970
|
+
.sub(%r{</main>.*$}m, "</main>")
|
868
971
|
expect(`ls test_htmlimages`).to match(/\.png$/)
|
869
972
|
expect(xmlpp(html.gsub(/\/[0-9a-f-]+\.png/, "/_.png"))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
<img src="test_htmlimages/_.png" height="800" width="53" />
|
878
|
-
<img src="test_htmlimages/_.png" height="83" width="99" />
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
973
|
+
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
974
|
+
<br />
|
975
|
+
<div>
|
976
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
977
|
+
<div id="_" class="figure">
|
978
|
+
<img src="test_htmlimages/_.png" height="776" width="922" />
|
979
|
+
<img src="test_htmlimages/_.png" height="776" width="922" />
|
980
|
+
<img src="test_htmlimages/_.png" height="800" width="53" />
|
981
|
+
<img src="test_htmlimages/_.png" height="83" width="99" />
|
982
|
+
<p class="FigureTitle" style="text-align:center;">Split-it-right sample divider</p></div>
|
983
|
+
</div>
|
984
|
+
<p class="zzSTDTitle1"></p>
|
985
|
+
</main>
|
883
986
|
OUTPUT
|
884
987
|
end
|
885
988
|
|
886
|
-
|
887
989
|
it "encodes images in HTML as data URIs" do
|
888
990
|
FileUtils.rm_f "test.html"
|
889
991
|
FileUtils.rm_rf "test_htmlimages"
|
890
|
-
IsoDoc::HtmlConvert.new({htmlstylesheet: "spec/assets/html.scss", datauriimage: true}).convert("test", <<~"INPUT", false)
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
992
|
+
IsoDoc::HtmlConvert.new({ htmlstylesheet: "spec/assets/html.scss", datauriimage: true }).convert("test", <<~"INPUT", false)
|
993
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
994
|
+
<preface><foreword>
|
995
|
+
<figure id="_">
|
996
|
+
<name>Split-it-right sample divider</name>
|
997
|
+
<image src="#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'assets/rice_image1.png'))}" id="_" mimetype="image/png"/>
|
998
|
+
<image src="spec/assets/rice_image1.png" id="_" mimetype="image/png"/>
|
999
|
+
</figure>
|
1000
|
+
</foreword></preface>
|
1001
|
+
</iso-standard>
|
900
1002
|
INPUT
|
901
|
-
html = File.read("test.html")
|
902
|
-
sub(
|
1003
|
+
html = File.read("test.html")
|
1004
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
1005
|
+
.sub(%r{</main>.*$}m, "</main>")
|
903
1006
|
expect(xmlpp(html.gsub(%r{src="data:image/png;base64,[^"]+"}, %{src="data:image/png;base64,_"}))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
1007
|
+
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
1008
|
+
<br />
|
1009
|
+
<div>
|
1010
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1011
|
+
<div id="_" class="figure">
|
1012
|
+
<img src="data:image/png;base64,_" height="776" width="922" />
|
1013
|
+
<img src="data:image/png;base64,_" height="776" width="922" />
|
1014
|
+
<p class="FigureTitle" style="text-align:center;">Split-it-right sample divider</p></div>
|
1015
|
+
</div>
|
1016
|
+
<p class="zzSTDTitle1"></p>
|
1017
|
+
</main>
|
915
1018
|
OUTPUT
|
916
|
-
|
917
1019
|
end
|
918
1020
|
|
919
|
-
|
1021
|
+
it "encodes images in HTML as data URIs, using relative file location" do
|
920
1022
|
FileUtils.rm_f "spec/test.html"
|
921
1023
|
FileUtils.rm_rf "spec/test_htmlimages"
|
922
|
-
IsoDoc::HtmlConvert.new({htmlstylesheet: "assets/html.scss", datauriimage: true}).convert("spec/test", <<~"INPUT", false)
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
1024
|
+
IsoDoc::HtmlConvert.new({ htmlstylesheet: "assets/html.scss", datauriimage: true }).convert("spec/test", <<~"INPUT", false)
|
1025
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1026
|
+
<preface><foreword>
|
1027
|
+
<figure id="_">
|
1028
|
+
<name>Split-it-right sample divider</name>
|
1029
|
+
<image src="#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'assets/rice_image1.png'))}" id="_" mimetype="image/png"/>
|
1030
|
+
<image src="assets/rice_image1.png" id="_" mimetype="image/png"/>
|
1031
|
+
</figure>
|
1032
|
+
</foreword></preface>
|
1033
|
+
</iso-standard>
|
932
1034
|
INPUT
|
933
|
-
html = File.read("spec/test.html")
|
934
|
-
sub(
|
1035
|
+
html = File.read("spec/test.html")
|
1036
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
1037
|
+
.sub(%r{</main>.*$}m, "</main>")
|
935
1038
|
expect(xmlpp(html.gsub(%r{src="data:image/png;base64,[^"]+"}, %{src="data:image/png;base64,_"}))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
1039
|
+
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
1040
|
+
<br />
|
1041
|
+
<div>
|
1042
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1043
|
+
<div id="_" class="figure">
|
1044
|
+
<img src="data:image/png;base64,_" height="776" width="922" />
|
1045
|
+
<img src="data:image/png;base64,_" height="776" width="922" />
|
1046
|
+
<p class="FigureTitle" style="text-align:center;">Split-it-right sample divider</p></div>
|
1047
|
+
</div>
|
1048
|
+
<p class="zzSTDTitle1"></p>
|
1049
|
+
</main>
|
947
1050
|
OUTPUT
|
948
|
-
|
949
1051
|
end
|
950
1052
|
|
951
|
-
|
952
1053
|
it "processes IsoXML terms for HTML" do
|
953
1054
|
FileUtils.rm_f "test.html"
|
954
1055
|
FileUtils.rm_f "test.doc"
|
955
|
-
IsoDoc::HtmlConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
<term id="paddy1"><name>1.1.</name><preferred>paddy</preferred>
|
960
|
-
<domain>rice</domain>
|
961
|
-
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
962
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f892">
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
</termexample>
|
968
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f894">
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
</termexample>
|
973
|
-
<termsource status="modified">
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
</termsource></term>
|
979
|
-
<term id="paddy"><name>1.2.</name><preferred>paddy</preferred><admitted>paddy rice</admitted>
|
980
|
-
<admitted>rough rice</admitted>
|
981
|
-
<deprecates>cargo rice</deprecates>
|
982
|
-
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
983
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
</termexample>
|
988
|
-
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74e">
|
989
|
-
|
990
|
-
</termnote>
|
991
|
-
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74f">
|
992
|
-
<ul><li>A</li></ul>
|
993
|
-
|
994
|
-
</termnote>
|
995
|
-
<termsource status="identical">
|
996
|
-
|
997
|
-
</termsource></term>
|
998
|
-
</terms>
|
999
|
-
</sections>
|
1000
|
-
</iso-standard>
|
1056
|
+
IsoDoc::HtmlConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1057
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1058
|
+
<sections>
|
1059
|
+
<terms id="_terms_and_definitions" obligation="normative"><title>Terms and Definitions</title>
|
1060
|
+
<term id="paddy1"><name>1.1.</name><preferred>paddy</preferred>
|
1061
|
+
<domain>rice</domain>
|
1062
|
+
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
1063
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f892">
|
1064
|
+
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
1065
|
+
<ul>
|
1066
|
+
<li>A</li>
|
1067
|
+
</ul>
|
1068
|
+
</termexample>
|
1069
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f894">
|
1070
|
+
<ul>
|
1071
|
+
<li>A</li>
|
1072
|
+
</ul>
|
1073
|
+
</termexample>
|
1074
|
+
<termsource status="modified">
|
1075
|
+
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
|
1076
|
+
<modification>
|
1077
|
+
<p id="_e73a417d-ad39-417d-a4c8-20e4e2529489">The term "cargo rice" is shown as deprecated, and Note 1 to entry is not included here</p>
|
1078
|
+
</modification>
|
1079
|
+
</termsource></term>
|
1080
|
+
<term id="paddy"><name>1.2.</name><preferred>paddy</preferred><admitted>paddy rice</admitted>
|
1081
|
+
<admitted>rough rice</admitted>
|
1082
|
+
<deprecates>cargo rice</deprecates>
|
1083
|
+
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
1084
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f893">
|
1085
|
+
<ul>
|
1086
|
+
<li>A</li>
|
1087
|
+
</ul>
|
1088
|
+
</termexample>
|
1089
|
+
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74e">
|
1090
|
+
<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>
|
1091
|
+
</termnote>
|
1092
|
+
<termnote id="_671a1994-4783-40d0-bc81-987d06ffb74f">
|
1093
|
+
<ul><li>A</li></ul>
|
1094
|
+
<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>
|
1095
|
+
</termnote>
|
1096
|
+
<termsource status="identical">
|
1097
|
+
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011"><locality type="clause"><referenceFrom>3.1</referenceFrom></locality></origin>
|
1098
|
+
</termsource></term>
|
1099
|
+
</terms>
|
1100
|
+
</sections>
|
1101
|
+
</iso-standard>
|
1001
1102
|
INPUT
|
1002
1103
|
expect(File.exist?("test.html")).to be true
|
1003
1104
|
html = File.read("test.html")
|
@@ -1005,1059 +1106,1064 @@ TOCLEVEL
|
|
1005
1106
|
expect(html).to match(%r{<h2 class="TermNum" id="paddy">1\.2\.</h2>})
|
1006
1107
|
end
|
1007
1108
|
|
1008
|
-
|
1109
|
+
it "processes empty term modifications" do
|
1009
1110
|
FileUtils.rm_f "test.html"
|
1010
1111
|
FileUtils.rm_f "test.doc"
|
1011
|
-
IsoDoc::HtmlConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
<term id="paddy1"><preferred>paddy</preferred>
|
1016
|
-
<domain>rice</domain>
|
1017
|
-
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
1018
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f892">
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
</termexample>
|
1024
|
-
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f894">
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
</termexample>
|
1029
|
-
<termsource status="modified">
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
</termsource></term>
|
1035
|
-
</terms>
|
1036
|
-
</sections>
|
1037
|
-
</iso-standard>
|
1112
|
+
IsoDoc::HtmlConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1113
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1114
|
+
<sections>
|
1115
|
+
<terms id="_terms_and_definitions" obligation="normative"><title>Terms and Definitions</title>
|
1116
|
+
<term id="paddy1"><preferred>paddy</preferred>
|
1117
|
+
<domain>rice</domain>
|
1118
|
+
<definition><p id="_eb29b35e-123e-4d1c-b50b-2714d41e747f">rice retaining its husk after threshing</p></definition>
|
1119
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f892">
|
1120
|
+
<p id="_65c9a509-9a89-4b54-a890-274126aeb55c">Foreign seeds, husks, bran, sand, dust.</p>
|
1121
|
+
<ul>
|
1122
|
+
<li>A</li>
|
1123
|
+
</ul>
|
1124
|
+
</termexample>
|
1125
|
+
<termexample id="_bd57bbf1-f948-4bae-b0ce-73c00431f894">
|
1126
|
+
<ul>
|
1127
|
+
<li>A</li>
|
1128
|
+
</ul>
|
1129
|
+
</termexample>
|
1130
|
+
<termsource status="modified">
|
1131
|
+
<origin bibitemid="ISO7301" type="inline" citeas="ISO 7301:2011">ISO 7301:2011, Clause 3.1</origin>
|
1132
|
+
<modification>
|
1133
|
+
<p id="_e73a417d-ad39-417d-a4c8-20e4e2529489"/>
|
1134
|
+
</modification>
|
1135
|
+
</termsource></term>
|
1136
|
+
</terms>
|
1137
|
+
</sections>
|
1138
|
+
</iso-standard>
|
1038
1139
|
INPUT
|
1039
1140
|
expect(File.exist?("test.html")).to be true
|
1040
1141
|
html = File.read("test.html")
|
1041
1142
|
expect(html).to include '[SOURCE: <a href="#ISO7301">ISO 7301:2011, Clause 3.1</a>, modified]'
|
1042
1143
|
end
|
1043
1144
|
|
1044
|
-
|
1045
1145
|
it "creates continuation styles for multiparagraph list items in Word" do
|
1046
1146
|
FileUtils.rm_f "test.doc"
|
1047
1147
|
FileUtils.rm_f "test.html"
|
1048
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
<dt>
|
1068
|
-
<em>n</em>
|
1069
|
-
</dt>
|
1070
|
-
<dd>
|
1071
|
-
<p id="_a27281a4-b20e-4d0b-a780-bab9e851b03e">is the number of coating layers</p>
|
1072
|
-
</dd>
|
1073
|
-
</dl>
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1148
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1149
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1150
|
+
<preface><foreword>
|
1151
|
+
<ul>
|
1152
|
+
<li><p>A</p>
|
1153
|
+
<p>B</p></li>
|
1154
|
+
<li><ol><li><p>C</p>
|
1155
|
+
<p>D</p>
|
1156
|
+
<sourcecode>E</sourcecode></li>
|
1157
|
+
</ol></li>
|
1158
|
+
</ul>
|
1159
|
+
<ol>
|
1160
|
+
<li><p>A1</p>
|
1161
|
+
<p>B1</p></li>
|
1162
|
+
<li><ul><li><p>C1</p>
|
1163
|
+
<formula id="_5fc1ef0f-75d2-4b54-802c-b1bad4a53b62">
|
1164
|
+
<stem type="AsciiMath">D1</stem>
|
1165
|
+
</formula>
|
1166
|
+
<dl id="_f8fb7ed7-7874-44a8-933f-06e0e86fb264">
|
1167
|
+
<dt>
|
1168
|
+
<em>n</em>
|
1169
|
+
</dt>
|
1170
|
+
<dd>
|
1171
|
+
<p id="_a27281a4-b20e-4d0b-a780-bab9e851b03e">is the number of coating layers</p>
|
1172
|
+
</dd>
|
1173
|
+
</dl>
|
1174
|
+
</ul></li>
|
1175
|
+
</ol>
|
1176
|
+
</foreword></preface>
|
1177
|
+
</iso-standard>
|
1078
1178
|
INPUT
|
1079
|
-
word = File.read("test.doc")
|
1080
|
-
sub(
|
1179
|
+
word = File.read("test.doc")
|
1180
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2" xmlns:m="m">')
|
1181
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
1081
1182
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
<div>
|
1087
|
-
<h1 class='ForewordTitle'>Foreword</h1>
|
1088
|
-
<p class='MsoListParagraphCxSpFirst'>
|
1089
|
-
A
|
1090
|
-
<div class='ListContLevel1'>
|
1091
|
-
<p class='MsoNormal'>B</p>
|
1092
|
-
</div>
|
1093
|
-
</p>
|
1094
|
-
<p class='MsoListParagraphCxSpLast'>
|
1095
|
-
<p class='MsoListParagraphCxSpFirst'>
|
1096
|
-
C
|
1097
|
-
<div class='ListContLevel2'>
|
1098
|
-
<p class='MsoNormal'>D</p>
|
1099
|
-
</div>
|
1100
|
-
<div class='ListContLevel2'>
|
1101
|
-
<p class='Sourcecode'>E</p>
|
1102
|
-
</div>
|
1103
|
-
</p>
|
1104
|
-
</p>
|
1105
|
-
<p class='MsoListParagraphCxSpFirst'>
|
1106
|
-
A1
|
1107
|
-
<div class='ListContLevel1'>
|
1108
|
-
<p class='MsoNormal'>B1</p>
|
1109
|
-
</div>
|
1110
|
-
</p>
|
1111
|
-
<p class='MsoListParagraphCxSpLast'>
|
1112
|
-
C1
|
1113
|
-
<div class='ListContLevel2'>
|
1183
|
+
<div class='WordSection2' xmlns:m='m'>
|
1184
|
+
<p class='MsoNormal'>
|
1185
|
+
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
1186
|
+
</p>
|
1114
1187
|
<div>
|
1115
|
-
<
|
1116
|
-
|
1117
|
-
|
1118
|
-
<
|
1119
|
-
<
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1188
|
+
<h1 class='ForewordTitle'>Foreword</h1>
|
1189
|
+
<p class='MsoListParagraphCxSpFirst'>
|
1190
|
+
A
|
1191
|
+
<div class='ListContLevel1'>
|
1192
|
+
<p class='MsoNormal'>B</p>
|
1193
|
+
</div>
|
1194
|
+
</p>
|
1195
|
+
<p class='MsoListParagraphCxSpLast'>
|
1196
|
+
<p class='MsoListParagraphCxSpFirst'>
|
1197
|
+
C
|
1198
|
+
<div class='ListContLevel2'>
|
1199
|
+
<p class='MsoNormal'>D</p>
|
1200
|
+
</div>
|
1201
|
+
<div class='ListContLevel2'>
|
1202
|
+
<p class='Sourcecode'>E</p>
|
1203
|
+
</div>
|
1204
|
+
</p>
|
1205
|
+
</p>
|
1206
|
+
<p class='MsoListParagraphCxSpFirst'>
|
1207
|
+
A1
|
1208
|
+
<div class='ListContLevel1'>
|
1209
|
+
<p class='MsoNormal'>B1</p>
|
1210
|
+
</div>
|
1211
|
+
</p>
|
1212
|
+
<p class='MsoListParagraphCxSpLast'>
|
1213
|
+
C1
|
1214
|
+
<div class='ListContLevel2'>
|
1215
|
+
<div>
|
1216
|
+
<a name='_5fc1ef0f-75d2-4b54-802c-b1bad4a53b62' id='_5fc1ef0f-75d2-4b54-802c-b1bad4a53b62'/>
|
1217
|
+
<div class='formula'>
|
1218
|
+
<p class='MsoNormal'>
|
1219
|
+
<span class='stem'>
|
1220
|
+
<m:oMath>
|
1221
|
+
<m:r>
|
1222
|
+
<m:t>D1</m:t>
|
1223
|
+
</m:r>
|
1224
|
+
</m:oMath>
|
1225
|
+
</span>
|
1226
|
+
<span style='mso-tab-count:1'>  </span>
|
1227
|
+
</p>
|
1228
|
+
</div>
|
1229
|
+
</div>
|
1230
|
+
</div>
|
1231
|
+
<div class='ListContLevel2'>
|
1232
|
+
<table class='dl'>
|
1233
|
+
<tr>
|
1234
|
+
<td valign='top' align='left'>
|
1235
|
+
<p align='left' style='margin-left:0pt;text-align:left;' class='MsoNormal'>
|
1236
|
+
<i>n</i>
|
1237
|
+
</p>
|
1238
|
+
</td>
|
1239
|
+
<td valign='top'>
|
1240
|
+
<p class='MsoNormal'>
|
1241
|
+
<a name='_a27281a4-b20e-4d0b-a780-bab9e851b03e' id='_a27281a4-b20e-4d0b-a780-bab9e851b03e'/>
|
1242
|
+
is the number of coating layers
|
1243
|
+
</p>
|
1244
|
+
</td>
|
1245
|
+
</tr>
|
1246
|
+
</table>
|
1247
|
+
</div>
|
1126
1248
|
</p>
|
1127
|
-
</div>
|
1128
1249
|
</div>
|
1250
|
+
<p class='MsoNormal'> </p>
|
1129
1251
|
</div>
|
1130
|
-
<div class='ListContLevel2'>
|
1131
|
-
<table class='dl'>
|
1132
|
-
<tr>
|
1133
|
-
<td valign='top' align='left'>
|
1134
|
-
<p align='left' style='margin-left:0pt;text-align:left;' class='MsoNormal'>
|
1135
|
-
<i>n</i>
|
1136
|
-
</p>
|
1137
|
-
</td>
|
1138
|
-
<td valign='top'>
|
1139
|
-
<p class='MsoNormal'>
|
1140
|
-
<a name='_a27281a4-b20e-4d0b-a780-bab9e851b03e' id='_a27281a4-b20e-4d0b-a780-bab9e851b03e'/>
|
1141
|
-
is the number of coating layers
|
1142
|
-
</p>
|
1143
|
-
</td>
|
1144
|
-
</tr>
|
1145
|
-
</table>
|
1146
|
-
</div>
|
1147
|
-
</p>
|
1148
|
-
</div>
|
1149
|
-
<p class='MsoNormal'> </p>
|
1150
|
-
</div>
|
1151
1252
|
OUTPUT
|
1152
1253
|
end
|
1153
1254
|
|
1154
1255
|
it "does not lose HTML escapes in postprocessing" do
|
1155
|
-
|
1256
|
+
FileUtils.rm_f "test.doc"
|
1156
1257
|
FileUtils.rm_f "test.html"
|
1157
|
-
IsoDoc::HtmlConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
</sourcecode>
|
1164
|
-
|
1165
|
-
|
1258
|
+
IsoDoc::HtmlConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1259
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1260
|
+
<preface><foreword>
|
1261
|
+
<sourcecode id="samplecode">
|
1262
|
+
<name>XML code</name>
|
1263
|
+
<xml> &
|
1264
|
+
</sourcecode>
|
1265
|
+
</foreword></preface>
|
1266
|
+
</iso-standard>
|
1166
1267
|
INPUT
|
1167
|
-
|
1168
|
-
sub(
|
1268
|
+
html = File.read("test.html")
|
1269
|
+
.sub(/^.*<main class="main-section">/m, '<main class="main-section">')
|
1270
|
+
.sub(%r{</main>.*$}m, "</main>")
|
1169
1271
|
expect(xmlpp(html)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1272
|
+
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
1273
|
+
<br />
|
1274
|
+
<div>
|
1275
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1276
|
+
<pre id="samplecode" class="prettyprint "><br />    <br />  <xml> &<br />
|
1277
|
+
</pre>
|
1278
|
+
<p class="SourceTitle" style="text-align:center;">XML code</p>
|
1279
|
+
</div>
|
1280
|
+
<p class="zzSTDTitle1"></p>
|
1281
|
+
</main>
|
1180
1282
|
OUTPUT
|
1181
1283
|
end
|
1182
1284
|
|
1183
|
-
|
1184
1285
|
it "does not lose HTML escapes in postprocessing (Word)" do
|
1185
|
-
|
1286
|
+
FileUtils.rm_f "test.doc"
|
1186
1287
|
FileUtils.rm_f "test.html"
|
1187
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
</sourcecode>
|
1194
|
-
|
1195
|
-
|
1288
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1289
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1290
|
+
<preface><foreword>
|
1291
|
+
<sourcecode id="samplecode">
|
1292
|
+
<name>XML code</name>
|
1293
|
+
<xml> &
|
1294
|
+
</sourcecode>
|
1295
|
+
</foreword></preface>
|
1296
|
+
</iso-standard>
|
1196
1297
|
INPUT
|
1197
|
-
|
1198
|
-
sub(
|
1298
|
+
word = File.read("test.doc")
|
1299
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">')
|
1300
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
1199
1301
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1302
|
+
<div class="WordSection2">
|
1303
|
+
<p class="MsoNormal">
|
1304
|
+
<br clear="all" style="mso-special-character:line-break;page-break-before:always"/>
|
1305
|
+
</p>
|
1306
|
+
<div>
|
1307
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1308
|
+
<p class="Sourcecode" style="page-break-after:avoid;"><a name="samplecode" id="samplecode"></a><br/>    <br/>  <xml> &<br/></p><p class="SourceTitle" style="text-align:center;">XML code</p>
|
1309
|
+
</div>
|
1310
|
+
<p class="MsoNormal"> </p>
|
1207
1311
|
</div>
|
1208
|
-
<p class="MsoNormal"> </p>
|
1209
|
-
</div>
|
1210
1312
|
OUTPUT
|
1211
1313
|
end
|
1212
1314
|
|
1213
1315
|
it "propagates example style to paragraphs in postprocessing (Word)" do
|
1214
1316
|
FileUtils.rm_f "test.doc"
|
1215
1317
|
FileUtils.rm_f "test.html"
|
1216
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
</example>
|
1222
|
-
|
1223
|
-
|
1318
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1319
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1320
|
+
<preface><foreword>
|
1321
|
+
<example id="samplecode">
|
1322
|
+
<p>ABC</p>
|
1323
|
+
</example>
|
1324
|
+
</foreword></preface>
|
1325
|
+
</iso-standard>
|
1224
1326
|
INPUT
|
1225
|
-
|
1226
|
-
sub(
|
1327
|
+
word = File.read("test.doc")
|
1328
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">')
|
1329
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
1227
1330
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1228
|
-
<div class="WordSection2">
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
</div>
|
1331
|
+
<div class="WordSection2">
|
1332
|
+
<p class="MsoNormal">
|
1333
|
+
<br clear="all" style="mso-special-character:line-break;page-break-before:always"/>
|
1334
|
+
</p>
|
1335
|
+
<div>
|
1336
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1337
|
+
<div class="example"><a name="samplecode" id="samplecode"></a>
|
1338
|
+
<p class="example">ABC</p>
|
1237
1339
|
</div>
|
1238
|
-
|
1239
|
-
|
1340
|
+
</div>
|
1341
|
+
<p class="MsoNormal"> </p>
|
1342
|
+
</div>
|
1240
1343
|
OUTPUT
|
1241
1344
|
end
|
1242
1345
|
|
1243
1346
|
it "deals with image captions (Word)" do
|
1244
|
-
FileUtils.rm_f "test.doc"
|
1347
|
+
FileUtils.rm_f "test.doc"
|
1245
1348
|
FileUtils.rm_f "test.html"
|
1246
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1247
|
-
|
1248
|
-
|
1249
|
-
<figure id="fig1">
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1349
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1350
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1351
|
+
<preface><foreword>
|
1352
|
+
<figure id="fig1">
|
1353
|
+
<name>Typical arrangement of the far-field scan set-up</name>
|
1354
|
+
<image src="spec/assets/rice_image1.png" id="_" mimetype="image/png"/>
|
1355
|
+
</figure>
|
1356
|
+
</foreword></preface>
|
1357
|
+
</iso-standard>
|
1255
1358
|
INPUT
|
1256
|
-
word = File.read("test.doc")
|
1257
|
-
sub(
|
1258
|
-
sub(
|
1359
|
+
word = File.read("test.doc")
|
1360
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2">')
|
1361
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
1362
|
+
.sub(/src="[^"]+"/, 'src="_"')
|
1259
1363
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1364
|
+
<div class="WordSection2">
|
1365
|
+
<p class="MsoNormal">
|
1366
|
+
<br clear="all" style="mso-special-character:line-break;page-break-before:always"/>
|
1367
|
+
</p>
|
1368
|
+
<div>
|
1369
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1370
|
+
<div class="figure"><a name="fig1" id="fig1"></a>
|
1371
|
+
<p style="page-break-after:avoid;" class="figure"><img src="_" width="400" height="337"/></p>
|
1372
|
+
<p class="FigureTitle" style="text-align:center;">Typical arrangement of the far-field scan set-up</p></div>
|
1373
|
+
</div>
|
1374
|
+
<p class="MsoNormal"> </p>
|
1269
1375
|
</div>
|
1270
|
-
<p class="MsoNormal"> </p>
|
1271
|
-
</div>
|
1272
1376
|
OUTPUT
|
1273
|
-
|
1274
1377
|
end
|
1275
1378
|
|
1276
1379
|
it "deals with empty table titles (Word)" do
|
1277
1380
|
FileUtils.rm_f "test.doc"
|
1278
1381
|
FileUtils.rm_f "test.html"
|
1279
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1280
|
-
|
1281
|
-
|
1282
|
-
<table id="_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7" unnumbered="true"><thead><tr>
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
INPUT
|
1293
|
-
word = File.read("test.doc")
|
1294
|
-
sub(
|
1295
|
-
sub(
|
1382
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1383
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1384
|
+
<preface><foreword>
|
1385
|
+
<table id="_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7" unnumbered="true"><thead><tr>
|
1386
|
+
<td rowspan="2">
|
1387
|
+
<p id="_c47d9b39-adb2-431d-9320-78cb148fdb56">Output wavelength <stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>(</mo><mi>μ</mi><mi>m</mi><mo>)</mo></mrow></math></stem></p>
|
1388
|
+
</td>
|
1389
|
+
<th colspan="3" align="left">Predictive wavelengths</th>
|
1390
|
+
</tr>
|
1391
|
+
</thead>
|
1392
|
+
</table>
|
1393
|
+
</preface>
|
1394
|
+
</iso-standard>
|
1395
|
+
INPUT
|
1396
|
+
word = File.read("test.doc")
|
1397
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2" xmlns:m="m">')
|
1398
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
1399
|
+
.sub(/src="[^"]+"/, 'src="_"')
|
1296
1400
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1401
|
+
<div class="WordSection2" xmlns:m="m">
|
1402
|
+
<p class="MsoNormal">
|
1403
|
+
<br clear="all" style="mso-special-character:line-break;page-break-before:always"/>
|
1404
|
+
</p>
|
1405
|
+
<div>
|
1406
|
+
<h1 class="ForewordTitle">Foreword</h1>
|
1407
|
+
<div align="center" class="table_container">
|
1408
|
+
<table class="MsoISOTable" style="mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;"><a name="_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7" id="_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7"></a>
|
1409
|
+
<thead>
|
1410
|
+
<tr>
|
1411
|
+
<td rowspan="2" style="border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;">
|
1412
|
+
<p class="MsoNormal"><a name="_c47d9b39-adb2-431d-9320-78cb148fdb56" id="_c47d9b39-adb2-431d-9320-78cb148fdb56"></a>Output wavelength <span class="stem">
|
1413
|
+
<m:oMath>
|
1414
|
+
<span style='font-style:normal;'>
|
1415
|
+
<m:r>
|
1416
|
+
<m:rPr>
|
1417
|
+
<m:sty m:val='p'/>
|
1418
|
+
</m:rPr>
|
1419
|
+
<m:t>(</m:t>
|
1420
|
+
</m:r>
|
1421
|
+
</span>
|
1422
|
+
<m:r>
|
1423
|
+
<m:t>μm)</m:t>
|
1424
|
+
</m:r>
|
1425
|
+
</m:oMath>
|
1426
|
+
</span></p>
|
1427
|
+
</td>
|
1428
|
+
<th colspan="3" align="left" style="font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;">Predictive wavelengths</th>
|
1429
|
+
</tr>
|
1430
|
+
</thead>
|
1431
|
+
</table>
|
1432
|
+
</div>
|
1433
|
+
</div>
|
1434
|
+
<p class="MsoNormal"> </p>
|
1435
|
+
</div>
|
1332
1436
|
OUTPUT
|
1333
1437
|
end
|
1334
1438
|
|
1335
|
-
|
1439
|
+
it "propagates alignment of table cells (Word)" do
|
1336
1440
|
FileUtils.rm_f "test.doc"
|
1337
1441
|
FileUtils.rm_f "test.html"
|
1338
|
-
IsoDoc::WordConvert.new({wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss"}).convert("test", <<~"INPUT", false)
|
1339
|
-
|
1340
|
-
|
1341
|
-
<table id="_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7" unnumbered="true"><thead><tr>
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
INPUT
|
1353
|
-
word = File.read("test.doc")
|
1354
|
-
sub(
|
1355
|
-
sub(
|
1442
|
+
IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss" }).convert("test", <<~"INPUT", false)
|
1443
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
1444
|
+
<preface><foreword>
|
1445
|
+
<table id="_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7" unnumbered="true"><thead><tr>
|
1446
|
+
<td rowspan="2" align="left">
|
1447
|
+
<p id="_c47d9b39-adb2-431d-9320-78cb148fdb56">Output wavelength</p>
|
1448
|
+
<p id="_c47d9b39-adb2-431d-9320-78cb148fdb57">Output wavelength</p>
|
1449
|
+
</td>
|
1450
|
+
<th colspan="3" align="right"><p id="_c47d9b39-adb2-431d-9320-78cb148fdb58">Predictive wavelengths</p></th>
|
1451
|
+
</tr>
|
1452
|
+
</thead>
|
1453
|
+
</table>
|
1454
|
+
</preface>
|
1455
|
+
</iso-standard>
|
1456
|
+
INPUT
|
1457
|
+
word = File.read("test.doc")
|
1458
|
+
.sub(/^.*<div class="WordSection2">/m, '<div class="WordSection2" xmlns:m="m">')
|
1459
|
+
.sub(%r{<p class="MsoNormal">\s*<br clear="all" class="section"/>\s*</p>\s*<div class="WordSection3">.*$}m, "")
|
1460
|
+
.sub(/src="[^"]+"/, 'src="_"')
|
1356
1461
|
expect(xmlpp(word)).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1462
|
+
<div class='WordSection2' xmlns:m='m'>
|
1463
|
+
<p class='MsoNormal'>
|
1464
|
+
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
1465
|
+
</p>
|
1466
|
+
<div>
|
1467
|
+
<h1 class='ForewordTitle'>Foreword</h1>
|
1468
|
+
<div align='center' class="table_container">
|
1469
|
+
<table class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;'>
|
1470
|
+
<a name='_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7' id='_fe12b8f8-6858-4cd6-af7d-d4b6f3ebd1a7'/>
|
1471
|
+
<thead>
|
1472
|
+
<tr>
|
1473
|
+
<td rowspan='2' align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>
|
1474
|
+
<p style='text-align: left' class='MsoNormal'>
|
1475
|
+
<a name='_c47d9b39-adb2-431d-9320-78cb148fdb56' id='_c47d9b39-adb2-431d-9320-78cb148fdb56'/>
|
1476
|
+
Output wavelength
|
1477
|
+
</p>
|
1478
|
+
<p style='text-align: left' class='MsoNormal'>
|
1479
|
+
<a name='_c47d9b39-adb2-431d-9320-78cb148fdb57' id='_c47d9b39-adb2-431d-9320-78cb148fdb57'/>
|
1480
|
+
Output wavelength
|
1481
|
+
</p>
|
1482
|
+
</td>
|
1483
|
+
<th colspan='3' align='right' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1484
|
+
<p style='text-align: right' class='MsoNormal'>
|
1485
|
+
<a name='_c47d9b39-adb2-431d-9320-78cb148fdb58' id='_c47d9b39-adb2-431d-9320-78cb148fdb58'/>
|
1486
|
+
Predictive wavelengths
|
1487
|
+
</p>
|
1488
|
+
</th>
|
1489
|
+
</tr>
|
1490
|
+
</thead>
|
1491
|
+
</table>
|
1492
|
+
</div>
|
1387
1493
|
</div>
|
1494
|
+
<p class='MsoNormal'> </p>
|
1388
1495
|
</div>
|
1389
|
-
|
1390
|
-
|
1391
|
-
OUTPUT
|
1392
|
-
end
|
1496
|
+
OUTPUT
|
1497
|
+
end
|
1393
1498
|
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
<hr/>
|
1405
|
-
<div id="boilerplate-feedback-destination"/>
|
1406
|
-
<div id="boilerplate-legal-destination"/>
|
1407
|
-
<div id="boilerplate-license-destination"/>
|
1408
|
-
<div id="boilerplate-copyright-destination"/>
|
1409
|
-
</div>
|
1410
|
-
</body>
|
1411
|
-
</html>
|
1412
|
-
INPUT
|
1413
|
-
<main class='main-section'>
|
1414
|
-
<button onclick='topFunction()' id='myBtn' title='Go to top'>Top</button>
|
1499
|
+
it "cleans up boilerplate" do
|
1500
|
+
expect(xmlpp(IsoDoc::HtmlConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss", filename: "test" }).html_preface(Nokogiri::XML(<<~INPUT)).to_xml).sub(/^.*<main/m, "<main").sub(%r{</main>.*$}m, "</main>")).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1501
|
+
<html>
|
1502
|
+
<head/>
|
1503
|
+
<body>
|
1504
|
+
<div class="main-section">
|
1505
|
+
<div id="boilerplate-copyright"> <h1>Copyright</h1> </div>
|
1506
|
+
<div id="boilerplate-license"> <h1>License</h1> </div>
|
1507
|
+
<div id="boilerplate-legal"> <h1>Legal</h1> </div>
|
1508
|
+
<div id="boilerplate-feedback"> <h1>Feedback</h1> </div>
|
1415
1509
|
<hr/>
|
1416
|
-
<div id=
|
1417
|
-
|
1510
|
+
<div id="boilerplate-feedback-destination"/>
|
1511
|
+
<div id="boilerplate-legal-destination"/>
|
1512
|
+
<div id="boilerplate-license-destination"/>
|
1513
|
+
<div id="boilerplate-copyright-destination"/>
|
1418
1514
|
</div>
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
<
|
1423
|
-
<
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1515
|
+
</body>
|
1516
|
+
</html>
|
1517
|
+
INPUT
|
1518
|
+
<main class='main-section'>
|
1519
|
+
<button onclick='topFunction()' id='myBtn' title='Go to top'>Top</button>
|
1520
|
+
<hr/>
|
1521
|
+
<div id='boilerplate-feedback'>
|
1522
|
+
<h1 class='IntroTitle'>Feedback</h1>
|
1523
|
+
</div>
|
1524
|
+
<div id='boilerplate-legal'>
|
1525
|
+
<h1 class='IntroTitle'>Legal</h1>
|
1526
|
+
</div>
|
1527
|
+
<div id='boilerplate-license'>
|
1528
|
+
<h1 class='IntroTitle'>License</h1>
|
1529
|
+
</div>
|
1530
|
+
<div id='boilerplate-copyright'>
|
1531
|
+
<h1 class='IntroTitle'>Copyright</h1>
|
1532
|
+
</div>
|
1533
|
+
</main>
|
1429
1534
|
OUTPUT
|
1430
1535
|
end
|
1431
1536
|
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
<hr/>
|
1443
|
-
<div id="boilerplate-feedback-destination"/>
|
1444
|
-
<div id="boilerplate-legal-destination"/>
|
1445
|
-
<div id="boilerplate-license-destination"/>
|
1446
|
-
<div id="boilerplate-copyright-destination"/>
|
1447
|
-
</div>
|
1448
|
-
</body>
|
1449
|
-
</html>
|
1450
|
-
INPUT
|
1451
|
-
<html>
|
1452
|
-
<head/>
|
1453
|
-
<body>
|
1454
|
-
<div class='main-section'>
|
1537
|
+
it "cleans up boilerplate (Word)" do
|
1538
|
+
expect(xmlpp(IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss", filename: "test" }).word_cleanup(Nokogiri::XML(<<~INPUT)).to_xml).sub(/^.*<main/m, "<main").sub(%r{</main>.*$}m, "</main>")).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1539
|
+
<html>
|
1540
|
+
<head/>
|
1541
|
+
<body>
|
1542
|
+
<div class="main-section">
|
1543
|
+
<div id="boilerplate-copyright"> <h1>Copyright</h1> </div>
|
1544
|
+
<div id="boilerplate-license"> <h1>License</h1> </div>
|
1545
|
+
<div id="boilerplate-legal"> <h1>Legal</h1> </div>
|
1546
|
+
<div id="boilerplate-feedback"> <h1>Feedback</h1> </div>
|
1455
1547
|
<hr/>
|
1456
|
-
<div id=
|
1457
|
-
|
1548
|
+
<div id="boilerplate-feedback-destination"/>
|
1549
|
+
<div id="boilerplate-legal-destination"/>
|
1550
|
+
<div id="boilerplate-license-destination"/>
|
1551
|
+
<div id="boilerplate-copyright-destination"/>
|
1458
1552
|
</div>
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
<
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1553
|
+
</body>
|
1554
|
+
</html>
|
1555
|
+
INPUT
|
1556
|
+
<html>
|
1557
|
+
<head/>
|
1558
|
+
<body>
|
1559
|
+
<div class='main-section'>
|
1560
|
+
<hr/>
|
1561
|
+
<div id='boilerplate-feedback'>
|
1562
|
+
<p class='TitlePageSubhead'>Feedback</p>
|
1563
|
+
</div>
|
1564
|
+
<div id='boilerplate-legal'>
|
1565
|
+
<p class='TitlePageSubhead'>Legal</p>
|
1566
|
+
</div>
|
1567
|
+
<div id='boilerplate-license'>
|
1568
|
+
<p class='TitlePageSubhead'>License</p>
|
1569
|
+
</div>
|
1570
|
+
<div id='boilerplate-copyright'>
|
1571
|
+
<p class='TitlePageSubhead'>Copyright</p>
|
1572
|
+
</div>
|
1573
|
+
</div>
|
1574
|
+
</body>
|
1575
|
+
</html>
|
1471
1576
|
OUTPUT
|
1472
1577
|
end
|
1473
1578
|
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
<
|
1514
|
-
<
|
1515
|
-
<
|
1516
|
-
<
|
1517
|
-
|
1518
|
-
</
|
1519
|
-
<
|
1520
|
-
|
1521
|
-
|
1522
|
-
<
|
1523
|
-
|
1524
|
-
</
|
1525
|
-
<
|
1526
|
-
|
1527
|
-
</
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1579
|
+
it "deals with landscape and portrait pagebreaks (Word)" do
|
1580
|
+
FileUtils.rm_f "test.doc"
|
1581
|
+
IsoDoc::WordConvert.new(
|
1582
|
+
{ wordstylesheet: "spec/assets/word.css",
|
1583
|
+
htmlstylesheet: "spec/assets/html.scss", filename: "test" }
|
1584
|
+
).convert("test", <<~"INPUT", false)
|
1585
|
+
<standard-document xmlns="http://riboseinc.com/isoxml">
|
1586
|
+
<bibdata type="standard">
|
1587
|
+
<title language="en" format="text/plain">Document title</title>
|
1588
|
+
<version>
|
1589
|
+
<draft>1.2</draft>
|
1590
|
+
</version>
|
1591
|
+
<language>en</language>
|
1592
|
+
<script>Latn</script>
|
1593
|
+
<status><stage>published</stage></status>
|
1594
|
+
<ext>
|
1595
|
+
<doctype>article</doctype>
|
1596
|
+
</ext>
|
1597
|
+
</bibdata>
|
1598
|
+
<preface>
|
1599
|
+
<introduction><title>Preface 1</title>
|
1600
|
+
<p align="center">This is a <pagebreak orientation="landscape"/> paragraph</p>
|
1601
|
+
<table>
|
1602
|
+
<tbody>
|
1603
|
+
<tr><td>A</td><td>B</td></tr>
|
1604
|
+
</tbody>
|
1605
|
+
</table>
|
1606
|
+
<clause><title>Preface 1.1</title>
|
1607
|
+
<p>On my side</p>
|
1608
|
+
<pagebreak orientation="portrait"/>
|
1609
|
+
<p>Upright again</p>
|
1610
|
+
</clause>
|
1611
|
+
<clause><title>Preface 1.3</title>
|
1612
|
+
<p>And still upright</p>
|
1613
|
+
</clause>
|
1614
|
+
</introduction>
|
1615
|
+
</preface>
|
1616
|
+
<sections><clause><title>Foreword</title>
|
1617
|
+
<note>
|
1618
|
+
<p id="_">For further information on the Foreword, see <strong>ISO/IEC Directives, Part 2, 2016, Clause 12.</strong></p>
|
1619
|
+
<pagebreak orientation="landscape"/>
|
1620
|
+
<table id="_c09a7e60-b0c7-4418-9bfc-2ef0bc09a249">
|
1621
|
+
<thead>
|
1622
|
+
<tr>
|
1623
|
+
<th align="left">A</th>
|
1624
|
+
<th align="left">B</th>
|
1625
|
+
</tr>
|
1626
|
+
</thead>
|
1627
|
+
<tbody>
|
1628
|
+
<tr>
|
1629
|
+
<td align="left">C</td>
|
1630
|
+
<td align="left">D</td>
|
1631
|
+
</tr>
|
1632
|
+
</tbody>
|
1633
|
+
<note id="_8fff1596-290e-4314-b03c-7a8aab97eebe">
|
1634
|
+
<p id="_32c22439-387a-48cf-a006-5ab3b934ba73">B</p>
|
1635
|
+
</note></table>
|
1636
|
+
<pagebreak orientation="portrait"/>
|
1637
|
+
<p>And up</p>
|
1638
|
+
</note>
|
1639
|
+
<pagebreak orientation="portrait"/>
|
1640
|
+
</clause></sections>
|
1641
|
+
<annex id="_level_1" inline-header="false" obligation="normative">
|
1642
|
+
<title>Annex 1</title>
|
1643
|
+
</annex>
|
1644
|
+
</standard-document>
|
1645
|
+
INPUT
|
1646
|
+
expect(File.exist?("test.doc")).to be true
|
1539
1647
|
html = File.read("test.doc", encoding: "UTF-8")
|
1540
1648
|
expect(html).to include "div.WordSection2_0 {page:WordSection2P;}"
|
1541
|
-
expect(html).to include "div.WordSection2_1 {page:WordSection2L;}"
|
1649
|
+
expect(html).to include "div.WordSection2_1 {page:WordSection2L;}"
|
1542
1650
|
expect(html).to include "div.WordSection3_0 {page:WordSection3P;}"
|
1543
|
-
expect(html).to include "div.WordSection3_1 {page:WordSection3P;}"
|
1544
|
-
expect(html).to include "div.WordSection3_2 {page:WordSection3L;}"
|
1651
|
+
expect(html).to include "div.WordSection3_1 {page:WordSection3P;}"
|
1652
|
+
expect(html).to include "div.WordSection3_2 {page:WordSection3L;}"
|
1545
1653
|
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
</p>
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
<div class='Note'>
|
1605
|
-
<p class='Note'>
|
1606
|
-
<span class='note_label'/>
|
1607
|
-
<span style='mso-tab-count:1'>  </span>
|
1608
|
-
For further information on the Foreword, see
|
1609
|
-
<b>ISO/IEC Directives, Part 2, 2016, Clause 12.</b>
|
1610
|
-
</p>
|
1611
|
-
<p class='Note'>
|
1612
|
-
<br clear='all' class='section'/>
|
1613
|
-
</p>
|
1614
|
-
</div>
|
1615
|
-
</div>
|
1616
|
-
</div>
|
1617
|
-
<div class='WordSection3_2'>
|
1618
|
-
<div align='center' class='table_container'>
|
1619
|
-
<table class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;'>
|
1620
|
-
<a name='_c09a7e60-b0c7-4418-9bfc-2ef0bc09a249' id='_c09a7e60-b0c7-4418-9bfc-2ef0bc09a249'/>
|
1621
|
-
<thead>
|
1622
|
-
<tr>
|
1623
|
-
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>A</th>
|
1624
|
-
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>B</th>
|
1625
|
-
</tr>
|
1626
|
-
</thead>
|
1627
|
-
<tbody>
|
1628
|
-
<tr>
|
1629
|
-
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>C</td>
|
1630
|
-
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>D</td>
|
1631
|
-
</tr>
|
1632
|
-
</tbody>
|
1633
|
-
<tfoot>
|
1634
|
-
<tr>
|
1635
|
-
<td colspan='2' style='border-top:0pt;mso-border-top-alt:0pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1654
|
+
expect(xmlpp(html.sub(/^.*<body /m, "<body ")
|
1655
|
+
.sub(%r{</body>.*$}m, "</body>"))).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1656
|
+
<body lang='EN-US' xml:lang='EN-US' link='blue' vlink='#954F72'>
|
1657
|
+
<div class='WordSection1'>
|
1658
|
+
<p class='MsoNormal'> </p>
|
1659
|
+
</div>
|
1660
|
+
<p class='MsoNormal'>
|
1661
|
+
<br clear='all' class='section'/>
|
1662
|
+
</p>
|
1663
|
+
<div class='WordSection2'>
|
1664
|
+
<p class='MsoNormal'>
|
1665
|
+
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
1666
|
+
</p>
|
1667
|
+
<div class='Section3' id=''>
|
1668
|
+
<h1 class='IntroTitle'>Preface 1</h1>
|
1669
|
+
<p align='center' style='text-align:center;' class='MsoNormal'>
|
1670
|
+
This is a
|
1671
|
+
<p class='MsoNormal'>
|
1672
|
+
<br clear='all' class='section'/>
|
1673
|
+
</p>
|
1674
|
+
paragraph
|
1675
|
+
</p>
|
1676
|
+
</div>
|
1677
|
+
</div>
|
1678
|
+
<div class='WordSection2_1'>
|
1679
|
+
<div align='center' class='table_container'>
|
1680
|
+
<table class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;'>
|
1681
|
+
<tbody>
|
1682
|
+
<tr>
|
1683
|
+
<td style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>A</td>
|
1684
|
+
<td style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>B</td>
|
1685
|
+
</tr>
|
1686
|
+
</tbody>
|
1687
|
+
</table>
|
1688
|
+
</div>
|
1689
|
+
<div>
|
1690
|
+
<h2>Preface 1.1</h2>
|
1691
|
+
<p class='MsoNormal'>On my side</p>
|
1692
|
+
<p class='MsoNormal'>
|
1693
|
+
<br clear='all' class='section'/>
|
1694
|
+
</p>
|
1695
|
+
</div>
|
1696
|
+
</div>
|
1697
|
+
<div class='WordSection2_0'>
|
1698
|
+
<p class='MsoNormal'>Upright again</p>
|
1699
|
+
<div>
|
1700
|
+
<h2>Preface 1.3</h2>
|
1701
|
+
<p class='MsoNormal'>And still upright</p>
|
1702
|
+
</div>
|
1703
|
+
<p class='MsoNormal'> </p>
|
1704
|
+
</div>
|
1705
|
+
<p class='MsoNormal'>
|
1706
|
+
<br clear='all' class='section'/>
|
1707
|
+
</p>
|
1708
|
+
<div class='WordSection3'>
|
1709
|
+
<p class='zzSTDTitle1'>Document title</p>
|
1710
|
+
<div>
|
1711
|
+
<h1>Foreword</h1>
|
1636
1712
|
<div class='Note'>
|
1637
|
-
<a name='_8fff1596-290e-4314-b03c-7a8aab97eebe' id='_8fff1596-290e-4314-b03c-7a8aab97eebe'/>
|
1638
1713
|
<p class='Note'>
|
1639
1714
|
<span class='note_label'/>
|
1640
1715
|
<span style='mso-tab-count:1'>  </span>
|
1641
|
-
|
1716
|
+
For further information on the Foreword, see
|
1717
|
+
<b>ISO/IEC Directives, Part 2, 2016, Clause 12.</b>
|
1718
|
+
</p>
|
1719
|
+
<p class='Note'>
|
1720
|
+
<br clear='all' class='section'/>
|
1642
1721
|
</p>
|
1643
1722
|
</div>
|
1644
|
-
</
|
1645
|
-
</
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1723
|
+
</div>
|
1724
|
+
</div>
|
1725
|
+
<div class='WordSection3_2'>
|
1726
|
+
<div align='center' class='table_container'>
|
1727
|
+
<table class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;'>
|
1728
|
+
<a name='_c09a7e60-b0c7-4418-9bfc-2ef0bc09a249' id='_c09a7e60-b0c7-4418-9bfc-2ef0bc09a249'/>
|
1729
|
+
<thead>
|
1730
|
+
<tr>
|
1731
|
+
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>A</th>
|
1732
|
+
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>B</th>
|
1733
|
+
</tr>
|
1734
|
+
</thead>
|
1735
|
+
<tbody>
|
1736
|
+
<tr>
|
1737
|
+
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>C</td>
|
1738
|
+
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>D</td>
|
1739
|
+
</tr>
|
1740
|
+
</tbody>
|
1741
|
+
<tfoot>
|
1742
|
+
<tr>
|
1743
|
+
<td colspan='2' style='border-top:0pt;mso-border-top-alt:0pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1744
|
+
<div class='Note'>
|
1745
|
+
<a name='_8fff1596-290e-4314-b03c-7a8aab97eebe' id='_8fff1596-290e-4314-b03c-7a8aab97eebe'/>
|
1746
|
+
<p class='Note'>
|
1747
|
+
<span class='note_label'/>
|
1748
|
+
<span style='mso-tab-count:1'>  </span>
|
1749
|
+
B
|
1750
|
+
</p>
|
1751
|
+
</div>
|
1752
|
+
</td>
|
1753
|
+
</tr>
|
1754
|
+
</tfoot>
|
1755
|
+
</table>
|
1756
|
+
</div>
|
1757
|
+
<p class='Note'>
|
1758
|
+
<br clear='all' class='section'/>
|
1759
|
+
</p>
|
1760
|
+
</div>
|
1761
|
+
<div class='WordSection3_1'>
|
1762
|
+
<p class='Note'>And up</p>
|
1763
|
+
<p class='MsoNormal'>
|
1650
1764
|
<br clear='all' class='section'/>
|
1651
1765
|
</p>
|
1652
1766
|
</div>
|
1653
|
-
<div class='
|
1654
|
-
<
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
</div>
|
1664
|
-
</div>
|
1665
|
-
<div style='mso-element:footnote-list'/>
|
1666
|
-
</body>
|
1667
|
-
OUTPUT
|
1668
|
-
end
|
1767
|
+
<div class='WordSection3_0'>
|
1768
|
+
<div class='Section3'>
|
1769
|
+
<a name='_level_1' id='_level_1'/>
|
1770
|
+
<h1 class='Annex'>Annex 1</h1>
|
1771
|
+
</div>
|
1772
|
+
</div>
|
1773
|
+
<div style='mso-element:footnote-list'/>
|
1774
|
+
</body>
|
1775
|
+
OUTPUT
|
1776
|
+
end
|
1669
1777
|
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
<table id="_a0f8c202-fd34-460c-bd5e-b2f4cc29210d" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 1-1:</p></th></tr></thead><tbody><tr style="background:#C9C9C9;"><td style="vertical-align:top;" class="recommend" colspan="2">
|
1678
|
-
<p id="_2e2c247b-ce4c-48c5-96dd-f3e090a5b4a7">Description text</p>
|
1679
|
-
</td></tr></tbody></table>
|
1680
|
-
</tbody></table>
|
1681
|
-
</div>
|
1682
|
-
|
1683
|
-
<table id="_9846c486-14e5-4b1c-bb2f-55cc254dd309" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 2:</p></th></tr></thead><tbody><tr><td style="vertical-align:top;" class="recommend" colspan="2"><p>requirement label</p></td></tr><table id="_62de974c-7128-44d6-ba86-99f818f1d467" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 2-1:</p></th></tr></thead><tbody><tr style="background:#C9C9C9;"><td style="vertical-align:top;" class="recommend" colspan="2">
|
1684
|
-
<p id="_30b90b08-bd71-4497-bbcc-8c61fbb9f772">Description text</p>
|
1685
|
-
</td></tr></tbody></table>
|
1686
|
-
<table id="_fede5681-71f6-47bb-bc65-7bd0b11acd01" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 2-2:</p></th></tr></thead><tbody><tr><td style="vertical-align:top;" class="recommend" colspan="2">
|
1687
|
-
<p id="_8daa3d74-90fd-4a57-9169-de457a68cfda">Description text</p>
|
1688
|
-
</td></tr></tbody></table></tbody></table>
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1778
|
+
it "expands out nested tables in Word" do
|
1779
|
+
expect(xmlpp(IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss", filename: "test" }).word_cleanup(Nokogiri::XML(<<~INPUT)).to_xml).sub(/^.*<main/m, "<main").sub(%r{</main>.*$}m, "</main>")).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1780
|
+
<html>
|
1781
|
+
<head/>
|
1782
|
+
<body>
|
1783
|
+
<div class="main-section">
|
1784
|
+
<table id="_7830dff8-419e-4b9e-85cf-a063689f44ca" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 1:</p></th></tr></thead><tbody><tr><td style="vertical-align:top;" class="recommend" colspan="2"><p>requirement label</p></td></tr>
|
1785
|
+
<table id="_a0f8c202-fd34-460c-bd5e-b2f4cc29210d" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 1-1:</p></th></tr></thead><tbody><tr style="background:#C9C9C9;"><td style="vertical-align:top;" class="recommend" colspan="2">
|
1786
|
+
<p id="_2e2c247b-ce4c-48c5-96dd-f3e090a5b4a7">Description text</p>
|
1787
|
+
</td></tr></tbody></table>
|
1788
|
+
</tbody></table>
|
1789
|
+
</div>
|
1790
|
+
<div id="_second_sample"><h2>1.2.<span style="mso-tab-count:1">  </span>Second sample</h2>
|
1791
|
+
<table id="_9846c486-14e5-4b1c-bb2f-55cc254dd309" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 2:</p></th></tr></thead><tbody><tr><td style="vertical-align:top;" class="recommend" colspan="2"><p>requirement label</p></td></tr><table id="_62de974c-7128-44d6-ba86-99f818f1d467" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 2-1:</p></th></tr></thead><tbody><tr style="background:#C9C9C9;"><td style="vertical-align:top;" class="recommend" colspan="2">
|
1792
|
+
<p id="_30b90b08-bd71-4497-bbcc-8c61fbb9f772">Description text</p>
|
1793
|
+
</td></tr></tbody></table>
|
1794
|
+
<table id="_fede5681-71f6-47bb-bc65-7bd0b11acd01" class="recommend" style="border-collapse:collapse;border-spacing:0;"><thead><tr style="background:#A5A5A5;"><th style="vertical-align:top;" class="recommend" colspan="2"><p class="RecommendationTitle">Requirement 2-2:</p></th></tr></thead><tbody><tr><td style="vertical-align:top;" class="recommend" colspan="2">
|
1795
|
+
<p id="_8daa3d74-90fd-4a57-9169-de457a68cfda">Description text</p>
|
1796
|
+
</td></tr></tbody></table></tbody></table>
|
1797
|
+
</div>
|
1798
|
+
</body>
|
1799
|
+
</html>
|
1692
1800
|
INPUT
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
</html>
|
1801
|
+
<html>
|
1802
|
+
<head/>
|
1803
|
+
<body>
|
1804
|
+
<div class='main-section'>
|
1805
|
+
<table id='_7830dff8-419e-4b9e-85cf-a063689f44ca' class='recommend' style='border-collapse:collapse;border-spacing:0;'>
|
1806
|
+
<thead>
|
1807
|
+
<tr style='background:#A5A5A5;'>
|
1808
|
+
<th style='vertical-align:top;' class='recommend' colspan='2'>
|
1809
|
+
<p class='RecommendationTitle'>Requirement 1:</p>
|
1810
|
+
</th>
|
1811
|
+
</tr>
|
1812
|
+
</thead>
|
1813
|
+
<tbody>
|
1814
|
+
<tr>
|
1815
|
+
<td style='vertical-align:top;' class='recommend' colspan='2'>
|
1816
|
+
<p>requirement label</p>
|
1817
|
+
</td>
|
1818
|
+
</tr>
|
1819
|
+
</tbody>
|
1820
|
+
</table>
|
1821
|
+
<table id='_a0f8c202-fd34-460c-bd5e-b2f4cc29210d' class='recommend' style='border-collapse:collapse;border-spacing:0;'>
|
1822
|
+
<thead>
|
1823
|
+
<tr style='background:#A5A5A5;'>
|
1824
|
+
<th style='vertical-align:top;' class='recommend' colspan='2'>
|
1825
|
+
<p class='RecommendationTitle'>Requirement 1-1:</p>
|
1826
|
+
</th>
|
1827
|
+
</tr>
|
1828
|
+
</thead>
|
1829
|
+
<tbody>
|
1830
|
+
<tr style='background:#C9C9C9;'>
|
1831
|
+
<td style='vertical-align:top;' class='recommend' colspan='2'>
|
1832
|
+
<p id='_2e2c247b-ce4c-48c5-96dd-f3e090a5b4a7'>Description text</p>
|
1833
|
+
</td>
|
1834
|
+
</tr>
|
1835
|
+
</tbody>
|
1836
|
+
</table>
|
1837
|
+
</div>
|
1838
|
+
<div id='_second_sample'>
|
1839
|
+
<h2>
|
1840
|
+
1.2.
|
1841
|
+
<span style='mso-tab-count:1'>  </span>
|
1842
|
+
Second sample
|
1843
|
+
</h2>
|
1844
|
+
<table id='_9846c486-14e5-4b1c-bb2f-55cc254dd309' class='recommend' style='border-collapse:collapse;border-spacing:0;'>
|
1845
|
+
<thead>
|
1846
|
+
<tr style='background:#A5A5A5;'>
|
1847
|
+
<th style='vertical-align:top;' class='recommend' colspan='2'>
|
1848
|
+
<p class='RecommendationTitle'>Requirement 2:</p>
|
1849
|
+
</th>
|
1850
|
+
</tr>
|
1851
|
+
</thead>
|
1852
|
+
<tbody>
|
1853
|
+
<tr>
|
1854
|
+
<td style='vertical-align:top;' class='recommend' colspan='2'>
|
1855
|
+
<p>requirement label</p>
|
1856
|
+
</td>
|
1857
|
+
</tr>
|
1858
|
+
</tbody>
|
1859
|
+
</table>
|
1860
|
+
<table id='_62de974c-7128-44d6-ba86-99f818f1d467' class='recommend' style='border-collapse:collapse;border-spacing:0;'>
|
1861
|
+
<thead>
|
1862
|
+
<tr style='background:#A5A5A5;'>
|
1863
|
+
<th style='vertical-align:top;' class='recommend' colspan='2'>
|
1864
|
+
<p class='RecommendationTitle'>Requirement 2-1:</p>
|
1865
|
+
</th>
|
1866
|
+
</tr>
|
1867
|
+
</thead>
|
1868
|
+
<tbody>
|
1869
|
+
<tr style='background:#C9C9C9;'>
|
1870
|
+
<td style='vertical-align:top;' class='recommend' colspan='2'>
|
1871
|
+
<p id='_30b90b08-bd71-4497-bbcc-8c61fbb9f772'>Description text</p>
|
1872
|
+
</td>
|
1873
|
+
</tr>
|
1874
|
+
</tbody>
|
1875
|
+
</table>
|
1876
|
+
<table id='_fede5681-71f6-47bb-bc65-7bd0b11acd01' class='recommend' style='border-collapse:collapse;border-spacing:0;'>
|
1877
|
+
<thead>
|
1878
|
+
<tr style='background:#A5A5A5;'>
|
1879
|
+
<th style='vertical-align:top;' class='recommend' colspan='2'>
|
1880
|
+
<p class='RecommendationTitle'>Requirement 2-2:</p>
|
1881
|
+
</th>
|
1882
|
+
</tr>
|
1883
|
+
</thead>
|
1884
|
+
<tbody>
|
1885
|
+
<tr>
|
1886
|
+
<td style='vertical-align:top;' class='recommend' colspan='2'>
|
1887
|
+
<p id='_8daa3d74-90fd-4a57-9169-de457a68cfda'>Description text</p>
|
1888
|
+
</td>
|
1889
|
+
</tr>
|
1890
|
+
</tbody>
|
1891
|
+
</table>
|
1892
|
+
</div>
|
1893
|
+
</body>
|
1894
|
+
</html>
|
1787
1895
|
OUTPUT
|
1788
|
-
|
1789
|
-
|
1896
|
+
end
|
1790
1897
|
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
</p>
|
1818
|
-
<div align='center' class='table_container'>
|
1819
|
-
<table id='tableD-1' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;page-break-after: avoid;page-break-inside: avoid;' title='tool tip' summary='long desc' width='70%'>
|
1820
|
-
<colgroup>
|
1821
|
-
<col width='30%'/>
|
1822
|
-
<col width='20%'/>
|
1823
|
-
<col width='20%'/>
|
1824
|
-
<col width='20%'/>
|
1825
|
-
<col width='10%'/>
|
1826
|
-
</colgroup>
|
1827
|
-
<thead>
|
1828
|
-
<tr>
|
1829
|
-
<td rowspan='2' align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Description</td>
|
1830
|
-
<td colspan='4' align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Rice sample</td>
|
1831
|
-
</tr>
|
1832
|
-
<tr>
|
1833
|
-
<td align='left' valign="top" style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Arborio</td>
|
1834
|
-
<td align='center' valign="middle" style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1835
|
-
Drago
|
1836
|
-
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
1837
|
-
<aside>
|
1838
|
-
<div id='ftntableD-1a'>
|
1839
|
-
<span>
|
1840
|
-
<span id='tableD-1a' class='TableFootnoteRef'>a</span>
|
1841
|
-
<span style='mso-tab-count:1'>  </span>
|
1842
|
-
</span>
|
1843
|
-
<p id='_0fe65e9a-5531-408e-8295-eeff35f41a55'>Parboiled rice.</p>
|
1844
|
-
</div>
|
1845
|
-
</aside>
|
1846
|
-
</td>
|
1847
|
-
<td align='center' valign="bottom" style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1848
|
-
Balilla
|
1849
|
-
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
1850
|
-
</td>
|
1851
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Thaibonnet</td>
|
1852
|
-
</tr>
|
1853
|
-
</thead>
|
1854
|
-
<tbody>
|
1855
|
-
<tr>
|
1856
|
-
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Number of laboratories retained after eliminating outliers</th>
|
1857
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>13</td>
|
1858
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>11</td>
|
1859
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>13</td>
|
1860
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>13</td>
|
1861
|
-
</tr>
|
1862
|
-
<tr>
|
1863
|
-
<td align='left' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Mean value, g/100 g</td>
|
1864
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>81,2</td>
|
1865
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>82,0</td>
|
1866
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>81,8</td>
|
1867
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>77,7</td>
|
1868
|
-
</tr>
|
1869
|
-
</tbody>
|
1870
|
-
<tfoot>
|
1871
|
-
<tr>
|
1872
|
-
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1873
|
-
Reproducibility limit,
|
1874
|
-
<span class='stem'>(#(R)#)</span>
|
1875
|
-
(= 2,83
|
1876
|
-
<span class='stem'>(#(s_R)#)</span>
|
1877
|
-
)
|
1878
|
-
</td>
|
1879
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>2,89</td>
|
1880
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>0,57</td>
|
1881
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>2,26</td>
|
1882
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>6,06</td>
|
1883
|
-
</tr>
|
1884
|
-
</tfoot>
|
1885
|
-
<table class='dl'>
|
1886
|
-
<tr>
|
1887
|
-
<td valign='top' align='left'>
|
1888
|
-
<p align='left' style='margin-left:0pt;text-align:left;'>Drago</p>
|
1889
|
-
</td>
|
1890
|
-
<td valign='top'>A type of rice</td>
|
1891
|
-
</tr>
|
1892
|
-
</table>
|
1893
|
-
<div class='Note'>
|
1894
|
-
<p class='Note'>
|
1895
|
-
<span class='note_label'>NOTE</span>
|
1896
|
-
<span style='mso-tab-count:1'>  </span>
|
1897
|
-
This is a table about rice
|
1898
|
+
it "allocate widths to tables (Word)" do
|
1899
|
+
expect(xmlpp(IsoDoc::WordConvert.new({ wordstylesheet: "spec/assets/word.css", htmlstylesheet: "spec/assets/html.scss", filename: "test" }).word_cleanup(Nokogiri::XML(<<~INPUT)).to_xml).sub(/^.*<main/m, "<main").sub(%r{</main>.*$}m, "</main>")).to be_equivalent_to xmlpp(<<~"OUTPUT")
|
1900
|
+
<html xmlns:epub="http://www.idpf.org/2007/ops" lang="en">
|
1901
|
+
<head><style/></head>
|
1902
|
+
<body lang='EN-US' link='blue' vlink='#954F72'>
|
1903
|
+
<div class='WordSection1'>
|
1904
|
+
<p> </p>
|
1905
|
+
</div>
|
1906
|
+
<p>
|
1907
|
+
<br clear='all' class='section'/>
|
1908
|
+
</p>
|
1909
|
+
<div class='WordSection2'>
|
1910
|
+
<p>
|
1911
|
+
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
1912
|
+
</p>
|
1913
|
+
<div>
|
1914
|
+
<h1 class='ForewordTitle'>Foreword</h1>
|
1915
|
+
<p class='TableTitle' style='text-align:center;'>
|
1916
|
+
Table 1 — Repeatability and reproducibility of
|
1917
|
+
<i>husked</i>
|
1918
|
+
rice yield
|
1919
|
+
<span style='mso-bookmark:_Ref'>
|
1920
|
+
<a class='FootnoteRef' href='#ftn1' epub:type='footnote'>
|
1921
|
+
<sup>1</sup>
|
1922
|
+
</a>
|
1923
|
+
</span>
|
1898
1924
|
</p>
|
1925
|
+
<div align='center' class='table_container'>
|
1926
|
+
<table id='tableD-1' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;page-break-after: avoid;page-break-inside: avoid;' title='tool tip' summary='long desc' width='70%'>
|
1927
|
+
<colgroup>
|
1928
|
+
<col width='30%'/>
|
1929
|
+
<col width='20%'/>
|
1930
|
+
<col width='20%'/>
|
1931
|
+
<col width='20%'/>
|
1932
|
+
<col width='10%'/>
|
1933
|
+
</colgroup>
|
1934
|
+
<thead>
|
1935
|
+
<tr>
|
1936
|
+
<td rowspan='2' align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Description</td>
|
1937
|
+
<td colspan='4' align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Rice sample</td>
|
1938
|
+
</tr>
|
1939
|
+
<tr>
|
1940
|
+
<td align='left' valign="top" style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Arborio</td>
|
1941
|
+
<td align='center' valign="middle" style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1942
|
+
Drago
|
1943
|
+
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
1944
|
+
<aside>
|
1945
|
+
<div id='ftntableD-1a'>
|
1946
|
+
<span>
|
1947
|
+
<span id='tableD-1a' class='TableFootnoteRef'>a</span>
|
1948
|
+
<span style='mso-tab-count:1'>  </span>
|
1949
|
+
</span>
|
1950
|
+
<p id='_0fe65e9a-5531-408e-8295-eeff35f41a55'>Parboiled rice.</p>
|
1951
|
+
</div>
|
1952
|
+
</aside>
|
1953
|
+
</td>
|
1954
|
+
<td align='center' valign="bottom" style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1955
|
+
Balilla
|
1956
|
+
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
1957
|
+
</td>
|
1958
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Thaibonnet</td>
|
1959
|
+
</tr>
|
1960
|
+
</thead>
|
1961
|
+
<tbody>
|
1962
|
+
<tr>
|
1963
|
+
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>Number of laboratories retained after eliminating outliers</th>
|
1964
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>13</td>
|
1965
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>11</td>
|
1966
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>13</td>
|
1967
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;'>13</td>
|
1968
|
+
</tr>
|
1969
|
+
<tr>
|
1970
|
+
<td align='left' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>Mean value, g/100 g</td>
|
1971
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>81,2</td>
|
1972
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>82,0</td>
|
1973
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>81,8</td>
|
1974
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>77,7</td>
|
1975
|
+
</tr>
|
1976
|
+
</tbody>
|
1977
|
+
<tfoot>
|
1978
|
+
<tr>
|
1979
|
+
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>
|
1980
|
+
Reproducibility limit,
|
1981
|
+
<span class='stem'>(#(R)#)</span>
|
1982
|
+
(= 2,83
|
1983
|
+
<span class='stem'>(#(s_R)#)</span>
|
1984
|
+
)
|
1985
|
+
</td>
|
1986
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>2,89</td>
|
1987
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>0,57</td>
|
1988
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>2,26</td>
|
1989
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>6,06</td>
|
1990
|
+
</tr>
|
1991
|
+
</tfoot>
|
1992
|
+
<table class='dl'>
|
1993
|
+
<tr>
|
1994
|
+
<td valign='top' align='left'>
|
1995
|
+
<p align='left' style='margin-left:0pt;text-align:left;'>Drago</p>
|
1996
|
+
</td>
|
1997
|
+
<td valign='top'>A type of rice</td>
|
1998
|
+
</tr>
|
1999
|
+
</table>
|
2000
|
+
<div class='Note'>
|
2001
|
+
<p class='Note'>
|
2002
|
+
<span class='note_label'>NOTE</span>
|
2003
|
+
<span style='mso-tab-count:1'>  </span>
|
2004
|
+
This is a table about rice
|
2005
|
+
</p>
|
2006
|
+
</div>
|
2007
|
+
</table>
|
2008
|
+
</div>
|
2009
|
+
<div align='center' class='table_container'>
|
2010
|
+
<table id='tableD-2' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;'>
|
2011
|
+
<tbody>
|
2012
|
+
<tr>
|
2013
|
+
<td style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>A</td>
|
2014
|
+
</tr>
|
2015
|
+
</tbody>
|
2016
|
+
</table>
|
2017
|
+
</div>
|
1899
2018
|
</div>
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1921
|
-
|
1922
|
-
|
1923
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
<
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
</p>
|
1941
|
-
<div>
|
1942
|
-
<h1 class='ForewordTitle'>Foreword</h1>
|
1943
|
-
<p class='TableTitle' style='text-align:center;'>
|
1944
|
-
Table 1 — Repeatability and reproducibility of
|
1945
|
-
<i>husked</i>
|
1946
|
-
rice yield
|
1947
|
-
<span style='mso-bookmark:_Ref'>
|
1948
|
-
<a class='FootnoteRef' href='#ftn1' epub:type='footnote'>
|
1949
|
-
<sup>1</sup>
|
1950
|
-
</a>
|
1951
|
-
</span>
|
1952
|
-
</p>
|
1953
|
-
<div align='center' class='table_container'>
|
1954
|
-
<table id='tableD-1' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;page-break-after: avoid;page-break-inside: avoid;' title='tool tip' summary='long desc' width='70%'>
|
1955
|
-
<colgroup>
|
1956
|
-
<col width='30%'/>
|
1957
|
-
<col width='20%'/>
|
1958
|
-
<col width='20%'/>
|
1959
|
-
<col width='20%'/>
|
1960
|
-
<col width='10%'/>
|
1961
|
-
</colgroup>
|
1962
|
-
<thead>
|
1963
|
-
<tr>
|
1964
|
-
<td rowspan='2' align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='30.0%'>Description</td>
|
1965
|
-
<td colspan='4' align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='70.0%'>Rice sample</td>
|
1966
|
-
</tr>
|
1967
|
-
<tr>
|
1968
|
-
<td align='left' valign='top' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>Arborio</td>
|
1969
|
-
<td align='center' valign='middle' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>
|
1970
|
-
Drago
|
1971
|
-
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
1972
|
-
<aside>
|
1973
|
-
<div id='ftntableD-1a'>
|
1974
|
-
<span>
|
1975
|
-
<span id='tableD-1a' class='TableFootnoteRef'>a</span>
|
1976
|
-
<span style='mso-tab-count:1'>  </span>
|
1977
|
-
</span>
|
1978
|
-
<p id='_0fe65e9a-5531-408e-8295-eeff35f41a55'>Parboiled rice.</p>
|
1979
|
-
</div>
|
1980
|
-
</aside>
|
1981
|
-
</td>
|
1982
|
-
<td align='center' valign='bottom' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>
|
1983
|
-
Balilla
|
1984
|
-
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
1985
|
-
</td>
|
1986
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='10.0%'>Thaibonnet</td>
|
1987
|
-
</tr>
|
1988
|
-
</thead>
|
1989
|
-
<tbody>
|
1990
|
-
<tr>
|
1991
|
-
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='30.0%'>Number of laboratories retained after eliminating outliers</th>
|
1992
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='20.0%'>13</td>
|
1993
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='20.0%'>11</td>
|
1994
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='20.0%'>13</td>
|
1995
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='10.0%'>13</td>
|
1996
|
-
</tr>
|
1997
|
-
<tr>
|
1998
|
-
<td align='left' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='30.0%'>Mean value, g/100 g</td>
|
1999
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>81,2</td>
|
2000
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>82,0</td>
|
2001
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>81,8</td>
|
2002
|
-
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='10.0%'>77,7</td>
|
2003
|
-
</tr>
|
2004
|
-
</tbody>
|
2005
|
-
<tfoot>
|
2006
|
-
<tr>
|
2007
|
-
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='30.0%'>
|
2008
|
-
Reproducibility limit,
|
2009
|
-
<span class='stem'>(#(R)#)</span>
|
2010
|
-
(= 2,83
|
2011
|
-
<span class='stem'>(#(s_R)#)</span>
|
2012
|
-
)
|
2013
|
-
</td>
|
2014
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>2,89</td>
|
2015
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>0,57</td>
|
2016
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>2,26</td>
|
2017
|
-
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='10.0%'>6,06</td>
|
2018
|
-
</tr>
|
2019
|
-
</tfoot>
|
2020
|
-
<div class='Note'>
|
2021
|
-
<p class='Note'>
|
2022
|
-
<span class='note_label'>NOTE</span>
|
2023
|
-
<span style='mso-tab-count:1'>  </span>
|
2024
|
-
This is a table about rice
|
2019
|
+
<p> </p>
|
2020
|
+
</div>
|
2021
|
+
<p>
|
2022
|
+
<br clear='all' class='section'/>
|
2023
|
+
</p>
|
2024
|
+
<div class='WordSection3'>
|
2025
|
+
<p class='zzSTDTitle1'/>
|
2026
|
+
<aside id='ftn1'>
|
2027
|
+
<p>X</p>
|
2028
|
+
</aside>
|
2029
|
+
</div>
|
2030
|
+
</body>
|
2031
|
+
</html>
|
2032
|
+
INPUT
|
2033
|
+
<html xmlns:epub='http://www.idpf.org/2007/ops' lang='en'>
|
2034
|
+
<head>
|
2035
|
+
<style/>
|
2036
|
+
</head>
|
2037
|
+
<body lang='EN-US' link='blue' vlink='#954F72'>
|
2038
|
+
<div class='WordSection1'>
|
2039
|
+
<p> </p>
|
2040
|
+
</div>
|
2041
|
+
<p>
|
2042
|
+
<br clear='all' class='section'/>
|
2043
|
+
</p>
|
2044
|
+
<div class='WordSection2'>
|
2045
|
+
<p>
|
2046
|
+
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
2047
|
+
</p>
|
2048
|
+
<div>
|
2049
|
+
<h1 class='ForewordTitle'>Foreword</h1>
|
2050
|
+
<p class='TableTitle' style='text-align:center;'>
|
2051
|
+
Table 1 — Repeatability and reproducibility of
|
2052
|
+
<i>husked</i>
|
2053
|
+
rice yield
|
2054
|
+
<span style='mso-bookmark:_Ref'>
|
2055
|
+
<a class='FootnoteRef' href='#ftn1' epub:type='footnote'>
|
2056
|
+
<sup>1</sup>
|
2057
|
+
</a>
|
2058
|
+
</span>
|
2025
2059
|
</p>
|
2060
|
+
<div align='center' class='table_container'>
|
2061
|
+
<table id='tableD-1' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;page-break-after: avoid;page-break-inside: avoid;' title='tool tip' summary='long desc' width='70%'>
|
2062
|
+
<colgroup>
|
2063
|
+
<col width='30%'/>
|
2064
|
+
<col width='20%'/>
|
2065
|
+
<col width='20%'/>
|
2066
|
+
<col width='20%'/>
|
2067
|
+
<col width='10%'/>
|
2068
|
+
</colgroup>
|
2069
|
+
<thead>
|
2070
|
+
<tr>
|
2071
|
+
<td rowspan='2' align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='30.0%'>Description</td>
|
2072
|
+
<td colspan='4' align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='70.0%'>Rice sample</td>
|
2073
|
+
</tr>
|
2074
|
+
<tr>
|
2075
|
+
<td align='left' valign='top' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>Arborio</td>
|
2076
|
+
<td align='center' valign='middle' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>
|
2077
|
+
Drago
|
2078
|
+
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
2079
|
+
<aside>
|
2080
|
+
<div id='ftntableD-1a'>
|
2081
|
+
<span>
|
2082
|
+
<span id='tableD-1a' class='TableFootnoteRef'>a</span>
|
2083
|
+
<span style='mso-tab-count:1'>  </span>
|
2084
|
+
</span>
|
2085
|
+
<p id='_0fe65e9a-5531-408e-8295-eeff35f41a55'>Parboiled rice.</p>
|
2086
|
+
</div>
|
2087
|
+
</aside>
|
2088
|
+
</td>
|
2089
|
+
<td align='center' valign='bottom' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>
|
2090
|
+
Balilla
|
2091
|
+
<a href='#tableD-1a' class='TableFootnoteRef'>a</a>
|
2092
|
+
</td>
|
2093
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='10.0%'>Thaibonnet</td>
|
2094
|
+
</tr>
|
2095
|
+
</thead>
|
2096
|
+
<tbody>
|
2097
|
+
<tr>
|
2098
|
+
<th align='left' style='font-weight:bold;border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='30.0%'>Number of laboratories retained after eliminating outliers</th>
|
2099
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='20.0%'>13</td>
|
2100
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='20.0%'>11</td>
|
2101
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='20.0%'>13</td>
|
2102
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext 1.0pt;' width='10.0%'>13</td>
|
2103
|
+
</tr>
|
2104
|
+
<tr>
|
2105
|
+
<td align='left' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='30.0%'>Mean value, g/100 g</td>
|
2106
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>81,2</td>
|
2107
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>82,0</td>
|
2108
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>81,8</td>
|
2109
|
+
<td align='center' style='border-top:none;mso-border-top-alt:none;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='10.0%'>77,7</td>
|
2110
|
+
</tr>
|
2111
|
+
</tbody>
|
2112
|
+
<tfoot>
|
2113
|
+
<tr>
|
2114
|
+
<td align='left' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='30.0%'>
|
2115
|
+
Reproducibility limit,
|
2116
|
+
<span class='stem'>(#(R)#)</span>
|
2117
|
+
(= 2,83
|
2118
|
+
<span class='stem'>(#(s_R)#)</span>
|
2119
|
+
)
|
2120
|
+
</td>
|
2121
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>2,89</td>
|
2122
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>0,57</td>
|
2123
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='20.0%'>2,26</td>
|
2124
|
+
<td align='center' style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;' width='10.0%'>6,06</td>
|
2125
|
+
</tr>
|
2126
|
+
</tfoot>
|
2127
|
+
<div class='Note'>
|
2128
|
+
<p class='Note'>
|
2129
|
+
<span class='note_label'>NOTE</span>
|
2130
|
+
<span style='mso-tab-count:1'>  </span>
|
2131
|
+
This is a table about rice
|
2132
|
+
</p>
|
2133
|
+
</div>
|
2134
|
+
</table>
|
2135
|
+
<table class='dl'>
|
2136
|
+
<tr>
|
2137
|
+
<td valign='top' align='left'>
|
2138
|
+
<p align='left' style='margin-left:0pt;text-align:left;'>Drago</p>
|
2139
|
+
</td>
|
2140
|
+
<td valign='top'>A type of rice</td>
|
2141
|
+
</tr>
|
2142
|
+
</table>
|
2143
|
+
</div>
|
2144
|
+
<div align='center' class='table_container'>
|
2145
|
+
<table id='tableD-2' class='MsoISOTable' style='mso-table-anchor-horizontal:column;mso-table-overlap:never;border-spacing:0;border-width:1px;'>
|
2146
|
+
<tbody>
|
2147
|
+
<tr>
|
2148
|
+
<td style='border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;'>A</td>
|
2149
|
+
</tr>
|
2150
|
+
</tbody>
|
2151
|
+
</table>
|
2152
|
+
</div>
|
2026
2153
|
</div>
|
2027
|
-
|
2028
|
-
|
2029
|
-
|
2030
|
-
|
2031
|
-
|
2032
|
-
|
2033
|
-
|
2034
|
-
|
2035
|
-
|
2036
|
-
|
2037
|
-
|
2038
|
-
|
2039
|
-
|
2040
|
-
|
2041
|
-
|
2042
|
-
</tr>
|
2043
|
-
</tbody>
|
2044
|
-
</table>
|
2045
|
-
</div>
|
2046
|
-
</div>
|
2047
|
-
<p> </p>
|
2048
|
-
</div>
|
2049
|
-
<p>
|
2050
|
-
<br clear='all' class='section'/>
|
2051
|
-
</p>
|
2052
|
-
<div class='WordSection3'>
|
2053
|
-
<p class='zzSTDTitle1'/>
|
2054
|
-
<aside id='ftn1'>
|
2055
|
-
<p>X</p>
|
2056
|
-
</aside>
|
2057
|
-
</div>
|
2058
|
-
</body>
|
2059
|
-
</html>
|
2060
|
-
OUTPUT
|
2061
|
-
end
|
2062
|
-
|
2154
|
+
<p> </p>
|
2155
|
+
</div>
|
2156
|
+
<p>
|
2157
|
+
<br clear='all' class='section'/>
|
2158
|
+
</p>
|
2159
|
+
<div class='WordSection3'>
|
2160
|
+
<p class='zzSTDTitle1'/>
|
2161
|
+
<aside id='ftn1'>
|
2162
|
+
<p>X</p>
|
2163
|
+
</aside>
|
2164
|
+
</div>
|
2165
|
+
</body>
|
2166
|
+
</html>
|
2167
|
+
OUTPUT
|
2168
|
+
end
|
2063
2169
|
end
|