metanorma-iec 0.1.2 → 0.1.3

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: 48263a7614294561a2577b0e4ba1cc0b7e059ca9828d17c74c463a6c844fe0cd
4
- data.tar.gz: 7e07b0cd665b25c1f53d69df8f8468e0ea94aa295450611e997165c6b8a01c8d
3
+ metadata.gz: 791e0446cdca0987cbd2580e0dd1f46810a94b5f207690c1a19b34d031a4534d
4
+ data.tar.gz: e829f43e99a04958cebe1b0e15747ba1da153f72a55dd3ca46126d36b62cc2bd
5
5
  SHA512:
6
- metadata.gz: 11d8b762d159293e32cdc2d71d539eaa728c5e89788a8ed628e03f56af35f79dfe91d6a2327b7879934e76a4e602b21692171fae2b943f71e081656392313cb0
7
- data.tar.gz: b206a77da3013cfbf41f5e886575cb4a9cb13013b69f015d4e68c6253047643dff7d2640fb61c1d2da5dcc21d501fc8839ad5238add7badfb2990eec675f98ab
6
+ metadata.gz: b445d972ef8066a86d0b47b474bea70f016157281b339f5ac5b6be9c187d5ef6cf2bacf11625c37079255fbae5e32a88080952df2fecc386cd92de2fd6e5040a
7
+ data.tar.gz: 82153ac1677b3fc90da29bb8a752f3785898e61c1d7cf478870f24541d47c1b46c8481660f59d53ca8e425e849ffb14570c6259be4c2ae8a3345559ca0ff7be4
@@ -52,9 +52,9 @@
52
52
  <optional>
53
53
  <ref name="section-title"/>
54
54
  </optional>
55
- <optional>
55
+ <zeroOrMore>
56
56
  <ref name="BasicBlock"/>
57
- </optional>
57
+ </zeroOrMore>
58
58
  <zeroOrMore>
59
59
  <ref name="note"/>
60
60
  </zeroOrMore>
@@ -567,6 +567,7 @@
567
567
  <ref name="pagebreak"/>
568
568
  <ref name="bookmark"/>
569
569
  <ref name="image"/>
570
+ <ref name="index"/>
570
571
  </choice>
571
572
  </define>
572
573
  <define name="PureTextElement">
@@ -691,6 +692,17 @@
691
692
  <empty/>
692
693
  </element>
693
694
  </define>
695
+ <define name="index">
696
+ <element name="index">
697
+ <attribute name="primary"/>
698
+ <optional>
699
+ <attribute name="secondary"/>
700
+ </optional>
701
+ <optional>
702
+ <attribute name="tertiary"/>
703
+ </optional>
704
+ </element>
705
+ </define>
694
706
  <!-- bare ID element, used for referencing arbitrary spans of text -->
695
707
  <define name="bookmark">
696
708
  <element name="bookmark">
@@ -207,9 +207,9 @@
207
207
  </optional>
208
208
  <choice>
209
209
  <group>
210
- <optional>
210
+ <zeroOrMore>
211
211
  <ref name="BasicBlock"/>
212
- </optional>
212
+ </zeroOrMore>
213
213
  <zeroOrMore>
214
214
  <ref name="note"/>
215
215
  </zeroOrMore>
@@ -244,9 +244,9 @@
244
244
  </optional>
245
245
  <choice>
246
246
  <group>
247
- <optional>
247
+ <zeroOrMore>
248
248
  <ref name="BasicBlock"/>
249
- </optional>
249
+ </zeroOrMore>
250
250
  <zeroOrMore>
251
251
  <ref name="note"/>
252
252
  </zeroOrMore>
@@ -289,9 +289,9 @@
289
289
  </optional>
290
290
  <choice>
291
291
  <group>
292
- <optional>
292
+ <zeroOrMore>
293
293
  <ref name="BasicBlock"/>
294
- </optional>
294
+ </zeroOrMore>
295
295
  <zeroOrMore>
296
296
  <ref name="note"/>
297
297
  </zeroOrMore>
@@ -76,10 +76,12 @@
76
76
  <define name="sections">
77
77
  <element name="sections">
78
78
  <ref name="clause"/>
79
- <choice>
80
- <ref name="term-clause"/>
81
- <ref name="terms"/>
82
- </choice>
79
+ <optional>
80
+ <choice>
81
+ <ref name="term-clause"/>
82
+ <ref name="terms"/>
83
+ </choice>
84
+ </optional>
83
85
  <optional>
84
86
  <ref name="definitions"/>
85
87
  </optional>
@@ -397,6 +399,7 @@
397
399
  </optional>
398
400
  <choice>
399
401
  <ref name="image"/>
402
+ <ref name="pre"/>
400
403
  <oneOrMore>
401
404
  <ref name="subfigure"/>
402
405
  </oneOrMore>
@@ -30,7 +30,7 @@ p.pseudocode, li.pseudocode, div.pseudocode
30
30
  text-align:left;
31
31
  mso-pagination:widow-orphan;
32
32
  layout-grid-mode:char;
33
- font-size:9.0pt;
33
+ font-size:10.0pt;
34
34
  mso-bidi-font-size:10.0pt;
35
35
  font-family:"Arial",sans-serif;
36
36
  mso-fareast-font-family:"Times New Roman";
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
6
6
 
@@ -273,8 +273,7 @@ RSpec.describe IsoDoc do
273
273
  <tbody>
274
274
  <tr>
275
275
  <td style="border-top:solid windowtext 1.5pt;mso-border-top-alt:solid windowtext 1.5pt;border-bottom:solid windowtext 1.5pt;mso-border-bottom-alt:solid windowtext 1.5pt;" class="TABLE-cell">
276
- <p class="CODE-TableCell" style='page-break-after:avoid;'><a name="B" id="B"></a>puts "Hello, world."</p>
277
- <p class='SourceTitle' style='text-align:center;'>Figure A.2</p>
276
+ <p class="CODE-TableCell"><a name="B" id="B"></a>puts "Hello, world."</p>
278
277
  </td>
279
278
  </tr>
280
279
  </tbody>
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: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-13 00:00:00.000000000 Z
11
+ date: 2019-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-jing