metanorma-un 0.12.8 → 0.12.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/un/base_convert.rb +2 -2
- data/lib/isodoc/un/html/htmlstyle.css +44 -0
- data/lib/isodoc/un/html_convert.rb +1 -1
- data/lib/isodoc/un/word_convert.rb +1 -1
- data/lib/metanorma/un/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: 28c5646afc7862c62c9e6b3be871b2026610ac7cf06bb3e526fa9fc3126a4e9a
|
4
|
+
data.tar.gz: 4453c09b9806985099a1cee424bc2d4605db40d573757a2eabc39f41a9ce6c33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26edbbbd8de1f1ec2d7f9577581c341f8b1fbd837443a879ae464b1ea7a88c6cd0096ad51bd2f0d5331878eaa624d0987a93070c387cd89f09703ae92cefb976
|
7
|
+
data.tar.gz: 9a03914887060fa489072031d0de0ad24ced03569bb354139c8be7cfac8b55d1a537002541209456b74578fc9be44a3341e704db1171c0c0c716d7cd92eccb4c
|
@@ -27,13 +27,13 @@ module IsoDoc
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def inline_header_title(out, _node, title)
|
30
|
-
out.span class: "zzMoveToFollowing" do |s|
|
30
|
+
out.span class: "zzMoveToFollowing inline-header" do |s|
|
31
31
|
title&.children&.each { |c2| parse(c2, s) }
|
32
32
|
clausedelimspace(_node, out) if /\S/.match?(title&.text)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
36
|
+
def plenary?(docxml)
|
37
37
|
return true if %w(plenary agenda budgetary).include?(@doctype)
|
38
38
|
return true if docxml&.at(ns("//bibdata/ext/session/*"))
|
39
39
|
|
@@ -176,6 +176,50 @@ table.rouge-line-table pre {
|
|
176
176
|
overflow-x: visible;
|
177
177
|
font-size: 100%; }
|
178
178
|
|
179
|
+
a.header {
|
180
|
+
color: inherit;
|
181
|
+
text-decoration: none; }
|
182
|
+
|
183
|
+
a.header:hover {
|
184
|
+
color: #a53221; }
|
185
|
+
|
186
|
+
a.header:visited {
|
187
|
+
color: inherit;
|
188
|
+
text-decoration: none; }
|
189
|
+
|
190
|
+
a.anchor {
|
191
|
+
position: absolute;
|
192
|
+
z-index: 1001;
|
193
|
+
width: 1.5ex;
|
194
|
+
margin-left: -1.5ex;
|
195
|
+
display: block;
|
196
|
+
text-decoration: none !important;
|
197
|
+
visibility: hidden;
|
198
|
+
text-align: center;
|
199
|
+
font-weight: 400; }
|
200
|
+
|
201
|
+
a.anchor::before {
|
202
|
+
content: "\00A7";
|
203
|
+
font-size: .85em;
|
204
|
+
display: block;
|
205
|
+
padding-top: .1em; }
|
206
|
+
|
207
|
+
h1 > a.anchor:hover,
|
208
|
+
h2 > a.anchor:hover,
|
209
|
+
h3 > a.anchor:hover,
|
210
|
+
h4 > a.anchor:hover,
|
211
|
+
h5 > a.anchor:hover,
|
212
|
+
h6 > a.anchor:hover,
|
213
|
+
.inline-header > a.anchor:hover,
|
214
|
+
h1:hover > a.anchor,
|
215
|
+
h2:hover > a.anchor,
|
216
|
+
h3:hover > a.anchor,
|
217
|
+
h4:hover > a.anchor,
|
218
|
+
h5:hover > a.anchor,
|
219
|
+
h6:hover > a.anchor,
|
220
|
+
.inline-header:hover > a.anchor {
|
221
|
+
visibility: visible; }
|
222
|
+
|
179
223
|
#standard-band {
|
180
224
|
background-color: #0AC442; }
|
181
225
|
|
@@ -59,7 +59,7 @@ module IsoDoc
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def make_body(xml, docxml)
|
62
|
-
plenary =
|
62
|
+
plenary = plenary?(docxml)
|
63
63
|
if plenary &&
|
64
64
|
@wordcoverpage == html_doc_path("word_unece_titlepage.html")
|
65
65
|
@wordcoverpage = html_doc_path("word_unece_plenary_titlepage.html")
|
data/lib/metanorma/un/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-un
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
288
288
|
- !ruby/object:Gem::Version
|
289
289
|
version: '0'
|
290
290
|
requirements: []
|
291
|
-
rubygems_version: 3.3.
|
291
|
+
rubygems_version: 3.3.27
|
292
292
|
signing_key:
|
293
293
|
specification_version: 4
|
294
294
|
summary: Metanorma for UN.
|