metanorma-ieee 1.3.4 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/ieee/base_convert.rb +13 -5
- data/lib/isodoc/ieee/html/word_ieee_colophon_wp.html +2 -2
- data/lib/isodoc/ieee/i18n-en.yaml +1 -1
- data/lib/isodoc/ieee/ieee.amendment.xsl +1507 -1096
- data/lib/isodoc/ieee/ieee.standard.xsl +1507 -1096
- data/lib/isodoc/ieee/presentation_ref.rb +2 -2
- data/lib/isodoc/ieee/presentation_terms.rb +7 -8
- data/lib/isodoc/ieee/presentation_xml_convert.rb +22 -8
- data/lib/isodoc/ieee/word_cleanup_blocks.rb +0 -16
- data/lib/isodoc/ieee/word_convert.rb +40 -22
- data/lib/isodoc/ieee/word_wp_convert.rb +4 -4
- data/lib/isodoc/ieee/xref.rb +21 -13
- data/lib/metanorma/ieee/biblio.rng +13 -1
- data/lib/metanorma/ieee/cleanup.rb +2 -0
- data/lib/metanorma/ieee/isodoc.rng +6 -6
- data/lib/metanorma/ieee/version.rb +1 -1
- data/metanorma-ieee.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79bf9fc27f2a671b7c06ff6ff2ad1796c774550211d73fc9c4261a8ff4980a86
|
4
|
+
data.tar.gz: 5eb7827bb6fc641eff8dbf3c6328478337a1aa09576e6055eed205183b02971e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00f98dbecc50bd67373d991ade070d2b871fef895b2cbe0c9b9cde469bef0bff401b49d559325c6e7f39820265071ab13d245b03fdaadaff08f832e7cb2b0850
|
7
|
+
data.tar.gz: 394bcfa2d7406b5df96bce417f13837b1b68c17e52244752d84b3f5fd4ed17bbb9f2bc0daf2c696d2fa98d7f592be636b6909f1f8b1ee956153ad160ae561687
|
@@ -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
|
-
|
38
|
-
|
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
|
-
|
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
|
54
|
-
mso-wrap-distance-bottom
|
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
|