metanorma-ogc 2.3.7 → 2.3.9
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 +0 -20
- data/lib/isodoc/ogc/html/html_ogc_intro.html +0 -1
- data/lib/isodoc/ogc/html/preprocess.xslt +13 -0
- data/lib/isodoc/ogc/html/rouge.css +38 -0
- data/lib/isodoc/ogc/html/word_ogc_intro.html +0 -3
- data/lib/isodoc/ogc/html/word_ogc_intro_wp.html +0 -3
- data/lib/isodoc/ogc/html_convert.rb +1 -11
- data/lib/isodoc/ogc/i18n-en.yaml +1 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +347 -96
- data/lib/isodoc/ogc/ogc.best-practice.xsl +347 -96
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +347 -96
- data/lib/isodoc/ogc/ogc.community-practice.xsl +347 -96
- data/lib/isodoc/ogc/ogc.community-standard.xsl +347 -96
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +347 -96
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +347 -96
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +347 -96
- data/lib/isodoc/ogc/ogc.other.xsl +347 -96
- data/lib/isodoc/ogc/ogc.policy.xsl +347 -96
- data/lib/isodoc/ogc/ogc.reference-model.xsl +347 -96
- data/lib/isodoc/ogc/ogc.release-notes.xsl +347 -96
- data/lib/isodoc/ogc/ogc.standard.xsl +347 -96
- data/lib/isodoc/ogc/ogc.test-suite.xsl +347 -96
- data/lib/isodoc/ogc/ogc.user-guide.xsl +347 -96
- data/lib/isodoc/ogc/ogc.white-paper.xsl +311 -95
- data/lib/isodoc/ogc/presentation_xml_convert.rb +26 -6
- data/lib/isodoc/ogc/sections.rb +48 -48
- data/lib/isodoc/ogc/word_convert.rb +3 -0
- data/lib/isodoc/ogc/xref.rb +12 -1
- data/lib/metanorma/ogc/isodoc.rng +41 -14
- data/lib/metanorma/ogc/ogc.rng +3 -8
- data/lib/metanorma/ogc/validate.rb +18 -11
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6472ad50fd7594f708c94c185ef73f6f1288754fedde33a967f838dc80e160c9
|
4
|
+
data.tar.gz: 4b1f2468e1bb16fc2a0d222562e1fb6d69490e21fa8a0776cc53febfce9c7f7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b23e0accbd91e86c75bd5072f659889618e75843e53f745af2a12c6ee1f13f08a2054e391f076f216b8b7bc7df6d94a55f59f5eed280357fb5eb5b503a1b1637
|
7
|
+
data.tar.gz: f02e54f22d14e566ad4ab3ea9512ec4c2db5ba7c143c3970d92315f9ec1095c6cac95d1e56a5126d2b23547ac8e5034fd3615eafbb3a8f0fa1a58960303b2a3e
|
@@ -49,26 +49,6 @@ module IsoDoc
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
-
def deprecated_term_parse(node, out)
|
53
|
-
out.p class: "DeprecatedTerms" do |p|
|
54
|
-
node.children.each { |c| parse(c, p) }
|
55
|
-
p << " "
|
56
|
-
p.span class: "AdmittedLabel" do |s|
|
57
|
-
s << l10n(@i18n.deprecated)
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
def admitted_term_parse(node, out)
|
63
|
-
out.p class: "AltTerms" do |p|
|
64
|
-
node.children.each { |c| parse(c, p) }
|
65
|
-
p << " "
|
66
|
-
p.span class: "AdmittedLabel" do |s|
|
67
|
-
s << l10n(@i18n.admitted)
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
52
|
def example_parse(node, out)
|
73
53
|
name = node.at(ns("./name"))
|
74
54
|
example_name_parse(node, out, name) # if name
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<preprocess-xslt>
|
2
|
+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mn="https://www.metanorma.org/ns/ogc" version="1.0">
|
3
|
+
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
|
4
|
+
<xsl:preserve-space elements="*"/>
|
5
|
+
<xsl:template match="@* | node()">
|
6
|
+
<xsl:copy><xsl:apply-templates select="@* | node()"/></xsl:copy>
|
7
|
+
</xsl:template>
|
8
|
+
<xsl:template match="mn:note/mn:name">
|
9
|
+
<xsl:copy><xsl:apply-templates select="@*|node()"/><xsl:if test="normalize-space() != ''">:<mn:tab/></xsl:if></xsl:copy>
|
10
|
+
</xsl:template>
|
11
|
+
</xsl:stylesheet>
|
12
|
+
</preprocess-xslt>
|
13
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
sourcecode table td { padding: 5px; }
|
2
|
+
sourcecode table pre { margin: 0; }
|
3
|
+
sourcecode, sourcecode .w {
|
4
|
+
color: #444444;
|
5
|
+
}
|
6
|
+
sourcecode .cp {
|
7
|
+
color: #CC00A3;
|
8
|
+
}
|
9
|
+
sourcecode .cs {
|
10
|
+
color: #CC00A3;
|
11
|
+
}
|
12
|
+
sourcecode .c, sourcecode .ch, sourcecode .cd, sourcecode .cm, sourcecode .cpf, sourcecode .c1 {
|
13
|
+
color: #1E90FF;
|
14
|
+
}
|
15
|
+
sourcecode .kc {
|
16
|
+
color: #C34E00;
|
17
|
+
}
|
18
|
+
sourcecode .kd {
|
19
|
+
color: #0000FF;
|
20
|
+
}
|
21
|
+
sourcecode .kr {
|
22
|
+
color: #007575;
|
23
|
+
}
|
24
|
+
sourcecode .k, sourcecode .kn, sourcecode .kp, sourcecode .kt, sourcecode .kv {
|
25
|
+
color: #0000FF;
|
26
|
+
}
|
27
|
+
sourcecode .s, sourcecode .sb, sourcecode .sc, sourcecode .ld, sourcecode .sd, sourcecode .s2, sourcecode .se, sourcecode .sh, sourcecode .si, sourcecode .sx, sourcecode .sr, sourcecode .s1, sourcecode .ss {
|
28
|
+
color: #009C00;
|
29
|
+
}
|
30
|
+
sourcecode .sa {
|
31
|
+
color: #0000FF;
|
32
|
+
}
|
33
|
+
sourcecode .nb, sourcecode .bp {
|
34
|
+
color: #C34E00;
|
35
|
+
}
|
36
|
+
sourcecode .nt {
|
37
|
+
color: #0000FF;
|
38
|
+
}
|
@@ -11,6 +11,3 @@ mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-la
|
|
11
11
|
EN-US;mso-bidi-language:AR-SA'><br clear="all" style='mso-special-character:line-break;page-break-before:always'>
|
12
12
|
</span>
|
13
13
|
|
14
|
-
<p class="zzContents" style='margin-top:0cm'><span lang="EN-GB">Contents</span></p>
|
15
|
-
|
16
|
-
WORDTOC
|
@@ -8,6 +8,3 @@ mso-fareast-font-family:"Times New Roman";mso-ansi-language:EN-US;mso-fareast-la
|
|
8
8
|
EN-US;mso-bidi-language:AR-SA'><br clear="all" style='mso-special-character:line-break;page-break-before:always'>
|
9
9
|
</span>
|
10
10
|
|
11
|
-
<p class="zzContents"><span lang="EN-GB">Table of Contents</span></p>
|
12
|
-
|
13
|
-
WORDTOC
|
@@ -64,17 +64,7 @@ module IsoDoc
|
|
64
64
|
body.div class: "main-section" do |div3|
|
65
65
|
@prefacenum = 0
|
66
66
|
boilerplate docxml, div3
|
67
|
-
|
68
|
-
abstract docxml, div3
|
69
|
-
executivesummary docxml, div3
|
70
|
-
keywords docxml, div3
|
71
|
-
foreword docxml, div3
|
72
|
-
introduction docxml, div3
|
73
|
-
security docxml, div3
|
74
|
-
submittingorgs docxml, div3
|
75
|
-
submitters docxml, div3
|
76
|
-
preface docxml, div3
|
77
|
-
acknowledgements docxml, div3
|
67
|
+
front docxml, div3
|
78
68
|
middle docxml, div3
|
79
69
|
footnotes div3
|
80
70
|
comments div3
|
data/lib/isodoc/ogc/i18n-en.yaml
CHANGED
@@ -10,6 +10,7 @@ permissionclass: Permissions class
|
|
10
10
|
abstracttest: Abstract test
|
11
11
|
conformanceclass: Conformance class
|
12
12
|
example: Example
|
13
|
+
table_of_contents: Contents
|
13
14
|
security_empty: No security considerations have been made for this document.
|
14
15
|
internal_terms_boilerplate: |
|
15
16
|
<p>This document uses the terms defined in <link target="https://portal.ogc.org/public_ogc/directives/directives.php">OGC Policy Directive 49</link>, which is based on the ISO/IEC Directives, Part 2, Rules for the structure and drafting of International Standards. In particular, the word “shall” (not “must”) is the verb form used to indicate a requirement to be strictly followed to conform to this document and OGC documents do not use the equivalent phrases in the ISO/IEC Directives, Part 2.</p>
|