metanorma-iso 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/customisation.adoc +496 -37
- data/docs/guidance.adoc +26 -2
- data/docs/quickstart.adoc +1 -1
- data/lib/asciidoctor/iso/isodoc.rng +8 -1
- data/lib/asciidoctor/iso/isostandard.rng +11 -4
- data/lib/asciidoctor/iso/section.rb +1 -5
- data/lib/asciidoctor/iso/validate.rb +1 -1
- data/lib/asciidoctor/iso/validate_section.rb +1 -1
- data/lib/asciidoctor/iso/version.rb +1 -1
- data/lib/isodoc/iso/html/word_iso_titlepage.html +3 -6
- data/lib/isodoc/iso/html_convert.rb +20 -0
- data/lib/isodoc/iso/metadata.rb +2 -2
- data/lib/isodoc/iso/word_convert.rb +20 -0
- data/metanorma-iso.gemspec +1 -1
- data/spec/asciidoctor-iso/base_spec.rb +1 -3
- data/spec/asciidoctor-iso/section_spec.rb +6 -4
- data/spec/asciidoctor-iso/validate_spec.rb +26 -0
- data/spec/assets/iso.doc +9 -15
- data/spec/examples/rice.adoc +0 -2
- data/spec/examples/rice.preview.html +2 -9
- data/spec/examples/rice.sh +1 -1
- data/spec/isodoc/inline_spec.rb +263 -0
- data/spec/isodoc/iso_spec.rb +1 -3
- data/spec/isodoc/metadata_spec.rb +4 -4
- data/spec/isodoc/terms_spec.rb +207 -0
- data/spec/isodoc/xref_spec.rb +66 -65
- metadata +6 -4
data/spec/isodoc/xref_spec.rb
CHANGED
@@ -1091,12 +1091,12 @@ RSpec.describe IsoDoc do
|
|
1091
1091
|
</div>
|
1092
1092
|
<p class="zzSTDTitle1"/>
|
1093
1093
|
<div id="scope">
|
1094
|
-
|
1095
|
-
|
1094
|
+
<h1>1.  Scope</h1>
|
1095
|
+
<ol type="a" id="N">
|
1096
1096
|
<li><p>A</p></li>
|
1097
1097
|
</ol>
|
1098
|
-
|
1099
|
-
|
1098
|
+
</div>
|
1099
|
+
<div id="terms"><h1>2.  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
1100
1100
|
<p>ISO and IEC maintain terminological databases for use in
|
1101
1101
|
standardization at the following addresses:</p>
|
1102
1102
|
|
@@ -1107,36 +1107,37 @@ RSpec.describe IsoDoc do
|
|
1107
1107
|
<a href="http://www.electropedia.org">http://www.electropedia.org</a>
|
1108
1108
|
</p> </li> </ul>
|
1109
1109
|
</div>
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
<ol type="a">
|
1110
|
+
<div id="widgets">
|
1111
|
+
<h1>3.  Widgets</h1>
|
1112
|
+
<div id="widgets1"><h2>3.1. </h2>
|
1113
|
+
<ol type="a" id="note1">
|
1114
1114
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
1115
1115
|
</ol>
|
1116
|
-
<ol type="a">
|
1116
|
+
<ol type="a" id="note2">
|
1117
1117
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a">These results are based on a study carried out on three different types of kernel.</p>
|
1118
1118
|
</ol>
|
1119
1119
|
</div>
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
<ol type="a">
|
1120
|
+
</div>
|
1121
|
+
<br/>
|
1122
|
+
<div id="annex1" class="Section3">
|
1123
|
+
<div id="annex1a"><h2>A.1. </h2>
|
1124
|
+
<ol type="a" id="AN">
|
1125
1125
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
1126
1126
|
</ol>
|
1127
1127
|
</div>
|
1128
|
-
|
1129
|
-
<ol type="a">
|
1128
|
+
<div id="annex1b"><h2>A.2. </h2>
|
1129
|
+
<ol type="a" id="Anote1">
|
1130
1130
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83f">These results are based on a study carried out on three different types of kernel.</p>
|
1131
1131
|
</ol>
|
1132
|
-
<ol type="a">
|
1132
|
+
<ol type="a" id="Anote2">
|
1133
1133
|
<p id="_f06fd0d1-a203-4f3d-a515-0bdba0f8d83a">These results are based on a study carried out on three different types of kernel.</p>
|
1134
1134
|
</ol>
|
1135
1135
|
</div>
|
1136
|
-
</div>
|
1137
1136
|
</div>
|
1138
|
-
</
|
1137
|
+
</div>
|
1138
|
+
</body>
|
1139
1139
|
</html>
|
1140
|
+
|
1140
1141
|
OUTPUT
|
1141
1142
|
end
|
1142
1143
|
|
@@ -1206,11 +1207,11 @@ RSpec.describe IsoDoc do
|
|
1206
1207
|
<p class="zzSTDTitle1"/>
|
1207
1208
|
<div id="scope">
|
1208
1209
|
<h1>1.  Scope</h1>
|
1209
|
-
|
1210
|
-
<li><p>A</p></li>
|
1210
|
+
<ol type="a" id="N1">
|
1211
|
+
<li id="N"><p>A</p></li>
|
1211
1212
|
</ol>
|
1212
|
-
|
1213
|
-
|
1213
|
+
</div>
|
1214
|
+
<div id="terms"><h1>2.  Terms and definitions</h1><p>No terms and definitions are listed in this document.</p>
|
1214
1215
|
<p>ISO and IEC maintain terminological databases for use in
|
1215
1216
|
standardization at the following addresses:</p>
|
1216
1217
|
|
@@ -1221,35 +1222,35 @@ RSpec.describe IsoDoc do
|
|
1221
1222
|
<a href="http://www.electropedia.org">http://www.electropedia.org</a>
|
1222
1223
|
</p> </li> </ul>
|
1223
1224
|
</div>
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
<ol type="a">
|
1228
|
-
<li><p>A</p></li>
|
1225
|
+
<div id="widgets">
|
1226
|
+
<h1>3.  Widgets</h1>
|
1227
|
+
<div id="widgets1"><h2>3.1. </h2>
|
1228
|
+
<ol type="a" id="note1l">
|
1229
|
+
<li id="note1"><p>A</p></li>
|
1229
1230
|
</ol>
|
1230
|
-
<ol type="a">
|
1231
|
-
<li><p>A</p></li>
|
1231
|
+
<ol type="a" id="note2l">
|
1232
|
+
<li id="note2"><p>A</p></li>
|
1232
1233
|
</ol>
|
1233
1234
|
</div>
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
<ol type="a">
|
1239
|
-
<li><p>A</p></li>
|
1235
|
+
</div>
|
1236
|
+
<br/>
|
1237
|
+
<div id="annex1" class="Section3">
|
1238
|
+
<div id="annex1a"><h2>A.1. </h2>
|
1239
|
+
<ol type="a" id="ANl">
|
1240
|
+
<li id="AN"><p>A</p></li>
|
1240
1241
|
</ol>
|
1241
1242
|
</div>
|
1242
|
-
|
1243
|
-
<ol type="a">
|
1244
|
-
<li><p>A</p></li>
|
1243
|
+
<div id="annex1b"><h2>A.2. </h2>
|
1244
|
+
<ol type="a" id="Anote1l">
|
1245
|
+
<li id="Anote1"><p>A</p></li>
|
1245
1246
|
</ol>
|
1246
|
-
<ol type="a">
|
1247
|
-
<li><p>A</p></li>
|
1247
|
+
<ol type="a" id="Anote2l">
|
1248
|
+
<li id="Anote2"><p>A</p></li>
|
1248
1249
|
</ol>
|
1249
1250
|
</div>
|
1250
|
-
</div>
|
1251
1251
|
</div>
|
1252
|
-
</
|
1252
|
+
</div>
|
1253
|
+
</body>
|
1253
1254
|
</html>
|
1254
1255
|
OUTPUT
|
1255
1256
|
end
|
@@ -1309,28 +1310,28 @@ RSpec.describe IsoDoc do
|
|
1309
1310
|
<p class="zzSTDTitle1"/>
|
1310
1311
|
<div id="scope">
|
1311
1312
|
<h1>1.  Scope</h1>
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1313
|
+
<ol type="a" id="N1">
|
1314
|
+
<li id="N"><p>A</p>
|
1315
|
+
<ol type="1">
|
1316
|
+
<li id="note1"><p>A</p>
|
1317
|
+
<ol type="i">
|
1318
|
+
<li id="note2"><p>A</p>
|
1319
|
+
<ol type="A">
|
1320
|
+
<li id="AN"><p>A</p>
|
1321
|
+
<ol type="I">
|
1322
|
+
<li id="Anote1"><p>A</p>
|
1323
|
+
<ol type="a">
|
1324
|
+
<li id="Anote2"><p>A</p></li>
|
1325
|
+
</ol></li>
|
1326
|
+
</ol></li>
|
1327
|
+
</ol></li>
|
1328
|
+
</ol></li>
|
1329
|
+
</ol></li>
|
1330
|
+
</ol>
|
1331
|
+
</div>
|
1332
|
+
</div>
|
1333
|
+
</body>
|
1334
|
+
</html>
|
1334
1335
|
OUTPUT
|
1335
1336
|
end
|
1336
1337
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.8.
|
47
|
+
version: 0.8.9
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.8.
|
54
|
+
version: 0.8.9
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: iev
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -369,10 +369,12 @@ files:
|
|
369
369
|
- spec/examples/rice_images/rice_image3_2.png
|
370
370
|
- spec/examples/rice_images/rice_image3_3.png
|
371
371
|
- spec/isodoc/i18n_spec.rb
|
372
|
+
- spec/isodoc/inline_spec.rb
|
372
373
|
- spec/isodoc/iso_spec.rb
|
373
374
|
- spec/isodoc/metadata_spec.rb
|
374
375
|
- spec/isodoc/postproc_spec.rb
|
375
376
|
- spec/isodoc/section_spec.rb
|
377
|
+
- spec/isodoc/terms_spec.rb
|
376
378
|
- spec/isodoc/xref_spec.rb
|
377
379
|
- spec/metanorma/processor_spec.rb
|
378
380
|
- spec/spec_helper.rb
|