metanorma-itu 2.4.7 → 2.4.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/itu/base_convert.rb +3 -10
- data/lib/isodoc/itu/html/_coverpage.css +53 -0
- data/lib/isodoc/itu/html/htmlstyle.css +105 -0
- data/lib/isodoc/itu/itu.implementers-guide.xsl +1268 -883
- data/lib/isodoc/itu/itu.in-force.xsl +1268 -883
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +1268 -883
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +1268 -883
- data/lib/isodoc/itu/itu.recommendation.xsl +1268 -883
- data/lib/isodoc/itu/itu.resolution.xsl +1268 -883
- data/lib/isodoc/itu/itu.service-publication.xsl +1268 -883
- data/lib/isodoc/itu/itu.technical-paper.xsl +1268 -883
- data/lib/isodoc/itu/itu.technical-report.xsl +1268 -883
- data/lib/isodoc/itu/metadata.rb +52 -90
- data/lib/isodoc/itu/metadata_date.rb +45 -0
- data/lib/isodoc/itu/presentation_contribution.rb +153 -0
- data/lib/isodoc/itu/presentation_preface.rb +5 -71
- data/lib/isodoc/itu/presentation_xml_convert.rb +1 -6
- data/lib/metanorma/itu/basicdoc.rng +840 -419
- data/lib/metanorma/itu/biblio.rng +26 -27
- data/lib/metanorma/itu/converter.rb +3 -5
- data/lib/metanorma/itu/front.rb +26 -29
- data/lib/metanorma/itu/isodoc.rng +351 -510
- data/lib/metanorma/itu/itu.rng +5 -19
- data/lib/metanorma/itu/version.rb +1 -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: fe36cf4211d8ad0e9326168d225abaa64ad2f0bcf8083c3d5253926faefdbee1
|
4
|
+
data.tar.gz: e589fa2918464f4febb5f593ab66f7e1127e7c3c3a8757b75a102ec6b1c8d976
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcfd1a8d1eed68d5fafabf029c27275c0a4c1aec3838ace947965b943e6300064430480a6438e0ecf2748fbdc3a83b9837b964152a2edd6bf5c474e4677ca8bf
|
7
|
+
data.tar.gz: dd22f389428822168d584020dec05606fa0559b9e738f6565495e23e38031defbb1b55f90001215a880376135ac8e48117254c49c9c09589b8d0fedb0c6f6c90
|
@@ -93,11 +93,12 @@ module IsoDoc
|
|
93
93
|
def info(isoxml, out)
|
94
94
|
@meta.ip_notice_received isoxml, out
|
95
95
|
@meta.techreport isoxml, out
|
96
|
+
@meta.contribution isoxml, out
|
96
97
|
super
|
97
98
|
end
|
98
99
|
|
99
100
|
def note_p_parse(node, div)
|
100
|
-
name = node
|
101
|
+
name = node.at(ns("./name"))&.remove
|
101
102
|
div.p do |p|
|
102
103
|
name and p.span class: "note_label" do |s|
|
103
104
|
name.children.each { |n| parse(n, s) }
|
@@ -109,7 +110,7 @@ module IsoDoc
|
|
109
110
|
end
|
110
111
|
|
111
112
|
def note_parse1(node, div)
|
112
|
-
name = node
|
113
|
+
name = node.at(ns("./name"))&.remove
|
113
114
|
div.p do |p|
|
114
115
|
name and p.span class: "note_label" do |s|
|
115
116
|
name.children.each { |n| parse(n, s) }
|
@@ -172,14 +173,6 @@ module IsoDoc
|
|
172
173
|
end
|
173
174
|
"<tbody>#{ret}</tbody>"
|
174
175
|
end
|
175
|
-
|
176
|
-
# def scope(isoxml, out, num)
|
177
|
-
# return super unless @meta.get[:doctype_original] == "resolution"
|
178
|
-
#
|
179
|
-
# f = isoxml.at(ns("//clause[@type = 'scope']")) or return num
|
180
|
-
# clause_core(f, out)
|
181
|
-
# num + 1
|
182
|
-
# end
|
183
176
|
end
|
184
177
|
end
|
185
178
|
end
|
@@ -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: #0AC442; }
|
174
227
|
|
@@ -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
|
#recommendation-band {
|
173
226
|
background-color: #a3d88f; }
|
174
227
|
|
@@ -460,6 +513,58 @@ table.rouge-line-table pre {
|
|
460
513
|
overflow-x: visible;
|
461
514
|
font-size: 100%; }
|
462
515
|
|
516
|
+
/* header § links */
|
517
|
+
a.header {
|
518
|
+
color: inherit;
|
519
|
+
text-decoration: none; }
|
520
|
+
|
521
|
+
a.header:hover {
|
522
|
+
color: #a53221 !important;
|
523
|
+
background: inherit;
|
524
|
+
box-shadow: none; }
|
525
|
+
|
526
|
+
a.header:visited {
|
527
|
+
color: inherit;
|
528
|
+
text-decoration: none; }
|
529
|
+
|
530
|
+
a.anchor {
|
531
|
+
position: absolute;
|
532
|
+
z-index: 1001;
|
533
|
+
width: 1.5ex;
|
534
|
+
margin-left: -1.5ex;
|
535
|
+
display: block;
|
536
|
+
text-decoration: none !important;
|
537
|
+
visibility: hidden;
|
538
|
+
text-align: center;
|
539
|
+
font-weight: 400; }
|
540
|
+
|
541
|
+
a.anchor::before {
|
542
|
+
content: "\00A7";
|
543
|
+
font-size: .85em;
|
544
|
+
display: block;
|
545
|
+
padding-top: .1em; }
|
546
|
+
|
547
|
+
a.anchor:hover {
|
548
|
+
color: #a53221;
|
549
|
+
background: inherit;
|
550
|
+
box-shadow: none; }
|
551
|
+
|
552
|
+
h1 > a.anchor:hover,
|
553
|
+
h2 > a.anchor:hover,
|
554
|
+
h3 > a.anchor:hover,
|
555
|
+
h4 > a.anchor:hover,
|
556
|
+
h5 > a.anchor:hover,
|
557
|
+
h6 > a.anchor:hover,
|
558
|
+
.inline-header > a.anchor:hover,
|
559
|
+
h1:hover > a.anchor,
|
560
|
+
h2:hover > a.anchor,
|
561
|
+
h3:hover > a.anchor,
|
562
|
+
h4:hover > a.anchor,
|
563
|
+
h5:hover > a.anchor,
|
564
|
+
h6:hover > a.anchor,
|
565
|
+
.inline-header:hover > a.anchor {
|
566
|
+
visibility: visible; }
|
567
|
+
|
463
568
|
#recommendation-band {
|
464
569
|
background-color: #a3d88f; }
|
465
570
|
|