metanorma-ogc 2.3.6 → 2.3.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 +0 -20
- data/lib/isodoc/ogc/html/preprocess.xslt +13 -0
- data/lib/isodoc/ogc/html/rouge.css +38 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +394 -21
- data/lib/isodoc/ogc/ogc.best-practice.xsl +394 -21
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +394 -21
- data/lib/isodoc/ogc/ogc.community-practice.xsl +394 -21
- data/lib/isodoc/ogc/ogc.community-standard.xsl +394 -21
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +394 -21
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +394 -21
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +394 -21
- data/lib/isodoc/ogc/ogc.other.xsl +394 -21
- data/lib/isodoc/ogc/ogc.policy.xsl +394 -21
- data/lib/isodoc/ogc/ogc.reference-model.xsl +394 -21
- data/lib/isodoc/ogc/ogc.release-notes.xsl +394 -21
- data/lib/isodoc/ogc/ogc.standard.xsl +394 -21
- data/lib/isodoc/ogc/ogc.test-suite.xsl +394 -21
- data/lib/isodoc/ogc/ogc.user-guide.xsl +394 -21
- data/lib/isodoc/ogc/ogc.white-paper.xsl +351 -17
- data/lib/isodoc/ogc/presentation_xml_convert.rb +17 -0
- data/lib/isodoc/ogc/xref.rb +11 -0
- data/lib/metanorma/ogc/isodoc.rng +29 -7
- 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: ba096aa5f1709fe1e79cf9d278bf4b2bf81490b8e46d51a3e06a9319976d7bc0
|
4
|
+
data.tar.gz: f3d1b8df07f6d1cbf638a8b332c57cd0c7cbae5b780d340dfaadfeeac6dd6507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd84925e8131c832424bfc4055bba96ee16775621e79eecb38a78698f4249b56d799cfeb4bc96466101d902a44207f52b09684ba5cf8c6d38accee8b96cb78a4
|
7
|
+
data.tar.gz: 0b8ac1b19ba3be249dc26febcc4f246310e40eddd1462d7dce10bd7325e31dba4e8684d0c76dc7f3a8ca8319399576cf87ce39793b3ad79e05e95a00844ec867
|
@@ -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
|
+
}
|