metanorma-standoc 1.4.2 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +0 -7
- data/.github/workflows/ubuntu.yml +6 -11
- data/.github/workflows/windows.yml +0 -8
- data/.rubocop.yml +1 -1
- data/Rakefile +2 -0
- data/lib/asciidoctor/standoc/base.rb +15 -21
- data/lib/asciidoctor/standoc/cleanup.rb +1 -0
- data/lib/asciidoctor/standoc/cleanup_boilerplate.rb +11 -24
- data/lib/asciidoctor/standoc/cleanup_inline.rb +57 -1
- data/lib/asciidoctor/standoc/cleanup_ref.rb +13 -8
- data/lib/asciidoctor/standoc/cleanup_section.rb +90 -6
- data/lib/asciidoctor/standoc/cleanup_terms.rb +12 -2
- data/lib/asciidoctor/standoc/converter.rb +16 -2
- data/lib/asciidoctor/standoc/front.rb +0 -12
- data/lib/asciidoctor/standoc/front_contributor.rb +28 -3
- data/lib/asciidoctor/standoc/inline.rb +1 -1
- data/lib/asciidoctor/standoc/isodoc.rng +16 -7
- data/lib/asciidoctor/standoc/log.rb +10 -1
- data/lib/asciidoctor/standoc/ref.rb +24 -25
- data/lib/asciidoctor/standoc/section.rb +31 -27
- data/lib/asciidoctor/standoc/utils.rb +18 -1
- data/lib/asciidoctor/standoc/validate.rb +30 -18
- data/lib/asciidoctor/standoc/validate_section.rb +1 -1
- data/lib/metanorma/standoc/processor.rb +0 -4
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +3 -2
- data/spec/asciidoctor-standoc/base_spec.rb +21 -6
- data/spec/asciidoctor-standoc/blocks_spec.rb +21 -7
- data/spec/asciidoctor-standoc/cleanup_spec.rb +1337 -23
- data/spec/asciidoctor-standoc/inline_spec.rb +7 -4
- data/spec/asciidoctor-standoc/macros_spec.rb +41 -23
- data/spec/asciidoctor-standoc/refs_dl_spec.rb +9 -7
- data/spec/asciidoctor-standoc/refs_spec.rb +16 -16
- data/spec/asciidoctor-standoc/section_spec.rb +42 -38
- data/spec/asciidoctor-standoc/table_spec.rb +7 -1
- data/spec/asciidoctor-standoc/validate_spec.rb +40 -0
- data/spec/assets/{html.css → html.scss} +0 -0
- data/spec/assets/i18n.yaml +17 -2
- data/spec/assets/{word.css → word.scss} +0 -0
- data/spec/metanorma/processor_spec.rb +1 -2
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +66 -66
- data/spec/vcr_cassettes/isobib_get_123.yml +16 -16
- data/spec/vcr_cassettes/isobib_get_123_1.yml +33 -33
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +19 -19
- data/spec/vcr_cassettes/isobib_get_124.yml +19 -19
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +8 -8
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +28 -28
- metadata +22 -12
- data/lib/asciidoctor-yaml/i18n-en.yaml +0 -20
- data/lib/asciidoctor-yaml/i18n-fr.yaml +0 -13
- data/lib/asciidoctor-yaml/i18n-zh-Hans.yaml +0 -15
- data/lib/asciidoctor/standoc/i18n.rb +0 -39
@@ -88,7 +88,7 @@ text, including <strong><em>nest</em></strong>ed markup.</p>
|
|
88
88
|
<sections>
|
89
89
|
<p id="_">
|
90
90
|
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi><mo><</mo><mn>1</mn></math></stem><br/>
|
91
|
-
<stem type="MathML"> <math xmlns="http://www.w3.org/1998/Math/MathML"
|
91
|
+
<stem type="MathML"> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>n</mi> <mo><</mo> <mn>1</mn> </mrow> </math></stem>
|
92
92
|
</p>
|
93
93
|
</sections>
|
94
94
|
</standard-document>
|
@@ -106,7 +106,7 @@ text, including <strong><em>nest</em></strong>ed markup.</p>
|
|
106
106
|
<sections>
|
107
107
|
<p id="_">
|
108
108
|
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi><mo><</mo><mn>1</mn></math></stem>
|
109
|
-
<stem type="MathML"> <math xmlns="http://www.w3.org/1998/Math/MathML"
|
109
|
+
<stem type="MathML"> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>n</mi> <mo><</mo> <mn>1</mn> </mrow> </math></stem>
|
110
110
|
</p>
|
111
111
|
</sections>
|
112
112
|
</standard-document>
|
@@ -162,13 +162,16 @@ text, including <strong><em>nest</em></strong>ed markup.</p>
|
|
162
162
|
http://example.com[]
|
163
163
|
http://example.com[Link]
|
164
164
|
http://example.com[Link,title="tip"]
|
165
|
+
link:++https://asciidoctor.org/now_this__link_works.html++[]
|
165
166
|
INPUT
|
166
167
|
#{BLANK_HDR}
|
167
168
|
<sections>
|
168
169
|
<p id="_">mailto:fred@example.com
|
169
170
|
<link target="http://example.com"/>
|
170
171
|
<link target="http://example.com">Link</link>
|
171
|
-
<link target="http://example.com" alt="tip">Link</link
|
172
|
+
<link target="http://example.com" alt="tip">Link</link>
|
173
|
+
<link target='https://asciidoctor.org/now_this__link_works.html'/>
|
174
|
+
</p>
|
172
175
|
</sections>
|
173
176
|
</standard-document>
|
174
177
|
OUTPUT
|
@@ -232,7 +235,7 @@ text, including <strong><em>nest</em></strong>ed markup.</p>
|
|
232
235
|
<sections>
|
233
236
|
|
234
237
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
235
|
-
<title>Normative
|
238
|
+
<title>Normative references</title>
|
236
239
|
<p id="_">The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.</p>
|
237
240
|
<bibitem id="ISO712">
|
238
241
|
<formattedref format="application/x-isodoc+xml">Reference</formattedref>
|
@@ -293,29 +293,47 @@ OUTPUT
|
|
293
293
|
<formula id='_'>
|
294
294
|
<stem type='MathML'>
|
295
295
|
<math xmlns='http://www.w3.org/1998/Math/MathML'>
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
296
|
+
<mover>
|
297
|
+
<mrow>
|
298
|
+
<mi>X</mi>
|
299
|
+
</mrow>
|
300
|
+
<mrow>
|
301
|
+
<mo>¯</mo>
|
302
|
+
</mrow>
|
303
|
+
</mover>
|
304
|
+
<mo>′</mo>
|
305
|
+
<mo>=</mo>
|
306
|
+
<mfrac>
|
307
|
+
<mrow>
|
308
|
+
<mn>1</mn>
|
309
|
+
</mrow>
|
310
|
+
<mrow>
|
311
|
+
<mi>v</mi>
|
312
|
+
</mrow>
|
313
|
+
</mfrac>
|
314
|
+
<munderover>
|
315
|
+
<mrow>
|
316
|
+
<mo>∑</mo>
|
317
|
+
</mrow>
|
318
|
+
<mrow>
|
319
|
+
<mrow>
|
320
|
+
<mi>i</mi>
|
321
|
+
<mo>=</mo>
|
322
|
+
<mn>1</mn>
|
323
|
+
</mrow>
|
324
|
+
</mrow>
|
325
|
+
<mrow>
|
326
|
+
<mi>v</mi>
|
327
|
+
</mrow>
|
328
|
+
</munderover>
|
329
|
+
<msub>
|
330
|
+
<mrow>
|
331
|
+
<mi>t</mi>
|
332
|
+
</mrow>
|
333
|
+
<mrow>
|
334
|
+
<mi>i</mi>
|
335
|
+
</mrow>
|
336
|
+
</msub>
|
319
337
|
</math>
|
320
338
|
</stem>
|
321
339
|
</formula>
|
@@ -39,7 +39,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
39
39
|
#{BLANK_HDR}
|
40
40
|
<sections>
|
41
41
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
42
|
-
<title>Normative
|
42
|
+
<title>Normative references</title>
|
43
43
|
#{NORM_REF_BOILERPLATE}
|
44
44
|
<bibitem id="iso123" type="standard">
|
45
45
|
<fetched>#{Date.today}</fetched>
|
@@ -77,9 +77,9 @@ it "processes complex dl reference" do
|
|
77
77
|
[bibliography]
|
78
78
|
== Normative References
|
79
79
|
|
80
|
-
[[
|
80
|
+
[[ISOTC211]]
|
81
81
|
[%bibitem]
|
82
|
-
===
|
82
|
+
=== Other Title
|
83
83
|
fetched:: 2019-06-30
|
84
84
|
title::
|
85
85
|
type::: main
|
@@ -289,12 +289,14 @@ formattedref::
|
|
289
289
|
#{BLANK_HDR}
|
290
290
|
<sections>
|
291
291
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
292
|
-
<title>Normative
|
292
|
+
<title>Normative references</title>
|
293
293
|
#{NORM_REF_BOILERPLATE}
|
294
294
|
<bibitem id="TC211" type="standard">
|
295
295
|
<fetched>2019-06-30</fetched>
|
296
296
|
<title type="main" format="text/plain">Geographic information</title>
|
297
297
|
<title type="subtitle" format="text/plain" language="en" script="Latn">Geographic information subtitle</title>
|
298
|
+
<title type='title-main' format='text/plain'>Other Title</title>
|
299
|
+
<title type='main' format='text/plain'>Other Title</title>
|
298
300
|
<uri type="src">https://www.iso.org/standard/53798.html</uri>
|
299
301
|
<uri type="obp">https://www.iso.org/obp/ui/#!iso:std:53798:en</uri>
|
300
302
|
<uri type="rss">https://www.iso.org/contents/data/standard/05/37/53798.detail.rss</uri>
|
@@ -446,7 +448,7 @@ OUTPUT
|
|
446
448
|
[bibliography]
|
447
449
|
== Normative References
|
448
450
|
|
449
|
-
[[
|
451
|
+
[[ISOTC211]]
|
450
452
|
[%bibitem]
|
451
453
|
=== {blank}
|
452
454
|
fetched:: 2019-06-30
|
@@ -607,7 +609,7 @@ series.formattedref.script:: Latn
|
|
607
609
|
#{BLANK_HDR}
|
608
610
|
<sections>
|
609
611
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
610
|
-
<title>Normative
|
612
|
+
<title>Normative references</title>
|
611
613
|
#{NORM_REF_BOILERPLATE}
|
612
614
|
<bibitem id="TC211" type="standard">
|
613
615
|
<fetched>2019-06-30</fetched>
|
@@ -807,7 +809,7 @@ OUTPUT
|
|
807
809
|
<title>Subsection</title>
|
808
810
|
</clause>
|
809
811
|
<references id='_' obligation='informative' normative="true">
|
810
|
-
<title>Normative
|
812
|
+
<title>Normative references</title>
|
811
813
|
<bibitem id='A'>
|
812
814
|
<formattedref format='application/x-isodoc+xml'>Title</formattedref>
|
813
815
|
<docidentifier>B</docidentifier>
|
@@ -15,7 +15,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
15
15
|
#{BLANK_HDR}
|
16
16
|
<sections>
|
17
17
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
18
|
-
<title>Normative
|
18
|
+
<title>Normative references</title>
|
19
19
|
#{NORM_REF_BOILERPLATE}
|
20
20
|
<bibitem id="iso123" type="standard">
|
21
21
|
<title format="text/plain">Standard</title>
|
@@ -58,7 +58,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
58
58
|
#{BLANK_HDR}
|
59
59
|
<sections>
|
60
60
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
61
|
-
<title>Normative
|
61
|
+
<title>Normative references</title>
|
62
62
|
#{NORM_REF_BOILERPLATE}
|
63
63
|
<bibitem id="iso123" type="standard">
|
64
64
|
<title format="text/plain">Standard</title>
|
@@ -125,7 +125,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
125
125
|
</foreword>
|
126
126
|
</preface>
|
127
127
|
<sections>
|
128
|
-
</sections><bibliography><references id="_" obligation="informative" normative="true"><title>Normative
|
128
|
+
</sections><bibliography><references id="_" obligation="informative" normative="true"><title>Normative references</title>
|
129
129
|
#{NORM_REF_BOILERPLATE}
|
130
130
|
<bibitem type="standard" id="iso123">
|
131
131
|
<uri type="src">https://www.iso.org/standard/23281.html</uri>
|
@@ -236,7 +236,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
236
236
|
#{BLANK_HDR}
|
237
237
|
<sections>
|
238
238
|
|
239
|
-
</sections><bibliography><references id="_" obligation="informative" normative="true"><title>Normative
|
239
|
+
</sections><bibliography><references id="_" obligation="informative" normative="true"><title>Normative references</title>
|
240
240
|
#{NORM_REF_BOILERPLATE}
|
241
241
|
<bibitem id='iso123' type='standard'>
|
242
242
|
<fetched>#{Date.today}</fetched>
|
@@ -470,7 +470,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
470
470
|
#{BLANK_HDR}
|
471
471
|
<sections>
|
472
472
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
473
|
-
<title>Normative
|
473
|
+
<title>Normative references</title>
|
474
474
|
#{NORM_REF_BOILERPLATE}
|
475
475
|
<bibitem id="iso123" type="standard">
|
476
476
|
<title format="text/plain">Standard</title>
|
@@ -519,7 +519,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
519
519
|
<sections>
|
520
520
|
|
521
521
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
522
|
-
<title>Normative
|
522
|
+
<title>Normative references</title>
|
523
523
|
#{NORM_REF_BOILERPLATE}
|
524
524
|
<bibitem type="standard" id="iso123">
|
525
525
|
<fetched>#{Date.today}</fetched>
|
@@ -742,7 +742,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
742
742
|
<sections>
|
743
743
|
|
744
744
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
745
|
-
<title>Normative
|
745
|
+
<title>Normative references</title>
|
746
746
|
#{NORM_REF_BOILERPLATE}
|
747
747
|
<bibitem id='iso123'>
|
748
748
|
<formattedref format='application/x-isodoc+xml'>
|
@@ -821,7 +821,7 @@ OUTPUT
|
|
821
821
|
#{BLANK_HDR}
|
822
822
|
<sections>
|
823
823
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
824
|
-
<title>Normative
|
824
|
+
<title>Normative references</title>
|
825
825
|
#{NORM_REF_BOILERPLATE}
|
826
826
|
<bibitem id="iso123" type="standard">
|
827
827
|
<title format="text/plain">Standard</title>
|
@@ -902,7 +902,7 @@ OUTPUT
|
|
902
902
|
#{BLANK_HDR}
|
903
903
|
<sections>
|
904
904
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
905
|
-
<title>Normative
|
905
|
+
<title>Normative references</title>
|
906
906
|
#{NORM_REF_BOILERPLATE}
|
907
907
|
<bibitem id="iso123" type="standard">
|
908
908
|
<title format="text/plain">Standard</title>
|
@@ -969,7 +969,7 @@ OUTPUT
|
|
969
969
|
</p>
|
970
970
|
</clause>
|
971
971
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
972
|
-
<title>Normative
|
972
|
+
<title>Normative references</title>
|
973
973
|
#{NORM_REF_BOILERPLATE}
|
974
974
|
<bibitem id="iso123" type="standard">
|
975
975
|
<fetched>#{Date.today}</fetched>
|
@@ -1110,7 +1110,7 @@ OUTPUT
|
|
1110
1110
|
<sections>
|
1111
1111
|
|
1112
1112
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
1113
|
-
<title>Normative
|
1113
|
+
<title>Normative references</title>
|
1114
1114
|
#{NORM_REF_BOILERPLATE}
|
1115
1115
|
<bibitem id="iso123">
|
1116
1116
|
<formattedref format="application/x-isodoc+xml">
|
@@ -1214,7 +1214,7 @@ OUTPUT
|
|
1214
1214
|
<sections>
|
1215
1215
|
|
1216
1216
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
1217
|
-
<title>Normative
|
1217
|
+
<title>Normative references</title>
|
1218
1218
|
#{NORM_REF_BOILERPLATE}
|
1219
1219
|
<bibitem id="iso123" type="standard">
|
1220
1220
|
<title format="text/plain">Standard</title>
|
@@ -1260,7 +1260,7 @@ OUTPUT
|
|
1260
1260
|
INPUT
|
1261
1261
|
#{BLANK_HDR}
|
1262
1262
|
<sections>
|
1263
|
-
<clause id='_' inline-header='false' obligation='normative'>
|
1263
|
+
<clause id='_' inline-header='false' obligation='normative' type="scope">
|
1264
1264
|
<title>Scope</title>
|
1265
1265
|
<p id='_'>
|
1266
1266
|
<eref type='inline' bibitemid='iso123' citeas='ISO 123'/>
|
@@ -1278,7 +1278,7 @@ OUTPUT
|
|
1278
1278
|
</sections>
|
1279
1279
|
<bibliography>
|
1280
1280
|
<references id='_' normative='true' obligation='informative'>
|
1281
|
-
<title>Normative
|
1281
|
+
<title>Normative references</title>
|
1282
1282
|
<p id='_'>
|
1283
1283
|
The following documents are referred to in the text in such a way that
|
1284
1284
|
some or all of their content constitutes requirements of this document.
|
@@ -1321,7 +1321,7 @@ OUTPUT
|
|
1321
1321
|
INPUT
|
1322
1322
|
#{BLANK_HDR}
|
1323
1323
|
<sections>
|
1324
|
-
<clause id='_' inline-header='false' obligation='normative'>
|
1324
|
+
<clause id='_' inline-header='false' obligation='normative' type="scope">
|
1325
1325
|
<title>Scope</title>
|
1326
1326
|
<p id='_'>
|
1327
1327
|
<eref type='inline' bibitemid='iso123' citeas='ISO 123 (all parts)'/>
|
@@ -1360,7 +1360,7 @@ OUTPUT
|
|
1360
1360
|
</sections>
|
1361
1361
|
<bibliography>
|
1362
1362
|
<references id='_' normative='true' obligation='informative'>
|
1363
|
-
<title>Normative
|
1363
|
+
<title>Normative references</title>
|
1364
1364
|
<p id='_'>
|
1365
1365
|
The following documents are referred to in the text in such a way that
|
1366
1366
|
some or all of their content constitutes requirements of this document.
|
@@ -59,7 +59,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
59
59
|
[.nonterm]
|
60
60
|
==== General
|
61
61
|
|
62
|
-
==== Symbols
|
62
|
+
==== Symbols
|
63
63
|
|
64
64
|
== Abbreviated Terms
|
65
65
|
|
@@ -82,6 +82,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
82
82
|
INPUT
|
83
83
|
#{BLANK_HDR.sub(/<status>/, "<abstract> <p>Text</p> </abstract><status>")}
|
84
84
|
<preface><abstract id="_">
|
85
|
+
<title>Abstract</title>
|
85
86
|
<p id="_">Text</p>
|
86
87
|
</abstract><foreword id='_' obligation="informative">
|
87
88
|
<title>Foreword</title>
|
@@ -101,7 +102,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
101
102
|
</preface><sections>
|
102
103
|
|
103
104
|
|
104
|
-
<clause id="_" inline-header="false" obligation="normative">
|
105
|
+
<clause id="_" inline-header="false" obligation="normative" type="scope">
|
105
106
|
<title>Scope</title>
|
106
107
|
<p id="_">Text</p>
|
107
108
|
</clause>
|
@@ -143,14 +144,14 @@ RSpec.describe Asciidoctor::Standoc do
|
|
143
144
|
<preferred>Term2</preferred>
|
144
145
|
</term>
|
145
146
|
</terms>
|
146
|
-
<definitions id="_"><title>Symbols and
|
147
|
+
<definitions id="_" obligation="normative"><title>Symbols and abbreviated terms</title><clause id="_" inline-header="false" obligation="normative">
|
147
148
|
<title>General</title>
|
148
149
|
</clause>
|
149
|
-
<definitions id="_">
|
150
|
-
<title>Symbols
|
150
|
+
<definitions id="_" obligation="normative" type="symbols">
|
151
|
+
<title>Symbols</title>
|
151
152
|
</definitions></definitions></clause>
|
152
|
-
<definitions id="_">
|
153
|
-
<title>Abbreviated
|
153
|
+
<definitions id="_" obligation="normative" type="abbreviated_terms">
|
154
|
+
<title>Abbreviated terms</title>
|
154
155
|
</definitions>
|
155
156
|
<clause id="_" inline-header="false" obligation="normative"><title>Clause 4</title><clause id="_" inline-header="false" obligation="normative">
|
156
157
|
<title>Introduction</title>
|
@@ -168,7 +169,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
168
169
|
<title>Annex A.1</title>
|
169
170
|
</clause>
|
170
171
|
</annex><bibliography><references id="_" obligation="informative" normative="true">
|
171
|
-
<title>Normative
|
172
|
+
<title>Normative references</title>
|
172
173
|
<p id="_">There are no normative references in this document.</p>
|
173
174
|
</references><clause id="_" obligation="informative">
|
174
175
|
<title>Bibliography</title>
|
@@ -256,7 +257,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
256
257
|
[language=en,script=Latn]
|
257
258
|
==== General
|
258
259
|
|
259
|
-
==== Symbols
|
260
|
+
==== Symbols
|
260
261
|
|
261
262
|
[language=en,script=Latn]
|
262
263
|
== Abbreviated Terms
|
@@ -287,6 +288,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
287
288
|
INPUT
|
288
289
|
#{BLANK_HDR.sub(/<status>/, "<abstract> <p>Text</p> </abstract><status>")}
|
289
290
|
<preface><abstract id="_" language="en" script="Latn">
|
291
|
+
<title>Abstract</title>
|
290
292
|
<p id="_">Text</p>
|
291
293
|
</abstract><foreword id='_' language='en' script='Latn' obligation='informative'>
|
292
294
|
<title>Foreword</title>
|
@@ -306,7 +308,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
306
308
|
</preface><sections>
|
307
309
|
|
308
310
|
|
309
|
-
<clause id="_" language="en" script="Latn" inline-header="false" obligation="normative">
|
311
|
+
<clause id="_" language="en" script="Latn" inline-header="false" obligation="normative" type="scope">
|
310
312
|
<title>Scope</title>
|
311
313
|
<p id="_">Text</p>
|
312
314
|
</clause>
|
@@ -348,14 +350,14 @@ RSpec.describe Asciidoctor::Standoc do
|
|
348
350
|
<preferred>Term2</preferred>
|
349
351
|
</term>
|
350
352
|
</terms>
|
351
|
-
<definitions id="_" language="en" script="Latn"><title>Symbols and
|
353
|
+
<definitions id="_" language="en" script="Latn" obligation="normative"><title>Symbols and abbreviated terms</title><clause id="_" language="en" script="Latn" inline-header="false" obligation="normative">
|
352
354
|
<title>General</title>
|
353
355
|
</clause>
|
354
|
-
<definitions id="_">
|
355
|
-
<title>Symbols
|
356
|
+
<definitions id="_" obligation="normative" type="symbols">
|
357
|
+
<title>Symbols</title>
|
356
358
|
</definitions></definitions></clause>
|
357
|
-
<definitions id="_" language="en" script="Latn">
|
358
|
-
<title>Abbreviated
|
359
|
+
<definitions id="_" language="en" script="Latn" obligation="normative" type="abbreviated_terms">
|
360
|
+
<title>Abbreviated terms</title>
|
359
361
|
</definitions>
|
360
362
|
<clause id="_" language="en" script="Latn" inline-header="false" obligation="normative"><title>Clause 4</title><clause id="_" language="en" script="Latn" inline-header="false" obligation="normative">
|
361
363
|
<title>Introduction</title>
|
@@ -373,7 +375,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
373
375
|
<title>Annex A.1</title>
|
374
376
|
</clause>
|
375
377
|
</annex><bibliography><references id="_" language="en" script="Latn" obligation="informative" normative="true">
|
376
|
-
<title>Normative
|
378
|
+
<title>Normative references</title>
|
377
379
|
<p id="_">There are no normative references in this document.</p>
|
378
380
|
</references><clause id="_" language="en" script="Latn" obligation="informative">
|
379
381
|
<title>Bibliography</title>
|
@@ -420,10 +422,10 @@ RSpec.describe Asciidoctor::Standoc do
|
|
420
422
|
|
421
423
|
==== Term2
|
422
424
|
|
423
|
-
[heading=symbols
|
425
|
+
[heading=symbols]
|
424
426
|
=== Σύμβολα και Συντομογραφίες
|
425
427
|
|
426
|
-
[heading=
|
428
|
+
[heading=abbreviated terms]
|
427
429
|
== Σύμβολα και Συντομογραφίες
|
428
430
|
|
429
431
|
== Clause 4
|
@@ -445,6 +447,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
445
447
|
#{BLANK_HDR.sub(/<status>/, "<abstract> <p>Text</p> </abstract><status>")}
|
446
448
|
<preface>
|
447
449
|
<abstract id='_'>
|
450
|
+
<title>Abstract</title>
|
448
451
|
<p id='_'>Text</p>
|
449
452
|
</abstract>
|
450
453
|
<foreword id='_' obligation='informative'>
|
@@ -458,7 +461,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
458
461
|
</clause>
|
459
462
|
</introduction>
|
460
463
|
<acknowledgements id='_' obligation='informative'>
|
461
|
-
<title
|
464
|
+
<title>Acknowledgements</title>
|
462
465
|
</acknowledgements>
|
463
466
|
</preface>
|
464
467
|
<sections>
|
@@ -470,7 +473,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
470
473
|
</term>
|
471
474
|
</terms>
|
472
475
|
<clause id='_' obligation='normative'>
|
473
|
-
<title>Terms and
|
476
|
+
<title>Terms, definitions and symbols</title>
|
474
477
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
475
478
|
<terms id='_' obligation='normative'>
|
476
479
|
<title>Normal Terms</title>
|
@@ -478,12 +481,12 @@ RSpec.describe Asciidoctor::Standoc do
|
|
478
481
|
<preferred>Term2</preferred>
|
479
482
|
</term>
|
480
483
|
</terms>
|
481
|
-
<definitions id='_'>
|
482
|
-
<title
|
484
|
+
<definitions id='_' obligation="normative" type="symbols">
|
485
|
+
<title>Symbols</title>
|
483
486
|
</definitions>
|
484
487
|
</clause>
|
485
|
-
<definitions id='_'>
|
486
|
-
<title
|
488
|
+
<definitions id='_' obligation="normative" type="abbreviated_terms">
|
489
|
+
<title>Abbreviated terms</title>
|
487
490
|
</definitions>
|
488
491
|
<clause id='_' inline-header='false' obligation='normative'>
|
489
492
|
<title>Clause 4</title>
|
@@ -503,7 +506,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
503
506
|
</annex>
|
504
507
|
<bibliography>
|
505
508
|
<references id='_' obligation='informative' normative="true">
|
506
|
-
<title>Normative
|
509
|
+
<title>Normative references</title>
|
507
510
|
<p id="_">There are no normative references in this document.</p>
|
508
511
|
</references>
|
509
512
|
<clause id='_' obligation='informative'>
|
@@ -537,7 +540,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
537
540
|
<term id='_'>
|
538
541
|
<preferred>Term</preferred>
|
539
542
|
</term>
|
540
|
-
<definitions id='_'>
|
543
|
+
<definitions id='_' obligation="normative" type="symbols">
|
541
544
|
<title>Symbols</title>
|
542
545
|
</definitions>
|
543
546
|
</terms>
|
@@ -554,6 +557,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
554
557
|
|
555
558
|
=== Term
|
556
559
|
|
560
|
+
[heading="abbreviated terms"]
|
557
561
|
=== Symbols
|
558
562
|
|
559
563
|
INPUT
|
@@ -565,8 +569,8 @@ RSpec.describe Asciidoctor::Standoc do
|
|
565
569
|
<term id='_'>
|
566
570
|
<preferred>Term</preferred>
|
567
571
|
</term>
|
568
|
-
<definitions id='_'>
|
569
|
-
<title>
|
572
|
+
<definitions id='_' obligation="normative" type="abbreviated_terms">
|
573
|
+
<title>Abbreviated terms</title>
|
570
574
|
</definitions>
|
571
575
|
</terms>
|
572
576
|
</sections>
|
@@ -671,12 +675,12 @@ RSpec.describe Asciidoctor::Standoc do
|
|
671
675
|
#{BLANK_HDR}
|
672
676
|
<sections>
|
673
677
|
<terms id='_' obligation='normative'>
|
674
|
-
<title>Terms, definitions
|
678
|
+
<title>Terms, definitions and symbols</title>
|
675
679
|
<p id='_'>No terms and definitions are listed in this document.</p>
|
676
680
|
<clause id='_' inline-header='false' obligation='normative'>
|
677
681
|
<title>Terms and definitions</title>
|
678
682
|
</clause>
|
679
|
-
<definitions id='_'>
|
683
|
+
<definitions id='_' obligation="normative" type="symbols">
|
680
684
|
<title>Symbols</title>
|
681
685
|
</definitions>
|
682
686
|
</terms>
|
@@ -787,11 +791,11 @@ RSpec.describe Asciidoctor::Standoc do
|
|
787
791
|
#{BLANK_HDR.sub(%r{<language>en</language>}, "<language>fr</language>")}
|
788
792
|
<termdocsource bibitemid="iso1234"/><termdocsource bibitemid="iso5678"/>
|
789
793
|
<preface><foreword id='_' obligation="informative">
|
790
|
-
<title>
|
794
|
+
<title>Avant-propos</title>
|
791
795
|
<p id="_">Foreword</p>
|
792
796
|
</foreword></preface><sections>
|
793
797
|
<terms id="_" obligation="normative">
|
794
|
-
<title>Terms
|
798
|
+
<title>Terms et définitions</title>
|
795
799
|
<p id="_">Pour les besoins du présent document, les termes et définitions de <eref bibitemid="iso1234"/> et <eref bibitemid="iso5678"/> s’appliquent.</p>
|
796
800
|
|
797
801
|
|
@@ -820,11 +824,11 @@ RSpec.describe Asciidoctor::Standoc do
|
|
820
824
|
INPUT
|
821
825
|
#{BLANK_HDR.sub(%r{<language>en</language>}, "<language>zh</language>").sub(%r{<script>Latn</script>}, "<script>Hans</script>")}
|
822
826
|
<termdocsource bibitemid="iso1234"/><termdocsource bibitemid="iso5678"/><preface><foreword id='_' obligation="informative">
|
823
|
-
<title
|
827
|
+
<title>前言</title>
|
824
828
|
<p id="_">Foreword</p>
|
825
829
|
</foreword></preface><sections>
|
826
830
|
<terms id="_" obligation="normative">
|
827
|
-
<title
|
831
|
+
<title>术语和定义</title><p id="_"><eref bibitemid="iso1234"/>和<eref bibitemid="iso5678"/>界定的术语和定义适用于本文件。</p>
|
828
832
|
|
829
833
|
|
830
834
|
|
@@ -858,12 +862,12 @@ INPUT
|
|
858
862
|
#{BLANK_HDR}
|
859
863
|
<sections>
|
860
864
|
<terms id='tda' obligation='normative'>
|
861
|
-
<title>Terms, definitions
|
865
|
+
<title>Terms, definitions and symbols</title>
|
862
866
|
<p id='_'>No terms and definitions are listed in this document.</p>
|
863
867
|
<clause id='terms' inline-header='false' obligation='normative'>
|
864
868
|
<title>Terms and definitions</title>
|
865
869
|
</clause>
|
866
|
-
<definitions id='_'>
|
870
|
+
<definitions id='_' obligation="normative" type="symbols">
|
867
871
|
<title>Symbols</title>
|
868
872
|
</definitions>
|
869
873
|
</terms>
|
@@ -895,7 +899,7 @@ _time_ (<<term-time>>) on the _calendar_ (<<term-calendar>>) _time scale_ (<<ter
|
|
895
899
|
INPUT
|
896
900
|
#{BLANK_HDR}
|
897
901
|
<sections>
|
898
|
-
<clause id='_' inline-header='false' obligation='normative'>
|
902
|
+
<clause id='_' inline-header='false' obligation='normative' type="scope">
|
899
903
|
<title>Scope</title>
|
900
904
|
</clause>
|
901
905
|
<clause id='tda' obligation='normative'>
|
@@ -963,7 +967,7 @@ INPUT
|
|
963
967
|
</preface>
|
964
968
|
<sections> </sections>
|
965
969
|
<annex id='_' obligation='' language='fr' script=''>
|
966
|
-
<definitions id='sym' language='fr'>
|
970
|
+
<definitions id='sym' language='fr' obligation="normative">
|
967
971
|
<title>Symbols and abbreviated terms</title>
|
968
972
|
</definitions>
|
969
973
|
</annex>
|