metanorma-iec 1.2.2 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/iec/basicdoc.rng +31 -1
- data/lib/asciidoctor/iec/isodoc.rng +112 -9
- data/lib/isodoc/iec/base_convert.rb +0 -20
- data/lib/isodoc/iec/html/isodoc.css +16 -4
- data/lib/isodoc/iec/html/isodoc.scss +19 -4
- data/lib/isodoc/iec/html/wordstyle.css +10 -10
- data/lib/isodoc/iec/html/wordstyle.scss +15 -10
- data/lib/isodoc/iec/iec.international-standard.xsl +643 -307
- data/lib/metanorma/iec/version.rb +1 -1
- data/spec/asciidoctor-iec/cleanup_spec.rb +30 -6
- data/spec/asciidoctor-iec/inline_spec.rb +7 -1
- data/spec/isodoc/iev_spec.rb +0 -4
- data/spec/isodoc/ref_spec.rb +12 -12
- metadata +2 -2
@@ -34,7 +34,19 @@ RSpec.describe Asciidoctor::Iec do
|
|
34
34
|
<p id="_">For the purposes of this document,
|
35
35
|
the following terms and definitions apply.</p>
|
36
36
|
#{TERMS_BOILERPLATE}
|
37
|
-
<term id="term-t90"><preferred><stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><
|
37
|
+
<term id="term-t90"><preferred><stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow>
|
38
|
+
<mi>t</mi>
|
39
|
+
</mrow>
|
40
|
+
<mrow>
|
41
|
+
<mn>90</mn>
|
42
|
+
</mrow>
|
43
|
+
</msub></math></stem></preferred><admitted><stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow>
|
44
|
+
<mi>t</mi>
|
45
|
+
</mrow>
|
46
|
+
<mrow>
|
47
|
+
<mn>91</mn>
|
48
|
+
</mrow>
|
49
|
+
</msub></math></stem></admitted>
|
38
50
|
<definition><p id="_">Time</p></definition></term>
|
39
51
|
</terms>
|
40
52
|
</sections>
|
@@ -70,8 +82,20 @@ RSpec.describe Asciidoctor::Iec do
|
|
70
82
|
<p id="_">For the purposes of this document,
|
71
83
|
the following terms and definitions apply.</p>
|
72
84
|
#{TERMS_BOILERPLATE}
|
73
|
-
<term id="term-t90"><preferred><stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><
|
74
|
-
|
85
|
+
<term id="term-t90"><preferred><stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow>
|
86
|
+
<mi>t</mi>
|
87
|
+
</mrow>
|
88
|
+
<mrow>
|
89
|
+
<mn>90</mn>
|
90
|
+
</mrow>
|
91
|
+
</msub></math></stem></preferred><definition><formula id="_">
|
92
|
+
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow>
|
93
|
+
<mi>t</mi>
|
94
|
+
</mrow>
|
95
|
+
<mrow>
|
96
|
+
<mi>A</mi>
|
97
|
+
</mrow>
|
98
|
+
</msub></math></stem>
|
75
99
|
</formula><p id="_">This paragraph is extraneous</p></definition>
|
76
100
|
</term>
|
77
101
|
</terms>
|
@@ -257,9 +281,9 @@ RSpec.describe Asciidoctor::Iec do
|
|
257
281
|
<sections><table id="_">
|
258
282
|
<tbody>
|
259
283
|
<tr>
|
260
|
-
<td align="left">a</td>
|
261
|
-
<td align="left">b</td>
|
262
|
-
<td align="left">c</td>
|
284
|
+
<td valign="top" align="left">a</td>
|
285
|
+
<td valign="top" align="left">b</td>
|
286
|
+
<td valign="top" align="left">c</td>
|
263
287
|
</tr>
|
264
288
|
</tbody>
|
265
289
|
<dl id="_">
|
@@ -28,7 +28,13 @@ RSpec.describe Asciidoctor::Iec do
|
|
28
28
|
‘single quote’
|
29
29
|
super<sup>script</sup>
|
30
30
|
sub<sub>script</sub>
|
31
|
-
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><
|
31
|
+
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow>
|
32
|
+
<mi>a</mi>
|
33
|
+
</mrow>
|
34
|
+
<mrow>
|
35
|
+
<mn>90</mn>
|
36
|
+
</mrow>
|
37
|
+
</msub></math></stem>
|
32
38
|
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub> <mrow> <mrow> <mi mathvariant="bold-italic">F</mi> </mrow> </mrow> <mrow> <mrow> <mi mathvariant="bold-italic">Α</mi> </mrow> </mrow> </msub> </math></stem>
|
33
39
|
<admitted>alt</admitted>
|
34
40
|
<deprecates>deprecated</deprecates>
|
data/spec/isodoc/iev_spec.rb
CHANGED
data/spec/isodoc/ref_spec.rb
CHANGED
@@ -314,12 +314,12 @@ RSpec.describe IsoDoc::Iec do
|
|
314
314
|
<br/>
|
315
315
|
<div>
|
316
316
|
<h1 class='Section3'>Bibliography</h1>
|
317
|
-
<p id='ISBN' class='
|
318
|
-
[1]
|
317
|
+
<p id='ISBN' class='Biblio'>
|
318
|
+
[1] 
|
319
319
|
<i>Chemicals for analytical laboratory use</i>
|
320
320
|
</p>
|
321
|
-
<p id='ISSN' class='
|
322
|
-
[2]
|
321
|
+
<p id='ISSN' class='Biblio'>
|
322
|
+
[2] 
|
323
323
|
<i>Instruments for analytical laboratory use</i>
|
324
324
|
</p>
|
325
325
|
<div class='Note'>
|
@@ -334,12 +334,12 @@ RSpec.describe IsoDoc::Iec do
|
|
334
334
|
  This is another annotation of document ISSN.
|
335
335
|
</p>
|
336
336
|
</div>
|
337
|
-
<p id='ISO3696' class='
|
338
|
-
ISO 3696,
|
337
|
+
<p id='ISO3696' class='Biblio'>
|
338
|
+
[3]  ISO 3696,
|
339
339
|
<i>Water for analytical laboratory use</i>
|
340
340
|
</p>
|
341
|
-
<p id='ref10' class='
|
342
|
-
[10]
|
341
|
+
<p id='ref10' class='Biblio'>
|
342
|
+
[10] 
|
343
343
|
<span style='font-variant:small-caps;'>Standard No I.C.C 167</span>
|
344
344
|
.
|
345
345
|
<i>
|
@@ -351,12 +351,12 @@ RSpec.describe IsoDoc::Iec do
|
|
351
351
|
<a href='http://www.icc.or.at'>http://www.icc.or.at</a>
|
352
352
|
)
|
353
353
|
</p>
|
354
|
-
<p id='ref11' class='
|
355
|
-
IETF RFC 10,
|
354
|
+
<p id='ref11' class='Biblio'>
|
355
|
+
[5]  IETF RFC 10,
|
356
356
|
<i>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</i>
|
357
357
|
</p>
|
358
|
-
<p id='ref12' class='
|
359
|
-
Citn
|
358
|
+
<p id='ref12' class='Biblio'>
|
359
|
+
Citn  IETF RFC 20, CitationWorks. 2019.
|
360
360
|
<i>How to cite a reference</i>
|
361
361
|
.
|
362
362
|
</p>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-jing
|