metanorma-ogc 1.2.3 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +62 -0
- data/README.adoc +3 -4
- data/lib/asciidoctor/ogc/basicdoc.rng +4 -11
- data/lib/asciidoctor/ogc/boilerplate.xml +2 -2
- data/lib/asciidoctor/ogc/converter.rb +25 -1
- data/lib/asciidoctor/ogc/isodoc.rng +27 -50
- data/lib/asciidoctor/ogc/ogc.rng +8 -1
- data/lib/asciidoctor/ogc/validate.rb +1 -1
- data/lib/isodoc/ogc/base_convert.rb +0 -1
- data/lib/isodoc/ogc/biblio.rb +1 -0
- data/lib/isodoc/ogc/html/_coverpage.css +6 -0
- data/lib/isodoc/ogc/html/_coverpage.scss +8 -0
- data/lib/isodoc/ogc/html/html_ogc_titlepage.html +3 -3
- data/lib/isodoc/ogc/html/htmlstyle.css +211 -201
- data/lib/isodoc/ogc/html/htmlstyle.scss +4 -4
- data/lib/isodoc/ogc/html/ogc.css +21 -21
- data/lib/isodoc/ogc/html/ogc.scss +21 -21
- data/lib/isodoc/ogc/html/ogc_wp.css +35 -35
- data/lib/isodoc/ogc/html/ogc_wp.scss +35 -35
- data/lib/isodoc/ogc/html/word_ogc_titlepage.html +1 -1
- data/lib/isodoc/ogc/html/wordstyle.css +19 -19
- data/lib/isodoc/ogc/html/wordstyle.scss +19 -19
- data/lib/isodoc/ogc/html/wordstyle_wp.css +23 -23
- data/lib/isodoc/ogc/html/wordstyle_wp.scss +23 -23
- data/lib/isodoc/ogc/html_convert.rb +5 -1
- data/lib/isodoc/ogc/i18n-en.yaml +10 -0
- data/lib/isodoc/ogc/init.rb +1 -1
- data/lib/isodoc/ogc/metadata.rb +1 -1
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +671 -138
- data/lib/isodoc/ogc/ogc.best-practice.xsl +671 -138
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +671 -138
- data/lib/isodoc/ogc/ogc.community-practice.xsl +671 -138
- data/lib/isodoc/ogc/ogc.community-standard.xsl +671 -138
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +671 -138
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +671 -138
- data/lib/isodoc/ogc/ogc.other.xsl +671 -138
- data/lib/isodoc/ogc/ogc.policy.xsl +671 -138
- data/lib/isodoc/ogc/ogc.reference-model.xsl +671 -138
- data/lib/isodoc/ogc/ogc.release-notes.xsl +671 -138
- data/lib/isodoc/ogc/ogc.standard.xsl +671 -138
- data/lib/isodoc/ogc/ogc.test-suite.xsl +671 -138
- data/lib/isodoc/ogc/ogc.user-guide.xsl +671 -138
- data/lib/isodoc/ogc/ogc.white-paper.xsl +584 -89
- data/lib/isodoc/ogc/presentation_xml_convert.rb +25 -0
- data/lib/isodoc/ogc/sections.rb +6 -1
- data/lib/isodoc/ogc/word_convert.rb +8 -1
- data/lib/isodoc/ogc/xref.rb +30 -5
- data/lib/metanorma/ogc.rb +7 -0
- data/lib/metanorma/ogc/fonts_manifest.yaml +6 -0
- data/lib/metanorma/ogc/processor.rb +0 -8
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +2 -2
- metadata +8 -9
- data/.github/workflows/macos.yml +0 -38
- data/.github/workflows/ubuntu.yml +0 -56
- data/.github/workflows/windows.yml +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6245ace03109e272fe254101d73a9cc5480d88d381c55d74559a947765996927
|
4
|
+
data.tar.gz: b26cf5092c6612aca2b976587bcca88a6779d8df5a71c65e83c906ca50448f92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a043cf809b33c32c3f5fba14a6b626bde3a3a0b17378fc09d5de47d5d3ea1f469b8b2a2e47d4a04ef603b7a9d57a17977e9d37e8f3ff71ec2af7892aa0df20d
|
7
|
+
data.tar.gz: 3535cca021ddde7151343fb0b281685bcda3e2800256eb2e2f3a60a3508ae11a39c9a57cd866642b4ca31b18692cdcff10b0707fed54caadb8eff61fd4cc8d89
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
|
+
name: rake
|
4
|
+
|
5
|
+
on:
|
6
|
+
push:
|
7
|
+
branches: [ master, main ]
|
8
|
+
tags: [ v* ]
|
9
|
+
pull_request:
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
rake:
|
13
|
+
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
14
|
+
runs-on: ${{ matrix.os }}
|
15
|
+
continue-on-error: ${{ matrix.experimental }}
|
16
|
+
strategy:
|
17
|
+
fail-fast: false
|
18
|
+
matrix:
|
19
|
+
ruby: [ '2.6', '2.5', '2.4' ]
|
20
|
+
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
|
+
experimental: [ false ]
|
22
|
+
include:
|
23
|
+
- ruby: '2.7'
|
24
|
+
os: 'ubuntu-latest'
|
25
|
+
experimental: true
|
26
|
+
- ruby: '2.7'
|
27
|
+
os: 'windows-latest'
|
28
|
+
experimental: true
|
29
|
+
- ruby: '2.7'
|
30
|
+
os: 'macos-latest'
|
31
|
+
experimental: true
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@master
|
34
|
+
|
35
|
+
- uses: ruby/setup-ruby@v1
|
36
|
+
with:
|
37
|
+
ruby-version: ${{ matrix.ruby }}
|
38
|
+
|
39
|
+
- uses: actions/cache@v2
|
40
|
+
with:
|
41
|
+
path: vendor/bundle
|
42
|
+
key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
|
43
|
+
restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}
|
44
|
+
|
45
|
+
- run: bundle config set path 'vendor/bundle'
|
46
|
+
|
47
|
+
- run: bundle install --jobs 4 --retry 3
|
48
|
+
|
49
|
+
- run: bundle exec rake
|
50
|
+
|
51
|
+
tests-passed:
|
52
|
+
needs: rake
|
53
|
+
runs-on: ubuntu-latest
|
54
|
+
steps:
|
55
|
+
- name: Trigger tests passed event
|
56
|
+
uses: Sibz/github-status-action@v1
|
57
|
+
with:
|
58
|
+
authToken: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
59
|
+
context: 'tests-passed-successfully'
|
60
|
+
description: 'Tests passed successfully'
|
61
|
+
state: 'success'
|
62
|
+
sha: ${{ github.event.pull_request.head.sha || github.sha }}
|
data/README.adoc
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
= metanorma-ogc: Metanorma processor for the Open Geospatial Consortium document class
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-ogc.svg["Gem Version", link="https://rubygems.org/gems/metanorma-ogc"]
|
4
|
-
image:https://github.com/metanorma/metanorma-ogc/workflows/
|
5
|
-
image:https://github.com/metanorma/metanorma-ogc/workflows/ubuntu/badge.svg["Build Status (ubuntu)", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=ubuntu"]
|
6
|
-
image:https://github.com/metanorma/metanorma-ogc/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=windows"]
|
4
|
+
image:https://github.com/metanorma/metanorma-ogc/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-ogc/actions?workflow=rake"]
|
7
5
|
image:https://codeclimate.com/github/metanorma/metanorma-ogc/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-ogc"]
|
8
6
|
image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-ogc.svg["Pull Requests", link="https://github.com/metanorma/metanorma-ogc/pulls"]
|
9
7
|
image:https://img.shields.io/github/commits-since/metanorma/metanorma-ogc/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-ogc/releases"]
|
10
8
|
|
11
9
|
== Functionality
|
12
10
|
|
13
|
-
This gem processes Metanorma documents
|
11
|
+
This gem processes https://www.metanorma.com[Metanorma documents] following
|
12
|
+
a template for generating OGC standards and documents.
|
14
13
|
|
15
14
|
It provides the following functions:
|
16
15
|
|
@@ -158,17 +158,7 @@
|
|
158
158
|
<data type="ID"/>
|
159
159
|
</attribute>
|
160
160
|
<oneOrMore>
|
161
|
-
<
|
162
|
-
<ref name="formula"/>
|
163
|
-
<ref name="ul"/>
|
164
|
-
<ref name="ol"/>
|
165
|
-
<ref name="dl"/>
|
166
|
-
<ref name="quote"/>
|
167
|
-
<ref name="sourcecode"/>
|
168
|
-
<ref name="paragraph"/>
|
169
|
-
<ref name="table"/>
|
170
|
-
<ref name="figure"/>
|
171
|
-
</choice>
|
161
|
+
<ref name="paragraph"/>
|
172
162
|
</oneOrMore>
|
173
163
|
</element>
|
174
164
|
</define>
|
@@ -1028,6 +1018,9 @@
|
|
1028
1018
|
<value>alphabet_upper</value>
|
1029
1019
|
</choice>
|
1030
1020
|
</attribute>
|
1021
|
+
<optional>
|
1022
|
+
<attribute name="start"/>
|
1023
|
+
</optional>
|
1031
1024
|
<oneOrMore>
|
1032
1025
|
<ref name="li"/>
|
1033
1026
|
</oneOrMore>
|
@@ -92,8 +92,8 @@
|
|
92
92
|
</license-statement>
|
93
93
|
|
94
94
|
<legal-statement>
|
95
|
-
{% if doctype == "Standard" or doctype == "Community Standard" %}
|
96
|
-
{% if stage == "
|
95
|
+
{% if doctype == "Standard" or doctype == "Community Standard" or doctype == "Abstract Specification" %}
|
96
|
+
{% if stage == "Approved" or stage == "Withdrawn" %}
|
97
97
|
<clause>
|
98
98
|
<title>Warning</title>
|
99
99
|
<p>This document is an OGC Member approved international standard. This document is available on a royalty free, non-discriminatory basis. Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation.
|
@@ -78,6 +78,25 @@ module Asciidoctor
|
|
78
78
|
|
79
79
|
def make_preface(x, s)
|
80
80
|
super
|
81
|
+
insert_security(x, s)
|
82
|
+
insert_submitters(x, s)
|
83
|
+
end
|
84
|
+
|
85
|
+
def add_id
|
86
|
+
%(id="_#{UUIDTools::UUID.random_create}")
|
87
|
+
end
|
88
|
+
|
89
|
+
def insert_security(x, s)
|
90
|
+
preface = s.at("//preface") ||
|
91
|
+
s.add_previous_sibling("<preface/>").first
|
92
|
+
s = x&.at("//clause[@type = 'security']")&.remove ||
|
93
|
+
"<clause type='security' #{add_id}>"\
|
94
|
+
"<title>Security Considerations</title>"\
|
95
|
+
"<p>#{@i18n.security_empty}</p></clause>"
|
96
|
+
preface.add_child s
|
97
|
+
end
|
98
|
+
|
99
|
+
def insert_submitters(x, s)
|
81
100
|
if x.at("//submitters")
|
82
101
|
preface = s.at("//preface") ||
|
83
102
|
s.add_previous_sibling("<preface/>").first
|
@@ -90,6 +109,8 @@ module Asciidoctor
|
|
90
109
|
case clausetype = node&.attr("heading")&.downcase || node.title.downcase
|
91
110
|
when "submitters" then return submitters_parse(attrs, xml, node)
|
92
111
|
when "conformance" then attrs = attrs.merge(type: "conformance")
|
112
|
+
when "security considerations" then attrs =
|
113
|
+
attrs.merge(type: "security")
|
93
114
|
end
|
94
115
|
super
|
95
116
|
end
|
@@ -109,8 +130,11 @@ module Asciidoctor
|
|
109
130
|
return
|
110
131
|
end
|
111
132
|
|
112
|
-
def
|
133
|
+
def bibdata_cleanup(xmldoc)
|
113
134
|
super
|
135
|
+
a = xmldoc.at("//bibdata/status/stage")
|
136
|
+
a.text == "published" and
|
137
|
+
a.children = "approved"
|
114
138
|
end
|
115
139
|
|
116
140
|
def presentation_xml_converter(node)
|
@@ -24,6 +24,14 @@
|
|
24
24
|
<start>
|
25
25
|
<ref name="standard-document"/>
|
26
26
|
</start>
|
27
|
+
<define name="doctype">
|
28
|
+
<element name="doctype">
|
29
|
+
<optional>
|
30
|
+
<attribute name="abbreviation"/>
|
31
|
+
</optional>
|
32
|
+
<ref name="DocumentType"/>
|
33
|
+
</element>
|
34
|
+
</define>
|
27
35
|
<define name="hyperlink">
|
28
36
|
<element name="link">
|
29
37
|
<attribute name="target">
|
@@ -42,7 +50,6 @@
|
|
42
50
|
</define>
|
43
51
|
<define name="xref">
|
44
52
|
<element name="xref">
|
45
|
-
<!-- attribute target { xsd:IDREF }, -->
|
46
53
|
<attribute name="target">
|
47
54
|
<data type="string">
|
48
55
|
<param name="pattern">\i\c*|\c+#\c+</param>
|
@@ -64,6 +71,11 @@
|
|
64
71
|
</choice>
|
65
72
|
</attribute>
|
66
73
|
</optional>
|
74
|
+
<optional>
|
75
|
+
<attribute name="droploc">
|
76
|
+
<data type="boolean"/>
|
77
|
+
</attribute>
|
78
|
+
</optional>
|
67
79
|
<text/>
|
68
80
|
</element>
|
69
81
|
</define>
|
@@ -137,6 +149,11 @@
|
|
137
149
|
<data type="boolean"/>
|
138
150
|
</attribute>
|
139
151
|
</optional>
|
152
|
+
<optional>
|
153
|
+
<attribute name="key">
|
154
|
+
<data type="boolean"/>
|
155
|
+
</attribute>
|
156
|
+
</optional>
|
140
157
|
<oneOrMore>
|
141
158
|
<ref name="dt"/>
|
142
159
|
<ref name="dd"/>
|
@@ -859,6 +876,13 @@
|
|
859
876
|
</define>
|
860
877
|
<define name="standard-document">
|
861
878
|
<element name="standard-document">
|
879
|
+
<attribute name="version"/>
|
880
|
+
<attribute name="type">
|
881
|
+
<choice>
|
882
|
+
<value>semantic</value>
|
883
|
+
<value>presentation</value>
|
884
|
+
</choice>
|
885
|
+
</attribute>
|
862
886
|
<ref name="bibdata"/>
|
863
887
|
<optional>
|
864
888
|
<ref name="boilerplate"/>
|
@@ -880,7 +904,7 @@
|
|
880
904
|
<oneOrMore>
|
881
905
|
<choice>
|
882
906
|
<ref name="content"/>
|
883
|
-
<ref name="
|
907
|
+
<ref name="abstract"/>
|
884
908
|
<ref name="foreword"/>
|
885
909
|
<ref name="introduction"/>
|
886
910
|
<ref name="acknowledgements"/>
|
@@ -1153,49 +1177,7 @@
|
|
1153
1177
|
</define>
|
1154
1178
|
<define name="annex">
|
1155
1179
|
<element name="annex">
|
1156
|
-
<
|
1157
|
-
<attribute name="id">
|
1158
|
-
<data type="ID"/>
|
1159
|
-
</attribute>
|
1160
|
-
</optional>
|
1161
|
-
<optional>
|
1162
|
-
<attribute name="language"/>
|
1163
|
-
</optional>
|
1164
|
-
<optional>
|
1165
|
-
<attribute name="script"/>
|
1166
|
-
</optional>
|
1167
|
-
<optional>
|
1168
|
-
<attribute name="inline-header">
|
1169
|
-
<data type="boolean"/>
|
1170
|
-
</attribute>
|
1171
|
-
</optional>
|
1172
|
-
<attribute name="obligation">
|
1173
|
-
<choice>
|
1174
|
-
<value>normative</value>
|
1175
|
-
<value>informative</value>
|
1176
|
-
</choice>
|
1177
|
-
</attribute>
|
1178
|
-
<optional>
|
1179
|
-
<ref name="section-title"/>
|
1180
|
-
</optional>
|
1181
|
-
<group>
|
1182
|
-
<group>
|
1183
|
-
<zeroOrMore>
|
1184
|
-
<ref name="BasicBlock"/>
|
1185
|
-
</zeroOrMore>
|
1186
|
-
<zeroOrMore>
|
1187
|
-
<ref name="note"/>
|
1188
|
-
</zeroOrMore>
|
1189
|
-
</group>
|
1190
|
-
<zeroOrMore>
|
1191
|
-
<choice>
|
1192
|
-
<ref name="annex-subsection"/>
|
1193
|
-
<ref name="terms"/>
|
1194
|
-
<ref name="definitions"/>
|
1195
|
-
<ref name="references"/>
|
1196
|
-
</choice>
|
1197
|
-
</zeroOrMore>
|
1198
|
-
</group>
|
1180
|
+
<ref name="Annex-Section"/>
|
1199
1181
|
</element>
|
1200
1182
|
</define>
|
1201
1183
|
<define name="terms">
|
@@ -1481,11 +1463,6 @@
|
|
1481
1463
|
</optional>
|
1482
1464
|
</element>
|
1483
1465
|
</define>
|
1484
|
-
<define name="preface_abstract">
|
1485
|
-
<element name="abstract">
|
1486
|
-
<ref name="Basic-Section"/>
|
1487
|
-
</element>
|
1488
|
-
</define>
|
1489
1466
|
<define name="term-clause">
|
1490
1467
|
<element name="clause">
|
1491
1468
|
<optional>
|
data/lib/asciidoctor/ogc/ogc.rng
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
<define name="preface">
|
55
55
|
<element name="preface">
|
56
56
|
<optional>
|
57
|
-
<ref name="
|
57
|
+
<ref name="abstract"/>
|
58
58
|
</optional>
|
59
59
|
<ref name="foreword"/>
|
60
60
|
<optional>
|
@@ -104,6 +104,13 @@
|
|
104
104
|
</define>
|
105
105
|
<define name="ogc-standard">
|
106
106
|
<element name="ogc-standard">
|
107
|
+
<attribute name="version"/>
|
108
|
+
<attribute name="type">
|
109
|
+
<choice>
|
110
|
+
<value>semantic</value>
|
111
|
+
<value>presentation</value>
|
112
|
+
</choice>
|
113
|
+
</attribute>
|
107
114
|
<ref name="bibdata"/>
|
108
115
|
<zeroOrMore>
|
109
116
|
<ref name="termdocsource"/>
|
@@ -18,7 +18,7 @@ module Asciidoctor
|
|
18
18
|
def stage_validate(xmldoc)
|
19
19
|
stage = xmldoc&.at("//bibdata/status/stage")&.text
|
20
20
|
%w(swg-draft oab-review public-rfc tc-vote
|
21
|
-
|
21
|
+
approved deprecated retired).include? stage or
|
22
22
|
@log.add("Document Attributes", nil, "#{stage} is not a recognised status")
|
23
23
|
end
|
24
24
|
|
data/lib/isodoc/ogc/biblio.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="document-stage-band" id="{{ stage | downcase | replace: ' ', '-' }}-band">
|
2
|
-
<p class="document-stage">{{
|
2
|
+
<p class="document-stage">{{ stage_display }}</p>
|
3
3
|
</div>
|
4
4
|
|
5
5
|
<div class="document-type-band" id="{{ doctype | downcase | replace: ' ', '-' }}-band">
|
@@ -85,7 +85,7 @@
|
|
85
85
|
</div>
|
86
86
|
|
87
87
|
<div class="coverpage-stage-block" >
|
88
|
-
<p><span class="coverpage-maturity" id="{{ stage | replace: ' ', '-' | downcase }}">{{
|
88
|
+
<p><span class="coverpage-maturity" id="{{ stage | replace: ' ', '-' | downcase }}">{{ stage_display }}</span></p>
|
89
89
|
</div>
|
90
90
|
</div>
|
91
91
|
|
@@ -98,7 +98,7 @@
|
|
98
98
|
<tr><td>Document number:</td><td>{{docnumber}}</td></tr>
|
99
99
|
<tr><td>Document type:</td><td>OGC {{doctype}}</td></tr>
|
100
100
|
<tr><td align="right">Document subtype:</td><td align="right">{{docsubtype}}</td></tr>
|
101
|
-
<tr><td align="right">Document stage:</td><td align="right">{{
|
101
|
+
<tr><td align="right">Document stage:</td><td align="right">{{stage_display}}</td></tr>
|
102
102
|
<tr><td align="right">Document language:</td><td align="right">{{doclanguage}}</td></tr>
|
103
103
|
</table>
|
104
104
|
</div>
|
@@ -9,7 +9,7 @@ fieldset, form, label, legend,
|
|
9
9
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
10
|
article, aside, canvas, details, embed,
|
11
11
|
figure, figcaption, footer, header, hgroup,
|
12
|
-
menu,
|
12
|
+
menu, output, ruby, section, summary,
|
13
13
|
time, mark, audio, video {
|
14
14
|
margin: 0;
|
15
15
|
padding: 0; }
|
@@ -104,6 +104,10 @@ b, strong {
|
|
104
104
|
div.document-stage-band, div.document-type-band {
|
105
105
|
background-color: #333333; }
|
106
106
|
|
107
|
+
a.FootnoteRef + a.FootnoteRef:before {
|
108
|
+
content: ", ";
|
109
|
+
vertical-align: super; }
|
110
|
+
|
107
111
|
#standard-band {
|
108
112
|
background-color: #3D9970; }
|
109
113
|
|
@@ -260,11 +264,213 @@ div.document-stage-band, div.document-type-band {
|
|
260
264
|
#retired {
|
261
265
|
border-bottom: solid 3px #7e0d13; }
|
262
266
|
|
267
|
+
.coverpage-maturity, .coverpage-stage {
|
268
|
+
font-family: {{headerfont}};
|
269
|
+
font-weight: 400;
|
270
|
+
font-size: 1.3em;
|
271
|
+
margin: 0 0 2em 0;
|
272
|
+
text-transform: uppercase; }
|
273
|
+
|
274
|
+
.icon-svg {
|
275
|
+
width: 100%;
|
276
|
+
color: #5ecf86; }
|
277
|
+
|
278
|
+
.wrapper-top {
|
279
|
+
background: #00335b;
|
280
|
+
background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
|
281
|
+
color: #ffffff;
|
282
|
+
padding: 5em 0;
|
283
|
+
width: 100%; }
|
284
|
+
|
285
|
+
.wrapper-top-bottom {
|
286
|
+
width: 0;
|
287
|
+
height: 0;
|
288
|
+
border-top: 100px solid #00335b;
|
289
|
+
border-right: 100px solid transparent;
|
290
|
+
position: absolute; }
|
291
|
+
|
292
|
+
.document-type-band {
|
293
|
+
top: 260px; }
|
294
|
+
|
295
|
+
.document-stage-band > :first-child {
|
296
|
+
height: 240px; }
|
297
|
+
|
298
|
+
.coverpage-metadata {
|
299
|
+
margin-top: 35px;
|
300
|
+
padding-top: 15px;
|
301
|
+
margin-right: 25px;
|
302
|
+
border-top: solid 1px white; }
|
303
|
+
|
304
|
+
.coverpage-metadata,
|
305
|
+
.coverpage-alt-formats {
|
306
|
+
font-size: 12px;
|
307
|
+
font-family: {{headerfont}};
|
308
|
+
margin-left: 1em;
|
309
|
+
text-align: left; }
|
310
|
+
.coverpage-metadata span,
|
311
|
+
.coverpage-alt-formats span {
|
312
|
+
display: block;
|
313
|
+
text-align: left; }
|
314
|
+
.coverpage-metadata span a,
|
315
|
+
.coverpage-alt-formats span a {
|
316
|
+
color: white; }
|
317
|
+
.coverpage-metadata span a:hover,
|
318
|
+
.coverpage-alt-formats span a:hover {
|
319
|
+
text-decoration: underline;
|
320
|
+
background: none;
|
321
|
+
box-shadow: none !important;
|
322
|
+
font-weight: 400; }
|
323
|
+
.coverpage-metadata .value,
|
324
|
+
.coverpage-alt-formats .value {
|
325
|
+
font-size: 15px;
|
326
|
+
margin-bottom: 15px; }
|
327
|
+
.coverpage-metadata .label,
|
328
|
+
.coverpage-alt-formats .label {
|
329
|
+
font-size: 12px;
|
330
|
+
padding: 0; }
|
331
|
+
|
332
|
+
.coverpage-alt-formats span {
|
333
|
+
display: inline;
|
334
|
+
text-align: left; }
|
335
|
+
.coverpage-alt-formats span a {
|
336
|
+
padding-right: 5px; }
|
337
|
+
|
338
|
+
.coverpage-title {
|
339
|
+
padding-bottom: 0.5em;
|
340
|
+
font-family: {{headerfont}};
|
341
|
+
font-weight: 100;
|
342
|
+
padding-left: 1em;
|
343
|
+
padding-right: 1em; }
|
344
|
+
.coverpage-title span {
|
345
|
+
font-family: {{headerfont}};
|
346
|
+
font-size: 1.8em;
|
347
|
+
line-height: 1; }
|
348
|
+
|
349
|
+
.docstage-box table {
|
350
|
+
width: auto; }
|
351
|
+
|
352
|
+
.docstage-box th {
|
353
|
+
background-color: #93c0d6; }
|
354
|
+
|
355
|
+
.docstage-box td {
|
356
|
+
vertical-align: top;
|
357
|
+
background-color: #daeef3;
|
358
|
+
padding: 0.5em;
|
359
|
+
border: 0; }
|
360
|
+
|
361
|
+
.docstage-box th:first-child {
|
362
|
+
border-radius: 1em 0 0 0; }
|
363
|
+
|
364
|
+
.docstage-box th:last-child {
|
365
|
+
border-radius: 0 1em 0 0; }
|
366
|
+
|
367
|
+
.docstage-box tr:first-child {
|
368
|
+
border-radius: 0 0 0 1em; }
|
369
|
+
|
370
|
+
.docstage-box tr:last-child {
|
371
|
+
border-radius: 0 1em 0 0; }
|
372
|
+
|
373
|
+
.docstage-box tr:last-child > td:first-child {
|
374
|
+
border-radius: 0 0 0 1em; }
|
375
|
+
|
376
|
+
.docstage-box tr:last-child > td:last-child {
|
377
|
+
border-radius: 0 0 1em 0; }
|
378
|
+
|
379
|
+
.WordSection11 {
|
380
|
+
padding: 0 2em 0 3em; }
|
381
|
+
|
382
|
+
.info-section {
|
383
|
+
padding: 0 2em 0 5em; }
|
384
|
+
|
385
|
+
.prefatory-section {
|
386
|
+
padding: 0 3em 0 6em; }
|
387
|
+
|
388
|
+
.zzSTDTitle1, .MsoCommentText {
|
389
|
+
display: none; }
|
390
|
+
|
391
|
+
.coverpage {
|
392
|
+
text-align: center;
|
393
|
+
padding-left: 1.5em; }
|
394
|
+
|
395
|
+
.coverpage-logo span, .coverpage-tc-name span {
|
396
|
+
font-family: {{bodyfont}};
|
397
|
+
text-transform: none;
|
398
|
+
font-weight: 300;
|
399
|
+
margin-left: 1em; }
|
400
|
+
|
401
|
+
.coverpage-tc-name {
|
402
|
+
font-size: 1.2em;
|
403
|
+
line-height: 1.2em;
|
404
|
+
margin: 0.25em 0; }
|
405
|
+
|
406
|
+
.copyright {
|
407
|
+
padding: 1em;
|
408
|
+
font-size: 0.9em;
|
409
|
+
text-align: left; }
|
410
|
+
|
411
|
+
/* Document Identity */
|
412
|
+
.coverpage-doc-identity {
|
413
|
+
font-size: 2em;
|
414
|
+
line-height: 2em; }
|
415
|
+
|
416
|
+
.coverpage-title .title-second {
|
417
|
+
display: none; }
|
418
|
+
|
419
|
+
.coverpage-stage-block {
|
420
|
+
font-family: {{headerfont}};
|
421
|
+
font-weight: 600;
|
422
|
+
font-size: 1.25em;
|
423
|
+
margin: 2em 0em 2em 0em;
|
424
|
+
text-transform: uppercase; }
|
425
|
+
|
426
|
+
.authors {
|
427
|
+
margin-top: 2em; }
|
428
|
+
.authors span {
|
429
|
+
display: block;
|
430
|
+
line-height: 2; }
|
431
|
+
.authors span.roletag {
|
432
|
+
display: inline-block;
|
433
|
+
font-size: 12px;
|
434
|
+
color: #00335b;
|
435
|
+
background-color: white;
|
436
|
+
padding: 2px 5px;
|
437
|
+
margin-left: 7px;
|
438
|
+
border-radius: 5px; }
|
439
|
+
|
440
|
+
/* Draft Warning */
|
441
|
+
.coverpage-warning {
|
442
|
+
border: #f36f36 solid 2px;
|
443
|
+
color: #f36f36 !important;
|
444
|
+
margin: 1em 2em;
|
445
|
+
color: #2e81c2;
|
446
|
+
padding: 2em 1em 1em 1em;
|
447
|
+
border-radius: 25px; }
|
448
|
+
.coverpage-warning h1 {
|
449
|
+
font-family: {{headerfont}};
|
450
|
+
font-weight: 300;
|
451
|
+
text-transform: uppercase;
|
452
|
+
font-size: 1.2em; }
|
453
|
+
|
454
|
+
@media print {
|
455
|
+
.document-info, .copyright {
|
456
|
+
page-break-before: always; }
|
457
|
+
.coverpage {
|
458
|
+
height: 23cm; }
|
459
|
+
.info-section {
|
460
|
+
display: none; }
|
461
|
+
.wrapper-top {
|
462
|
+
top: 0;
|
463
|
+
padding-top: 4cm;
|
464
|
+
padding-bottom: 4cm; }
|
465
|
+
.wrapper-top-bottom {
|
466
|
+
margin-top: -5px;
|
467
|
+
display: none; } }
|
468
|
+
|
263
469
|
body {
|
264
470
|
margin-left: auto;
|
265
471
|
margin-right: auto;
|
266
472
|
max-width: 100%;
|
267
|
-
font-size:
|
473
|
+
font-size: {{normalfontsize}};
|
268
474
|
font-weight: 300;
|
269
475
|
line-height: 1.5;
|
270
476
|
color: #00335b;
|
@@ -497,202 +703,6 @@ dl {
|
|
497
703
|
#published {
|
498
704
|
color: #9ABD48; }
|
499
705
|
|
500
|
-
.coverpage-maturity, .coverpage-stage {
|
501
|
-
font-family: {{headerfont}};
|
502
|
-
font-weight: 400;
|
503
|
-
font-size: 1.3em;
|
504
|
-
margin: 0 0 2em 0;
|
505
|
-
text-transform: uppercase; }
|
506
|
-
|
507
|
-
.icon-svg {
|
508
|
-
width: 100%;
|
509
|
-
color: #5ecf86; }
|
510
|
-
|
511
|
-
.wrapper-top {
|
512
|
-
background: #00335b;
|
513
|
-
background: linear-gradient(130deg, #00335b 45%, #f1f8ff 100%);
|
514
|
-
color: #ffffff;
|
515
|
-
padding: 5em 0;
|
516
|
-
width: 100%; }
|
517
|
-
|
518
|
-
.wrapper-top-bottom {
|
519
|
-
width: 0;
|
520
|
-
height: 0;
|
521
|
-
border-top: 100px solid #00335b;
|
522
|
-
border-right: 100px solid transparent;
|
523
|
-
position: absolute; }
|
524
|
-
|
525
|
-
.coverpage-metadata {
|
526
|
-
margin-top: 35px;
|
527
|
-
padding-top: 15px;
|
528
|
-
margin-right: 25px;
|
529
|
-
border-top: solid 1px white; }
|
530
|
-
|
531
|
-
.coverpage-metadata,
|
532
|
-
.coverpage-alt-formats {
|
533
|
-
font-size: 12px;
|
534
|
-
font-family: {{headerfont}};
|
535
|
-
margin-left: 1em;
|
536
|
-
text-align: left; }
|
537
|
-
.coverpage-metadata span,
|
538
|
-
.coverpage-alt-formats span {
|
539
|
-
display: block;
|
540
|
-
text-align: left; }
|
541
|
-
.coverpage-metadata span a,
|
542
|
-
.coverpage-alt-formats span a {
|
543
|
-
color: white; }
|
544
|
-
.coverpage-metadata span a:hover,
|
545
|
-
.coverpage-alt-formats span a:hover {
|
546
|
-
text-decoration: underline;
|
547
|
-
background: none;
|
548
|
-
box-shadow: none !important;
|
549
|
-
font-weight: 400; }
|
550
|
-
.coverpage-metadata .value,
|
551
|
-
.coverpage-alt-formats .value {
|
552
|
-
font-size: 15px;
|
553
|
-
margin-bottom: 15px; }
|
554
|
-
.coverpage-metadata .label,
|
555
|
-
.coverpage-alt-formats .label {
|
556
|
-
font-size: 12px;
|
557
|
-
padding: 0; }
|
558
|
-
|
559
|
-
.coverpage-alt-formats span {
|
560
|
-
display: inline;
|
561
|
-
text-align: left; }
|
562
|
-
.coverpage-alt-formats span a {
|
563
|
-
padding-right: 5px; }
|
564
|
-
|
565
|
-
.coverpage-title {
|
566
|
-
padding-bottom: 0.5em;
|
567
|
-
font-family: {{headerfont}};
|
568
|
-
font-weight: 100;
|
569
|
-
padding-left: 1em;
|
570
|
-
padding-right: 1em; }
|
571
|
-
.coverpage-title span {
|
572
|
-
font-family: {{headerfont}};
|
573
|
-
font-size: 1.8em;
|
574
|
-
line-height: 1; }
|
575
|
-
|
576
|
-
.docstage-box table {
|
577
|
-
width: auto; }
|
578
|
-
|
579
|
-
.docstage-box th {
|
580
|
-
background-color: #93c0d6; }
|
581
|
-
|
582
|
-
.docstage-box td {
|
583
|
-
vertical-align: top;
|
584
|
-
background-color: #daeef3;
|
585
|
-
padding: 0.5em;
|
586
|
-
border: 0; }
|
587
|
-
|
588
|
-
.docstage-box th:first-child {
|
589
|
-
border-radius: 1em 0 0 0; }
|
590
|
-
|
591
|
-
.docstage-box th:last-child {
|
592
|
-
border-radius: 0 1em 0 0; }
|
593
|
-
|
594
|
-
.docstage-box tr:first-child {
|
595
|
-
border-radius: 0 0 0 1em; }
|
596
|
-
|
597
|
-
.docstage-box tr:last-child {
|
598
|
-
border-radius: 0 1em 0 0; }
|
599
|
-
|
600
|
-
.docstage-box tr:last-child > td:first-child {
|
601
|
-
border-radius: 0 0 0 1em; }
|
602
|
-
|
603
|
-
.docstage-box tr:last-child > td:last-child {
|
604
|
-
border-radius: 0 0 1em 0; }
|
605
|
-
|
606
|
-
.WordSection11 {
|
607
|
-
padding: 0 2em 0 3em; }
|
608
|
-
|
609
|
-
.info-section {
|
610
|
-
padding: 0 2em 0 5em; }
|
611
|
-
|
612
|
-
.prefatory-section {
|
613
|
-
padding: 0 3em 0 6em; }
|
614
|
-
|
615
|
-
.zzSTDTitle1, .MsoCommentText {
|
616
|
-
display: none; }
|
617
|
-
|
618
|
-
.coverpage {
|
619
|
-
text-align: center;
|
620
|
-
padding-left: 1.5em; }
|
621
|
-
|
622
|
-
.coverpage-logo span, .coverpage-tc-name span {
|
623
|
-
font-family: {{bodyfont}};
|
624
|
-
text-transform: none;
|
625
|
-
font-weight: 300;
|
626
|
-
margin-left: 1em; }
|
627
|
-
|
628
|
-
.coverpage-tc-name {
|
629
|
-
font-size: 1.2em;
|
630
|
-
line-height: 1.2em;
|
631
|
-
margin: 0.25em 0; }
|
632
|
-
|
633
|
-
.copyright {
|
634
|
-
padding: 1em;
|
635
|
-
font-size: 0.9em;
|
636
|
-
text-align: left; }
|
637
|
-
|
638
|
-
/* Document Identity */
|
639
|
-
.coverpage-doc-identity {
|
640
|
-
font-size: 2em;
|
641
|
-
line-height: 2em; }
|
642
|
-
|
643
|
-
.coverpage-title .title-second {
|
644
|
-
display: none; }
|
645
|
-
|
646
|
-
.coverpage-stage-block {
|
647
|
-
font-family: {{headerfont}};
|
648
|
-
font-weight: 600;
|
649
|
-
font-size: 1.25em;
|
650
|
-
margin: 2em 0em 2em 0em;
|
651
|
-
text-transform: uppercase; }
|
652
|
-
|
653
|
-
.authors {
|
654
|
-
margin-top: 2em; }
|
655
|
-
.authors span {
|
656
|
-
display: block;
|
657
|
-
line-height: 2; }
|
658
|
-
.authors span.roletag {
|
659
|
-
display: inline-block;
|
660
|
-
font-size: 12px;
|
661
|
-
color: #00335b;
|
662
|
-
background-color: white;
|
663
|
-
padding: 2px 5px;
|
664
|
-
margin-left: 7px;
|
665
|
-
border-radius: 5px; }
|
666
|
-
|
667
|
-
/* Draft Warning */
|
668
|
-
.coverpage-warning {
|
669
|
-
border: #f36f36 solid 2px;
|
670
|
-
color: #f36f36 !important;
|
671
|
-
margin: 1em 2em;
|
672
|
-
color: #2e81c2;
|
673
|
-
padding: 2em 1em 1em 1em;
|
674
|
-
border-radius: 25px; }
|
675
|
-
.coverpage-warning h1 {
|
676
|
-
font-family: {{headerfont}};
|
677
|
-
font-weight: 300;
|
678
|
-
text-transform: uppercase;
|
679
|
-
font-size: 1.2em; }
|
680
|
-
|
681
|
-
@media print {
|
682
|
-
.document-info, .copyright {
|
683
|
-
page-break-before: always; }
|
684
|
-
.coverpage {
|
685
|
-
height: 23cm; }
|
686
|
-
.info-section {
|
687
|
-
display: none; }
|
688
|
-
.wrapper-top {
|
689
|
-
top: 0;
|
690
|
-
padding-top: 4cm;
|
691
|
-
padding-bottom: 4cm; }
|
692
|
-
.wrapper-top-bottom {
|
693
|
-
margin-top: -5px;
|
694
|
-
display: none; } }
|
695
|
-
|
696
706
|
p {
|
697
707
|
margin-top: 1em;
|
698
708
|
margin-bottom: 1em; }
|
@@ -878,7 +888,7 @@ pre {
|
|
878
888
|
font-family: {{monospacefont}};
|
879
889
|
font-variant-ligatures: none;
|
880
890
|
background-color: #f7f7f7;
|
881
|
-
font-size:
|
891
|
+
font-size: {{monospacefontsize}};
|
882
892
|
line-height: 1.6em;
|
883
893
|
padding: 1.5em;
|
884
894
|
margin: 2em 0 1em 0;
|
@@ -911,7 +921,7 @@ pre {
|
|
911
921
|
.figure, pre, .pseudocode {
|
912
922
|
background-color: #e1eef1;
|
913
923
|
color: #424242;
|
914
|
-
font-size:
|
924
|
+
font-size: {{monospacefontsize}}; }
|
915
925
|
|
916
926
|
.Note {
|
917
927
|
background-color: #fff8bb;
|
@@ -1081,4 +1091,4 @@ a.footnote-number {
|
|
1081
1091
|
font-size: 0.8em; }
|
1082
1092
|
|
1083
1093
|
.footnote {
|
1084
|
-
font-size:
|
1094
|
+
font-size: {{footnotefontsize}}; }
|