metanorma-ieee 1.4.9 → 1.5.1
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 +1 -24
- data/lib/isodoc/ieee/html/ieee.css +12 -6
- data/lib/isodoc/ieee/html/ieee.scss +12 -6
- data/lib/isodoc/ieee/ieee.amendment.xsl +828 -625
- data/lib/isodoc/ieee/ieee.standard.xsl +828 -625
- data/lib/isodoc/ieee/presentation_concepts.rb +9 -8
- data/lib/isodoc/ieee/presentation_xml_convert.rb +0 -5
- data/lib/isodoc/ieee/word_cleanup_blocks.rb +92 -2
- data/lib/isodoc/ieee/word_convert.rb +6 -5
- data/lib/metanorma/ieee/basicdoc.rng +5 -5
- data/lib/metanorma/ieee/front.rb +1 -1
- data/lib/metanorma/ieee/isodoc.rng +57 -6
- data/lib/metanorma/ieee/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82137fa7e1e6eb0c4f40b23a8e0c62a597e8943cebb27665598dfaded221ab30
|
4
|
+
data.tar.gz: 94d546f26e65755a9f9d3cf70ecbc1feb97a5fad68f1ada22184e2edd4f6c1a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa81b9d4e96409b12e3a8079dd5e342ddf1b933a3b8544a10c9d8b536c2521623abc1504ee290061e30bec1838180828fea94c72a1872009993f47238ab7b116
|
7
|
+
data.tar.gz: 900bc942fa1bbbbba7113eb4f97385d325ae835dfbf7d5179ea8d6a37ca7f8542237beb528b2751f7313d61ee6026bbb92b89d598d23666e830e02a0f9c89ca8
|
@@ -34,29 +34,6 @@ module IsoDoc
|
|
34
34
|
super.merge(type: node["type"])
|
35
35
|
end
|
36
36
|
|
37
|
-
#TODO kill
|
38
|
-
def note_p_parsex(node, div)
|
39
|
-
name = node&.at(ns("./fmt-name"))&.remove
|
40
|
-
div.p do |p|
|
41
|
-
name and p.span class: "note_label" do |s|
|
42
|
-
name.children.each { |n| parse(n, s) }
|
43
|
-
end
|
44
|
-
node.first_element_child.children.each { |n| parse(n, p) }
|
45
|
-
end
|
46
|
-
node.element_children[1..-1].each { |n| parse(n, div) }
|
47
|
-
end
|
48
|
-
|
49
|
-
#TODO kill
|
50
|
-
def note_parse1x(node, div)
|
51
|
-
name = node&.at(ns("./name"))&.remove
|
52
|
-
name and div.p do |p|
|
53
|
-
p.span class: "note_label" do |s|
|
54
|
-
name.children.each { |n| parse(n, s) }
|
55
|
-
end
|
56
|
-
end
|
57
|
-
node.children.each { |n| parse(n, div) }
|
58
|
-
end
|
59
|
-
|
60
37
|
def example_label(_node, div, name)
|
61
38
|
return if name.nil?
|
62
39
|
|
@@ -65,7 +42,7 @@ module IsoDoc
|
|
65
42
|
end
|
66
43
|
end
|
67
44
|
|
68
|
-
|
45
|
+
def span_parse(node, out)
|
69
46
|
node["class"] == "fmt-obligation" and
|
70
47
|
node["class"] = "obligation"
|
71
48
|
super
|
@@ -2773,7 +2773,8 @@ div.WordSection1 {
|
|
2773
2773
|
mso-footer-margin: 36pt;
|
2774
2774
|
mso-line-numbers-count-by: 1;
|
2775
2775
|
mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2776
|
-
mso-even-footer:
|
2776
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2777
|
+
mso-footer: url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2777
2778
|
mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2778
2779
|
mso-paper-source: 0;
|
2779
2780
|
}
|
@@ -2784,7 +2785,8 @@ div.WordSection1 {
|
|
2784
2785
|
mso-footer-margin: 36pt;
|
2785
2786
|
mso-line-numbers-count-by: 1;
|
2786
2787
|
mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1l;
|
2787
|
-
mso-even-footer:
|
2788
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l;*/
|
2789
|
+
mso-footer: url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2788
2790
|
mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1l;
|
2789
2791
|
mso-paper-source: 0;
|
2790
2792
|
}
|
@@ -2795,7 +2797,8 @@ div.WordSection1 {
|
|
2795
2797
|
mso-footer-margin: 36pt;
|
2796
2798
|
mso-line-numbers-count-by: 1;
|
2797
2799
|
mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2798
|
-
mso-even-footer:
|
2800
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2801
|
+
mso-footer: url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2799
2802
|
mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2800
2803
|
mso-paper-source: 0;
|
2801
2804
|
}
|
@@ -2811,7 +2814,8 @@ div.WordSection2 {
|
|
2811
2814
|
mso-footer-margin: 36pt;
|
2812
2815
|
mso-line-numbers-count-by: 1;
|
2813
2816
|
mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2814
|
-
mso-even-footer:
|
2817
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2818
|
+
mso-footer: url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2815
2819
|
mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2816
2820
|
mso-paper-source: 0;
|
2817
2821
|
}
|
@@ -2822,7 +2826,8 @@ div.WordSection2 {
|
|
2822
2826
|
mso-footer-margin: 36pt;
|
2823
2827
|
mso-line-numbers-count-by: 1;
|
2824
2828
|
mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2825
|
-
mso-even-footer:
|
2829
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2830
|
+
mso-footer: url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2826
2831
|
mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2827
2832
|
mso-paper-source: 0;
|
2828
2833
|
}
|
@@ -2833,7 +2838,8 @@ div.WordSection2 {
|
|
2833
2838
|
mso-footer-margin: 36pt;
|
2834
2839
|
mso-line-numbers-count-by: 1;
|
2835
2840
|
mso-header: url("file:///C:/Doc/FILENAME_files/header.html") h1l;
|
2836
|
-
mso-even-footer:
|
2841
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l;*/
|
2842
|
+
mso-footer: url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2837
2843
|
mso-first-header: url("file:///C:/Doc/FILENAME_files/header.html") fh1l;
|
2838
2844
|
mso-paper-source: 0;
|
2839
2845
|
}
|
@@ -2512,7 +2512,8 @@ div.WordSection1
|
|
2512
2512
|
mso-footer-margin:36.0pt;
|
2513
2513
|
mso-line-numbers-count-by:1;
|
2514
2514
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2515
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1
|
2515
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2516
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2516
2517
|
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2517
2518
|
mso-paper-source:0;}
|
2518
2519
|
@page WordSection2L
|
@@ -2522,7 +2523,8 @@ div.WordSection1
|
|
2522
2523
|
mso-footer-margin:36.0pt;
|
2523
2524
|
mso-line-numbers-count-by:1;
|
2524
2525
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1l;
|
2525
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l
|
2526
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l;*/
|
2527
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2526
2528
|
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1l;
|
2527
2529
|
mso-paper-source:0;}
|
2528
2530
|
@page WordSection2P
|
@@ -2532,7 +2534,8 @@ div.WordSection1
|
|
2532
2534
|
mso-footer-margin:36.0pt;
|
2533
2535
|
mso-line-numbers-count-by:1;
|
2534
2536
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2535
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1
|
2537
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2538
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2536
2539
|
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2537
2540
|
mso-paper-source:0;}
|
2538
2541
|
div.WordSection2
|
@@ -2545,7 +2548,8 @@ div.WordSection2
|
|
2545
2548
|
mso-footer-margin:36.0pt;
|
2546
2549
|
mso-line-numbers-count-by:1;
|
2547
2550
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2548
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1
|
2551
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2552
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2549
2553
|
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2550
2554
|
mso-paper-source:0;}
|
2551
2555
|
@page WordSection3P
|
@@ -2555,7 +2559,8 @@ div.WordSection2
|
|
2555
2559
|
mso-footer-margin:36.0pt;
|
2556
2560
|
mso-line-numbers-count-by:1;
|
2557
2561
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
2558
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1
|
2562
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;*/
|
2563
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2559
2564
|
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1;
|
2560
2565
|
mso-paper-source:0;}
|
2561
2566
|
@page WordSection3L
|
@@ -2565,7 +2570,8 @@ div.WordSection2
|
|
2565
2570
|
mso-footer-margin:36.0pt;
|
2566
2571
|
mso-line-numbers-count-by:1;
|
2567
2572
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1l;
|
2568
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l
|
2573
|
+
/*mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l;*/
|
2574
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3;
|
2569
2575
|
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1l;
|
2570
2576
|
mso-paper-source:0;}
|
2571
2577
|
div.WordSection3
|