metanorma-ogc 2.0.4 → 2.0.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/ogc/base_convert.rb +4 -4
- data/lib/isodoc/ogc/html_convert.rb +6 -6
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +402 -220
- data/lib/isodoc/ogc/ogc.best-practice.xsl +402 -220
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +402 -220
- data/lib/isodoc/ogc/ogc.community-practice.xsl +402 -220
- data/lib/isodoc/ogc/ogc.community-standard.xsl +402 -220
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +402 -220
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +402 -220
- data/lib/isodoc/ogc/ogc.other.xsl +402 -220
- data/lib/isodoc/ogc/ogc.policy.xsl +402 -220
- data/lib/isodoc/ogc/ogc.reference-model.xsl +402 -220
- data/lib/isodoc/ogc/ogc.release-notes.xsl +402 -220
- data/lib/isodoc/ogc/ogc.standard.xsl +402 -220
- data/lib/isodoc/ogc/ogc.test-suite.xsl +402 -220
- data/lib/isodoc/ogc/ogc.user-guide.xsl +402 -220
- data/lib/isodoc/ogc/ogc.white-paper.xsl +335 -99
- data/lib/isodoc/ogc/presentation_xml_convert.rb +20 -24
- data/lib/isodoc/ogc/word_convert.rb +2 -78
- data/lib/isodoc/ogc/xref.rb +4 -4
- data/lib/metanorma/ogc/converter.rb +7 -0
- data/lib/metanorma/ogc/processor.rb +10 -10
- data/lib/metanorma/ogc/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: 1c203aacb7ff88cfd91d3572b59743f962d4df5d8c602dc056bc6e3b3daeb3cd
|
4
|
+
data.tar.gz: 5a0071efa21404e76b64a98ec6ff07b7b6a3f3252a03ef68e83144ebe69a62be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07aeafd71ed996a103514871386fc9cef5660f4a296f115ffb9f3311f41d65af330498fd487109d505d623e207e04ba1d58d242798f09f8a0d0dd28844adfe0a
|
7
|
+
data.tar.gz: 00506d3ba16ca2b88bc497c02ee57e700236652d5ad146e6ec295f58d56f0eacef6362cef00b94f2c44e74f402e58448fc35e0238c609f9e56af962483cbfb88
|
@@ -117,11 +117,11 @@ module IsoDoc
|
|
117
117
|
ret
|
118
118
|
end
|
119
119
|
|
120
|
-
def make_tr_attr(
|
120
|
+
def make_tr_attr(cell, row, totalrows, header)
|
121
121
|
ret = super
|
122
|
-
if
|
123
|
-
|
124
|
-
|
122
|
+
if cell.at("./ancestor::xmlns:table[@class = 'recommendation'] | "\
|
123
|
+
"./ancestor::xmlns:table[@class = 'requirement'] | "\
|
124
|
+
"./ancestor::xmlns:table[@class = 'permission']")
|
125
125
|
ret[:style] = "vertical-align:top;"
|
126
126
|
ret[:class] = "recommend"
|
127
127
|
end
|
@@ -6,7 +6,6 @@ require_relative "metadata"
|
|
6
6
|
|
7
7
|
module IsoDoc
|
8
8
|
module Ogc
|
9
|
-
|
10
9
|
# A {Converter} implementation that generates HTML output, and a document
|
11
10
|
# schema encapsulation of the document for validation
|
12
11
|
#
|
@@ -16,7 +15,7 @@ module IsoDoc
|
|
16
15
|
super
|
17
16
|
end
|
18
17
|
|
19
|
-
def default_fonts(
|
18
|
+
def default_fonts(_options)
|
20
19
|
{
|
21
20
|
bodyfont: '"Overpass",sans-serif',
|
22
21
|
headerfont: '"Overpass",sans-serif',
|
@@ -37,9 +36,9 @@ module IsoDoc
|
|
37
36
|
|
38
37
|
def googlefonts
|
39
38
|
<<~HEAD.freeze
|
40
|
-
|
41
|
-
|
42
|
-
|
39
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i|Space+Mono:400,700" rel="stylesheet" />
|
40
|
+
<link href="https://fonts.googleapis.com/css?family=Overpass:300,300i,600,900" rel="stylesheet">
|
41
|
+
<link href="https://fonts.googleapis.com/css?family=Teko:300,400,500" rel="stylesheet">
|
43
42
|
HEAD
|
44
43
|
end
|
45
44
|
|
@@ -53,7 +52,8 @@ module IsoDoc
|
|
53
52
|
end
|
54
53
|
|
55
54
|
def make_body(xml, docxml)
|
56
|
-
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72",
|
55
|
+
body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72",
|
56
|
+
"xml:lang": "EN-US", class: "container" }
|
57
57
|
xml.body **body_attr do |body|
|
58
58
|
make_body1(body, docxml)
|
59
59
|
make_body2(body, docxml)
|