metanorma-csa 2.0.2 → 2.0.5
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 +1205 -318
- data/lib/isodoc/csa/html/csa.css +1 -2
- data/lib/isodoc/csa/html/csa.scss +0 -1
- data/lib/isodoc/csa/html/wordstyle.css +20 -0
- data/lib/isodoc/csa/html/wordstyle.scss +19 -0
- data/lib/metanorma/csa/basicdoc.rng +5 -3
- data/lib/metanorma/csa/biblio.rng +5 -3
- data/lib/metanorma/csa/isodoc.rng +73 -3
- data/lib/metanorma/csa/version.rb +1 -1
- metadata +2 -2
data/lib/isodoc/csa/html/csa.css
CHANGED
@@ -786,8 +786,7 @@ div.example p.MsoListParagraph {
|
|
786
786
|
font-size: {{smallerfontsize}}; }
|
787
787
|
|
788
788
|
div.Note p.MsoListParagraph {
|
789
|
-
font-size: {{smallerfontsize}};
|
790
|
-
margin-left: 1.0cm; }
|
789
|
+
font-size: {{smallerfontsize}}; }
|
791
790
|
|
792
791
|
div.Note span.stem {
|
793
792
|
font-size: {{smallerfontsize}}; }
|
@@ -844,6 +844,26 @@ p.Tablebody, li.Tablebody, div.Tablebody {
|
|
844
844
|
mso-bidi-font-family: {{bodyfont}};
|
845
845
|
mso-ansi-language: EN-GB; }
|
846
846
|
|
847
|
+
p.TOCTitle, li.TOCTitle, div.TOCTitle {
|
848
|
+
mso-style-name: "TOC Title";
|
849
|
+
mso-style-unhide: no;
|
850
|
+
margin-top: 0in;
|
851
|
+
margin-right: 0in;
|
852
|
+
margin-bottom: {{normalfontsize}};
|
853
|
+
margin-left: 0in;
|
854
|
+
text-align: left;
|
855
|
+
page-break-after: avoid;
|
856
|
+
mso-pagination: none;
|
857
|
+
mso-hyphenate: none;
|
858
|
+
mso-layout-grid-align: none;
|
859
|
+
font-size: {{normalfontsize}};
|
860
|
+
mso-bidi-font-size: 10.0pt;
|
861
|
+
font-weight: bold;
|
862
|
+
font-family: {{headerfont}};
|
863
|
+
mso-fareast-font-family: {{headerfont}};
|
864
|
+
mso-bidi-font-family: {{headerfont}};
|
865
|
+
mso-fareast-language: EN-US; }
|
866
|
+
|
847
867
|
/* Page Definitions */
|
848
868
|
@page {
|
849
869
|
size: 612.0pt 792.0pt;
|
@@ -793,6 +793,25 @@ p.Tablebody, li.Tablebody, div.Tablebody
|
|
793
793
|
mso-fareast-font-family:$bodyfont;
|
794
794
|
mso-bidi-font-family:$bodyfont;
|
795
795
|
mso-ansi-language:EN-GB;}
|
796
|
+
p.TOCTitle, li.TOCTitle, div.TOCTitle
|
797
|
+
{mso-style-name:"TOC Title";
|
798
|
+
mso-style-unhide:no;
|
799
|
+
margin-top:0in;
|
800
|
+
margin-right:0in;
|
801
|
+
margin-bottom:$normalfontsize;
|
802
|
+
margin-left:0in;
|
803
|
+
text-align:left;
|
804
|
+
page-break-after:avoid;
|
805
|
+
mso-pagination:none;
|
806
|
+
mso-hyphenate:none;
|
807
|
+
mso-layout-grid-align:none;
|
808
|
+
font-size:$normalfontsize;
|
809
|
+
mso-bidi-font-size:10.0pt;
|
810
|
+
font-weight:bold;
|
811
|
+
font-family:$headerfont;
|
812
|
+
mso-fareast-font-family:$headerfont;
|
813
|
+
mso-bidi-font-family:$headerfont;
|
814
|
+
mso-fareast-language:EN-US;}
|
796
815
|
|
797
816
|
|
798
817
|
/* Page Definitions */
|
@@ -173,9 +173,11 @@
|
|
173
173
|
<data type="dateTime"/>
|
174
174
|
</attribute>
|
175
175
|
</optional>
|
176
|
-
<
|
177
|
-
<
|
178
|
-
|
176
|
+
<optional>
|
177
|
+
<attribute name="from">
|
178
|
+
<data type="IDREF"/>
|
179
|
+
</attribute>
|
180
|
+
</optional>
|
179
181
|
<optional>
|
180
182
|
<attribute name="to">
|
181
183
|
<data type="IDREF"/>
|
@@ -209,9 +209,6 @@
|
|
209
209
|
<zeroOrMore>
|
210
210
|
<ref name="contact"/>
|
211
211
|
</zeroOrMore>
|
212
|
-
<zeroOrMore>
|
213
|
-
<ref name="uri"/>
|
214
|
-
</zeroOrMore>
|
215
212
|
</element>
|
216
213
|
</define>
|
217
214
|
<define name="fullname">
|
@@ -828,6 +825,11 @@
|
|
828
825
|
<optional>
|
829
826
|
<attribute name="scope"/>
|
830
827
|
</optional>
|
828
|
+
<optional>
|
829
|
+
<attribute name="primary">
|
830
|
+
<data type="boolean"/>
|
831
|
+
</attribute>
|
832
|
+
</optional>
|
831
833
|
<text/>
|
832
834
|
</element>
|
833
835
|
</define>
|
@@ -152,9 +152,7 @@
|
|
152
152
|
<data type="boolean"/>
|
153
153
|
</attribute>
|
154
154
|
</optional>
|
155
|
-
<
|
156
|
-
<ref name="PureTextElement"/>
|
157
|
-
</oneOrMore>
|
155
|
+
<ref name="XrefBody"/>
|
158
156
|
</element>
|
159
157
|
</define>
|
160
158
|
<define name="erefType">
|
@@ -188,6 +186,42 @@
|
|
188
186
|
<ref name="PureTextElement"/>
|
189
187
|
</oneOrMore>
|
190
188
|
</define>
|
189
|
+
<define name="localityStack">
|
190
|
+
<element name="localityStack">
|
191
|
+
<optional>
|
192
|
+
<attribute name="connective">
|
193
|
+
<choice>
|
194
|
+
<value>and</value>
|
195
|
+
<value>or</value>
|
196
|
+
<value>from</value>
|
197
|
+
<value>to</value>
|
198
|
+
<value/>
|
199
|
+
</choice>
|
200
|
+
</attribute>
|
201
|
+
</optional>
|
202
|
+
<zeroOrMore>
|
203
|
+
<ref name="locality"/>
|
204
|
+
</zeroOrMore>
|
205
|
+
</element>
|
206
|
+
</define>
|
207
|
+
<define name="sourceLocalityStack">
|
208
|
+
<element name="sourceLocalityStack">
|
209
|
+
<optional>
|
210
|
+
<attribute name="connective">
|
211
|
+
<choice>
|
212
|
+
<value>and</value>
|
213
|
+
<value>or</value>
|
214
|
+
<value>from</value>
|
215
|
+
<value>to</value>
|
216
|
+
<value/>
|
217
|
+
</choice>
|
218
|
+
</attribute>
|
219
|
+
</optional>
|
220
|
+
<zeroOrMore>
|
221
|
+
<ref name="sourceLocality"/>
|
222
|
+
</zeroOrMore>
|
223
|
+
</element>
|
224
|
+
</define>
|
191
225
|
<define name="ul">
|
192
226
|
<element name="ul">
|
193
227
|
<attribute name="id">
|
@@ -1098,6 +1132,16 @@
|
|
1098
1132
|
</define>
|
1099
1133
|
</include>
|
1100
1134
|
<!-- end overrides -->
|
1135
|
+
<define name="image" combine="choice">
|
1136
|
+
<element name="svg">
|
1137
|
+
<oneOrMore>
|
1138
|
+
<choice>
|
1139
|
+
<text/>
|
1140
|
+
<ref name="AnyElement"/>
|
1141
|
+
</choice>
|
1142
|
+
</oneOrMore>
|
1143
|
+
</element>
|
1144
|
+
</define>
|
1101
1145
|
<define name="MultilingualRenderingType">
|
1102
1146
|
<choice>
|
1103
1147
|
<value>common</value>
|
@@ -2631,4 +2675,30 @@
|
|
2631
2675
|
</zeroOrMore>
|
2632
2676
|
</element>
|
2633
2677
|
</define>
|
2678
|
+
<define name="XrefBody">
|
2679
|
+
<zeroOrMore>
|
2680
|
+
<ref name="XrefTarget"/>
|
2681
|
+
</zeroOrMore>
|
2682
|
+
<oneOrMore>
|
2683
|
+
<ref name="PureTextElement"/>
|
2684
|
+
</oneOrMore>
|
2685
|
+
</define>
|
2686
|
+
<define name="XrefTarget">
|
2687
|
+
<element name="location">
|
2688
|
+
<attribute name="target">
|
2689
|
+
<data type="string">
|
2690
|
+
<param name="pattern">\i\c*|\c+#\c+</param>
|
2691
|
+
</data>
|
2692
|
+
</attribute>
|
2693
|
+
<attribute name="connective">
|
2694
|
+
<choice>
|
2695
|
+
<value>and</value>
|
2696
|
+
<value>or</value>
|
2697
|
+
<value>from</value>
|
2698
|
+
<value>to</value>
|
2699
|
+
<value/>
|
2700
|
+
</choice>
|
2701
|
+
</attribute>
|
2702
|
+
</element>
|
2703
|
+
</define>
|
2634
2704
|
</grammar>
|
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.0.
|
4
|
+
version: 2.0.5
|
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-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|