metanorma-ietf 2.4.3 → 2.5.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/ietf/basicdoc.rng +21 -4
- data/lib/asciidoctor/ietf/cleanup.rb +2 -0
- data/lib/asciidoctor/ietf/ietf.rng +9 -24
- data/lib/asciidoctor/ietf/isodoc.rng +446 -77
- data/lib/asciidoctor/ietf/reqt.rng +23 -2
- data/lib/isodoc/ietf/blocks.rb +3 -2
- data/lib/isodoc/ietf/cleanup.rb +148 -203
- data/lib/isodoc/ietf/cleanup_inline.rb +76 -0
- data/lib/isodoc/ietf/reqt.rb +63 -59
- data/lib/isodoc/ietf/rfc_convert.rb +2 -0
- data/lib/isodoc/ietf/terms.rb +52 -45
- data/lib/metanorma/ietf/version.rb +1 -1
- data/metanorma-ietf.gemspec +2 -4
- metadata +7 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2d4894fa5f829d7b49228514a64317990ec1747c1f3f327545a919b714aa054
|
4
|
+
data.tar.gz: 7058f5103647d0917da435023afef57236c803413e59b6dab3382e5ab8a84d0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd64d4822df68c4df3338ac56abe2159991ed4065c8eacfb5eb1474a1900410ab732a186883486492538538b8344d60fb2b9090008c673fcae1ac1120c1c3e18
|
7
|
+
data.tar.gz: 73051c3782f02ae2d4ad8f2592f534eb3d2f1abd34620c1bc15c3d8034d51ad1aac2e3d552d11c489ea0f81b940844ea7198d0b598d9a9f1a4a30a4dd2b304b2
|
@@ -624,6 +624,9 @@
|
|
624
624
|
<choice>
|
625
625
|
<ref name="PureTextElement"/>
|
626
626
|
<ref name="stem"/>
|
627
|
+
<ref name="eref"/>
|
628
|
+
<ref name="xref"/>
|
629
|
+
<ref name="hyperlink"/>
|
627
630
|
</choice>
|
628
631
|
</zeroOrMore>
|
629
632
|
</element>
|
@@ -634,6 +637,9 @@
|
|
634
637
|
<choice>
|
635
638
|
<ref name="PureTextElement"/>
|
636
639
|
<ref name="stem"/>
|
640
|
+
<ref name="eref"/>
|
641
|
+
<ref name="xref"/>
|
642
|
+
<ref name="hyperlink"/>
|
637
643
|
</choice>
|
638
644
|
</zeroOrMore>
|
639
645
|
</element>
|
@@ -641,7 +647,12 @@
|
|
641
647
|
<define name="tt">
|
642
648
|
<element name="tt">
|
643
649
|
<zeroOrMore>
|
644
|
-
<
|
650
|
+
<choice>
|
651
|
+
<ref name="PureTextElement"/>
|
652
|
+
<ref name="eref"/>
|
653
|
+
<ref name="xref"/>
|
654
|
+
<ref name="hyperlink"/>
|
655
|
+
</choice>
|
645
656
|
</zeroOrMore>
|
646
657
|
</element>
|
647
658
|
</define>
|
@@ -822,7 +833,9 @@
|
|
822
833
|
<attribute name="alt"/>
|
823
834
|
</optional>
|
824
835
|
<ref name="CitationType"/>
|
825
|
-
<
|
836
|
+
<oneOrMore>
|
837
|
+
<ref name="PureTextElement"/>
|
838
|
+
</oneOrMore>
|
826
839
|
</define>
|
827
840
|
<define name="hyperlink">
|
828
841
|
<element name="link">
|
@@ -835,7 +848,9 @@
|
|
835
848
|
<optional>
|
836
849
|
<attribute name="alt"/>
|
837
850
|
</optional>
|
838
|
-
<
|
851
|
+
<oneOrMore>
|
852
|
+
<ref name="PureTextElement"/>
|
853
|
+
</oneOrMore>
|
839
854
|
</element>
|
840
855
|
</define>
|
841
856
|
<define name="xref">
|
@@ -849,7 +864,9 @@
|
|
849
864
|
<optional>
|
850
865
|
<attribute name="alt"/>
|
851
866
|
</optional>
|
852
|
-
<
|
867
|
+
<oneOrMore>
|
868
|
+
<ref name="PureTextElement"/>
|
869
|
+
</oneOrMore>
|
853
870
|
</element>
|
854
871
|
</define>
|
855
872
|
<define name="fn">
|
@@ -65,6 +65,8 @@ module Asciidoctor
|
|
65
65
|
n.text.gsub(/\u2019|\u2018|\u201a|\u201b/, "'")
|
66
66
|
.gsub(/\u201c|\u201d|\u201e|\u201f/, '"')
|
67
67
|
.gsub(/[\u2010-\u2015]/, "-")
|
68
|
+
.gsub(/\u2026/, "...")
|
69
|
+
.gsub(/[\u200b-\u200c]/, "")
|
68
70
|
.gsub(/[\u2000-\u200a]|\u202f|\u205f/, " "),
|
69
71
|
:basic,
|
70
72
|
))
|
@@ -459,14 +459,9 @@
|
|
459
459
|
<ref name="section-title"/>
|
460
460
|
</optional>
|
461
461
|
<group>
|
462
|
-
<
|
463
|
-
<
|
464
|
-
|
465
|
-
</zeroOrMore>
|
466
|
-
<zeroOrMore>
|
467
|
-
<ref name="note"/>
|
468
|
-
</zeroOrMore>
|
469
|
-
</group>
|
462
|
+
<zeroOrMore>
|
463
|
+
<ref name="BasicBlock"/>
|
464
|
+
</zeroOrMore>
|
470
465
|
<zeroOrMore>
|
471
466
|
<choice>
|
472
467
|
<ref name="clause-subsection"/>
|
@@ -508,14 +503,9 @@
|
|
508
503
|
<ref name="section-title"/>
|
509
504
|
</optional>
|
510
505
|
<group>
|
511
|
-
<
|
512
|
-
<
|
513
|
-
|
514
|
-
</zeroOrMore>
|
515
|
-
<zeroOrMore>
|
516
|
-
<ref name="note"/>
|
517
|
-
</zeroOrMore>
|
518
|
-
</group>
|
506
|
+
<zeroOrMore>
|
507
|
+
<ref name="BasicBlock"/>
|
508
|
+
</zeroOrMore>
|
519
509
|
<zeroOrMore>
|
520
510
|
<ref name="clause-subsection"/>
|
521
511
|
</zeroOrMore>
|
@@ -547,14 +537,9 @@
|
|
547
537
|
<ref name="section-title"/>
|
548
538
|
</optional>
|
549
539
|
<group>
|
550
|
-
<
|
551
|
-
<
|
552
|
-
|
553
|
-
</zeroOrMore>
|
554
|
-
<zeroOrMore>
|
555
|
-
<ref name="note"/>
|
556
|
-
</zeroOrMore>
|
557
|
-
</group>
|
540
|
+
<zeroOrMore>
|
541
|
+
<ref name="BasicBlock"/>
|
542
|
+
</zeroOrMore>
|
558
543
|
<zeroOrMore>
|
559
544
|
<ref name="content-subsection"/>
|
560
545
|
</zeroOrMore>
|