metanorma-ieee 1.3.2 → 1.3.4

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: f5d00bba7b688dd38ac44ed5a74c0d6af83224657024a81246f9039e8097403f
4
- data.tar.gz: 1c05945009cf1c549c95d300e0699cb88f344dfab9b6c50ebe3cec1a0f6524dc
3
+ metadata.gz: 64f37a09bcd0a24e2a8d4bef90b31984a8b09ff5df27dc62e56010f72a448e1d
4
+ data.tar.gz: badb4688f8611ab3f17df678faad8484a9778d83adc6c32bd143bb5e7d859e54
5
5
  SHA512:
6
- metadata.gz: 7d9b2f5e89208ab1dda473cacafda7598f4607be2b634a226a511db6346b69bf258fee280de0c861be07529b16c2a6ef27718f6a947abdc3c63d09cecb34881d
7
- data.tar.gz: e3df0c93fbe8c325281b29dc378d0b396a7681f789de91315fec689794e40981ee6d1c1e9a21c4b30c545f6f3e0debcea695168dc83230725fbb8b187e41f7a2
6
+ metadata.gz: d0ee1558421bdc365a7d0dd0e049a70e7c6140e24ffda7809f6e92c2cfbc9693830392a11c24c35fe7d6f3546f1cd77df0ea1f79662b262e77ef49f3be887565
7
+ data.tar.gz: 46cbd320df62354dade79dbdc7ee2360a2abef040696ebfcc311d510898637655e4973e87b219ce08b0ea55b235d76d6e4f9f24ebd258259a87488361444047a
@@ -34,21 +34,11 @@ module IsoDoc
34
34
  super.merge(type: node["type"])
35
35
  end
36
36
 
37
- def note_delim
38
- "—"
39
- end
40
-
41
- def omit_docid_prefix(prefix)
42
- prefix == "DOI" and return true
43
- super
44
- end
45
-
46
37
  def note_p_parse(node, div)
47
38
  name = node&.at(ns("./name"))&.remove
48
39
  div.p do |p|
49
40
  name and p.span class: "note_label" do |s|
50
41
  name.children.each { |n| parse(n, s) }
51
- s << note_delim
52
42
  end
53
43
  node.first_element_child.children.each { |n| parse(n, p) }
54
44
  end
@@ -60,29 +50,14 @@ module IsoDoc
60
50
  name and div.p do |p|
61
51
  p.span class: "note_label" do |s|
62
52
  name.children.each { |n| parse(n, s) }
63
- s << note_delim
64
53
  end
65
54
  end
66
55
  node.children.each { |n| parse(n, div) }
67
56
  end
68
57
 
69
- def termnote_delim
70
- "&#x2014;"
71
- end
72
-
73
- def bracket_if_num(num)
74
- return nil if num.nil?
75
-
76
- num = num.text.sub(/^\[/, "").sub(/\]$/, "")
77
- return "[#{num}]" if /^B?\d+$/.match?(num)
78
-
79
- num
80
- end
81
-
82
58
  def example_label(_node, div, name)
83
59
  return if name.nil?
84
60
 
85
- name << ":"
86
61
  div.p class: "example-title" do |p|
87
62
  name.children.each { |n| parse(n, p) }
88
63
  end