metanorma-iec 2.0.8 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -2
- data/lib/isodoc/iec/base_convert.rb +5 -5
- data/lib/isodoc/iec/html/html_iec_titlepage.html +1 -0
- data/lib/isodoc/iec/html/htmlstyle.css +28 -22
- data/lib/isodoc/iec/html/htmlstyle.scss +23 -22
- data/lib/isodoc/iec/html/isodoc.css +19 -11
- data/lib/isodoc/iec/html/isodoc.scss +21 -12
- data/lib/isodoc/iec/i18n.rb +1 -1
- data/lib/isodoc/iec/iec.international-standard.xsl +1632 -336
- data/lib/isodoc/iec/init.rb +6 -5
- data/lib/isodoc/iec/metadata.rb +2 -2
- data/lib/isodoc/iec/presentation_xml_convert.rb +9 -7
- data/lib/isodoc/iec/word_convert.rb +4 -4
- data/lib/isodoc/iec/xref.rb +4 -0
- data/lib/metanorma/iec/biblio.rng +69 -42
- data/lib/metanorma/iec/converter.rb +5 -0
- data/lib/metanorma/iec/front.rb +2 -0
- data/lib/metanorma/iec/iec.rng +1 -0
- data/lib/metanorma/iec/isodoc.rng +65 -0
- data/lib/metanorma/iec/isostandard.rng +35 -12
- data/lib/metanorma/iec/version.rb +1 -1
- data/metanorma-iec.gemspec +3 -2
- data/spec/isodoc/blocks_spec.rb +180 -199
- data/spec/isodoc/i18n_spec.rb +22 -7
- data/spec/isodoc/iev_spec.rb +12 -10
- data/spec/isodoc/inline_spec.rb +255 -249
- data/spec/isodoc/metadata_spec.rb +235 -261
- data/spec/isodoc/postproc_spec.rb +2 -6
- data/spec/isodoc/ref_spec.rb +14 -62
- data/spec/isodoc/section_spec.rb +121 -91
- data/spec/metanorma/base_spec.rb +13 -6
- data/spec/metanorma/cleanup_spec.rb +1 -0
- data/spec/metanorma/iev_spec.rb +3 -0
- data/spec/metanorma/inline_spec.rb +6 -6
- data/spec/spec_helper.rb +9 -1
- metadata +5 -5
data/spec/isodoc/blocks_spec.rb
CHANGED
@@ -1,219 +1,200 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
RSpec.describe IsoDoc::Iec do
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
</
|
13
|
-
|
14
|
-
|
4
|
+
it "processes formulae (Word)" do
|
5
|
+
input = <<~INPUT
|
6
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
7
|
+
<preface><foreword>
|
8
|
+
<formula id="_be9158af-7e93-4ee2-90c5-26d31c181934" unnumbered="true">
|
9
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
10
|
+
<dl id="_e4fe94fe-1cde-49d9-b1ad-743293b7e21d">
|
11
|
+
<dt>
|
12
|
+
<stem type="AsciiMath">r</stem>
|
13
|
+
</dt>
|
14
|
+
<dd>
|
15
|
+
<p id="_1b99995d-ff03-40f5-8f2e-ab9665a69b77">is the repeatability limit.</p>
|
16
|
+
</dd>
|
17
|
+
</dl>
|
18
|
+
<note id="_83083c7a-6c85-43db-a9fa-4d8edd0c9fc0">
|
19
|
+
<name>NOTE</name>
|
20
|
+
<p id="_511aaa98-4116-42af-8e5b-c87cdf5bfdc8">[durationUnits] is essentially a duration statement without the "P" prefix. "P" is unnecessary because between "G" and "U" duration is always expressed.</p>
|
21
|
+
</note>
|
22
|
+
</formula>
|
23
|
+
<formula id="_be9158af-7e93-4ee2-90c5-26d31c181935"><name>1</name>
|
24
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
25
|
+
</formula>
|
26
|
+
</foreword></preface>
|
27
|
+
</iso-standard>
|
15
28
|
INPUT
|
16
|
-
|
17
|
-
|
18
|
-
<
|
19
|
-
|
20
|
-
|
29
|
+
output = <<~OUTPUT
|
30
|
+
<html xmlns:epub='http://www.idpf.org/2007/ops' lang='en'>
|
31
|
+
<head>
|
32
|
+
<style>
|
33
|
+
</style>
|
34
|
+
<style>
|
35
|
+
</style>
|
36
|
+
</head>
|
37
|
+
<body lang='EN-US' link='blue' vlink='#954F72'>
|
38
|
+
<div class='WordSection2'>
|
39
|
+
<p>
|
40
|
+
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
41
|
+
</p>
|
42
|
+
#{IEC_TITLE}
|
43
|
+
<div>
|
44
|
+
<h1 class='ForewordTitle'>FOREWORD</h1>
|
45
|
+
<div class='boilerplate_legal'/>
|
46
|
+
<div id='_be9158af-7e93-4ee2-90c5-26d31c181934'><div class='formula'>
|
47
|
+
<p class='formula'>
|
48
|
+
<span style='mso-tab-count:1'>  </span>
|
49
|
+
<span class='stem'>(#(r = 1 %)#)</span>
|
50
|
+
</p>
|
51
|
+
</div>
|
52
|
+
<span class='zzMoveToFollowing'>
|
53
|
+
where#{' '}
|
54
|
+
<span class='stem'>(#(r)#)</span>
|
55
|
+
</span>
|
56
|
+
<p id='_1b99995d-ff03-40f5-8f2e-ab9665a69b77'>is the repeatability limit.</p>
|
57
|
+
<div id='_83083c7a-6c85-43db-a9fa-4d8edd0c9fc0' class='Note'>
|
58
|
+
<p class='Note'>
|
59
|
+
<span class='note_label'>NOTE</span>
|
60
|
+
<span style='mso-tab-count:1'>  </span>
|
61
|
+
[durationUnits] is essentially a duration statement without the "P"
|
62
|
+
prefix. "P" is unnecessary because between "G" and "U" duration is
|
63
|
+
always expressed.
|
64
|
+
</p>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
<div id='_be9158af-7e93-4ee2-90c5-26d31c181935'><div class='formula'>
|
68
|
+
<p class='formula'>
|
69
|
+
<span style='mso-tab-count:1'>  </span>
|
70
|
+
<span class='stem'>(#(r = 1 %)#)</span>
|
71
|
+
<span style='mso-tab-count:1'>  </span>
|
72
|
+
(1)
|
73
|
+
</p>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
<p> </p>
|
78
|
+
</div>
|
21
79
|
<p>
|
22
|
-
|
23
|
-
determination of husked rice yield.
|
80
|
+
<br clear='all' class='section'/>
|
24
81
|
</p>
|
25
|
-
<
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
82
|
+
<div class='WordSection3'>
|
83
|
+
#{IEC_TITLE1}
|
84
|
+
</div>
|
85
|
+
<br clear='all' style='page-break-before:left;mso-break-type:section-break'/>
|
86
|
+
<div class='colophon'/>
|
87
|
+
</body>
|
88
|
+
</html>
|
32
89
|
OUTPUT
|
90
|
+
expect(xmlpp(IsoDoc::Iec::WordConvert.new({})
|
91
|
+
.convert("test", input, true)))
|
92
|
+
.to be_equivalent_to xmlpp(output)
|
33
93
|
end
|
34
94
|
|
35
|
-
it "
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
</
|
46
|
-
|
47
|
-
|
95
|
+
it "cross-references formulae" do
|
96
|
+
input = <<~INPUT
|
97
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
98
|
+
<preface>
|
99
|
+
<foreword>
|
100
|
+
<p>
|
101
|
+
<xref target="N1"/>
|
102
|
+
<xref target="N2"/>
|
103
|
+
</p>
|
104
|
+
</foreword>
|
105
|
+
</preface>
|
106
|
+
<sections>
|
107
|
+
<clause id="intro"><title>First</title>
|
108
|
+
<formula id="N1">
|
109
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
110
|
+
</formula>
|
111
|
+
<clause id="xyz"><title>Preparatory</title>
|
112
|
+
<formula id="N2" inequality="true">
|
113
|
+
<stem type="AsciiMath">r = 1 %</stem>
|
114
|
+
</formula>
|
115
|
+
<xref target="N2"/>
|
116
|
+
</clause>
|
117
|
+
</sections>
|
118
|
+
</iso-standard>
|
48
119
|
INPUT
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<
|
54
|
-
<
|
55
|
-
<
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
</
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
</note>
|
86
|
-
</formula>
|
87
|
-
<formula id="_be9158af-7e93-4ee2-90c5-26d31c181935"><name>1</name>
|
88
|
-
<stem type="AsciiMath">r = 1 %</stem>
|
89
|
-
</formula>
|
90
|
-
</foreword></preface>
|
91
|
-
</iso-standard>
|
92
|
-
INPUT
|
93
|
-
<html xmlns:epub='http://www.idpf.org/2007/ops' lang='en'>
|
94
|
-
<head>
|
95
|
-
<style>
|
96
|
-
</style>
|
97
|
-
<style>
|
98
|
-
</style>
|
99
|
-
</head>
|
100
|
-
<body lang='EN-US' link='blue' vlink='#954F72'>
|
101
|
-
<div class='WordSection2'>
|
102
|
-
<p>
|
103
|
-
<br clear='all' style='mso-special-character:line-break;page-break-before:always'/>
|
104
|
-
</p>
|
105
|
-
#{IEC_TITLE}
|
106
|
-
<div>
|
107
|
-
<h1 class='ForewordTitle'>FOREWORD</h1>
|
108
|
-
<div class='boilerplate_legal'/>
|
109
|
-
<div id='_be9158af-7e93-4ee2-90c5-26d31c181934'><div class='formula'>
|
110
|
-
<p class='formula'>
|
111
|
-
<span style='mso-tab-count:1'>  </span>
|
112
|
-
<span class='stem'>(#(r = 1 %)#)</span>
|
113
|
-
</p>
|
114
|
-
</div>
|
115
|
-
<span class='zzMoveToFollowing'>
|
116
|
-
where
|
117
|
-
<span class='stem'>(#(r)#)</span>
|
118
|
-
</span>
|
119
|
-
<p id='_1b99995d-ff03-40f5-8f2e-ab9665a69b77'>is the repeatability limit.</p>
|
120
|
-
<div id='_83083c7a-6c85-43db-a9fa-4d8edd0c9fc0' class='Note'>
|
121
|
-
<p class='Note'>
|
122
|
-
<span class='note_label'>NOTE</span>
|
123
|
-
<span style='mso-tab-count:1'>  </span>
|
124
|
-
[durationUnits] is essentially a duration statement without the "P"
|
125
|
-
prefix. "P" is unnecessary because between "G" and "U" duration is
|
126
|
-
always expressed.
|
127
|
-
</p>
|
128
|
-
</div>
|
129
|
-
</div>
|
130
|
-
<div id='_be9158af-7e93-4ee2-90c5-26d31c181935'><div class='formula'>
|
131
|
-
<p class='formula'>
|
132
|
-
<span style='mso-tab-count:1'>  </span>
|
133
|
-
<span class='stem'>(#(r = 1 %)#)</span>
|
134
|
-
<span style='mso-tab-count:1'>  </span>
|
135
|
-
(1)
|
136
|
-
</p>
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
</div>
|
140
|
-
<p> </p>
|
141
|
-
</div>
|
142
|
-
<p>
|
143
|
-
<br clear='all' class='section'/>
|
144
|
-
</p>
|
145
|
-
<div class='WordSection3'>
|
146
|
-
#{IEC_TITLE1}
|
147
|
-
</div>
|
148
|
-
<br clear='all' style='page-break-before:left;mso-break-type:section-break'/>
|
149
|
-
<div class='colophon'/>
|
150
|
-
</body>
|
151
|
-
</html>
|
120
|
+
output = <<~OUTPUT
|
121
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml' type="presentation">
|
122
|
+
<preface>
|
123
|
+
<foreword displayorder="1">
|
124
|
+
<p>
|
125
|
+
<xref target='N1'>Clause 1, Equation (1)</xref>
|
126
|
+
<xref target='N2'>1.1, Inequality (2)</xref>
|
127
|
+
</p>
|
128
|
+
</foreword>
|
129
|
+
</preface>
|
130
|
+
<sections>
|
131
|
+
<clause id='intro' displayorder="2">
|
132
|
+
<title depth='1'>
|
133
|
+
1
|
134
|
+
<tab/>
|
135
|
+
First
|
136
|
+
</title>
|
137
|
+
<formula id='N1'>
|
138
|
+
<name>1</name>
|
139
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
140
|
+
</formula>
|
141
|
+
<clause id='xyz'>
|
142
|
+
<title depth='2'>
|
143
|
+
1.1
|
144
|
+
<tab/>
|
145
|
+
Preparatory
|
146
|
+
</title>
|
147
|
+
<formula id='N2' inequality='true'>
|
148
|
+
<name>2</name>
|
149
|
+
<stem type='AsciiMath'>r = 1 %</stem>
|
150
|
+
</formula>
|
151
|
+
<xref target='N2'>Inequality (2)</xref>
|
152
|
+
</clause>
|
153
|
+
</clause>
|
154
|
+
</sections>
|
155
|
+
</iso-standard>
|
152
156
|
OUTPUT
|
157
|
+
expect(xmlpp(IsoDoc::Iec::PresentationXMLConvert.new({})
|
158
|
+
.convert("test", input, true)
|
159
|
+
.gsub(%r{^.*<body}m, "<body")
|
160
|
+
.gsub(%r{</body>.*}m, "</body>")))
|
161
|
+
.to be_equivalent_to xmlpp(output)
|
153
162
|
end
|
154
163
|
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
<stem type="AsciiMath">r = 1 %</stem>
|
170
|
-
</formula>
|
171
|
-
<clause id="xyz"><title>Preparatory</title>
|
172
|
-
<formula id="N2" inequality="true">
|
173
|
-
<stem type="AsciiMath">r = 1 %</stem>
|
174
|
-
</formula>
|
175
|
-
<xref target="N2"/>
|
176
|
-
</clause>
|
177
|
-
</sections>
|
178
|
-
</iso-standard>
|
164
|
+
it "does not ignore intervening ul in numbering ol" do
|
165
|
+
input = <<~INPUT
|
166
|
+
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
167
|
+
<preface><foreword>
|
168
|
+
<ul>
|
169
|
+
<li>A</li>
|
170
|
+
<li>
|
171
|
+
<ol>
|
172
|
+
<li>List</li>
|
173
|
+
</ol>
|
174
|
+
</li>
|
175
|
+
</ul>
|
176
|
+
</foreword></preface>
|
177
|
+
</iso-standard>
|
179
178
|
INPUT
|
180
|
-
|
179
|
+
presxml = <<~INPUT
|
180
|
+
<iso-standard xmlns='http://riboseinc.com/isoxml' type='presentation'>
|
181
181
|
<preface>
|
182
|
-
<foreword displayorder=
|
183
|
-
<
|
184
|
-
<
|
185
|
-
<
|
186
|
-
|
182
|
+
<foreword displayorder='1'>
|
183
|
+
<ul>
|
184
|
+
<li>A</li>
|
185
|
+
<li>
|
186
|
+
<ol type='arabic'>
|
187
|
+
<li>List</li>
|
188
|
+
</ol>
|
189
|
+
</li>
|
190
|
+
</ul>
|
187
191
|
</foreword>
|
188
192
|
</preface>
|
189
|
-
<sections>
|
190
|
-
<clause id='intro' displayorder="2">
|
191
|
-
<title depth='1'>
|
192
|
-
1
|
193
|
-
<tab/>
|
194
|
-
First
|
195
|
-
</title>
|
196
|
-
<formula id='N1'>
|
197
|
-
<name>1</name>
|
198
|
-
<stem type='AsciiMath'>r = 1 %</stem>
|
199
|
-
</formula>
|
200
|
-
<clause id='xyz'>
|
201
|
-
<title depth='2'>
|
202
|
-
1.1
|
203
|
-
<tab/>
|
204
|
-
Preparatory
|
205
|
-
</title>
|
206
|
-
<formula id='N2' inequality='true'>
|
207
|
-
<name>2</name>
|
208
|
-
<stem type='AsciiMath'>r = 1 %</stem>
|
209
|
-
</formula>
|
210
|
-
<xref target='N2'>Inequality (2)</xref>
|
211
|
-
</clause>
|
212
|
-
</clause>
|
213
|
-
</sections>
|
214
193
|
</iso-standard>
|
215
|
-
|
216
|
-
|
217
|
-
|
194
|
+
INPUT
|
195
|
+
expect(xmlpp(IsoDoc::Iec::PresentationXMLConvert.new({})
|
196
|
+
.convert("test", input, true)))
|
197
|
+
.to be_equivalent_to xmlpp(presxml)
|
218
198
|
|
199
|
+
end
|
219
200
|
end
|
data/spec/isodoc/i18n_spec.rb
CHANGED
@@ -84,7 +84,7 @@ RSpec.describe IsoDoc do
|
|
84
84
|
<language current="true">en</language>
|
85
85
|
<ext>
|
86
86
|
<doctype language="">international-standard</doctype><doctype language="fr">Norme internationale</doctype><doctype language="en">International Standard</doctype>
|
87
|
-
<horizontal language=
|
87
|
+
<horizontal language=''>true</horizontal><horizontal language="fr">Norme horizontale</horizontal><horizontal language="en">Horizontal Standard</horizontal>
|
88
88
|
<function language="">emc</function><function language="fr">Publication fondamentale en CEM</function><function language="en">Basic EMC Publication</function>
|
89
89
|
</ext>
|
90
90
|
</bibdata>
|
@@ -224,12 +224,17 @@ RSpec.describe IsoDoc do
|
|
224
224
|
</body>
|
225
225
|
</html>
|
226
226
|
OUTPUT
|
227
|
-
expect((IsoDoc::Iec::PresentationXMLConvert.new({})
|
228
|
-
|
227
|
+
expect(xmlpp(IsoDoc::Iec::PresentationXMLConvert.new({})
|
228
|
+
.convert("test", input, true)
|
229
|
+
.sub(%r{<localized-strings>.*</localized-strings>}m, "")))
|
230
|
+
.to be_equivalent_to xmlpp(presxml)
|
231
|
+
expect(xmlpp(IsoDoc::Iec::HtmlConvert.new({})
|
232
|
+
.convert("test", presxml, true)))
|
233
|
+
.to be_equivalent_to xmlpp(html)
|
229
234
|
end
|
230
235
|
|
231
236
|
it "defaults to English" do
|
232
|
-
|
237
|
+
input = <<~INPUT
|
233
238
|
<iso-standard xmlns="http://riboseinc.com/isoxml">
|
234
239
|
<bibdata>
|
235
240
|
<language>tlh</language>
|
@@ -297,6 +302,7 @@ RSpec.describe IsoDoc do
|
|
297
302
|
</bibliography>
|
298
303
|
</iso-standard>
|
299
304
|
INPUT
|
305
|
+
output = <<~OUTPUT
|
300
306
|
<iso-standard xmlns="http://riboseinc.com/isoxml" type="presentation">
|
301
307
|
<bibdata>
|
302
308
|
<language current="true">tlh</language>
|
@@ -362,6 +368,10 @@ RSpec.describe IsoDoc do
|
|
362
368
|
</bibliography>
|
363
369
|
</iso-standard>
|
364
370
|
OUTPUT
|
371
|
+
expect(xmlpp(IsoDoc::Iec::PresentationXMLConvert.new({})
|
372
|
+
.convert("test", input, true)
|
373
|
+
.sub(%r{<localized-strings>.*</localized-strings>}m, "")))
|
374
|
+
.to be_equivalent_to xmlpp(output)
|
365
375
|
end
|
366
376
|
|
367
377
|
it "processes French" do
|
@@ -445,7 +455,7 @@ RSpec.describe IsoDoc do
|
|
445
455
|
<language current="true">fr</language>
|
446
456
|
<ext>
|
447
457
|
<doctype language="">international-standard</doctype><doctype language="fr">Norme internationale</doctype><doctype language="en">International Standard</doctype>
|
448
|
-
<horizontal
|
458
|
+
<horizontal>false</horizontal>
|
449
459
|
<function language="">emc</function><function language="fr">Publication fondamentale en CEM</function><function language="en">Basic EMC Publication</function>
|
450
460
|
</ext>
|
451
461
|
</bibdata>
|
@@ -586,7 +596,12 @@ RSpec.describe IsoDoc do
|
|
586
596
|
</body>
|
587
597
|
</html>
|
588
598
|
OUTPUT
|
589
|
-
expect(xmlpp(IsoDoc::Iec::PresentationXMLConvert.new({})
|
590
|
-
|
599
|
+
expect(xmlpp(IsoDoc::Iec::PresentationXMLConvert.new({})
|
600
|
+
.convert("test", input, true)
|
601
|
+
.sub(%r{<localized-strings>.*</localized-strings>}m, "")))
|
602
|
+
.to be_equivalent_to xmlpp(presxml)
|
603
|
+
expect(xmlpp(IsoDoc::Iec::HtmlConvert.new({})
|
604
|
+
.convert("test", presxml, true)))
|
605
|
+
.to be_equivalent_to xmlpp(html)
|
591
606
|
end
|
592
607
|
end
|
data/spec/isodoc/iev_spec.rb
CHANGED
@@ -109,7 +109,7 @@ RSpec.describe IsoDoc do
|
|
109
109
|
</owner>
|
110
110
|
</copyright>
|
111
111
|
<ext>
|
112
|
-
<doctype>
|
112
|
+
<doctype>international-standard</doctype>
|
113
113
|
<editorialgroup>
|
114
114
|
<technical-committee/>
|
115
115
|
<subcommittee/>
|
@@ -170,8 +170,8 @@ RSpec.describe IsoDoc do
|
|
170
170
|
<status>
|
171
171
|
<stage language="">60</stage>
|
172
172
|
<stage language='fr'>Norme internationale</stage>
|
173
|
-
<stage language='en'>International
|
174
|
-
<substage
|
173
|
+
<stage language='en'>International Standard</stage>
|
174
|
+
<substage>60</substage>
|
175
175
|
</status>
|
176
176
|
<copyright>
|
177
177
|
<from>2020</from>
|
@@ -183,8 +183,10 @@ RSpec.describe IsoDoc do
|
|
183
183
|
</owner>
|
184
184
|
</copyright>
|
185
185
|
<ext>
|
186
|
-
<doctype language=
|
187
|
-
<
|
186
|
+
<doctype language=''>international-standard</doctype>
|
187
|
+
<doctype language='fr'>Norme internationale</doctype>
|
188
|
+
<doctype language='en'>International Standard</doctype>
|
189
|
+
<editorialgroup identifier=' / / '>
|
188
190
|
<technical-committee/>
|
189
191
|
<subcommittee/>
|
190
192
|
<workgroup/>
|
@@ -598,7 +600,7 @@ RSpec.describe IsoDoc do
|
|
598
600
|
<doctype language=''>international-standard</doctype>
|
599
601
|
<doctype language='fr'>Norme internationale</doctype>
|
600
602
|
<doctype language='en'>International Standard</doctype>
|
601
|
-
<horizontal
|
603
|
+
<horizontal>false</horizontal>
|
602
604
|
<structuredidentifier>
|
603
605
|
<project-number part='192'>IEC 60050</project-number>
|
604
606
|
</structuredidentifier>
|
@@ -621,7 +623,7 @@ RSpec.describe IsoDoc do
|
|
621
623
|
<termnote id='_5f49cfad-e57e-5029-78cf-5b7e3e10a3b3'>
|
622
624
|
<name>Note 1 to entry</name>
|
623
625
|
<p id='_8c830e60-8f09-73a2-6393-2a27d9c5b1ce'>Dependability includes availability (<em>192-01-02</em>
|
624
|
-
(<xref target='term-sub-item'>192-01-02</xref>),
|
626
|
+
(<xref target='term-sub-item'><span class='citesec'>192-01-02</span></xref>),
|
625
627
|
<em>191-01-02</em>
|
626
628
|
[term defined in
|
627
629
|
<termref base='IEV' target='191-01-02'/>])</p>
|
@@ -740,7 +742,7 @@ RSpec.describe IsoDoc do
|
|
740
742
|
CONTRAST:
|
741
743
|
<strong>Fifth Designation</strong>
|
742
744
|
(
|
743
|
-
<xref target='paddy1'>192-01-02</xref>
|
745
|
+
<xref target='paddy1'><span class='citesec'>192-01-02</span></xref>
|
744
746
|
)
|
745
747
|
</p>
|
746
748
|
<termexample id='_671a1994-4783-40d0-bc81-987d06ffb740'>
|
@@ -786,14 +788,14 @@ RSpec.describe IsoDoc do
|
|
786
788
|
CONTRASTEZ:
|
787
789
|
<strong>Designation cinquième</strong>
|
788
790
|
(
|
789
|
-
<xref target='paddy1'>192-01-02</xref>
|
791
|
+
<xref target='paddy1'><span class='citesec'>192-01-02</span></xref>
|
790
792
|
)
|
791
793
|
</p>
|
792
794
|
<p>
|
793
795
|
VOIR:
|
794
796
|
<strong>Designation sixième</strong>
|
795
797
|
(
|
796
|
-
<xref target='paddy1'>192-01-02</xref>
|
798
|
+
<xref target='paddy1'><span class='citesec'>192-01-02</span></xref>
|
797
799
|
)
|
798
800
|
</p>
|
799
801
|
<termexample id='_671a1994-4783-40d0-bc81-987d06ffb741'>
|