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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 219c898d77e60a55f391c5435cfd53c33b285394b51c5f754a0bd177261fbc20
4
- data.tar.gz: 223a9a2cdf5c42a3c8e2404640ead1d99e58208fa3c743b36f5fdc3c2f7d5a22
3
+ metadata.gz: 28c5646afc7862c62c9e6b3be871b2026610ac7cf06bb3e526fa9fc3126a4e9a
4
+ data.tar.gz: 4453c09b9806985099a1cee424bc2d4605db40d573757a2eabc39f41a9ce6c33
5
5
  SHA512:
6
- metadata.gz: f064ded953d4e110dd098da3216c87fb5651ec3ed0a1a67a906d636a586e4e948079c0a3949ad92c828ae40fe2a98fa4ae87a620fd9579d56115acea82ac621a
7
- data.tar.gz: 9fb904a6da6bcd1476e160699b63e3f361cf785743f6ef511fe6774f2eb15e646a228c5cec43ae34e5a2dd032cd1ced256f5974b53d3ebedd5dd4103bd5af0f2
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 is_plenary?(docxml)
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
 
@@ -51,7 +51,7 @@ module IsoDoc
51
51
  end
52
52
 
53
53
  def make_body(xml, docxml)
54
- plenary = is_plenary?(docxml)
54
+ plenary = plenary?(docxml)
55
55
  body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72",
56
56
  "xml:lang": "EN-US", class: "container" }
57
57
  if plenary &&
@@ -59,7 +59,7 @@ module IsoDoc
59
59
  end
60
60
 
61
61
  def make_body(xml, docxml)
62
- plenary = is_plenary?(docxml)
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")
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.12.8".freeze
3
+ VERSION = "0.12.9".freeze
4
4
  end
5
5
  end
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.8
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-04-22 00:00:00.000000000 Z
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.26
291
+ rubygems_version: 3.3.27
292
292
  signing_key:
293
293
  specification_version: 4
294
294
  summary: Metanorma for UN.