metanorma-ieee 1.3.4 → 1.3.6

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: 64f37a09bcd0a24e2a8d4bef90b31984a8b09ff5df27dc62e56010f72a448e1d
4
- data.tar.gz: badb4688f8611ab3f17df678faad8484a9778d83adc6c32bd143bb5e7d859e54
3
+ metadata.gz: 7bed94947472e520546144ef97abcf02e8fe7d2892ebc7e6691845223eef19a4
4
+ data.tar.gz: 5eff3d3949ca61fe5e1cf4bc2585f1f21ad766c70584443b775d9c6e5da9ba28
5
5
  SHA512:
6
- metadata.gz: d0ee1558421bdc365a7d0dd0e049a70e7c6140e24ffda7809f6e92c2cfbc9693830392a11c24c35fe7d6f3546f1cd77df0ea1f79662b262e77ef49f3be887565
7
- data.tar.gz: 46cbd320df62354dade79dbdc7ee2360a2abef040696ebfcc311d510898637655e4973e87b219ce08b0ea55b235d76d6e4f9f24ebd258259a87488361444047a
6
+ metadata.gz: 234d45e36875bcbf19a3823beec80f1d1b93e86a20a43cca597a55e1c84531041c9b2040ec83d94a87b5bcb0428abe3707b59c4db832bfc3744b04cb9150be8c
7
+ data.tar.gz: bc1da6f07b793cf1f7bd11f84b77fd3937c406272fa917000eea081a9a9c3b31db2b4309ea3a7a7917c90ccbb5fd9860d76462f623694eaa1e983e81a877a3a1
@@ -17,9 +17,9 @@ module IsoDoc
17
17
  def scope(node, out, num)
18
18
  out.div **attr_code(id: node["id"]) do |div|
19
19
  num = num + 1
20
- clause_name(node, node&.at(ns("./title")), div, nil)
20
+ clause_name(node, node&.at(ns("./fmt-title")), div, nil)
21
21
  node.elements.each do |e|
22
- parse(e, div) unless e.name == "title"
22
+ parse(e, div) unless e.name == "fmt-title"
23
23
  end
24
24
  end
25
25
  num
@@ -34,8 +34,9 @@ module IsoDoc
34
34
  super.merge(type: node["type"])
35
35
  end
36
36
 
37
- def note_p_parse(node, div)
38
- name = node&.at(ns("./name"))&.remove
37
+ #TODO kill
38
+ def note_p_parsex(node, div)
39
+ name = node&.at(ns("./fmt-name"))&.remove
39
40
  div.p do |p|
40
41
  name and p.span class: "note_label" do |s|
41
42
  name.children.each { |n| parse(n, s) }
@@ -45,7 +46,8 @@ module IsoDoc
45
46
  node.element_children[1..-1].each { |n| parse(n, div) }
46
47
  end
47
48
 
48
- def note_parse1(node, div)
49
+ #TODO kill
50
+ def note_parse1x(node, div)
49
51
  name = node&.at(ns("./name"))&.remove
50
52
  name and div.p do |p|
51
53
  p.span class: "note_label" do |s|
@@ -62,6 +64,12 @@ module IsoDoc
62
64
  name.children.each { |n| parse(n, p) }
63
65
  end
64
66
  end
67
+
68
+ def span_parse(node, out)
69
+ node["class"] == "fmt-obligation" and
70
+ node["class"] = "obligation"
71
+ super
72
+ end
65
73
  end
66
74
  end
67
75
  end
@@ -50,8 +50,8 @@ APMAAAA+BQAAAAA=
50
50
  id="Line_x0020_21" o:spid="_x0000_s2050" style='position:absolute;left:0;
51
51
  text-align:left;z-index:-251660800;visibility:visible;mso-wrap-style:square;
52
52
  mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:0;
53
- mso-wrap-distance-top:.�mm;mso-wrap-distance-right:0;
54
- mso-wrap-distance-bottom:.�mm;mso-position-horizontal:absolute;
53
+ mso-wrap-distance-top:0;mso-wrap-distance-right:0;
54
+ mso-wrap-distance-bottom:0;mso-position-horizontal:absolute;
55
55
  mso-position-horizontal-relative:page;mso-position-vertical:absolute;
56
56
  mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0;
57
57
  mso-width-relative:page;mso-height-relative:page' from="175.8pt,59.2pt" to="336.9pt,59.2pt"
@@ -7,7 +7,7 @@ termsdefsymbols: Definitions, acronyms and abbreviations
7
7
  termsdefabbrev: Definitions, acronyms and abbreviations
8
8
  formula: Equation
9
9
  inequality: Inequality
10
- termnote: NOTE
10
+ termnote: "<span class='fmt-element-name'>NOTE</span> %"
11
11
  example: Example
12
12
  table_of_contents: Contents
13
13
  viewed: accessed