metanorma-csa 2.1.11 → 2.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/csa/csa.standard.xsl +311 -69
- data/lib/isodoc/csa/html/htmlstyle.css +6 -0
- data/lib/isodoc/csa/html/wordstyle.css +150 -0
- data/lib/isodoc/csa/html/wordstyle.scss +144 -0
- data/lib/metanorma/csa/biblio.rng +5 -0
- data/lib/metanorma/csa/isodoc.rng +47 -13
- data/lib/metanorma/csa/version.rb +1 -1
- data/metanorma-csa.gemspec +3 -2
- metadata +4 -11
- data/.github/workflows/automerge.yml +0 -31
- data/.github/workflows/rake.yml +0 -15
- data/.github/workflows/release.yml +0 -24
- data/Rakefile +0 -8
- data/bin/console +0 -14
- data/bin/rspec +0 -18
- data/bin/setup +0 -8
@@ -268,6 +268,12 @@ main {
|
|
268
268
|
padding-left: 30px; }
|
269
269
|
#toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
270
270
|
padding-left: 50px; }
|
271
|
+
#toc .h4, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h4 {
|
272
|
+
padding-left: 70px; }
|
273
|
+
#toc .h5, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h5 {
|
274
|
+
padding-left: 90px; }
|
275
|
+
#toc .h6, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h6 {
|
276
|
+
padding-left: 110px; }
|
271
277
|
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
272
278
|
background: #4D7EA5;
|
273
279
|
box-shadow: inset -5px 0px 10px -5px #4D7EA5 !important; }
|
@@ -683,6 +683,156 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
|
|
683
683
|
font-weight: bold;
|
684
684
|
mso-bidi-font-weight: normal; }
|
685
685
|
|
686
|
+
p.MsoToc4, li.MsoToc4, div.MsoToc4 {
|
687
|
+
mso-style-noshow: yes;
|
688
|
+
mso-style-priority: 39;
|
689
|
+
mso-style-unhide: no;
|
690
|
+
mso-style-name: "TOC 4";
|
691
|
+
mso-style-parent: "TOC 3";
|
692
|
+
mso-style-next: Normal;
|
693
|
+
margin-top: 0cm;
|
694
|
+
margin-right: 25.0pt;
|
695
|
+
margin-bottom: 0cm;
|
696
|
+
margin-left: 36.0pt;
|
697
|
+
margin-bottom: .0001pt;
|
698
|
+
text-indent: -36.0pt;
|
699
|
+
line-height: 12.0pt;
|
700
|
+
mso-pagination: widow-orphan;
|
701
|
+
mso-hyphenate: none;
|
702
|
+
tab-stops: 20.15pt 47.9pt right dotted 487.6pt;
|
703
|
+
font-size: 10.5pt;
|
704
|
+
font-family: {{bodyfont}};
|
705
|
+
mso-fareast-font-family: {{bodyfont}};
|
706
|
+
mso-bidi-font-family: {{bodyfont}};
|
707
|
+
mso-ansi-language: EN-GB;
|
708
|
+
font-weight: bold;
|
709
|
+
mso-bidi-font-weight: normal; }
|
710
|
+
|
711
|
+
p.MsoToc5, li.MsoToc5, div.MsoToc5 {
|
712
|
+
mso-style-noshow: yes;
|
713
|
+
mso-style-priority: 39;
|
714
|
+
mso-style-unhide: no;
|
715
|
+
mso-style-name: "TOC 5";
|
716
|
+
mso-style-parent: "TOC 4";
|
717
|
+
mso-style-next: Normal;
|
718
|
+
margin-top: 0cm;
|
719
|
+
margin-right: 25.0pt;
|
720
|
+
margin-bottom: 0cm;
|
721
|
+
margin-left: 36.0pt;
|
722
|
+
margin-bottom: .0001pt;
|
723
|
+
text-indent: -36.0pt;
|
724
|
+
line-height: 12.0pt;
|
725
|
+
mso-pagination: widow-orphan;
|
726
|
+
mso-hyphenate: none;
|
727
|
+
tab-stops: 20.15pt 47.9pt right dotted 487.6pt;
|
728
|
+
font-size: 10.5pt;
|
729
|
+
font-family: {{bodyfont}};
|
730
|
+
mso-fareast-font-family: {{bodyfont}};
|
731
|
+
mso-bidi-font-family: {{bodyfont}};
|
732
|
+
mso-ansi-language: EN-GB;
|
733
|
+
font-weight: bold;
|
734
|
+
mso-bidi-font-weight: normal; }
|
735
|
+
|
736
|
+
p.MsoToc6, li.MsoToc6, div.MsoToc6 {
|
737
|
+
mso-style-noshow: yes;
|
738
|
+
mso-style-priority: 39;
|
739
|
+
mso-style-unhide: no;
|
740
|
+
mso-style-name: "TOC 6";
|
741
|
+
mso-style-parent: "TOC 5";
|
742
|
+
mso-style-next: Normal;
|
743
|
+
margin-top: 0cm;
|
744
|
+
margin-right: 25.0pt;
|
745
|
+
margin-bottom: 0cm;
|
746
|
+
margin-left: 36.0pt;
|
747
|
+
margin-bottom: .0001pt;
|
748
|
+
text-indent: -36.0pt;
|
749
|
+
line-height: 12.0pt;
|
750
|
+
mso-pagination: widow-orphan;
|
751
|
+
mso-hyphenate: none;
|
752
|
+
tab-stops: 20.15pt 55.0pt right dotted 487.6pt;
|
753
|
+
font-size: 10.5pt;
|
754
|
+
font-family: {{bodyfont}};
|
755
|
+
mso-fareast-font-family: {{bodyfont}};
|
756
|
+
mso-bidi-font-family: {{bodyfont}};
|
757
|
+
mso-ansi-language: EN-GB;
|
758
|
+
font-weight: bold;
|
759
|
+
mso-bidi-font-weight: normal; }
|
760
|
+
|
761
|
+
p.MsoToc7, li.MsoToc7, div.MsoToc7 {
|
762
|
+
mso-style-noshow: yes;
|
763
|
+
mso-style-priority: 39;
|
764
|
+
mso-style-unhide: no;
|
765
|
+
mso-style-name: "TOC 7";
|
766
|
+
mso-style-parent: "TOC 6";
|
767
|
+
mso-style-next: Normal;
|
768
|
+
margin-top: 0cm;
|
769
|
+
margin-right: 25.0pt;
|
770
|
+
margin-bottom: 0cm;
|
771
|
+
margin-left: 36.0pt;
|
772
|
+
margin-bottom: .0001pt;
|
773
|
+
text-indent: -36.0pt;
|
774
|
+
line-height: 12.0pt;
|
775
|
+
mso-pagination: widow-orphan;
|
776
|
+
mso-hyphenate: none;
|
777
|
+
tab-stops: 20.15pt 62.7pt right dotted 487.6pt;
|
778
|
+
font-size: 10.5pt;
|
779
|
+
font-family: {{bodyfont}};
|
780
|
+
mso-fareast-font-family: {{bodyfont}};
|
781
|
+
mso-bidi-font-family: {{bodyfont}};
|
782
|
+
mso-ansi-language: EN-GB;
|
783
|
+
font-weight: bold;
|
784
|
+
mso-bidi-font-weight: normal; }
|
785
|
+
|
786
|
+
p.MsoToc8, li.MsoToc8, div.MsoToc8 {
|
787
|
+
mso-style-noshow: yes;
|
788
|
+
mso-style-priority: 39;
|
789
|
+
mso-style-unhide: no;
|
790
|
+
mso-style-name: "TOC 8";
|
791
|
+
mso-style-parent: "TOC 7";
|
792
|
+
mso-style-next: Normal;
|
793
|
+
margin-top: 0cm;
|
794
|
+
margin-right: 25.0pt;
|
795
|
+
margin-bottom: 0cm;
|
796
|
+
margin-left: 36.0pt;
|
797
|
+
margin-bottom: .0001pt;
|
798
|
+
text-indent: -36.0pt;
|
799
|
+
line-height: 12.0pt;
|
800
|
+
mso-pagination: widow-orphan;
|
801
|
+
mso-hyphenate: none;
|
802
|
+
tab-stops: 20.15pt 70.3pt right dotted 487.6pt;
|
803
|
+
font-size: 10.5pt;
|
804
|
+
font-family: {{bodyfont}};
|
805
|
+
mso-fareast-font-family: {{bodyfont}};
|
806
|
+
mso-bidi-font-family: {{bodyfont}};
|
807
|
+
mso-ansi-language: EN-GB;
|
808
|
+
font-weight: bold;
|
809
|
+
mso-bidi-font-weight: normal; }
|
810
|
+
|
811
|
+
p.MsoToc9, li.MsoToc9, div.MsoToc9 {
|
812
|
+
mso-style-noshow: yes;
|
813
|
+
mso-style-priority: 39;
|
814
|
+
mso-style-unhide: no;
|
815
|
+
mso-style-name: "TOC 9";
|
816
|
+
mso-style-parent: "TOC 8";
|
817
|
+
mso-style-next: Normal;
|
818
|
+
margin-top: 0cm;
|
819
|
+
margin-right: 25.0pt;
|
820
|
+
margin-bottom: 0cm;
|
821
|
+
margin-left: 36.0pt;
|
822
|
+
margin-bottom: .0001pt;
|
823
|
+
text-indent: -36.0pt;
|
824
|
+
line-height: 12.0pt;
|
825
|
+
mso-pagination: widow-orphan;
|
826
|
+
mso-hyphenate: none;
|
827
|
+
tab-stops: 20.15pt 78.0pt right dotted 487.6pt;
|
828
|
+
font-size: 10.5pt;
|
829
|
+
font-family: {{bodyfont}};
|
830
|
+
mso-fareast-font-family: {{bodyfont}};
|
831
|
+
mso-bidi-font-family: {{bodyfont}};
|
832
|
+
mso-ansi-language: EN-GB;
|
833
|
+
font-weight: bold;
|
834
|
+
mso-bidi-font-weight: normal; }
|
835
|
+
|
686
836
|
span.MsoFootnoteReference {
|
687
837
|
mso-style-priority: 99;
|
688
838
|
mso-style-name: "Footnote Reference";
|
@@ -642,6 +642,150 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
642
642
|
mso-ansi-language:EN-GB;
|
643
643
|
font-weight:bold;
|
644
644
|
mso-bidi-font-weight:normal;}
|
645
|
+
p.MsoToc4, li.MsoToc4, div.MsoToc4
|
646
|
+
{mso-style-noshow:yes;
|
647
|
+
mso-style-priority:39;
|
648
|
+
mso-style-unhide:no;
|
649
|
+
mso-style-name:"TOC 4";
|
650
|
+
mso-style-parent:"TOC 3";
|
651
|
+
mso-style-next:Normal;
|
652
|
+
margin-top:0cm;
|
653
|
+
margin-right:25.0pt;
|
654
|
+
margin-bottom:0cm;
|
655
|
+
margin-left:36.0pt;
|
656
|
+
margin-bottom:.0001pt;
|
657
|
+
text-indent:-36.0pt;
|
658
|
+
line-height:12.0pt;
|
659
|
+
mso-pagination:widow-orphan;
|
660
|
+
mso-hyphenate:none;
|
661
|
+
tab-stops:20.15pt 47.9pt right dotted 487.6pt;
|
662
|
+
font-size:10.5pt;
|
663
|
+
font-family:$bodyfont;
|
664
|
+
mso-fareast-font-family:$bodyfont;
|
665
|
+
mso-bidi-font-family:$bodyfont;
|
666
|
+
mso-ansi-language:EN-GB;
|
667
|
+
font-weight:bold;
|
668
|
+
mso-bidi-font-weight:normal;}
|
669
|
+
p.MsoToc5, li.MsoToc5, div.MsoToc5
|
670
|
+
{mso-style-noshow:yes;
|
671
|
+
mso-style-priority:39;
|
672
|
+
mso-style-unhide:no;
|
673
|
+
mso-style-name:"TOC 5";
|
674
|
+
mso-style-parent:"TOC 4";
|
675
|
+
mso-style-next:Normal;
|
676
|
+
margin-top:0cm;
|
677
|
+
margin-right:25.0pt;
|
678
|
+
margin-bottom:0cm;
|
679
|
+
margin-left:36.0pt;
|
680
|
+
margin-bottom:.0001pt;
|
681
|
+
text-indent:-36.0pt;
|
682
|
+
line-height:12.0pt;
|
683
|
+
mso-pagination:widow-orphan;
|
684
|
+
mso-hyphenate:none;
|
685
|
+
tab-stops:20.15pt 47.9pt right dotted 487.6pt;
|
686
|
+
font-size:10.5pt;
|
687
|
+
font-family:$bodyfont;
|
688
|
+
mso-fareast-font-family:$bodyfont;
|
689
|
+
mso-bidi-font-family:$bodyfont;
|
690
|
+
mso-ansi-language:EN-GB;
|
691
|
+
font-weight:bold;
|
692
|
+
mso-bidi-font-weight:normal;}
|
693
|
+
p.MsoToc6, li.MsoToc6, div.MsoToc6
|
694
|
+
{mso-style-noshow:yes;
|
695
|
+
mso-style-priority:39;
|
696
|
+
mso-style-unhide:no;
|
697
|
+
mso-style-name:"TOC 6";
|
698
|
+
mso-style-parent:"TOC 5";
|
699
|
+
mso-style-next:Normal;
|
700
|
+
margin-top:0cm;
|
701
|
+
margin-right:25.0pt;
|
702
|
+
margin-bottom:0cm;
|
703
|
+
margin-left:36.0pt;
|
704
|
+
margin-bottom:.0001pt;
|
705
|
+
text-indent:-36.0pt;
|
706
|
+
line-height:12.0pt;
|
707
|
+
mso-pagination:widow-orphan;
|
708
|
+
mso-hyphenate:none;
|
709
|
+
tab-stops:20.15pt 55.0pt right dotted 487.6pt;
|
710
|
+
font-size:10.5pt;
|
711
|
+
font-family:$bodyfont;
|
712
|
+
mso-fareast-font-family:$bodyfont;
|
713
|
+
mso-bidi-font-family:$bodyfont;
|
714
|
+
mso-ansi-language:EN-GB;
|
715
|
+
font-weight:bold;
|
716
|
+
mso-bidi-font-weight:normal;}
|
717
|
+
p.MsoToc7, li.MsoToc7, div.MsoToc7
|
718
|
+
{mso-style-noshow:yes;
|
719
|
+
mso-style-priority:39;
|
720
|
+
mso-style-unhide:no;
|
721
|
+
mso-style-name:"TOC 7";
|
722
|
+
mso-style-parent:"TOC 6";
|
723
|
+
mso-style-next:Normal;
|
724
|
+
margin-top:0cm;
|
725
|
+
margin-right:25.0pt;
|
726
|
+
margin-bottom:0cm;
|
727
|
+
margin-left:36.0pt;
|
728
|
+
margin-bottom:.0001pt;
|
729
|
+
text-indent:-36.0pt;
|
730
|
+
line-height:12.0pt;
|
731
|
+
mso-pagination:widow-orphan;
|
732
|
+
mso-hyphenate:none;
|
733
|
+
tab-stops:20.15pt 62.7pt right dotted 487.6pt;
|
734
|
+
font-size:10.5pt;
|
735
|
+
font-family:$bodyfont;
|
736
|
+
mso-fareast-font-family:$bodyfont;
|
737
|
+
mso-bidi-font-family:$bodyfont;
|
738
|
+
mso-ansi-language:EN-GB;
|
739
|
+
font-weight:bold;
|
740
|
+
mso-bidi-font-weight:normal;}
|
741
|
+
p.MsoToc8, li.MsoToc8, div.MsoToc8
|
742
|
+
{mso-style-noshow:yes;
|
743
|
+
mso-style-priority:39;
|
744
|
+
mso-style-unhide:no;
|
745
|
+
mso-style-name:"TOC 8";
|
746
|
+
mso-style-parent:"TOC 7";
|
747
|
+
mso-style-next:Normal;
|
748
|
+
margin-top:0cm;
|
749
|
+
margin-right:25.0pt;
|
750
|
+
margin-bottom:0cm;
|
751
|
+
margin-left:36.0pt;
|
752
|
+
margin-bottom:.0001pt;
|
753
|
+
text-indent:-36.0pt;
|
754
|
+
line-height:12.0pt;
|
755
|
+
mso-pagination:widow-orphan;
|
756
|
+
mso-hyphenate:none;
|
757
|
+
tab-stops:20.15pt 70.3pt right dotted 487.6pt;
|
758
|
+
font-size:10.5pt;
|
759
|
+
font-family:$bodyfont;
|
760
|
+
mso-fareast-font-family:$bodyfont;
|
761
|
+
mso-bidi-font-family:$bodyfont;
|
762
|
+
mso-ansi-language:EN-GB;
|
763
|
+
font-weight:bold;
|
764
|
+
mso-bidi-font-weight:normal;}
|
765
|
+
p.MsoToc9, li.MsoToc9, div.MsoToc9
|
766
|
+
{mso-style-noshow:yes;
|
767
|
+
mso-style-priority:39;
|
768
|
+
mso-style-unhide:no;
|
769
|
+
mso-style-name:"TOC 9";
|
770
|
+
mso-style-parent:"TOC 8";
|
771
|
+
mso-style-next:Normal;
|
772
|
+
margin-top:0cm;
|
773
|
+
margin-right:25.0pt;
|
774
|
+
margin-bottom:0cm;
|
775
|
+
margin-left:36.0pt;
|
776
|
+
margin-bottom:.0001pt;
|
777
|
+
text-indent:-36.0pt;
|
778
|
+
line-height:12.0pt;
|
779
|
+
mso-pagination:widow-orphan;
|
780
|
+
mso-hyphenate:none;
|
781
|
+
tab-stops:20.15pt 78.0pt right dotted 487.6pt;
|
782
|
+
font-size:10.5pt;
|
783
|
+
font-family:$bodyfont;
|
784
|
+
mso-fareast-font-family:$bodyfont;
|
785
|
+
mso-bidi-font-family:$bodyfont;
|
786
|
+
mso-ansi-language:EN-GB;
|
787
|
+
font-weight:bold;
|
788
|
+
mso-bidi-font-weight:normal;}
|
645
789
|
span.MsoFootnoteReference
|
646
790
|
{mso-style-priority:99;
|
647
791
|
mso-style-name:"Footnote Reference";
|
@@ -188,6 +188,11 @@
|
|
188
188
|
<value>adapter</value>
|
189
189
|
<value>translator</value>
|
190
190
|
<value>distributor</value>
|
191
|
+
<value>realizer</value>
|
192
|
+
<value>owner</value>
|
193
|
+
<value>authorizer</value>
|
194
|
+
<value>enabler</value>
|
195
|
+
<value>subject</value>
|
191
196
|
</choice>
|
192
197
|
</attribute>
|
193
198
|
<zeroOrMore>
|
@@ -177,11 +177,7 @@
|
|
177
177
|
</optional>
|
178
178
|
<optional>
|
179
179
|
<attribute name="style">
|
180
|
-
<
|
181
|
-
<value>basic</value>
|
182
|
-
<value>full</value>
|
183
|
-
<value>short</value>
|
184
|
-
</choice>
|
180
|
+
<ref name="XrefStyleType"/>
|
185
181
|
</attribute>
|
186
182
|
</optional>
|
187
183
|
<ref name="XrefBody"/>
|
@@ -1031,6 +1027,7 @@
|
|
1031
1027
|
<ref name="stem"/>
|
1032
1028
|
<ref name="index"/>
|
1033
1029
|
<ref name="eref"/>
|
1030
|
+
<ref name="erefstack"/>
|
1034
1031
|
<ref name="xref"/>
|
1035
1032
|
<ref name="hyperlink"/>
|
1036
1033
|
</choice>
|
@@ -1045,6 +1042,7 @@
|
|
1045
1042
|
<ref name="stem"/>
|
1046
1043
|
<ref name="index"/>
|
1047
1044
|
<ref name="eref"/>
|
1045
|
+
<ref name="erefstack"/>
|
1048
1046
|
<ref name="xref"/>
|
1049
1047
|
<ref name="hyperlink"/>
|
1050
1048
|
</choice>
|
@@ -1058,6 +1056,7 @@
|
|
1058
1056
|
<ref name="PureTextElement"/>
|
1059
1057
|
<ref name="index"/>
|
1060
1058
|
<ref name="eref"/>
|
1059
|
+
<ref name="erefstack"/>
|
1061
1060
|
<ref name="xref"/>
|
1062
1061
|
<ref name="hyperlink"/>
|
1063
1062
|
</choice>
|
@@ -1153,7 +1152,7 @@
|
|
1153
1152
|
<data type="boolean"/>
|
1154
1153
|
</attribute>
|
1155
1154
|
</optional>
|
1156
|
-
<ref name="
|
1155
|
+
<ref name="ReducedBibliographicItem"/>
|
1157
1156
|
</element>
|
1158
1157
|
</define>
|
1159
1158
|
<define name="image" combine="choice">
|
@@ -1195,6 +1194,7 @@
|
|
1195
1194
|
<ref name="add"/>
|
1196
1195
|
<ref name="del"/>
|
1197
1196
|
<ref name="span"/>
|
1197
|
+
<ref name="erefstack"/>
|
1198
1198
|
</choice>
|
1199
1199
|
</define>
|
1200
1200
|
<define name="add">
|
@@ -1202,6 +1202,7 @@
|
|
1202
1202
|
<choice>
|
1203
1203
|
<ref name="PureTextElement"/>
|
1204
1204
|
<ref name="eref"/>
|
1205
|
+
<ref name="erefstack"/>
|
1205
1206
|
<ref name="stem"/>
|
1206
1207
|
<ref name="keyword"/>
|
1207
1208
|
<ref name="xref"/>
|
@@ -1214,6 +1215,7 @@
|
|
1214
1215
|
<choice>
|
1215
1216
|
<ref name="PureTextElement"/>
|
1216
1217
|
<ref name="eref"/>
|
1218
|
+
<ref name="erefstack"/>
|
1217
1219
|
<ref name="stem"/>
|
1218
1220
|
<ref name="keyword"/>
|
1219
1221
|
<ref name="xref"/>
|
@@ -1278,6 +1280,7 @@
|
|
1278
1280
|
</optional>
|
1279
1281
|
<choice>
|
1280
1282
|
<ref name="eref"/>
|
1283
|
+
<ref name="erefstack"/>
|
1281
1284
|
<ref name="xref"/>
|
1282
1285
|
<ref name="termref"/>
|
1283
1286
|
</choice>
|
@@ -1970,6 +1973,7 @@
|
|
1970
1973
|
</element>
|
1971
1974
|
<choice>
|
1972
1975
|
<ref name="eref"/>
|
1976
|
+
<ref name="erefstack"/>
|
1973
1977
|
<ref name="xref"/>
|
1974
1978
|
<ref name="termref"/>
|
1975
1979
|
</choice>
|
@@ -2525,6 +2529,7 @@
|
|
2525
2529
|
<ref name="xref"/>
|
2526
2530
|
<ref name="hyperlink"/>
|
2527
2531
|
<ref name="eref"/>
|
2532
|
+
<ref name="erefstack"/>
|
2528
2533
|
</choice>
|
2529
2534
|
<oneOrMore>
|
2530
2535
|
<element name="coords">
|
@@ -2572,6 +2577,7 @@
|
|
2572
2577
|
<ref name="xref"/>
|
2573
2578
|
<ref name="hyperlink"/>
|
2574
2579
|
<ref name="eref"/>
|
2580
|
+
<ref name="erefstack"/>
|
2575
2581
|
</choice>
|
2576
2582
|
</element>
|
2577
2583
|
</zeroOrMore>
|
@@ -2620,6 +2626,15 @@
|
|
2620
2626
|
<ref name="PureTextElement"/>
|
2621
2627
|
</oneOrMore>
|
2622
2628
|
</define>
|
2629
|
+
<define name="XrefConnectiveType">
|
2630
|
+
<choice>
|
2631
|
+
<value>and</value>
|
2632
|
+
<value>or</value>
|
2633
|
+
<value>from</value>
|
2634
|
+
<value>to</value>
|
2635
|
+
<value/>
|
2636
|
+
</choice>
|
2637
|
+
</define>
|
2623
2638
|
<define name="XrefTarget">
|
2624
2639
|
<element name="location">
|
2625
2640
|
<attribute name="target">
|
@@ -2628,16 +2643,35 @@
|
|
2628
2643
|
</data>
|
2629
2644
|
</attribute>
|
2630
2645
|
<attribute name="connective">
|
2631
|
-
<
|
2632
|
-
<value>and</value>
|
2633
|
-
<value>or</value>
|
2634
|
-
<value>from</value>
|
2635
|
-
<value>to</value>
|
2636
|
-
<value/>
|
2637
|
-
</choice>
|
2646
|
+
<ref name="XrefConnectiveType"/>
|
2638
2647
|
</attribute>
|
2639
2648
|
</element>
|
2640
2649
|
</define>
|
2650
|
+
<define name="XrefStyleType">
|
2651
|
+
<choice>
|
2652
|
+
<value>basic</value>
|
2653
|
+
<value>full</value>
|
2654
|
+
<value>short</value>
|
2655
|
+
<value>id</value>
|
2656
|
+
</choice>
|
2657
|
+
</define>
|
2658
|
+
<define name="erefTypeWithConnective">
|
2659
|
+
<optional>
|
2660
|
+
<attribute name="connective">
|
2661
|
+
<ref name="XrefConnectiveType"/>
|
2662
|
+
</attribute>
|
2663
|
+
</optional>
|
2664
|
+
<ref name="erefType"/>
|
2665
|
+
</define>
|
2666
|
+
<define name="erefstack">
|
2667
|
+
<element name="erefstack">
|
2668
|
+
<oneOrMore>
|
2669
|
+
<element name="eref">
|
2670
|
+
<ref name="erefTypeWithConnective"/>
|
2671
|
+
</element>
|
2672
|
+
</oneOrMore>
|
2673
|
+
</element>
|
2674
|
+
</define>
|
2641
2675
|
<start>
|
2642
2676
|
<ref name="standard-document"/>
|
2643
2677
|
</start>
|
data/metanorma-csa.gemspec
CHANGED
@@ -21,12 +21,13 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.license = "BSD-2-Clause"
|
22
22
|
|
23
23
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
24
|
-
f.match(%r{^(test|spec|features)/})
|
24
|
+
f.match(%r{^(test|spec|features|bin|.github)/}) \
|
25
|
+
|| f.match(%r{Rakefile|bin/rspec})
|
25
26
|
end
|
26
27
|
spec.bindir = "exe"
|
27
28
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
29
|
spec.require_paths = ["lib"]
|
29
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.
|
30
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
30
31
|
|
31
32
|
spec.add_dependency "metanorma-generic", "~> 2.2.2"
|
32
33
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -176,9 +176,6 @@ executables: []
|
|
176
176
|
extensions: []
|
177
177
|
extra_rdoc_files: []
|
178
178
|
files:
|
179
|
-
- ".github/workflows/automerge.yml"
|
180
|
-
- ".github/workflows/rake.yml"
|
181
|
-
- ".github/workflows/release.yml"
|
182
179
|
- ".gitignore"
|
183
180
|
- ".hound.yml"
|
184
181
|
- ".rubocop.yml"
|
@@ -186,10 +183,6 @@ files:
|
|
186
183
|
- Gemfile
|
187
184
|
- LICENSE
|
188
185
|
- README.adoc
|
189
|
-
- Rakefile
|
190
|
-
- bin/console
|
191
|
-
- bin/rspec
|
192
|
-
- bin/setup
|
193
186
|
- lib/isodoc/csa/base_convert.rb
|
194
187
|
- lib/isodoc/csa/csa.standard.xsl
|
195
188
|
- lib/isodoc/csa/html/csa-logo-white.png
|
@@ -244,14 +237,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
244
237
|
requirements:
|
245
238
|
- - ">="
|
246
239
|
- !ruby/object:Gem::Version
|
247
|
-
version: 2.
|
240
|
+
version: 2.7.0
|
248
241
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
249
242
|
requirements:
|
250
243
|
- - ">="
|
251
244
|
- !ruby/object:Gem::Version
|
252
245
|
version: '0'
|
253
246
|
requirements: []
|
254
|
-
rubygems_version: 3.
|
247
|
+
rubygems_version: 3.3.7
|
255
248
|
signing_key:
|
256
249
|
specification_version: 4
|
257
250
|
summary: metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc.
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
# source: https://github.com/marketplace/actions/merge-pull-requests#usage
|
4
|
-
name: automerge
|
5
|
-
on:
|
6
|
-
pull_request:
|
7
|
-
types:
|
8
|
-
- labeled
|
9
|
-
- unlabeled
|
10
|
-
- synchronize
|
11
|
-
- opened
|
12
|
-
- edited
|
13
|
-
- ready_for_review
|
14
|
-
- reopened
|
15
|
-
- unlocked
|
16
|
-
pull_request_review:
|
17
|
-
types:
|
18
|
-
- submitted
|
19
|
-
check_suite:
|
20
|
-
types:
|
21
|
-
- completed
|
22
|
-
status: {}
|
23
|
-
jobs:
|
24
|
-
automerge:
|
25
|
-
runs-on: ubuntu-latest
|
26
|
-
steps:
|
27
|
-
- id: automerge
|
28
|
-
name: automerge
|
29
|
-
uses: "pascalgn/automerge-action@v0.15.3"
|
30
|
-
env:
|
31
|
-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
data/.github/workflows/rake.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: rake
|
4
|
-
|
5
|
-
on:
|
6
|
-
push:
|
7
|
-
branches: [ master, main ]
|
8
|
-
tags: [ v* ]
|
9
|
-
pull_request:
|
10
|
-
|
11
|
-
jobs:
|
12
|
-
notify:
|
13
|
-
uses: metanorma/ci/.github/workflows/mn-processor-rake.yml@main
|
14
|
-
secrets:
|
15
|
-
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
-
# See https://github.com/metanorma/cimas
|
3
|
-
name: release
|
4
|
-
|
5
|
-
on:
|
6
|
-
workflow_dispatch:
|
7
|
-
inputs:
|
8
|
-
next_version:
|
9
|
-
description: |
|
10
|
-
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
11
|
-
required: true
|
12
|
-
default: 'skip'
|
13
|
-
push:
|
14
|
-
tags: [ v* ]
|
15
|
-
|
16
|
-
jobs:
|
17
|
-
release:
|
18
|
-
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
19
|
-
with:
|
20
|
-
next_version: ${{ github.event.inputs.next_version }}
|
21
|
-
secrets:
|
22
|
-
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
23
|
-
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
24
|
-
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'bundler/setup'
|
4
|
-
require 'metanorma-csa'
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require 'irb'
|
14
|
-
IRB.start(__FILE__)
|
data/bin/rspec
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# This file was generated by Bundler.
|
4
|
-
#
|
5
|
-
# The application 'rspec' is installed as part of a gem, and
|
6
|
-
# this file is here to facilitate running it.
|
7
|
-
#
|
8
|
-
|
9
|
-
require "pathname"
|
10
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path(
|
11
|
-
"../../Gemfile", Pathname.new(__FILE__).realpath
|
12
|
-
)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("rspec-core", "rspec")
|
18
|
-
|