metanorma-ogc 2.5.7 → 2.5.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/html/htmlstyle.css +63 -0
- data/lib/isodoc/ogc/html/htmlstyle.scss +11 -0
- data/lib/isodoc/ogc/html_convert.rb +11 -0
- data/lib/isodoc/ogc/i18n-en.yaml +1 -0
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.best-practice.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.community-practice.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.community-standard.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.other.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.policy.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.reference-model.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.release-notes.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.standard.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.test-suite.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.user-guide.xsl +1262 -878
- data/lib/isodoc/ogc/ogc.white-paper.xsl +1262 -878
- data/lib/isodoc/ogc/presentation_xml_convert.rb +7 -0
- data/lib/isodoc/ogc/xref.rb +41 -3
- data/lib/metanorma/ogc/basicdoc.rng +840 -419
- data/lib/metanorma/ogc/biblio.rng +26 -27
- data/lib/metanorma/ogc/converter.rb +1 -1
- data/lib/metanorma/ogc/isodoc.rng +351 -510
- 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: 697084875237cbadc678cc91aeceb102990c4f82b59447b9e8f7acbb37f80b03
|
4
|
+
data.tar.gz: aec53f374388a4692d44526a4fcaab55408618a0d607afc6e7a02da4e60fca81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6abc0aa95484027176e13e5a617551ee898a786133323082cdd82f0af76f35655c3f15ab2ed6185cc7417fb6a29bd080190376a7a003807d1566ac0bc8037ca
|
7
|
+
data.tar.gz: 4b5e738eae892de427b998f6715297bb945637882e0bc6101b0687f3afb00441abdb4beb68cb212179bdd4cabe32d3ad162609a669b8b2bbf2d63bd68574864d
|
@@ -1,3 +1,4 @@
|
|
1
|
+
@charset "UTF-8";
|
1
2
|
html, body, div, span, applet, object, iframe,
|
2
3
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
4
|
a, abbr, acronym, address, big, cite, code,
|
@@ -169,6 +170,58 @@ table.rouge-line-table pre {
|
|
169
170
|
overflow-x: visible;
|
170
171
|
font-size: 100%; }
|
171
172
|
|
173
|
+
/* header § links */
|
174
|
+
a.header {
|
175
|
+
color: inherit;
|
176
|
+
text-decoration: none; }
|
177
|
+
|
178
|
+
a.header:hover {
|
179
|
+
color: #a53221 !important;
|
180
|
+
background: inherit;
|
181
|
+
box-shadow: none; }
|
182
|
+
|
183
|
+
a.header:visited {
|
184
|
+
color: inherit;
|
185
|
+
text-decoration: none; }
|
186
|
+
|
187
|
+
a.anchor {
|
188
|
+
position: absolute;
|
189
|
+
z-index: 1001;
|
190
|
+
width: 1.5ex;
|
191
|
+
margin-left: -1.5ex;
|
192
|
+
display: block;
|
193
|
+
text-decoration: none !important;
|
194
|
+
visibility: hidden;
|
195
|
+
text-align: center;
|
196
|
+
font-weight: 400; }
|
197
|
+
|
198
|
+
a.anchor::before {
|
199
|
+
content: "\00A7";
|
200
|
+
font-size: .85em;
|
201
|
+
display: block;
|
202
|
+
padding-top: .1em; }
|
203
|
+
|
204
|
+
a.anchor:hover {
|
205
|
+
color: #a53221;
|
206
|
+
background: inherit;
|
207
|
+
box-shadow: none; }
|
208
|
+
|
209
|
+
h1 > a.anchor:hover,
|
210
|
+
h2 > a.anchor:hover,
|
211
|
+
h3 > a.anchor:hover,
|
212
|
+
h4 > a.anchor:hover,
|
213
|
+
h5 > a.anchor:hover,
|
214
|
+
h6 > a.anchor:hover,
|
215
|
+
.inline-header > a.anchor:hover,
|
216
|
+
h1:hover > a.anchor,
|
217
|
+
h2:hover > a.anchor,
|
218
|
+
h3:hover > a.anchor,
|
219
|
+
h4:hover > a.anchor,
|
220
|
+
h5:hover > a.anchor,
|
221
|
+
h6:hover > a.anchor,
|
222
|
+
.inline-header:hover > a.anchor {
|
223
|
+
visibility: visible; }
|
224
|
+
|
172
225
|
#standard-band {
|
173
226
|
background-color: #3D9970; }
|
174
227
|
|
@@ -555,6 +608,16 @@ table.rouge-line-table pre {
|
|
555
608
|
margin-top: -5px;
|
556
609
|
display: none; } }
|
557
610
|
|
611
|
+
/* For Requirement Test anchors */
|
612
|
+
p.RecommendationTitle:hover > a.anchor,
|
613
|
+
p.RecommendationTitle > a.anchor:hover,
|
614
|
+
p.RecommendationTestTitle:hover > a.anchor,
|
615
|
+
p.RecommendationTestTitle > a.anchor:hover {
|
616
|
+
visibility: visible; }
|
617
|
+
|
618
|
+
table a.anchor {
|
619
|
+
margin-left: -2em; }
|
620
|
+
|
558
621
|
body {
|
559
622
|
margin-left: auto;
|
560
623
|
margin-right: auto;
|
@@ -49,6 +49,17 @@ $docstage-colors-list: (
|
|
49
49
|
@import 'base_style/all';
|
50
50
|
@import 'coverpage';
|
51
51
|
|
52
|
+
/* For Requirement Test anchors */
|
53
|
+
p.RecommendationTitle:hover > a.anchor,
|
54
|
+
p.RecommendationTitle > a.anchor:hover,
|
55
|
+
p.RecommendationTestTitle:hover > a.anchor,
|
56
|
+
p.RecommendationTestTitle > a.anchor:hover {
|
57
|
+
visibility: visible; }
|
58
|
+
|
59
|
+
table a.anchor {
|
60
|
+
margin-left: -2em;
|
61
|
+
}
|
62
|
+
|
52
63
|
|
53
64
|
body {
|
54
65
|
@include bodyStyle1(
|
@@ -124,6 +124,17 @@ module IsoDoc
|
|
124
124
|
"<meta name='DC.title' lang='#{@lang}' content='#{k}' />"
|
125
125
|
end
|
126
126
|
|
127
|
+
def heading_anchors(html)
|
128
|
+
super
|
129
|
+
html.xpath("//p[@class = 'RecommendationTitle'] | " \
|
130
|
+
"//p[@class = 'RecommendationTestTitle']").each do |h|
|
131
|
+
div = h.xpath("./ancestor::table[@id]")
|
132
|
+
div.empty? and next
|
133
|
+
heading_anchor(h, div[-1]["id"])
|
134
|
+
end
|
135
|
+
html
|
136
|
+
end
|
137
|
+
|
127
138
|
include BaseConvert
|
128
139
|
include Init
|
129
140
|
end
|
data/lib/isodoc/ogc/i18n-en.yaml
CHANGED