metanorma-ietf 3.3.5 → 3.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ietf/blocks.rb +12 -2
- data/lib/metanorma/ietf/basicdoc.rng +840 -419
- data/lib/metanorma/ietf/biblio.rng +41 -43
- data/lib/metanorma/ietf/converter.rb +3 -4
- data/lib/metanorma/ietf/ietf.rng +112 -279
- data/lib/metanorma/ietf/isodoc.rng +386 -624
- data/lib/metanorma/ietf/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7014e80b813a00d883d6425756867215dce0f619009445f386c38ed6e8e0e66a
|
4
|
+
data.tar.gz: d74042e3ddf75960ea0f3aa8dd848d3ad67dde7a9145cd471eaf076914e24a63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b52ffef159e483ba0196d0faf39bde41a4960f9137fd191901199cfb4316b66255fe89f572a9cbce4b84b1a9d75b6bb6df9b25e78b3393167fa6fc0a79b3c930
|
7
|
+
data.tar.gz: a86ffbfe94fb098d5f21c0d10d2596e9a224aab6412e3101e2706021c8ac64368360ac5540cc893054a62e044f037c991cd2fa7ab224428eb64078dd9cf42268
|
data/lib/isodoc/ietf/blocks.rb
CHANGED
@@ -21,7 +21,7 @@ module IsoDoc
|
|
21
21
|
|
22
22
|
def ul_attrs(node)
|
23
23
|
{ anchor: node["id"], empty: node["nobullet"],
|
24
|
-
indent: node["indent"], bare: node["bare"],
|
24
|
+
indent: node["indent"], bare: node["bare"],
|
25
25
|
spacing: node["spacing"] }
|
26
26
|
end
|
27
27
|
|
@@ -61,6 +61,16 @@ module IsoDoc
|
|
61
61
|
indent: node["indent"], spacing: node["spacing"])
|
62
62
|
end
|
63
63
|
|
64
|
+
def dl_parse(node, out)
|
65
|
+
list_title_parse(node, out)
|
66
|
+
out.dl **dl_attrs(node) do |v|
|
67
|
+
node.elements.select { |n| dt_dd? n }.each_slice(2) do |dt, dd|
|
68
|
+
dl_parse1(v, dt, dd)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
dl_parse_notes(node, out)
|
72
|
+
end
|
73
|
+
|
64
74
|
def dt_parse(dterm, term)
|
65
75
|
if dterm.elements.empty? then term << dterm.text
|
66
76
|
else dterm.children.each { |n| parse(n, term) }
|
@@ -232,7 +242,7 @@ module IsoDoc
|
|
232
242
|
|
233
243
|
def figure_parse(node, out)
|
234
244
|
node["class"] == "pseudocode" || node["type"] == "pseudocode" and
|
235
|
-
|
245
|
+
return pseudocode_parse(node, out)
|
236
246
|
@in_figure = true
|
237
247
|
out.figure **attr_code(anchor: node["id"]) do |div|
|
238
248
|
figure_name_parse(node, div, node.at(ns("./name")))
|