metanorma-standoc 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/standoc/base.rb +0 -1
- data/lib/asciidoctor/standoc/blocks.rb +0 -1
- data/lib/asciidoctor/standoc/blocks_notes.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_amend.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_block.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_boilerplate.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_footnotes.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_image.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_inline.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_maths.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_ref.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_ref_dl.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_reqt.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_section.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_section_names.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_symbols.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_table.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_terms.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_terms_designations.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_text.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_toc.rb +0 -1
- data/lib/asciidoctor/standoc/cleanup_xref.rb +0 -1
- data/lib/asciidoctor/standoc/converter.rb +0 -1
- data/lib/asciidoctor/standoc/deprecated.rb +4 -2
- data/lib/asciidoctor/standoc/front.rb +0 -1
- data/lib/asciidoctor/standoc/front_contributor.rb +0 -1
- data/lib/asciidoctor/standoc/inline.rb +0 -1
- data/lib/asciidoctor/standoc/lists.rb +0 -1
- data/lib/asciidoctor/standoc/macros.rb +0 -1
- data/lib/asciidoctor/standoc/macros_form.rb +0 -1
- data/lib/asciidoctor/standoc/macros_note.rb +0 -1
- data/lib/asciidoctor/standoc/macros_plantuml.rb +0 -1
- data/lib/asciidoctor/standoc/macros_terms.rb +0 -1
- data/lib/asciidoctor/standoc/render.rb +0 -1
- data/lib/asciidoctor/standoc/reqt.rb +0 -1
- data/lib/asciidoctor/standoc/section.rb +0 -1
- data/lib/asciidoctor/standoc/table.rb +0 -1
- data/lib/asciidoctor/standoc/term_lookup_cleanup.rb +0 -1
- data/lib/asciidoctor/standoc/terms.rb +0 -1
- data/lib/asciidoctor/standoc/utils.rb +0 -1
- data/lib/asciidoctor/standoc/validate.rb +0 -1
- data/lib/asciidoctor/standoc/validate_section.rb +0 -1
- data/lib/isodoc/pdf_convert.rb +2 -3
- data/lib/metanorma/standoc/biblio.rng +25 -2
- data/lib/metanorma/standoc/blocks.rb +10 -0
- data/lib/metanorma/standoc/cleanup_boilerplate.rb +15 -7
- data/lib/metanorma/standoc/cleanup_ref.rb +2 -4
- data/lib/metanorma/standoc/cleanup_xref.rb +3 -4
- data/lib/metanorma/standoc/inline.rb +11 -8
- data/lib/metanorma/standoc/macros_embed.rb +1 -3
- data/lib/metanorma/standoc/macros_terms.rb +1 -1
- data/lib/metanorma/standoc/processor.rb +2 -1
- data/lib/metanorma/standoc/ref.rb +4 -4
- data/lib/metanorma/standoc/render.rb +6 -1
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -0
- data/spec/assets/iso.adoc +10 -0
- data/spec/metanorma/blocks_spec.rb +113 -72
- data/spec/metanorma/cleanup_sections_spec.rb +6 -6
- data/spec/metanorma/cleanup_spec.rb +5 -5
- data/spec/metanorma/cleanup_terms_spec.rb +93 -19
- data/spec/metanorma/inline_spec.rb +1 -1
- data/spec/metanorma/macros_spec.rb +216 -45
- data/spec/metanorma/refs_dl_spec.rb +11 -6
- data/spec/metanorma/section_spec.rb +15 -15
- data/spec/metanorma/table_spec.rb +339 -342
- data/spec/spec_helper.rb +2 -5
- metadata +17 -2
@@ -370,12 +370,12 @@ RSpec.describe Metanorma::Standoc do
|
|
370
370
|
<concept>
|
371
371
|
<refterm>Clause1</refterm>
|
372
372
|
<renderterm>Clause1</renderterm>
|
373
|
-
<xref target='term-
|
373
|
+
<xref target='term-Clause1'/>
|
374
374
|
</concept>
|
375
375
|
<concept>
|
376
376
|
<refterm>Clause1</refterm>
|
377
377
|
<renderterm>Clause 1</renderterm>
|
378
|
-
<xref target='term-
|
378
|
+
<xref target='term-Clause1'/>
|
379
379
|
</concept>
|
380
380
|
<concept>
|
381
381
|
<refterm>Clause 2</refterm>
|
@@ -396,12 +396,12 @@ RSpec.describe Metanorma::Standoc do
|
|
396
396
|
<concept>
|
397
397
|
<refterm>Clause1</refterm>
|
398
398
|
<renderterm>Clause1</renderterm>
|
399
|
-
<xref target='symbol-
|
399
|
+
<xref target='symbol-Clause1'/>
|
400
400
|
</concept>
|
401
401
|
<concept>
|
402
402
|
<refterm>Clause1</refterm>
|
403
403
|
<renderterm>word</renderterm>
|
404
|
-
<xref target='symbol-
|
404
|
+
<xref target='symbol-Clause1'/>
|
405
405
|
</concept>
|
406
406
|
<concept>
|
407
407
|
<refterm>Clause 2</refterm>
|
@@ -446,14 +446,14 @@ RSpec.describe Metanorma::Standoc do
|
|
446
446
|
<terms id='_' obligation='normative'>
|
447
447
|
<title>Terms and definitions</title>
|
448
448
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
449
|
-
<term id='term-
|
449
|
+
<term id='term-Clause1'>
|
450
450
|
<preferred><expression><name>Clause1</name></expression></preferred>
|
451
451
|
</term>
|
452
452
|
</terms>
|
453
453
|
<definitions id='_' obligation='normative'>
|
454
454
|
<title>Symbols and abbreviated terms</title>
|
455
455
|
<dl id='_'>
|
456
|
-
<dt id="symbol-
|
456
|
+
<dt id="symbol-Clause1">Clause1</dt>
|
457
457
|
<dd>
|
458
458
|
<p id='_'>A</p>
|
459
459
|
</dd>
|
@@ -1314,18 +1314,48 @@ RSpec.describe Metanorma::Standoc do
|
|
1314
1314
|
embed::spec/assets/xref_error.adoc[]
|
1315
1315
|
INPUT
|
1316
1316
|
output = <<~OUTPUT
|
1317
|
-
#{
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1317
|
+
<standard-document xmlns='https://www.metanorma.org/ns/standoc' type='semantic' version='#{Metanorma::Standoc::VERSION}'>
|
1318
|
+
<bibdata type='standard'>
|
1319
|
+
<title language='en' format='text/plain'>Document title</title>
|
1320
|
+
<language>en</language>
|
1321
|
+
<script>Latn</script>
|
1322
|
+
<status>
|
1323
|
+
<stage>published</stage>
|
1324
|
+
</status>
|
1325
|
+
<copyright>
|
1326
|
+
<from>2022</from>
|
1327
|
+
</copyright>
|
1328
|
+
<ext>
|
1329
|
+
<doctype>article</doctype>
|
1330
|
+
</ext>
|
1331
|
+
<relation type='derivedFrom'>
|
1332
|
+
<bibitem>
|
1333
|
+
<title language='en' format='text/plain'>X</title>
|
1334
|
+
<language>en</language>
|
1335
|
+
<script>Latn</script>
|
1336
|
+
<status>
|
1337
|
+
<stage>published</stage>
|
1338
|
+
</status>
|
1339
|
+
<copyright>
|
1340
|
+
<from>2022</from>
|
1341
|
+
</copyright>
|
1342
|
+
<ext>
|
1343
|
+
<doctype>article</doctype>
|
1344
|
+
</ext>
|
1345
|
+
</bibitem>
|
1346
|
+
</relation>
|
1347
|
+
</bibdata>
|
1348
|
+
<sections>
|
1349
|
+
<clause id='clause1' inline-header='false' obligation='normative'>
|
1350
|
+
<title>Clause 1</title>
|
1351
|
+
</clause>
|
1352
|
+
<clause id='_' inline-header='false' obligation='normative'>
|
1353
|
+
<title>Clause</title>
|
1354
|
+
<p id='_'>
|
1355
|
+
<xref target='a'>b</xref>
|
1356
|
+
</p>
|
1357
|
+
</clause>
|
1358
|
+
</sections>
|
1329
1359
|
</standard-document>
|
1330
1360
|
OUTPUT
|
1331
1361
|
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
@@ -1342,12 +1372,42 @@ RSpec.describe Metanorma::Standoc do
|
|
1342
1372
|
embed::spec/assets/xref_error.adoc[]
|
1343
1373
|
INPUT
|
1344
1374
|
output = <<~OUTPUT
|
1345
|
-
#{
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
</
|
1350
|
-
|
1375
|
+
<standard-document xmlns='https://www.metanorma.org/ns/standoc' type='semantic' version='#{Metanorma::Standoc::VERSION}'>
|
1376
|
+
<bibdata type='standard'>
|
1377
|
+
<title language='en' format='text/plain'>Document title</title>
|
1378
|
+
<language>en</language>
|
1379
|
+
<script>Latn</script>
|
1380
|
+
<status>
|
1381
|
+
<stage>published</stage>
|
1382
|
+
</status>
|
1383
|
+
<copyright>
|
1384
|
+
<from>2022</from>
|
1385
|
+
</copyright>
|
1386
|
+
<ext>
|
1387
|
+
<doctype>article</doctype>
|
1388
|
+
</ext>
|
1389
|
+
<relation type='derivedFrom'>
|
1390
|
+
<bibitem>
|
1391
|
+
<title language='en' format='text/plain'>X</title>
|
1392
|
+
<language>en</language>
|
1393
|
+
<script>Latn</script>
|
1394
|
+
<status>
|
1395
|
+
<stage>published</stage>
|
1396
|
+
</status>
|
1397
|
+
<copyright>
|
1398
|
+
<from>2022</from>
|
1399
|
+
</copyright>
|
1400
|
+
<ext>
|
1401
|
+
<doctype>article</doctype>
|
1402
|
+
</ext>
|
1403
|
+
</bibitem>
|
1404
|
+
</relation>
|
1405
|
+
</bibdata>
|
1406
|
+
<sections>
|
1407
|
+
<clause id='clause1' inline-header='false' obligation='normative'>
|
1408
|
+
<title>Clause</title>
|
1409
|
+
</clause>
|
1410
|
+
</sections>
|
1351
1411
|
</standard-document>
|
1352
1412
|
OUTPUT
|
1353
1413
|
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
@@ -1380,7 +1440,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1380
1440
|
</ext>
|
1381
1441
|
<relation type='derivedFrom'>
|
1382
1442
|
<bibitem>
|
1383
|
-
<title language='en' format='text/plain'>
|
1443
|
+
<title language='en' format='text/plain'>X</title>
|
1384
1444
|
<language>en</language>
|
1385
1445
|
<script>Latn</script>
|
1386
1446
|
<status>
|
@@ -1394,23 +1454,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1394
1454
|
</ext>
|
1395
1455
|
<relation type='derivedFrom'>
|
1396
1456
|
<bibitem>
|
1397
|
-
<title language='en' format='text/plain'>
|
1398
|
-
<language>en</language>
|
1399
|
-
<script>Latn</script>
|
1400
|
-
<status>
|
1401
|
-
<stage>published</stage>
|
1402
|
-
</status>
|
1403
|
-
<copyright>
|
1404
|
-
<from>2022</from>
|
1405
|
-
</copyright>
|
1406
|
-
<ext>
|
1407
|
-
<doctype>article</doctype>
|
1408
|
-
</ext>
|
1409
|
-
</bibitem>
|
1410
|
-
</relation>
|
1411
|
-
<relation type='derivedFrom'>
|
1412
|
-
<bibitem>
|
1413
|
-
<title language='en' format='text/plain'>A3a</title>
|
1457
|
+
<title language='en' format='text/plain'>A2</title>
|
1414
1458
|
<language>en</language>
|
1415
1459
|
<script>Latn</script>
|
1416
1460
|
<status>
|
@@ -1422,6 +1466,38 @@ RSpec.describe Metanorma::Standoc do
|
|
1422
1466
|
<ext>
|
1423
1467
|
<doctype>article</doctype>
|
1424
1468
|
</ext>
|
1469
|
+
<relation type='derivedFrom'>
|
1470
|
+
<bibitem>
|
1471
|
+
<title language='en' format='text/plain'>A3</title>
|
1472
|
+
<language>en</language>
|
1473
|
+
<script>Latn</script>
|
1474
|
+
<status>
|
1475
|
+
<stage>published</stage>
|
1476
|
+
</status>
|
1477
|
+
<copyright>
|
1478
|
+
<from>2022</from>
|
1479
|
+
</copyright>
|
1480
|
+
<ext>
|
1481
|
+
<doctype>article</doctype>
|
1482
|
+
</ext>
|
1483
|
+
</bibitem>
|
1484
|
+
</relation>
|
1485
|
+
<relation type='derivedFrom'>
|
1486
|
+
<bibitem>
|
1487
|
+
<title language='en' format='text/plain'>A3a</title>
|
1488
|
+
<language>en</language>
|
1489
|
+
<script>Latn</script>
|
1490
|
+
<status>
|
1491
|
+
<stage>published</stage>
|
1492
|
+
</status>
|
1493
|
+
<copyright>
|
1494
|
+
<from>2022</from>
|
1495
|
+
</copyright>
|
1496
|
+
<ext>
|
1497
|
+
<doctype>article</doctype>
|
1498
|
+
</ext>
|
1499
|
+
</bibitem>
|
1500
|
+
</relation>
|
1425
1501
|
</bibitem>
|
1426
1502
|
</relation>
|
1427
1503
|
</bibitem>
|
@@ -1444,11 +1520,11 @@ RSpec.describe Metanorma::Standoc do
|
|
1444
1520
|
<p id='_'>X</p>
|
1445
1521
|
</clause>
|
1446
1522
|
<clause id='_' inline-header='false' obligation='normative'>
|
1447
|
-
<title>Clause
|
1523
|
+
<title>Clause 4</title>
|
1448
1524
|
<p id='_'>X</p>
|
1449
1525
|
</clause>
|
1450
1526
|
<clause id='_' inline-header='false' obligation='normative'>
|
1451
|
-
<title>Clause
|
1527
|
+
<title>Clause 3a</title>
|
1452
1528
|
<p id='_'>X</p>
|
1453
1529
|
</clause>
|
1454
1530
|
</sections>
|
@@ -1458,8 +1534,103 @@ RSpec.describe Metanorma::Standoc do
|
|
1458
1534
|
.to be_equivalent_to xmlpp(output)
|
1459
1535
|
end
|
1460
1536
|
|
1537
|
+
it "processes embed macro with document in a different flavour" do
|
1538
|
+
require "metanorma-iso"
|
1539
|
+
input = <<~INPUT
|
1540
|
+
#{ASCIIDOC_BLANK_HDR}
|
1541
|
+
|
1542
|
+
[[clause1]]
|
1543
|
+
== Clause 1
|
1544
|
+
|
1545
|
+
embed::spec/assets/iso.adoc[]
|
1546
|
+
INPUT
|
1547
|
+
output = <<~OUTPUT
|
1548
|
+
<standard-document xmlns='https://www.metanorma.org/ns/standoc' type='semantic' version='#{Metanorma::Standoc::VERSION}'>
|
1549
|
+
<bibdata type='standard'>
|
1550
|
+
<title language='en' format='text/plain'>Document title</title>
|
1551
|
+
<language>en</language>
|
1552
|
+
<script>Latn</script>
|
1553
|
+
<status>
|
1554
|
+
<stage>published</stage>
|
1555
|
+
</status>
|
1556
|
+
<copyright>
|
1557
|
+
<from>2022</from>
|
1558
|
+
</copyright>
|
1559
|
+
<ext>
|
1560
|
+
<doctype>article</doctype>
|
1561
|
+
</ext>
|
1562
|
+
<relation type='derivedFrom'>
|
1563
|
+
<bibitem>
|
1564
|
+
<title language='en' format='text/plain' type='main'>
|
1565
|
+
Medical devices — Quality management systems — Requirements for
|
1566
|
+
regulatory purposes
|
1567
|
+
</title>
|
1568
|
+
<title language='en' format='text/plain' type='title-main'>
|
1569
|
+
Medical devices — Quality management systems — Requirements for
|
1570
|
+
regulatory purposes
|
1571
|
+
</title>
|
1572
|
+
<title language='fr' format='text/plain' type='main'>
|
1573
|
+
Dispositifs médicaux — Systèmes de management de la qualité —
|
1574
|
+
Exigences à des fins réglementaires
|
1575
|
+
</title>
|
1576
|
+
<title language='fr' format='text/plain' type='title-main'>
|
1577
|
+
Dispositifs médicaux — Systèmes de management de la qualité —
|
1578
|
+
Exigences à des fins réglementaires
|
1579
|
+
</title>
|
1580
|
+
<contributor>
|
1581
|
+
<role type='author'/>
|
1582
|
+
<organization>
|
1583
|
+
<name>International Organization for Standardization</name>
|
1584
|
+
<abbreviation>ISO</abbreviation>
|
1585
|
+
</organization>
|
1586
|
+
</contributor>
|
1587
|
+
<contributor>
|
1588
|
+
<role type='publisher'/>
|
1589
|
+
<organization>
|
1590
|
+
<name>International Organization for Standardization</name>
|
1591
|
+
<abbreviation>ISO</abbreviation>
|
1592
|
+
</organization>
|
1593
|
+
</contributor>
|
1594
|
+
<language>en</language>
|
1595
|
+
<script>Latn</script>
|
1596
|
+
<status>
|
1597
|
+
<stage abbreviation='IS'>60</stage>
|
1598
|
+
<substage>60</substage>
|
1599
|
+
</status>
|
1600
|
+
<copyright>
|
1601
|
+
<from>2022</from>
|
1602
|
+
<owner>
|
1603
|
+
<organization>
|
1604
|
+
<name>International Organization for Standardization</name>
|
1605
|
+
<abbreviation>ISO</abbreviation>
|
1606
|
+
</organization>
|
1607
|
+
</owner>
|
1608
|
+
</copyright>
|
1609
|
+
<ext>
|
1610
|
+
<doctype>article</doctype>
|
1611
|
+
<editorialgroup>
|
1612
|
+
<technical-committee/>
|
1613
|
+
<subcommittee/>
|
1614
|
+
<workgroup/>
|
1615
|
+
</editorialgroup>
|
1616
|
+
<stagename>International standard</stagename>
|
1617
|
+
</ext>
|
1618
|
+
</bibitem>
|
1619
|
+
</relation>
|
1620
|
+
</bibdata>
|
1621
|
+
<sections>
|
1622
|
+
<clause id='clause1' inline-header='false' obligation='normative'>
|
1623
|
+
<title>Clause 1</title>
|
1624
|
+
</clause>
|
1625
|
+
</sections>
|
1626
|
+
</standard-document>
|
1627
|
+
OUTPUT
|
1628
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
1629
|
+
.to be_equivalent_to xmlpp(output)
|
1630
|
+
end
|
1631
|
+
|
1461
1632
|
it "processes std-link macro" do
|
1462
|
-
VCR.use_cassette
|
1633
|
+
VCR.use_cassette("std-link", match_requests_on: %i[method uri body]) do
|
1463
1634
|
input = <<~INPUT
|
1464
1635
|
#{ISOBIB_BLANK_HDR}
|
1465
1636
|
|
@@ -163,8 +163,9 @@ RSpec.describe Metanorma::Standoc do
|
|
163
163
|
scale::: medium scale
|
164
164
|
place:: bib place
|
165
165
|
extent::
|
166
|
-
|
167
|
-
|
166
|
+
locality:::
|
167
|
+
type:::: section
|
168
|
+
reference_from:::: 7
|
168
169
|
accesslocation::
|
169
170
|
. accesslocation1
|
170
171
|
. accesslocation2
|
@@ -439,8 +440,10 @@ RSpec.describe Metanorma::Standoc do
|
|
439
440
|
<scale>medium scale</scale>
|
440
441
|
</medium>
|
441
442
|
<place>bib place</place>
|
442
|
-
<extent
|
443
|
+
<extent>
|
444
|
+
<locality type="section">
|
443
445
|
<referenceFrom>7</referenceFrom>
|
446
|
+
</locality>
|
444
447
|
</extent>
|
445
448
|
<accesslocation>accesslocation1</accesslocation>
|
446
449
|
<accesslocation>accesslocation2</accesslocation>
|
@@ -534,8 +537,8 @@ RSpec.describe Metanorma::Standoc do
|
|
534
537
|
medium.size:: medium size
|
535
538
|
medium.scale:: medium scale
|
536
539
|
place:: bib place
|
537
|
-
extent.type:: section
|
538
|
-
extent.reference_from:: 7
|
540
|
+
extent.locality.type:: section
|
541
|
+
extent.locality.reference_from:: 7
|
539
542
|
accesslocation:: accesslocation1
|
540
543
|
accesslocation:: accesslocation2
|
541
544
|
classification.type:: type
|
@@ -757,8 +760,10 @@ RSpec.describe Metanorma::Standoc do
|
|
757
760
|
<scale>medium scale</scale>
|
758
761
|
</medium>
|
759
762
|
<place>bib place</place>
|
760
|
-
<extent
|
763
|
+
<extent>
|
764
|
+
<locality type="section">
|
761
765
|
<referenceFrom>7</referenceFrom>
|
766
|
+
</locality>
|
762
767
|
</extent>
|
763
768
|
<accesslocation>accesslocation1</accesslocation>
|
764
769
|
<accesslocation>accesslocation2</accesslocation>
|
@@ -124,7 +124,7 @@ RSpec.describe Metanorma::Standoc do
|
|
124
124
|
<title>Terms and definitions</title>
|
125
125
|
<p id="_">For the purposes of this document,
|
126
126
|
the following terms and definitions apply.</p>
|
127
|
-
<term id="term-
|
127
|
+
<term id="term-Term1">
|
128
128
|
<preferred><expression><name>Term1</name></expression></preferred>
|
129
129
|
</term>
|
130
130
|
</terms>
|
@@ -146,14 +146,14 @@ RSpec.describe Metanorma::Standoc do
|
|
146
146
|
<title>Intro 4</title>
|
147
147
|
<terms id="_" obligation="normative">
|
148
148
|
<title>Intro 5</title>
|
149
|
-
<term id="term-
|
149
|
+
<term id="term-Term1-1">
|
150
150
|
<preferred><expression><name>Term1</name></expression></preferred>
|
151
151
|
</term>
|
152
152
|
</terms>
|
153
153
|
</clause>
|
154
154
|
<terms id="_" obligation="normative">
|
155
155
|
<title>Normal Terms</title>
|
156
|
-
<term id="term-
|
156
|
+
<term id="term-Term2">
|
157
157
|
<preferred><expression><name>Term2</name></expression></preferred>
|
158
158
|
</term>
|
159
159
|
</terms>
|
@@ -277,7 +277,7 @@ RSpec.describe Metanorma::Standoc do
|
|
277
277
|
<terms id='_' number='3bis' obligation='normative'>
|
278
278
|
<title>Terms and definitions</title>
|
279
279
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
280
|
-
<term id='term-
|
280
|
+
<term id='term-Term1' number='4bis'>
|
281
281
|
<preferred><expression><name>Term1</name></expression></preferred>
|
282
282
|
</term>
|
283
283
|
</terms>
|
@@ -290,7 +290,7 @@ RSpec.describe Metanorma::Standoc do
|
|
290
290
|
<title>Intro 1</title>
|
291
291
|
</clause>
|
292
292
|
</clause>
|
293
|
-
<term id='term-
|
293
|
+
<term id='term-Intro-2' number='8bis'>
|
294
294
|
<preferred><expression><name>Intro 2</name></expression></preferred>
|
295
295
|
</term>
|
296
296
|
<definitions id='_' number='9bis' obligation='normative'>
|
@@ -477,7 +477,7 @@ RSpec.describe Metanorma::Standoc do
|
|
477
477
|
<title>Terms and definitions</title>
|
478
478
|
<p id="_">For the purposes of this document,
|
479
479
|
the following terms and definitions apply.</p>
|
480
|
-
<term id="term-
|
480
|
+
<term id="term-Term1" language="en" script="Latn">
|
481
481
|
<preferred><expression><name>Term1</name></expression></preferred>
|
482
482
|
</term>
|
483
483
|
</terms>
|
@@ -499,14 +499,14 @@ RSpec.describe Metanorma::Standoc do
|
|
499
499
|
<title>Intro 4</title>
|
500
500
|
<terms id="_" language="en" script="Latn" obligation="normative">
|
501
501
|
<title>Intro 5</title>
|
502
|
-
<term id="term-
|
502
|
+
<term id="term-Term1-1">
|
503
503
|
<preferred><expression><name>Term1</name></expression></preferred>
|
504
504
|
</term>
|
505
505
|
</terms>
|
506
506
|
</clause>
|
507
507
|
<terms id="_" language="en" script="Latn" obligation="normative">
|
508
508
|
<title>Normal Terms</title>
|
509
|
-
<term id="term-
|
509
|
+
<term id="term-Term2">
|
510
510
|
<preferred><expression><name>Term2</name></expression></preferred>
|
511
511
|
</term>
|
512
512
|
</terms>
|
@@ -632,7 +632,7 @@ RSpec.describe Metanorma::Standoc do
|
|
632
632
|
<terms id='_' obligation='normative'>
|
633
633
|
<title>Terms and definitions</title>
|
634
634
|
<p id="_">For the purposes of this document, the following terms and definitions apply.</p>
|
635
|
-
<term id='term-
|
635
|
+
<term id='term-Term1'>
|
636
636
|
<preferred><expression><name>Term1</name></expression></preferred>
|
637
637
|
</term>
|
638
638
|
</terms>
|
@@ -641,7 +641,7 @@ RSpec.describe Metanorma::Standoc do
|
|
641
641
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
642
642
|
<terms id='_' obligation='normative'>
|
643
643
|
<title>Normal Terms</title>
|
644
|
-
<term id='term-
|
644
|
+
<term id='term-Term2'>
|
645
645
|
<preferred><expression><name>Term2</name></expression></preferred>
|
646
646
|
</term>
|
647
647
|
</terms>
|
@@ -701,7 +701,7 @@ RSpec.describe Metanorma::Standoc do
|
|
701
701
|
<terms id='_' obligation='normative'>
|
702
702
|
<title>Terms and definitions</title>
|
703
703
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
704
|
-
<term id='term-
|
704
|
+
<term id='term-Term' language='en' tag='x123' multilingual-rendering='all-columns'>
|
705
705
|
<preferred>
|
706
706
|
<expression>
|
707
707
|
<name>Term</name>
|
@@ -733,7 +733,7 @@ RSpec.describe Metanorma::Standoc do
|
|
733
733
|
<terms id='_' obligation='normative'>
|
734
734
|
<title>Terms, definitions and symbols</title>
|
735
735
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
736
|
-
<term id='term-
|
736
|
+
<term id='term-Term'>
|
737
737
|
<preferred><expression><name>Term</name></expression></preferred>
|
738
738
|
</term>
|
739
739
|
<definitions id='_' obligation="normative" type="symbols">
|
@@ -765,7 +765,7 @@ RSpec.describe Metanorma::Standoc do
|
|
765
765
|
<terms id='_' obligation='normative'>
|
766
766
|
<title>Terms, definitions and abbreviated terms</title>
|
767
767
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
768
|
-
<term id='term-
|
768
|
+
<term id='term-Term'>
|
769
769
|
<preferred><expression><name>Term</name></expression></preferred>
|
770
770
|
</term>
|
771
771
|
<definitions id='_' obligation="normative" type="abbreviated_terms">
|
@@ -798,7 +798,7 @@ RSpec.describe Metanorma::Standoc do
|
|
798
798
|
<terms id='_' obligation='normative'>
|
799
799
|
<title>Terms, definitions, symbols and abbreviated terms</title>
|
800
800
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
801
|
-
<term id='term-
|
801
|
+
<term id='term-Term'>
|
802
802
|
<preferred><expression><name>Term</name></expression></preferred>
|
803
803
|
</term>
|
804
804
|
<definitions id='_' type='abbreviated_terms' obligation='normative'>
|
@@ -959,7 +959,7 @@ RSpec.describe Metanorma::Standoc do
|
|
959
959
|
<terms id="_" obligation="normative">
|
960
960
|
<title>Terms and definitions</title><p id="_">For the purposes of this document, the terms and definitions
|
961
961
|
given in <eref bibitemid="iso1234"/> and <eref bibitemid="iso5678"/> and the following apply.</p>
|
962
|
-
<term id="term-
|
962
|
+
<term id="term-Term1">
|
963
963
|
<preferred><expression><name>Term1</name></expression></preferred>
|
964
964
|
</term>
|
965
965
|
</terms></sections>
|