metanorma-ogc 2.6.5 → 2.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/base_convert.rb +4 -3
- data/lib/isodoc/ogc/html_convert.rb +3 -4
- data/lib/isodoc/ogc/init.rb +0 -9
- data/lib/isodoc/ogc/metadata.rb +1 -1
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +746 -224
- data/lib/isodoc/ogc/ogc.best-practice.xsl +746 -224
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +746 -224
- data/lib/isodoc/ogc/ogc.community-practice.xsl +746 -224
- data/lib/isodoc/ogc/ogc.community-standard.xsl +746 -224
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +746 -224
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +746 -224
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +746 -224
- data/lib/isodoc/ogc/ogc.other.xsl +746 -224
- data/lib/isodoc/ogc/ogc.policy.xsl +746 -224
- data/lib/isodoc/ogc/ogc.reference-model.xsl +746 -224
- data/lib/isodoc/ogc/ogc.release-notes.xsl +746 -224
- data/lib/isodoc/ogc/ogc.standard.xsl +746 -224
- data/lib/isodoc/ogc/ogc.test-suite.xsl +746 -224
- data/lib/isodoc/ogc/ogc.user-guide.xsl +746 -224
- data/lib/isodoc/ogc/ogc.white-paper.xsl +713 -201
- data/lib/isodoc/ogc/presentation_sections.rb +9 -6
- data/lib/isodoc/ogc/presentation_xml_convert.rb +28 -6
- data/lib/isodoc/ogc/sections.rb +6 -6
- data/lib/isodoc/ogc/xref.rb +24 -28
- data/lib/metanorma/ogc/biblio.rng +13 -1
- data/lib/metanorma/ogc/isodoc.rng +6 -6
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +4 -5
- data/lib/isodoc/ogc/html/preprocess.xslt +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4ab48de717eb69643066a331b7b70b6fc5c4c0cf361e1800ea1fc8aa61cbd74
|
4
|
+
data.tar.gz: 5433c82cabbf8262d41602a84013391bf82083c3dddc216b1a0ce04b735950f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4e0e711b1e6636bf0724a93f1ba818ed4d52d4208dd8e2624c8991ed5bd6c279965a931ca051dbc192a29211551aaf99de9fe54fd69070e3c448ff900e25fed
|
7
|
+
data.tar.gz: 2aa9c78676a0ad5b2057249c7648b8e025ae8a9d491acc336492485d514a10a9b1333c785249df129ddc309c9f44f72fd6ee184a1668f8170abec480d3596a9a
|
@@ -36,8 +36,9 @@ module IsoDoc
|
|
36
36
|
h2 = term.at("./preceding-sibling::*[@class = 'TermNum'][1]")
|
37
37
|
term["class"] = h2["class"]
|
38
38
|
term["id"] = h2["id"]
|
39
|
-
|
40
|
-
term.
|
39
|
+
# TODO to PresentationXML
|
40
|
+
term.add_first_child " "
|
41
|
+
term.add_first_child h2.remove.children
|
41
42
|
end
|
42
43
|
|
43
44
|
def term_cleanup_merge_admitted(term)
|
@@ -50,7 +51,7 @@ module IsoDoc
|
|
50
51
|
end
|
51
52
|
|
52
53
|
def example_parse(node, out)
|
53
|
-
name = node.at(ns("./name"))
|
54
|
+
name = node.at(ns("./fmt-name"))
|
54
55
|
example_name_parse(node, out, name) # if name
|
55
56
|
super
|
56
57
|
end
|
@@ -143,11 +143,10 @@ module IsoDoc
|
|
143
143
|
def figure_parse1(node, out)
|
144
144
|
out.div **figure_attrs(node) do |div|
|
145
145
|
node.children.each do |n|
|
146
|
-
|
147
|
-
parse(n, div) unless n.name == "name"
|
146
|
+
parse(n, div) unless n.name == "fmt-name"
|
148
147
|
end
|
149
148
|
end
|
150
|
-
figure_name_parse(node, out, node.at(ns("./name")))
|
149
|
+
figure_name_parse(node, out, node.at(ns("./fmt-name")))
|
151
150
|
end
|
152
151
|
|
153
152
|
def html_cleanup(html)
|
@@ -170,7 +169,7 @@ module IsoDoc
|
|
170
169
|
encoding: "UTF-8")
|
171
170
|
"#{a[0]}#{scripts}#{a[1]}"
|
172
171
|
end
|
173
|
-
|
172
|
+
|
174
173
|
# to pass on to imported _coverpage.scss
|
175
174
|
def scss_fontheader(is_html_css)
|
176
175
|
super + <<~SCSS
|
data/lib/isodoc/ogc/init.rb
CHANGED
@@ -32,15 +32,6 @@ module IsoDoc
|
|
32
32
|
def submittingorgs_path
|
33
33
|
"//bibdata/contributor[role/@type = 'author']/organization/name"
|
34
34
|
end
|
35
|
-
|
36
|
-
def ogc_draft_ref?(ref)
|
37
|
-
return unless ref.at(ns("./docidentifier[@type = 'OGC']"))
|
38
|
-
|
39
|
-
status = ref.at(ns("./status/stage"))&.text or return
|
40
|
-
return if %w(approved published deprecated retired).include? status
|
41
|
-
|
42
|
-
true
|
43
|
-
end
|
44
35
|
end
|
45
36
|
end
|
46
37
|
end
|
data/lib/isodoc/ogc/metadata.rb
CHANGED