metanorma-standoc 2.0.6 → 2.1.1
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 +62 -10
- data/lib/metanorma/standoc/blocks.rb +10 -0
- data/lib/metanorma/standoc/blocks_notes.rb +17 -11
- data/lib/metanorma/standoc/cleanup_block.rb +10 -0
- data/lib/metanorma/standoc/cleanup_boilerplate.rb +15 -7
- data/lib/metanorma/standoc/cleanup_maths.rb +5 -4
- data/lib/metanorma/standoc/cleanup_ref.rb +2 -4
- data/lib/metanorma/standoc/cleanup_reqt.rb +1 -1
- data/lib/metanorma/standoc/cleanup_section.rb +15 -13
- data/lib/metanorma/standoc/cleanup_xref.rb +3 -4
- data/lib/metanorma/standoc/inline.rb +13 -9
- data/lib/metanorma/standoc/isodoc.rng +56 -0
- data/lib/metanorma/standoc/macros.rb +3 -3
- data/lib/metanorma/standoc/macros_embed.rb +1 -3
- data/lib/metanorma/standoc/macros_form.rb +1 -1
- 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/reqt.rb +5 -3
- data/lib/metanorma/standoc/term_lookup_cleanup.rb +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +3 -1
- data/spec/assets/iso.adoc +10 -0
- data/spec/metanorma/blocks_spec.rb +138 -74
- data/spec/metanorma/cleanup_blocks_spec.rb +9 -0
- 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 +28 -11
- data/spec/metanorma/refs_spec.rb +0 -6
- data/spec/metanorma/section_spec.rb +15 -15
- data/spec/metanorma/table_spec.rb +339 -342
- data/spec/spec_helper.rb +2 -5
- data/spec/vcr_cassettes/bsi16341.yml +496 -0
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +84 -84
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +13 -13
- data/spec/vcr_cassettes/hide_refs.yml +172 -172
- data/spec/vcr_cassettes/isobib_get_123.yml +13 -13
- data/spec/vcr_cassettes/isobib_get_123_1.yml +97 -97
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +109 -109
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
- data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +18 -22
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +48 -46
- data/spec/vcr_cassettes/std-link.yml +207 -0
- metadata +21 -4
@@ -352,7 +352,7 @@ RSpec.describe Metanorma::Standoc do
|
|
352
352
|
<terms id='_' obligation='normative'>
|
353
353
|
<title>Terms and definitions</title>
|
354
354
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
355
|
-
<term id='term-
|
355
|
+
<term id='term-Term1'>
|
356
356
|
<preferred><expression><name>Term1</name></expression></preferred>
|
357
357
|
<definition>
|
358
358
|
<verbal-definition>
|
@@ -423,7 +423,7 @@ RSpec.describe Metanorma::Standoc do
|
|
423
423
|
<terms id="_" obligation="normative">
|
424
424
|
<title>Terms and definitions</title>
|
425
425
|
<p id="_">For the purposes of this document, the following terms and definitions apply.</p>
|
426
|
-
<term id="term-
|
426
|
+
<term id="term-Term1">
|
427
427
|
<preferred><expression><name>Term1</name></expression></preferred>
|
428
428
|
<termnote id="_">
|
429
429
|
<p id="_">This is a note</p>
|
@@ -498,7 +498,7 @@ RSpec.describe Metanorma::Standoc do
|
|
498
498
|
<sections>
|
499
499
|
<terms id="_" obligation="normative"><title>Terms, definitions and symbols</title>
|
500
500
|
<p id="_">For the purposes of this document, the following terms and definitions apply.</p>
|
501
|
-
<term id="term-
|
501
|
+
<term id="term-Term1">
|
502
502
|
<preferred><expression><name>Term1</name></expression></preferred>
|
503
503
|
</term>
|
504
504
|
<definitions id="_" obligation="normative" type="symbols">
|
@@ -543,7 +543,7 @@ RSpec.describe Metanorma::Standoc do
|
|
543
543
|
<note id='_'>
|
544
544
|
<p id='_'>Note 1</p>
|
545
545
|
</note>
|
546
|
-
<term id='term-
|
546
|
+
<term id='term-Term11'>
|
547
547
|
<preferred>
|
548
548
|
<expression>
|
549
549
|
<name>Term11</name>
|
@@ -658,7 +658,7 @@ RSpec.describe Metanorma::Standoc do
|
|
658
658
|
#{ASCIIDOC_BLANK_HDR}
|
659
659
|
|
660
660
|
[[ABC]]
|
661
|
-
[CAUTION,type=Safety Precautions,keep-with-next="true",keep-lines-together="true",tag=X,multilingual-rendering=common]
|
661
|
+
[CAUTION,type=Safety Precautions,keep-with-next="true",keep-lines-together="true",tag=X,multilingual-rendering=common,notag=true]
|
662
662
|
.Precautions
|
663
663
|
====
|
664
664
|
While werewolves are hardy community members, keep in mind the following dietary concerns:
|
@@ -671,7 +671,7 @@ RSpec.describe Metanorma::Standoc do
|
|
671
671
|
output = <<~OUTPUT
|
672
672
|
#{BLANK_HDR}
|
673
673
|
<sections>
|
674
|
-
<admonition id="ABC" type="safety precautions" keep-with-next="true" keep-lines-together="true" tag='X' multilingual-rendering='common'>
|
674
|
+
<admonition id="ABC" type="safety precautions" keep-with-next="true" keep-lines-together="true" tag='X' multilingual-rendering='common' notag="true" unnumbered="true">
|
675
675
|
<name>Precautions</name><p id="_">While werewolves are hardy community members, keep in mind the following dietary concerns:</p>
|
676
676
|
<ol id="_" type="arabic">
|
677
677
|
<li>
|
@@ -709,7 +709,7 @@ RSpec.describe Metanorma::Standoc do
|
|
709
709
|
<terms id="_" obligation="normative">
|
710
710
|
<title>Terms and definitions</title>
|
711
711
|
<p id="_">For the purposes of this document, the following terms and definitions apply.</p>
|
712
|
-
<term id="term-
|
712
|
+
<term id="term-Term1">
|
713
713
|
<preferred><expression><name>Term1</name></expression></preferred>
|
714
714
|
<termexample id="ABC" tag='X' multilingual-rendering='common'>
|
715
715
|
<p id="_">This is an example</p>
|
@@ -769,7 +769,7 @@ RSpec.describe Metanorma::Standoc do
|
|
769
769
|
#{BLANK_HDR}
|
770
770
|
<sections>
|
771
771
|
<terms id="_" obligation="normative"><title>Terms, definitions and symbols</title>
|
772
|
-
<p id="_">For the purposes of this document, the following terms and definitions apply.</p><term id="term-
|
772
|
+
<p id="_">For the purposes of this document, the following terms and definitions apply.</p><term id="term-Term1">
|
773
773
|
<preferred><expression><name>Term1</name></expression></preferred>
|
774
774
|
</term>
|
775
775
|
<definitions id="_" obligation="normative" type="symbols">
|
@@ -907,6 +907,29 @@ RSpec.describe Metanorma::Standoc do
|
|
907
907
|
.to be_equivalent_to xmlpp(output)
|
908
908
|
end
|
909
909
|
|
910
|
+
it "does not create subfigures if there is only one nested figure" do
|
911
|
+
input = <<~INPUT
|
912
|
+
#{ASCIIDOC_BLANK_HDR}
|
913
|
+
[[figureC-2]]
|
914
|
+
[.figure]
|
915
|
+
.Stages of gelatinization
|
916
|
+
====
|
917
|
+
image::spec/examples/rice_images/rice_image3_1.png[]
|
918
|
+
====
|
919
|
+
INPUT
|
920
|
+
output = <<~OUTPUT
|
921
|
+
#{BLANK_HDR}
|
922
|
+
<sections>
|
923
|
+
<figure id="figureC-2"><name>Stages of gelatinization</name>
|
924
|
+
<image src="spec/examples/rice_images/rice_image3_1.png" id="_" mimetype="image/png" height="auto" width="auto"/>
|
925
|
+
</figure>
|
926
|
+
</sections>
|
927
|
+
</standard-document>
|
928
|
+
OUTPUT
|
929
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
930
|
+
.to be_equivalent_to xmlpp(output)
|
931
|
+
end
|
932
|
+
|
910
933
|
it "processes figures within examples" do
|
911
934
|
input = <<~INPUT
|
912
935
|
#{ASCIIDOC_BLANK_HDR}
|
@@ -948,6 +971,48 @@ RSpec.describe Metanorma::Standoc do
|
|
948
971
|
.to be_equivalent_to xmlpp(output)
|
949
972
|
end
|
950
973
|
|
974
|
+
it "processes figures marked up as examples" do
|
975
|
+
input = <<~INPUT
|
976
|
+
#{ASCIIDOC_BLANK_HDR}
|
977
|
+
[[figureC-2]]
|
978
|
+
[.figure]
|
979
|
+
.Stages of gelatinization
|
980
|
+
====
|
981
|
+
.Initial stages: No grains are fully gelatinized (ungelatinized starch granules are visible inside the kernels)
|
982
|
+
image::spec/examples/rice_images/rice_image3_1.png[]
|
983
|
+
|
984
|
+
Text
|
985
|
+
|
986
|
+
.Intermediate stages: Some fully gelatinized kernels are visible
|
987
|
+
image::spec/examples/rice_images/rice_image3_2.png[]
|
988
|
+
|
989
|
+
.Final stages: All kernels are fully gelatinized
|
990
|
+
image::spec/examples/rice_images/rice_image3_3.png[]
|
991
|
+
====
|
992
|
+
INPUT
|
993
|
+
output = <<~OUTPUT
|
994
|
+
#{BLANK_HDR}
|
995
|
+
<sections>
|
996
|
+
<figure id="figureC-2"><name>Stages of gelatinization</name><figure id="_">
|
997
|
+
<name>Initial stages: No grains are fully gelatinized (ungelatinized starch granules are visible inside the kernels)</name>
|
998
|
+
<image src="spec/examples/rice_images/rice_image3_1.png" id="_" mimetype="image/png" height="auto" width="auto"/>
|
999
|
+
</figure>
|
1000
|
+
<p id="_">Text</p>
|
1001
|
+
<figure id="_">
|
1002
|
+
<name>Intermediate stages: Some fully gelatinized kernels are visible</name>
|
1003
|
+
<image src="spec/examples/rice_images/rice_image3_2.png" id="_" mimetype="image/png" height="auto" width="auto"/>
|
1004
|
+
</figure>
|
1005
|
+
<figure id="_">
|
1006
|
+
<name>Final stages: All kernels are fully gelatinized</name>
|
1007
|
+
<image src="spec/examples/rice_images/rice_image3_3.png" id="_" mimetype="image/png" height="auto" width="auto"/>
|
1008
|
+
</figure></figure>
|
1009
|
+
</sections>
|
1010
|
+
</standard-document>
|
1011
|
+
OUTPUT
|
1012
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
1013
|
+
.to be_equivalent_to xmlpp(output)
|
1014
|
+
end
|
1015
|
+
|
951
1016
|
it "processes images" do
|
952
1017
|
input = <<~INPUT
|
953
1018
|
#{ASCIIDOC_BLANK_HDR}
|
@@ -1252,7 +1317,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1252
1317
|
<terms id="_" obligation="normative">
|
1253
1318
|
<title>Terms and definitions</title><p id="_">For the purposes of this document,
|
1254
1319
|
the following terms and definitions apply.</p>
|
1255
|
-
<term id="term-
|
1320
|
+
<term id="term-Term1">
|
1256
1321
|
<preferred><expression><name>Term1</name></expression></preferred>
|
1257
1322
|
<definition><verbal-definition><p id='_'>Definition 0</p></verbal-definition></definition>
|
1258
1323
|
<termsource status="identical" type="authoritative">
|
@@ -1270,7 +1335,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1270
1335
|
</origin>
|
1271
1336
|
</termsource>
|
1272
1337
|
</term>
|
1273
|
-
<term id='term-
|
1338
|
+
<term id='term-Term2'>
|
1274
1339
|
<preferred><expression><name>Term2</name></expression></preferred>
|
1275
1340
|
<definition>
|
1276
1341
|
<verbal-definition>
|
@@ -1327,7 +1392,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1327
1392
|
<title>Terms and definitions</title>
|
1328
1393
|
<p id="_">For the purposes of this document,
|
1329
1394
|
the following terms and definitions apply.</p>
|
1330
|
-
<term id="term-
|
1395
|
+
<term id="term-Term1">
|
1331
1396
|
<preferred><expression><name>Term1</name></expression></preferred>
|
1332
1397
|
<definition><verbal-definition><p id='_'>Definition 0</p></verbal-definition></definition>
|
1333
1398
|
<termsource status="modified" type="authoritative">
|
@@ -1341,7 +1406,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1341
1406
|
</modification>
|
1342
1407
|
</termsource>
|
1343
1408
|
</term>
|
1344
|
-
<term id='term-
|
1409
|
+
<term id='term-Term2'>
|
1345
1410
|
<preferred><expression><name>Term2</name></expression></preferred>
|
1346
1411
|
<definition><verbal-definition>
|
1347
1412
|
<p id='_'>Definition</p>
|
@@ -1363,8 +1428,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1363
1428
|
.to be_equivalent_to xmlpp(output)
|
1364
1429
|
end
|
1365
1430
|
|
1366
|
-
|
1367
|
-
it "processes term source attributes" do
|
1431
|
+
it "processes term source attributes" do
|
1368
1432
|
input = <<~INPUT
|
1369
1433
|
#{ASCIIDOC_BLANK_HDR}
|
1370
1434
|
== Terms and Definitions
|
@@ -1384,53 +1448,53 @@ RSpec.describe Metanorma::Standoc do
|
|
1384
1448
|
{{<<IEV:xyz>>}}, with adjustments
|
1385
1449
|
INPUT
|
1386
1450
|
output = <<~OUTPUT
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
OUTPUT
|
1451
|
+
#{BLANK_HDR}
|
1452
|
+
<sections>
|
1453
|
+
<terms id='_' obligation='normative'>
|
1454
|
+
<title>Terms and definitions</title>
|
1455
|
+
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
1456
|
+
<term id='term-Term1'>
|
1457
|
+
<preferred>
|
1458
|
+
<expression>
|
1459
|
+
<name>Term1</name>
|
1460
|
+
</expression>
|
1461
|
+
</preferred>
|
1462
|
+
<definition><verbal-definition><p id='_'>Definition 0</p></verbal-definition></definition>
|
1463
|
+
<termsource status='generalisation' type='authoritative'>
|
1464
|
+
<origin bibitemid='ISO2191' type='inline' citeas=''>
|
1465
|
+
<localityStack>
|
1466
|
+
<locality type='section'>
|
1467
|
+
<referenceFrom>1</referenceFrom>
|
1468
|
+
</locality>
|
1469
|
+
</localityStack>
|
1470
|
+
</origin>
|
1471
|
+
<modification>
|
1472
|
+
<p id='_'>with adjustments</p>
|
1473
|
+
</modification>
|
1474
|
+
</termsource>
|
1475
|
+
</term>
|
1476
|
+
<term id='term-Term2'>
|
1477
|
+
<preferred>
|
1478
|
+
<expression>
|
1479
|
+
<name>Term2</name>
|
1480
|
+
</expression>
|
1481
|
+
</preferred>
|
1482
|
+
<definition><verbal-definition>
|
1483
|
+
<p id='_'>Definition</p>
|
1484
|
+
</verbal-definition></definition>
|
1485
|
+
<termsource status='modified' type='lineage'>
|
1486
|
+
<origin citeas=''>
|
1487
|
+
<termref base='IEV' target='xyz'/>
|
1488
|
+
</origin>
|
1489
|
+
<modification>
|
1490
|
+
<p id='_'>with adjustments</p>
|
1491
|
+
</modification>
|
1492
|
+
</termsource>
|
1493
|
+
</term>
|
1494
|
+
</terms>
|
1495
|
+
</sections>
|
1496
|
+
</standard-document>
|
1497
|
+
OUTPUT
|
1434
1498
|
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
1435
1499
|
.to be_equivalent_to xmlpp(output)
|
1436
1500
|
end
|
@@ -1444,19 +1508,19 @@ OUTPUT
|
|
1444
1508
|
====
|
1445
1509
|
INPUT
|
1446
1510
|
output = <<~"OUTPUT"
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1511
|
+
#{BLANK_HDR}
|
1512
|
+
<sections>
|
1513
|
+
<recommendation id="_" unnumbered="true" type="verification" model="ogc" tag='X' multilingual-rendering='common'>
|
1514
|
+
<label>/ogc/recommendation/wfs/2</label>
|
1515
|
+
<subject>user</subject>
|
1516
|
+
<subject>developer, implementer</subject>
|
1517
|
+
<inherit>/ss/584/2015/level/1</inherit>
|
1518
|
+
<inherit>/ss/584/2015/level/2</inherit>
|
1519
|
+
<description><p id="_">I recommend this</p>
|
1520
|
+
</description>
|
1521
|
+
</recommendation>
|
1522
|
+
</sections>
|
1523
|
+
</standard-document>
|
1460
1524
|
OUTPUT
|
1461
1525
|
|
1462
1526
|
expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
|
@@ -985,6 +985,12 @@ RSpec.describe Metanorma::Standoc do
|
|
985
985
|
====
|
986
986
|
Notice which is very important
|
987
987
|
====
|
988
|
+
|
989
|
+
[IMPORTANT,coverpage=true]
|
990
|
+
====
|
991
|
+
Notice which is also very important
|
992
|
+
====
|
993
|
+
|
988
994
|
INPUT
|
989
995
|
output = <<~OUTPUT
|
990
996
|
#{BLANK_HDR}
|
@@ -992,6 +998,9 @@ RSpec.describe Metanorma::Standoc do
|
|
992
998
|
<note id='_'>
|
993
999
|
<p id='_'>Note which is very important</p>
|
994
1000
|
</note>
|
1001
|
+
<admonition id='_' type='important' coverpage='true'>
|
1002
|
+
<p id='_'>Notice which is also very important</p>
|
1003
|
+
</admonition>
|
995
1004
|
<foreword id='_' obligation='informative'>
|
996
1005
|
<title>Foreword</title>
|
997
1006
|
<p id='_'>Foreword</p>
|
@@ -27,7 +27,7 @@ RSpec.describe Metanorma::Standoc do
|
|
27
27
|
<p id='_'>So am I</p>
|
28
28
|
</li>
|
29
29
|
</ul>
|
30
|
-
<term id="term-
|
30
|
+
<term id="term-Time">
|
31
31
|
<preferred><expression><name>Time</name></expression></preferred>
|
32
32
|
<definition><verbal-definition><p id="_">This paragraph is extraneous</p></verbal-definition></definition>
|
33
33
|
</term></terms>
|
@@ -520,7 +520,7 @@ RSpec.describe Metanorma::Standoc do
|
|
520
520
|
</fn>
|
521
521
|
</title>
|
522
522
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
523
|
-
<term id='term-
|
523
|
+
<term id='term-Term1'>
|
524
524
|
<preferred><expression><name>Term1</name></expression></preferred>
|
525
525
|
</term>
|
526
526
|
</terms>
|
@@ -795,7 +795,7 @@ RSpec.describe Metanorma::Standoc do
|
|
795
795
|
<terms id='_' obligation='normative'>
|
796
796
|
<title>Terms and definitions</title>
|
797
797
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
798
|
-
<term id='term-
|
798
|
+
<term id='term-Term1'>
|
799
799
|
<preferred><expression><name>Term1</name></expression></preferred>
|
800
800
|
</term>
|
801
801
|
</terms>
|
@@ -1032,7 +1032,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1032
1032
|
Pour les besoins du présent document, les termes et définitions suivants
|
1033
1033
|
s’appliquent.
|
1034
1034
|
</p>
|
1035
|
-
<term id='term-
|
1035
|
+
<term id='term-Term1'>
|
1036
1036
|
<preferred><expression><name>Term1</name></expression></preferred>
|
1037
1037
|
</term>
|
1038
1038
|
</terms>
|
@@ -1266,7 +1266,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1266
1266
|
<terms id='_' obligation='normative'>
|
1267
1267
|
<title>术语和定义</title>
|
1268
1268
|
<p id='_'>下列术语和定义适用于本文件。</p>
|
1269
|
-
<term id='term-
|
1269
|
+
<term id='term-Term1'>
|
1270
1270
|
<preferred><expression><name>Term1</name></expression></preferred>
|
1271
1271
|
</term>
|
1272
1272
|
</terms>
|
@@ -1500,7 +1500,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1500
1500
|
<terms id='_' obligation='normative'>
|
1501
1501
|
<title>Terms and definitions</title>
|
1502
1502
|
<p id='_'>For the purposes of this document, the following terms and definitions apply.</p>
|
1503
|
-
<term id='term-
|
1503
|
+
<term id='term-Term1'>
|
1504
1504
|
<preferred><expression><name>Term1</name></expression></preferred>
|
1505
1505
|
</term>
|
1506
1506
|
</terms>
|
@@ -435,7 +435,7 @@ RSpec.describe Metanorma::Standoc do
|
|
435
435
|
<terms id="_" obligation="normative">
|
436
436
|
<title>Terms and definitions</title>
|
437
437
|
<p id="_">For the purposes of this document, the following terms and definitions apply.</p>
|
438
|
-
<term id="term-
|
438
|
+
<term id="term-Term1">
|
439
439
|
<preferred><expression><name>Term1</name></expression></preferred>
|
440
440
|
<definition><verbal-definition><p id='_'>Definition 0</p></verbal-definition></definition>
|
441
441
|
<termsource status="identical" type="authoritative">
|
@@ -554,7 +554,7 @@ RSpec.describe Metanorma::Standoc do
|
|
554
554
|
<sections>
|
555
555
|
<terms id="_" obligation="normative"><title>Terms and definitions</title>
|
556
556
|
<p id="_">For the purposes of this document, the following terms and definitions apply.</p>
|
557
|
-
<term id="term-
|
557
|
+
<term id="term-Automation1">
|
558
558
|
<preferred><expression><name>Automation1</name></expression></preferred>
|
559
559
|
<definition><verbal-definition><p id='_'>Definition 1</p></verbal-definition></definition>
|
560
560
|
<termsource status="identical" type="authoritative">
|
@@ -565,7 +565,7 @@ RSpec.describe Metanorma::Standoc do
|
|
565
565
|
</origin>
|
566
566
|
</termsource>
|
567
567
|
</term>
|
568
|
-
<term id="term-
|
568
|
+
<term id="term-Automation2">
|
569
569
|
<preferred><expression><name>Automation2</name></expression></preferred>
|
570
570
|
<definition><verbal-definition><p id='_'>Definition 2</p></verbal-definition></definition>
|
571
571
|
<termsource status="identical" type="authoritative">
|
@@ -576,7 +576,7 @@ RSpec.describe Metanorma::Standoc do
|
|
576
576
|
</origin>
|
577
577
|
</termsource>
|
578
578
|
</term>
|
579
|
-
<term id="term-
|
579
|
+
<term id="term-Automation3">
|
580
580
|
<preferred><expression><name>Automation3</name></expression></preferred>
|
581
581
|
<definition><verbal-definition><p id='_'>Definition 3</p></verbal-definition></definition>
|
582
582
|
<termsource status="identical" type="authoritative">
|
@@ -1149,7 +1149,7 @@ RSpec.describe Metanorma::Standoc do
|
|
1149
1149
|
<dd>
|
1150
1150
|
<p id='_'>Definition 3</p>
|
1151
1151
|
</dd>
|
1152
|
-
<dt id='symbol-
|
1152
|
+
<dt id='symbol-Xa'>Xa</dt>
|
1153
1153
|
<dd>
|
1154
1154
|
<p id='_'>Definition 2</p>
|
1155
1155
|
</dd>
|