metanorma-iec 1.2.14 → 1.2.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 725593d432b4bdf162ce9becf5bc50c28e8229fbb53f3c0a55c9c1e707d22035
4
- data.tar.gz: 1c800a5db3bec0431e04a79dbe404824e5d61194fba0be755bbeca5d6080ecd7
3
+ metadata.gz: 3c57f323b74d44b8b41a9f2190aea21db6b67d03dd1e70e4bfedc71b01d705ea
4
+ data.tar.gz: 6fb43df2606f8d5b542291b90d58453b8e8aab305fa38dc02e5cc4a369634bdc
5
5
  SHA512:
6
- metadata.gz: 200972ebddea38cfd18c561f1a3272032a16c1e86435a7706991ed8db21206957dbec96e237ec4cb53eee5695b7fde06cf09369fb3d9365dc984897b213b2531
7
- data.tar.gz: 9d42cf2e4c263e83e10ff53d965b88a4bb88bca7869cf768c08119b02a6aec5b9824f77c70d578c9fca06373857b1c24762e18ab07068fd10a5e87d3c6b63073
6
+ metadata.gz: 4fabfd2ee4aa0c1eeeb12ac4fd345f2cea557278d61d2414d4874f427c3951c18ce2c0cbd002c8e3517f5fcb1267fe2b8eda96ee9829216ac8807a40c0b4ce18
7
+ data.tar.gz: b2efc462cc9da6b4750ef00e9fe8e653360db113e3de3f1b42fbb5a93ae4f790d980f93e3cee36891ab5fe13a23c1c2e5cd24febaac429736764be76143dd6fc
@@ -114,6 +114,9 @@
114
114
  <zeroOrMore>
115
115
  <ref name="termdocsource"/>
116
116
  </zeroOrMore>
117
+ <optional>
118
+ <ref name="misccontainer"/>
119
+ </optional>
117
120
  <optional>
118
121
  <ref name="boilerplate"/>
119
122
  </optional>
@@ -125,6 +128,9 @@
125
128
  <ref name="annex"/>
126
129
  </zeroOrMore>
127
130
  <ref name="bibliography"/>
131
+ <zeroOrMore>
132
+ <ref name="indexsect"/>
133
+ </zeroOrMore>
128
134
  </element>
129
135
  </define>
130
136
  </grammar>
@@ -919,6 +919,9 @@
919
919
  </choice>
920
920
  </attribute>
921
921
  <ref name="bibdata"/>
922
+ <optional>
923
+ <ref name="misccontainer"/>
924
+ </optional>
922
925
  <optional>
923
926
  <ref name="boilerplate"/>
924
927
  </optional>
@@ -929,11 +932,21 @@
929
932
  <zeroOrMore>
930
933
  <ref name="annex"/>
931
934
  </zeroOrMore>
935
+ <optional>
936
+ <ref name="bibliography"/>
937
+ </optional>
932
938
  <zeroOrMore>
933
- <ref name="references"/>
939
+ <ref name="indexsect"/>
934
940
  </zeroOrMore>
935
941
  </element>
936
942
  </define>
943
+ <define name="misccontainer">
944
+ <element name="misc-container">
945
+ <oneOrMore>
946
+ <ref name="AnyElement"/>
947
+ </oneOrMore>
948
+ </element>
949
+ </define>
937
950
  <define name="preface">
938
951
  <element name="preface">
939
952
  <oneOrMore>
@@ -957,6 +970,11 @@
957
970
  <ref name="Content-Section"/>
958
971
  </element>
959
972
  </define>
973
+ <define name="indexsect">
974
+ <element name="indexsect">
975
+ <ref name="Content-Section"/>
976
+ </element>
977
+ </define>
960
978
  <define name="boilerplate">
961
979
  <element name="boilerplate">
962
980
  <optional>
@@ -428,6 +428,9 @@
428
428
  <zeroOrMore>
429
429
  <ref name="termdocsource"/>
430
430
  </zeroOrMore>
431
+ <optional>
432
+ <ref name="misccontainer"/>
433
+ </optional>
431
434
  <optional>
432
435
  <ref name="boilerplate"/>
433
436
  </optional>
@@ -439,6 +442,9 @@
439
442
  <ref name="annex"/>
440
443
  </zeroOrMore>
441
444
  <ref name="bibliography"/>
445
+ <zeroOrMore>
446
+ <ref name="indexsect"/>
447
+ </zeroOrMore>
442
448
  </element>
443
449
  </define>
444
450
  <define name="horizontal">
@@ -2150,13 +2150,22 @@
2150
2150
  <xsl:otherwise> <!-- for ordered lists -->
2151
2151
  <xsl:choose>
2152
2152
  <xsl:when test="../@type = 'arabic'">
2153
- <xsl:number format="a)" lang="en"/>
2153
+ <xsl:number format="1)"/>
2154
2154
  </xsl:when>
2155
2155
  <xsl:when test="../@type = 'alphabet'">
2156
2156
  <xsl:number format="a)" lang="en"/>
2157
2157
  </xsl:when>
2158
+ <xsl:when test="../@type = 'alphabet_upper'">
2159
+ <xsl:number format="A." lang="en"/>
2160
+ </xsl:when>
2161
+ <xsl:when test="../@type = 'roman'">
2162
+ <xsl:number format="i)" lang="en"/>
2163
+ </xsl:when>
2164
+ <xsl:when test="../@type = 'roman_upper'">
2165
+ <xsl:number format="I." lang="en"/>
2166
+ </xsl:when>
2158
2167
  <xsl:otherwise>
2159
- <xsl:number format="1)"/>
2168
+ <xsl:number format="a)" lang="en"/>
2160
2169
  </xsl:otherwise>
2161
2170
  </xsl:choose>
2162
2171
  </xsl:otherwise>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "1.2.14"
3
+ VERSION = "1.2.15"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.14
4
+ version: 1.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-jing