metanorma-rsd 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +2 -3
- data/.github/workflows/ubuntu.yml +3 -4
- data/.github/workflows/windows.yml +3 -4
- data/README.adoc +5 -5
- data/lib/asciidoctor/rsd/biblio.rng +2 -12
- data/lib/asciidoctor/rsd/converter.rb +47 -2
- data/lib/asciidoctor/rsd/isodoc.rng +1 -3
- data/lib/isodoc/rsd/base_convert.rb +62 -0
- data/lib/isodoc/rsd/html/header.html +15 -15
- data/lib/isodoc/rsd/html/html_rsd_titlepage.html +1 -1
- data/lib/isodoc/rsd/html/htmlstyle.scss +6 -7
- data/lib/isodoc/rsd/html/logo.png +0 -0
- data/lib/isodoc/rsd/html/rsd.scss +57 -60
- data/lib/isodoc/rsd/html/word_rsd_intro.html +5 -5
- data/lib/isodoc/rsd/html/word_rsd_titlepage.html +69 -14
- data/lib/isodoc/rsd/html/wordstyle.scss +43 -30
- data/lib/isodoc/rsd/html_convert.rb +16 -8
- data/lib/isodoc/rsd/metadata.rb +17 -21
- data/lib/isodoc/rsd/pdf_convert.rb +16 -8
- data/lib/isodoc/rsd/word_convert.rb +15 -8
- data/lib/metanorma-rsd.rb +1 -0
- data/lib/metanorma/rsd.rb +2 -2
- data/lib/metanorma/rsd/version.rb +1 -1
- data/metanorma-rsd.gemspec +1 -1
- data/metanorma.yml +4 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 101eb1fc5a1a726cefc8e12dcd570733d0cb2b800c586c4628ba4674647e671f
|
4
|
+
data.tar.gz: 78064e1735d8fac74138360ae08438a82447b2974d6a38f3587ce8e9b2d5c47f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1311e29995441ad9c98b18cf3a280a131e3870736706369610328fc34bf673a29461777048f48fd155b9c2dfb428c72a0bd8b22bd4664847f43ed5ee74bad15a
|
7
|
+
data.tar.gz: 5dd2bd74300087c571aaaa77377192e4f55943df03cbc87080903812d20894a4f49359d6ab79f77f7cce3a7267ca735c83a781d06572a702cf4570df132dccd4
|
data/.github/workflows/macos.yml
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
# Auto-generated
|
2
|
-
#
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
3
|
name: macos
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
7
|
branches: [ master ]
|
8
8
|
pull_request:
|
9
|
-
branches: [ '**' ]
|
10
9
|
|
11
10
|
jobs:
|
12
11
|
test-macos:
|
@@ -1,12 +1,11 @@
|
|
1
|
-
# Auto-generated
|
2
|
-
#
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
3
|
name: ubuntu
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
7
|
branches: [ master ]
|
8
8
|
pull_request:
|
9
|
-
branches: [ '**' ]
|
10
9
|
|
11
10
|
jobs:
|
12
11
|
test-linux:
|
@@ -25,7 +24,7 @@ jobs:
|
|
25
24
|
architecture: 'x64'
|
26
25
|
- name: Update gems
|
27
26
|
run: |
|
28
|
-
gem install bundler
|
27
|
+
gem install bundler
|
29
28
|
bundle install --jobs 4 --retry 3
|
30
29
|
- name: Use Node
|
31
30
|
uses: actions/setup-node@v1
|
@@ -1,12 +1,11 @@
|
|
1
|
-
# Auto-generated
|
2
|
-
#
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
3
3
|
name: windows
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
7
|
branches: [ master ]
|
8
8
|
pull_request:
|
9
|
-
branches: [ '**' ]
|
10
9
|
|
11
10
|
jobs:
|
12
11
|
test-windows:
|
@@ -26,7 +25,7 @@ jobs:
|
|
26
25
|
- name: Update gems
|
27
26
|
shell: pwsh
|
28
27
|
run: |
|
29
|
-
gem install bundler
|
28
|
+
gem install bundler
|
30
29
|
bundle config --local path vendor/bundle
|
31
30
|
bundle update
|
32
31
|
bundle install --jobs 4 --retry 3
|
data/README.adoc
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
= AsciiRSD: Asciidoctor processor for Ribose Standard Documents (RSD)
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-rsd.svg["Gem Version", link="https://rubygems.org/gems/metanorma-rsd"]
|
4
|
-
image:https://
|
5
|
-
image:https://
|
4
|
+
image:https://github.com/metanorma/metanorma-rsd/workflows/macos/badge.svg["Build Status (macOS)", link="https://github.com/metanorma/metanorma-rsd/actions?workflow=macos"]
|
5
|
+
image:https://github.com/metanorma/metanorma-rsd/workflows/ubuntu/badge.svg["Build Status (ubuntu)", link="https://github.com/metanorma/metanorma-rsd/actions?workflow=ubuntu"]
|
6
|
+
image:https://github.com/metanorma/metanorma-rsd/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/metanorma/metanorma-rsd/actions?workflow=windows"]
|
6
7
|
image:https://codeclimate.com/github/metanorma/metanorma-rsd/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-rsd"]
|
7
8
|
image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-rsd.svg["Pull Requests", link="https://github.com/metanorma/metanorma-rsd/pulls"]
|
8
9
|
image:https://img.shields.io/github/commits-since/metanorma/metanorma-rsd/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-rsd/releases"]
|
@@ -87,8 +88,7 @@ this general model can be found on its page. Details of the RSD modifications
|
|
87
88
|
to this general model can be found on the https://github.com/metanorma/metanorma-model-rsd[RSD model]
|
88
89
|
repository.
|
89
90
|
|
91
|
+
////
|
90
92
|
== Examples
|
93
|
+
////
|
91
94
|
|
92
|
-
* link:spec/examples/rfc6350.adoc[] is an AsciiRSD version of https://tools.ietf.org/html/rfc6350[RFC 6350].
|
93
|
-
* link:spec/examples/rfc6350.html[] is an HTML file generated from the AsciiRSD.
|
94
|
-
* link:spec/examples/rfc6350.doc[] is a Word document generated from the AsciiRSD.
|
@@ -703,21 +703,11 @@
|
|
703
703
|
</define>
|
704
704
|
<define name="TypedTitleString">
|
705
705
|
<optional>
|
706
|
-
<attribute name="type"
|
707
|
-
<ref name="TitleType"/>
|
708
|
-
</attribute>
|
706
|
+
<attribute name="type"/>
|
709
707
|
</optional>
|
710
708
|
<ref name="FormattedString"/>
|
711
709
|
</define>
|
712
|
-
|
713
|
-
<choice>
|
714
|
-
<value>alternative</value>
|
715
|
-
<value>original</value>
|
716
|
-
<value>unofficial</value>
|
717
|
-
<value>subtitle</value>
|
718
|
-
<value>main</value>
|
719
|
-
</choice>
|
720
|
-
</define>
|
710
|
+
<!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
|
721
711
|
<define name="TypedUri">
|
722
712
|
<optional>
|
723
713
|
<attribute name="type"/>
|
@@ -1,14 +1,19 @@
|
|
1
1
|
require "asciidoctor/standoc/converter"
|
2
|
-
require 'asciidoctor/
|
2
|
+
require 'asciidoctor/generic/converter'
|
3
3
|
|
4
4
|
module Asciidoctor
|
5
5
|
module Rsd
|
6
6
|
# A {Converter} implementation that generates RSD output, and a document
|
7
7
|
# schema encapsulation of the document for validation
|
8
8
|
#
|
9
|
-
class Converter < Asciidoctor::
|
9
|
+
class Converter < Asciidoctor::Generic::Converter
|
10
10
|
register_for "rsd"
|
11
11
|
|
12
|
+
def metadata_recipient(node, xml)
|
13
|
+
recipient = node.attr("recipient") || return
|
14
|
+
xml.recipient recipient
|
15
|
+
end
|
16
|
+
|
12
17
|
def metadata_security(node, xml)
|
13
18
|
security = node.attr("security") || return
|
14
19
|
xml.security security
|
@@ -17,6 +22,46 @@ module Asciidoctor
|
|
17
22
|
def metadata_ext(node, xml)
|
18
23
|
super
|
19
24
|
metadata_security(node, xml)
|
25
|
+
metadata_recipient(node, xml)
|
26
|
+
end
|
27
|
+
|
28
|
+
def sectiontype(node, level = true)
|
29
|
+
ret = node&.attr("heading")&.downcase ||
|
30
|
+
node.title.gsub(/<[^>]+>/, "").downcase
|
31
|
+
ret1 = sectiontype_streamline(ret)
|
32
|
+
return ret1 if "symbols and abbreviated terms" == ret1
|
33
|
+
return ret1 if "executive summary" == ret1
|
34
|
+
return nil unless !level || node.level == 1
|
35
|
+
return nil if @seen_headers.include? ret
|
36
|
+
@seen_headers << ret
|
37
|
+
ret1
|
38
|
+
end
|
39
|
+
|
40
|
+
def make_preface(x, s)
|
41
|
+
if x.at("//foreword | //introduction | //acknowledgements | "\
|
42
|
+
"//clause[@preface] | //executivesummary")
|
43
|
+
preface = s.add_previous_sibling("<preface/>").first
|
44
|
+
f = x.at("//foreword") and preface.add_child f.remove
|
45
|
+
f = x.at("//executivesummary") and preface.add_child f.remove
|
46
|
+
f = x.at("//introduction") and preface.add_child f.remove
|
47
|
+
move_clauses_into_preface(x, preface)
|
48
|
+
f = x.at("//acknowledgements") and preface.add_child f.remove
|
49
|
+
end
|
50
|
+
make_abstract(x, s)
|
51
|
+
end
|
52
|
+
|
53
|
+
def clause_parse(attrs, xml, node)
|
54
|
+
sectiontype(node) == "executive summary" and
|
55
|
+
return executivesummary_parse(attrs, xml, node)
|
56
|
+
super
|
57
|
+
end
|
58
|
+
|
59
|
+
def executivesummary_parse(attrs, xml, node)
|
60
|
+
xml.executivesummary **attr_code(attrs) do |xml_section|
|
61
|
+
xml_section.title { |t| t << node.title || "Executive Summary" }
|
62
|
+
content = node.content
|
63
|
+
xml_section << content
|
64
|
+
end
|
20
65
|
end
|
21
66
|
|
22
67
|
def configuration
|
@@ -0,0 +1,62 @@
|
|
1
|
+
module IsoDoc
|
2
|
+
module Rsd
|
3
|
+
module BaseConvert
|
4
|
+
def metadata_init(lang, script, labels)
|
5
|
+
@meta = Metadata.new(lang, script, labels)
|
6
|
+
end
|
7
|
+
|
8
|
+
def info(isoxml, out)
|
9
|
+
@meta.security isoxml, out
|
10
|
+
@meta.recipient isoxml, out
|
11
|
+
super
|
12
|
+
end
|
13
|
+
|
14
|
+
def annex_name(annex, name, div)
|
15
|
+
div.h1 **{ class: "Annex" } do |t|
|
16
|
+
t << "#{anchor(annex['id'], :label)}<br/><br/>"
|
17
|
+
name&.children&.each { |c2| parse(c2, t) }
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def annex_name_lbl(clause, num)
|
22
|
+
obl = l10n("(#{@inform_annex_lbl})")
|
23
|
+
obl = l10n("(#{@norm_annex_lbl})") if clause["obligation"] == "normative"
|
24
|
+
l10n("#{@annex_lbl} #{num}<br/>#{obl}")
|
25
|
+
end
|
26
|
+
|
27
|
+
def executivesummary docxml, out
|
28
|
+
f = docxml.at(ns("//executivesummary")) || return
|
29
|
+
title_attr = { class: "IntroTitle" }
|
30
|
+
page_break(out)
|
31
|
+
out.div **{ class: "Section3", id: f["id"] } do |div|
|
32
|
+
clause_name(nil, f&.at(ns("./title")), div, title_attr)
|
33
|
+
f.elements.each do |e|
|
34
|
+
parse(e, div) unless e.name == "title"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
def initial_anchor_names(d)
|
40
|
+
preface_names(d.at(ns("//executivesummary")))
|
41
|
+
super
|
42
|
+
sequential_asset_names(
|
43
|
+
d.xpath(ns("//preface/abstract | //foreword | //introduction | "\
|
44
|
+
"//preface/clause | //acknowledgements | //executivesummary")))
|
45
|
+
end
|
46
|
+
|
47
|
+
def clausedelim
|
48
|
+
""
|
49
|
+
end
|
50
|
+
|
51
|
+
def section_names1(clause, num, level)
|
52
|
+
@anchors[clause["id"]] =
|
53
|
+
{ label: num, level: level, xref: num }
|
54
|
+
# subclauses are not prefixed with "Clause"
|
55
|
+
clause.xpath(ns("./clause | ./terms | ./term | ./definitions | ./references")).
|
56
|
+
each_with_index do |c, i|
|
57
|
+
section_names1(c, "#{num}.#{i + 1}", level + 1)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -66,7 +66,7 @@ normal'><span lang=EN-GB><span style='mso-special-character:footnote-continuatio
|
|
66
66
|
<div style='mso-element:header' id=eh1>
|
67
67
|
|
68
68
|
<p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
|
69
|
-
mso-line-height-rule:exactly'><span lang=EN-GB>
|
69
|
+
mso-line-height-rule:exactly'><span lang=EN-GB>RR {{ docnumber }}:{{ docyear }}</span></p>
|
70
70
|
|
71
71
|
</div>
|
72
72
|
|
@@ -74,7 +74,7 @@ mso-line-height-rule:exactly'><span lang=EN-GB>RS {{ docnumber }}:{{ docyea
|
|
74
74
|
|
75
75
|
<p class=MsoHeader style='margin-bottom:18.0pt'><span lang=EN-GB
|
76
76
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt;font-weight:normal'>©
|
77
|
-
Ribose
|
77
|
+
Ribose Asia Limited {{ docyear }} – All rights reserved</span><span lang=EN-GB
|
78
78
|
style='font-weight:normal'><o:p></o:p></span></p>
|
79
79
|
|
80
80
|
</div>
|
@@ -93,28 +93,28 @@ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
|
|
93
93
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
94
94
|
lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
95
95
|
style='mso-tab-count:1'> </span>©
|
96
|
-
Ribose
|
96
|
+
Ribose Asia Limited {{ docyear }} – All rights reserved<o:p></o:p></span></p>
|
97
97
|
|
98
98
|
</div>
|
99
99
|
|
100
100
|
<div style='mso-element:header' id=eh2>
|
101
101
|
<p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;
|
102
|
-
mso-line-height-rule:exactly'><span lang=EN-GB>
|
102
|
+
mso-line-height-rule:exactly'><span lang=EN-GB>RR {{ docnumber }}:{{ docyear }}</span></p>
|
103
103
|
</div>
|
104
104
|
|
105
105
|
<div style='mso-element:header' id=eh2l>
|
106
106
|
<p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;
|
107
|
-
mso-line-height-rule:exactly'><span lang=EN-GB>
|
107
|
+
mso-line-height-rule:exactly'><span lang=EN-GB>RR {{ docnumber }}:{{ docyear }}</span></p>
|
108
108
|
</div>
|
109
109
|
|
110
110
|
<div style='mso-element:header' id=h2>
|
111
111
|
<p class=MsoHeader align=right style='text-align:right;line-height:12.0pt;
|
112
|
-
mso-line-height-rule:exactly'><span lang=EN-GB>
|
112
|
+
mso-line-height-rule:exactly'><span lang=EN-GB>RR {{ docnumber }}:{{ docyear }}</span></p>
|
113
113
|
</div>
|
114
114
|
|
115
115
|
<div style='mso-element:header' id=h2l>
|
116
116
|
<p class=MsoHeaderLandscape align=right style='text-align:right;line-height:12.0pt;
|
117
|
-
mso-line-height-rule:exactly'><span lang=EN-GB>
|
117
|
+
mso-line-height-rule:exactly'><span lang=EN-GB>RR {{ docnumber }}:{{ docyear }}</span></p>
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div style='mso-element:footer' id=ef2>
|
@@ -129,7 +129,7 @@ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
129
129
|
style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
|
130
130
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
|
131
131
|
1'> </span>©
|
132
|
-
Ribose
|
132
|
+
Ribose Asia Limited {{ docyear }} – All rights reserved<o:p></o:p></span></p>
|
133
133
|
</div>
|
134
134
|
|
135
135
|
<div style='mso-element:footer' id=ef2l>
|
@@ -144,12 +144,12 @@ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
144
144
|
style='mso-element:field-end'></span></span><![endif]--><span lang=EN-GB
|
145
145
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
|
146
146
|
1'> </span>©
|
147
|
-
Ribose
|
147
|
+
Ribose Asia Limited {{ docyear }} – All rights reserved<o:p></o:p></span></p>
|
148
148
|
</div>
|
149
149
|
|
150
150
|
<div style='mso-element:footer' id=f2>
|
151
151
|
<p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
|
152
|
-
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose
|
152
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose Asia Limited {{ docyear }} – All
|
153
153
|
rights reserved<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
154
154
|
lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
155
155
|
style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>
|
@@ -163,7 +163,7 @@ style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
|
|
163
163
|
|
164
164
|
<div style='mso-element:footer' id=f2l>
|
165
165
|
<p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-GB
|
166
|
-
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose
|
166
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose Asia Limited {{ docyear }} – All
|
167
167
|
rights reserved<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
168
168
|
lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
169
169
|
style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>
|
@@ -188,7 +188,7 @@ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
|
|
188
188
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
189
189
|
lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
190
190
|
style='mso-tab-count:1'> </span>©
|
191
|
-
Ribose
|
191
|
+
Ribose Asia Limited {{ docyear }} – All rights reserved<o:p></o:p></span></p>
|
192
192
|
</div>
|
193
193
|
|
194
194
|
<div style='mso-element:footer' id=ef3l>
|
@@ -204,12 +204,12 @@ style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
|
|
204
204
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
205
205
|
lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
206
206
|
style='mso-tab-count:1'> </span>©
|
207
|
-
Ribose
|
207
|
+
Ribose Asia Limited {{ docyear }} – All rights reserved<o:p></o:p></span></p>
|
208
208
|
</div>
|
209
209
|
|
210
210
|
<div style='mso-element:footer' id=f3>
|
211
211
|
<p class=MsoFooter style='line-height:12.0pt'><span lang=EN-GB
|
212
|
-
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose
|
212
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose Asia Limited {{ docyear }} – All
|
213
213
|
rights reserved<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><b
|
214
214
|
style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
|
215
215
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
|
@@ -224,7 +224,7 @@ lang=EN-GB style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span>
|
|
224
224
|
|
225
225
|
<div style='mso-element:footer' id=f3l>
|
226
226
|
<p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-GB
|
227
|
-
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose
|
227
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'>© Ribose Asia Limited {{ docyear }} – All
|
228
228
|
rights reserved<span style='mso-tab-count:1'> </span></span><!--[if supportFields]><b
|
229
229
|
style='mso-bidi-font-weight:normal'><span lang=EN-GB style='font-size:10.0pt;
|
230
230
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
|
@@ -87,16 +87,15 @@ div.figure {
|
|
87
87
|
*/
|
88
88
|
|
89
89
|
.document-type-band {
|
90
|
-
@include docBand(2,
|
91
|
-
}
|
90
|
+
@include docBand($order: 2, $offset: 180px);
|
92
91
|
|
93
|
-
.document-
|
94
|
-
|
92
|
+
.document-type {
|
93
|
+
top: 20px;
|
94
|
+
}
|
95
95
|
}
|
96
96
|
|
97
|
-
|
98
|
-
|
99
|
-
@include docBandTitle(150);
|
97
|
+
.document-stage-band {
|
98
|
+
@include docBand($order: 1, $textLength: 160px, $fontWeight: 300);
|
100
99
|
}
|
101
100
|
|
102
101
|
#governance-band p.document-type {
|
Binary file
|
@@ -42,7 +42,7 @@ p.Biblio, li.Biblio, div.Biblio, p.NormRef, li.NormRef, div.NormRef
|
|
42
42
|
tab-stops: 33.15pt;
|
43
43
|
line-height:12.0pt;
|
44
44
|
mso-pagination:widow-orphan;
|
45
|
-
font-size:
|
45
|
+
font-size:12.0pt;
|
46
46
|
font-weight:normal;
|
47
47
|
font-family:$bodyfont;
|
48
48
|
mso-fareast-font-family:$bodyfont;
|
@@ -135,10 +135,9 @@ p.Note, div.Note, li.Note, p.TableFootnote, div.TableFootnote, li.TableFootnote
|
|
135
135
|
line-height:12.0pt;
|
136
136
|
mso-pagination:widow-orphan;
|
137
137
|
tab-stops:20.15pt;
|
138
|
-
font-size:
|
138
|
+
font-size:11.0pt;
|
139
139
|
mso-bidi-font-size:11.0pt;
|
140
140
|
font-family:$bodyfont;
|
141
|
-
font-size:10.0pt;
|
142
141
|
mso-fareast-font-family:$bodyfont;
|
143
142
|
mso-bidi-font-family:$bodyfont;
|
144
143
|
mso-ansi-language:EN-GB;}
|
@@ -161,14 +160,14 @@ p.ANNEX, li.ANNEX, div.ANNEX
|
|
161
160
|
mso-outline-level:1;
|
162
161
|
mso-list:l0 level1 lfo12;
|
163
162
|
tab-stops:20.15pt;
|
164
|
-
font-size:
|
163
|
+
font-size:12.0pt;
|
165
164
|
mso-bidi-font-size:11.0pt;
|
166
165
|
font-family:$headerfont;
|
166
|
+
color:#0E1A85;
|
167
167
|
mso-fareast-font-family:$headerfont;
|
168
168
|
mso-bidi-font-family:$headerfont;
|
169
169
|
mso-ansi-language:EN-GB;
|
170
170
|
mso-fareast-language:JA;
|
171
|
-
font-weight:bold;
|
172
171
|
mso-bidi-font-weight:normal;}
|
173
172
|
p.BiblioTitle, li.BiblioTitle, div.BiblioTitle
|
174
173
|
{mso-style-name:"Biblio Title";
|
@@ -183,13 +182,13 @@ p.BiblioTitle, li.BiblioTitle, div.BiblioTitle
|
|
183
182
|
mso-pagination:widow-orphan;
|
184
183
|
mso-outline-level:1;
|
185
184
|
tab-stops:20.15pt;
|
186
|
-
font-size:
|
185
|
+
font-size:12.0pt;
|
187
186
|
mso-bidi-font-size:11.0pt;
|
188
187
|
font-family:$headerfont;
|
188
|
+
color:#0E1A85;
|
189
189
|
mso-fareast-font-family:$headerfont;
|
190
190
|
mso-bidi-font-family:$headerfont;
|
191
191
|
mso-ansi-language:EN-GB;
|
192
|
-
font-weight:bold;
|
193
192
|
mso-bidi-font-weight:normal;}
|
194
193
|
p.Definition, li.Definition, div.Definition
|
195
194
|
{mso-style-name:Definition;
|
@@ -203,7 +202,7 @@ p.Definition, li.Definition, div.Definition
|
|
203
202
|
line-height:12.0pt;
|
204
203
|
mso-pagination:widow-orphan;
|
205
204
|
tab-stops:20.15pt;
|
206
|
-
font-size:
|
205
|
+
font-size:12.0pt;
|
207
206
|
font-family:$bodyfont;
|
208
207
|
mso-fareast-font-family:$bodyfont;
|
209
208
|
mso-bidi-font-family:$bodyfont;
|
@@ -224,13 +223,13 @@ p.ForewordTitle, li.ForewordTitle, div.ForewordTitle
|
|
224
223
|
mso-outline-level:1;
|
225
224
|
mso-hyphenate:none;
|
226
225
|
tab-stops:20.15pt;
|
227
|
-
font-size:
|
226
|
+
font-size:12.0pt;
|
228
227
|
mso-bidi-font-size:11.0pt;
|
229
228
|
font-family:$headerfont;
|
229
|
+
color:#0E1A85;
|
230
230
|
mso-fareast-font-family:$headerfont;
|
231
231
|
mso-bidi-font-family:$headerfont;
|
232
232
|
mso-ansi-language:EN-GB;
|
233
|
-
font-weight:bold;
|
234
233
|
mso-bidi-font-weight:normal;}
|
235
234
|
p.IntroTitle, li.IntroTitle, div.IntroTitle
|
236
235
|
{mso-style-name:"Intro Title";
|
@@ -248,13 +247,13 @@ p.IntroTitle, li.IntroTitle, div.IntroTitle
|
|
248
247
|
mso-outline-level:1;
|
249
248
|
mso-hyphenate:none;
|
250
249
|
tab-stops:20.15pt;
|
251
|
-
font-size:
|
250
|
+
font-size:12.0pt;
|
252
251
|
mso-bidi-font-size:11.0pt;
|
253
252
|
font-family:$headerfont;
|
253
|
+
color:#0E1A85;
|
254
254
|
mso-fareast-font-family:$headerfont;
|
255
255
|
mso-bidi-font-family:$headerfont;
|
256
256
|
mso-ansi-language:EN-GB;
|
257
|
-
font-weight:bold;
|
258
257
|
page-break-before:always;
|
259
258
|
mso-bidi-font-weight:normal;}
|
260
259
|
p.TitlePageSubhead, li.TitlePageSubhead, div.TitlePageSubhead {
|
@@ -271,13 +270,13 @@ p.TitlePageSubhead, li.TitlePageSubhead, div.TitlePageSubhead {
|
|
271
270
|
page-break-after:avoid;
|
272
271
|
mso-hyphenate:none;
|
273
272
|
tab-stops:20.15pt;
|
274
|
-
font-size:
|
273
|
+
font-size:12.0pt;
|
275
274
|
mso-bidi-font-size:11.0pt;
|
276
275
|
font-family:$headerfont;
|
276
|
+
color:#0E1A85;
|
277
277
|
mso-fareast-font-family:$headerfont;
|
278
278
|
mso-bidi-font-family:$headerfont;
|
279
279
|
mso-ansi-language:EN-GB;
|
280
|
-
font-weight:bold;
|
281
280
|
mso-bidi-font-weight:normal;
|
282
281
|
}
|
283
282
|
p.Terms, li.Terms, div.Terms
|
@@ -292,12 +291,11 @@ p.Terms, li.Terms, div.Terms
|
|
292
291
|
page-break-after:avoid;
|
293
292
|
mso-hyphenate:none;
|
294
293
|
tab-stops:20.15pt;
|
295
|
-
font-size:
|
294
|
+
font-size:12.0pt;
|
296
295
|
font-family:$headerfont;
|
297
296
|
mso-fareast-font-family:$headerfont;
|
298
297
|
mso-bidi-font-family:$headerfont;
|
299
298
|
mso-ansi-language:EN-GB;
|
300
|
-
font-weight:bold;
|
301
299
|
mso-bidi-font-weight:normal;}
|
302
300
|
p.AltTerms, li.AltTerms, div.AltTerms
|
303
301
|
{mso-style-name:"AltTerm\(s\)";
|
@@ -311,7 +309,7 @@ p.AltTerms, li.AltTerms, div.AltTerms
|
|
311
309
|
page-break-after:avoid;
|
312
310
|
mso-hyphenate:none;
|
313
311
|
tab-stops:20.15pt;
|
314
|
-
font-size:
|
312
|
+
font-size:12.0pt;
|
315
313
|
font-family:$bodyfont;
|
316
314
|
mso-fareast-font-family:$bodyfont;
|
317
315
|
mso-bidi-font-family:$bodyfont;
|
@@ -329,7 +327,7 @@ p.DeprecatedTerms, li.DeprecatedTerms, div.DeprecatedTerms
|
|
329
327
|
page-break-after:avoid;
|
330
328
|
mso-hyphenate:none;
|
331
329
|
tab-stops:20.15pt;
|
332
|
-
font-size:
|
330
|
+
font-size:12.0pt;
|
333
331
|
font-family:$bodyfont;
|
334
332
|
mso-fareast-font-family:$bodyfont;
|
335
333
|
mso-bidi-font-family:$bodyfont;
|
@@ -346,7 +344,7 @@ p.TermNum, li.TermNum, div.TermNum
|
|
346
344
|
mso-pagination:widow-orphan;
|
347
345
|
page-break-after:avoid;
|
348
346
|
tab-stops:20.15pt;
|
349
|
-
font-size:
|
347
|
+
font-size:12.0pt;
|
350
348
|
font-family:$headerfont;
|
351
349
|
mso-fareast-font-family:$headerfont;
|
352
350
|
mso-bidi-font-family:$headerfont;
|
@@ -369,13 +367,13 @@ p.zzContents, li.zzContents, div.zzContents
|
|
369
367
|
page-break-after:avoid;
|
370
368
|
mso-hyphenate:none;
|
371
369
|
tab-stops:20.15pt;
|
372
|
-
font-size:
|
370
|
+
font-size:12.0pt;
|
373
371
|
mso-bidi-font-size:11.0pt;
|
374
372
|
font-family:$headerfont;
|
373
|
+
color:#0E1A85;
|
375
374
|
mso-fareast-font-family:$headerfont;
|
376
375
|
mso-bidi-font-family:$headerfont;
|
377
376
|
mso-ansi-language:EN-GB;
|
378
|
-
font-weight:bold;
|
379
377
|
mso-bidi-font-weight:normal;}
|
380
378
|
p.zzCopyright, li.zzCopyright
|
381
379
|
{mso-style-name:zzCopyright;
|
@@ -392,7 +390,7 @@ p.zzCopyright, li.zzCopyright
|
|
392
390
|
tab-stops:20.15pt 25.7pt 481.15pt;
|
393
391
|
padding:0cm;
|
394
392
|
mso-padding-alt:1.0pt 4.0pt 1.0pt 4.0pt;
|
395
|
-
font-size:
|
393
|
+
font-size:12.0pt;
|
396
394
|
font-family:$bodyfont;
|
397
395
|
mso-fareast-font-family:$bodyfont;
|
398
396
|
mso-bidi-font-family:$bodyfont;
|
@@ -416,7 +414,7 @@ p.zzCopyright_address
|
|
416
414
|
text-autospace:none;
|
417
415
|
padding-left:20pt;
|
418
416
|
mso-padding-alt-left:20pt;
|
419
|
-
font-size:
|
417
|
+
font-size:12.0pt;
|
420
418
|
text-align:left;
|
421
419
|
mso-bidi-font-size:11.0pt;}
|
422
420
|
p.zzSTDTitle, li.zzSTDTitle, div.zzSTDTitle
|
@@ -439,7 +437,6 @@ p.zzSTDTitle, li.zzSTDTitle, div.zzSTDTitle
|
|
439
437
|
mso-fareast-font-family:$headerfont;
|
440
438
|
mso-bidi-font-family:$headerfont;
|
441
439
|
mso-ansi-language:EN-GB;
|
442
|
-
font-weight:bold;
|
443
440
|
mso-bidi-font-weight:normal;}
|
444
441
|
p.zzSTDTitle1, li.zzSTDTitle1, div.zzSTDTitle1
|
445
442
|
{mso-style-name:zzSTDTitle;
|
@@ -473,7 +470,7 @@ p.Quote, li.Quote, div.Quote
|
|
473
470
|
line-height:12.0pt;
|
474
471
|
mso-pagination:widow-orphan;
|
475
472
|
tab-stops:20.15pt;
|
476
|
-
font-size:
|
473
|
+
font-size:12.0pt;
|
477
474
|
font-family:$bodyfont;
|
478
475
|
mso-fareast-font-family:$bodyfont;
|
479
476
|
mso-bidi-font-family:$bodyfont;
|
@@ -488,7 +485,7 @@ p.QuoteAttribution
|
|
488
485
|
line-height:12.0pt;
|
489
486
|
mso-pagination:widow-orphan;
|
490
487
|
tab-stops:20.15pt;
|
491
|
-
font-size:
|
488
|
+
font-size:12.0pt;
|
492
489
|
font-family:$bodyfont;
|
493
490
|
mso-fareast-font-family:$bodyfont;
|
494
491
|
mso-bidi-font-family:$bodyfont;
|
@@ -531,7 +528,7 @@ p.Code, li.Code, div.Code
|
|
531
528
|
line-height:10.0pt;
|
532
529
|
mso-pagination:widow-orphan;
|
533
530
|
tab-stops:20.15pt;
|
534
|
-
font-size:
|
531
|
+
font-size:10.0pt;
|
535
532
|
mso-bidi-font-size:11.0pt;
|
536
533
|
font-family:$monospacefont;
|
537
534
|
mso-fareast-font-family:Calibri;
|
@@ -548,7 +545,7 @@ p.Formula, li.Formula, div.Formula
|
|
548
545
|
line-height:12.0pt;
|
549
546
|
mso-pagination:widow-orphan;
|
550
547
|
tab-stops:right 487.45pt;
|
551
|
-
font-size:
|
548
|
+
font-size:12.0pt;
|
552
549
|
font-family:$bodyfont;
|
553
550
|
mso-fareast-font-family:$bodyfont;
|
554
551
|
mso-bidi-font-family:$bodyfont;
|
@@ -558,9 +555,9 @@ p.Formula, li.Formula, div.Formula
|
|
558
555
|
}
|
559
556
|
@page WordSection1
|
560
557
|
{size:595.3pt 841.9pt;
|
561
|
-
margin:
|
562
|
-
mso-header-margin:
|
563
|
-
mso-footer-margin:
|
558
|
+
margin:85.65pt 53.85pt 57.4pt 53.85pt;
|
559
|
+
mso-header-margin:35.45pt;
|
560
|
+
mso-footer-margin:61.0pt;
|
564
561
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh1;
|
565
562
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1;
|
566
563
|
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1;
|
@@ -569,9 +566,9 @@ div.WordSection1
|
|
569
566
|
{page:WordSection1;}
|
570
567
|
@page WordSection2
|
571
568
|
{size:595.3pt 841.9pt;
|
572
|
-
margin:
|
573
|
-
mso-header-margin:
|
574
|
-
mso-footer-margin:
|
569
|
+
margin:79.8pt 53.85pt 1.0cm 53.85pt;
|
570
|
+
mso-header-margin:35.45pt;
|
571
|
+
mso-footer-margin:49.3pt;
|
575
572
|
mso-page-numbers:roman-lower;
|
576
573
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
|
577
574
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
|
@@ -580,9 +577,9 @@ div.WordSection1
|
|
580
577
|
mso-paper-source:0;}
|
581
578
|
@page WordSection2L
|
582
579
|
{size:841.9pt 595.3pt;
|
583
|
-
|
584
|
-
|
585
|
-
|
580
|
+
margin:79.8pt 53.85pt 1.0cm 53.85pt;
|
581
|
+
mso-header-margin:35.45pt;
|
582
|
+
mso-footer-margin:49.3pt;
|
586
583
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2l;
|
587
584
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2l;
|
588
585
|
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef2l;
|
@@ -590,9 +587,9 @@ div.WordSection1
|
|
590
587
|
mso-paper-source:0;}
|
591
588
|
@page WordSection2P
|
592
589
|
{size:595.3pt 841.9pt;
|
593
|
-
|
594
|
-
|
595
|
-
|
590
|
+
margin:79.8pt 53.85pt 1.0cm 53.85pt;
|
591
|
+
mso-header-margin:35.45pt;
|
592
|
+
mso-footer-margin:49.3pt;
|
596
593
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
|
597
594
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
|
598
595
|
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef2;
|
@@ -602,9 +599,9 @@ div.WordSection2
|
|
602
599
|
{page:WordSection2;}
|
603
600
|
@page WordSection3
|
604
601
|
{size:595.3pt 841.9pt;
|
605
|
-
|
606
|
-
mso-header-margin:
|
607
|
-
mso-footer-margin:
|
602
|
+
margin:59.2pt 53.85pt 70.8pt 53.85pt;
|
603
|
+
mso-header-margin:35.45pt;
|
604
|
+
mso-footer-margin:54.7pt;
|
608
605
|
mso-page-numbers:1;
|
609
606
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
|
610
607
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
|
@@ -613,9 +610,9 @@ div.WordSection2
|
|
613
610
|
mso-paper-source:0;}
|
614
611
|
@page WordSection3L
|
615
612
|
{size:841.9pt 595.3pt;
|
616
|
-
margin:
|
617
|
-
|
618
|
-
|
613
|
+
margin:59.2pt 53.85pt 70.8pt 53.85pt;
|
614
|
+
mso-header-margin:35.45pt;
|
615
|
+
mso-footer-margin:54.7pt;
|
619
616
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2l;
|
620
617
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2l;
|
621
618
|
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef3l;
|
@@ -623,9 +620,9 @@ div.WordSection2
|
|
623
620
|
mso-paper-source:0;}
|
624
621
|
@page WordSection3P
|
625
622
|
{size:595.3pt 841.9pt;
|
626
|
-
margin:
|
627
|
-
|
628
|
-
|
623
|
+
margin:59.2pt 53.85pt 70.8pt 53.85pt;
|
624
|
+
mso-header-margin:35.45pt;
|
625
|
+
mso-footer-margin:54.7pt;
|
629
626
|
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2;
|
630
627
|
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2;
|
631
628
|
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef3;
|
@@ -651,7 +648,7 @@ table.MsoISOTable
|
|
651
648
|
mso-yfti-tbllook:480;
|
652
649
|
mso-border-insideh:.75pt solid windowtext;
|
653
650
|
mso-border-insidev:.75pt solid windowtext;
|
654
|
-
font-size:
|
651
|
+
font-size:12.0pt;
|
655
652
|
font-family:$bodyfont;}
|
656
653
|
table.MsoISOTable th
|
657
654
|
{border:solid windowtext 1pt;
|
@@ -662,7 +659,7 @@ table.MsoISOTable td
|
|
662
659
|
mso-border-alt:solid windowtext 1pt;
|
663
660
|
padding:0cm 2.85pt 0cm 2.85pt;}
|
664
661
|
table.MsoISOTable p
|
665
|
-
{font-size:
|
662
|
+
{font-size:12.0pt; }
|
666
663
|
table.MsoTableGrid
|
667
664
|
{mso-style-name:"Table Grid";
|
668
665
|
mso-tstyle-rowband-size:0;
|
@@ -677,7 +674,7 @@ table.MsoTableGrid
|
|
677
674
|
mso-para-margin:0cm;
|
678
675
|
mso-para-margin-bottom:.0001pt;
|
679
676
|
mso-pagination:widow-orphan;
|
680
|
-
font-size:
|
677
|
+
font-size:12.0pt;
|
681
678
|
font-family:$bodyfont;}
|
682
679
|
div.formula
|
683
680
|
{tab-stops:right 487.45pt;}
|
@@ -699,12 +696,12 @@ div.coverpage_warning
|
|
699
696
|
border:solid windowtext 1.0pt #485094;
|
700
697
|
mso-border-alt:solid windowtext .5pt;
|
701
698
|
padding:1.0pt 4.0pt 1.0pt 4.0pt #485094;
|
702
|
-
font-size:
|
699
|
+
font-size:12.0pt;
|
703
700
|
margin-left:4.25pt;
|
704
701
|
margin-right:4.25pt}
|
705
702
|
.coverpage_warning
|
706
703
|
{color:#485094;
|
707
|
-
font-size:
|
704
|
+
font-size:12.0pt;}
|
708
705
|
|
709
706
|
a.TableFootnoteRef, span.TableFootnoteRef
|
710
707
|
{mso-style-priority:99;
|
@@ -712,7 +709,7 @@ div.coverpage_warning
|
|
712
709
|
vertical-align:super;}
|
713
710
|
|
714
711
|
aside {
|
715
|
-
font-size:
|
712
|
+
font-size:12.0pt;
|
716
713
|
}
|
717
714
|
|
718
715
|
.example-title {
|
@@ -734,24 +731,24 @@ div.example {
|
|
734
731
|
|
735
732
|
p.example, li.example, div.example, td.example {
|
736
733
|
mso-pagination:none;
|
737
|
-
font-size:
|
734
|
+
font-size:11.0pt;
|
738
735
|
font-family:$bodyfont;}
|
739
736
|
|
740
737
|
td.example p.MsoListParagraph {
|
741
|
-
font-size:
|
738
|
+
font-size: 11.0pt;
|
742
739
|
}
|
743
740
|
|
744
741
|
div.example p.MsoListParagraph {
|
745
|
-
font-size:
|
742
|
+
font-size: 11.0pt;
|
746
743
|
}
|
747
744
|
|
748
745
|
div.Note p.MsoListParagraph {
|
749
|
-
font-size:
|
746
|
+
font-size: 11.0pt;
|
750
747
|
}
|
751
748
|
|
752
749
|
span.note_label, span.example_label, td.example_label, td.note_label
|
753
750
|
{
|
754
|
-
font-size:
|
751
|
+
font-size: 11.0pt;
|
755
752
|
font-family:$bodyfont;
|
756
753
|
}
|
757
754
|
|