metanorma-un 0.12.19 → 0.12.20.pre.alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +12 -0
- data/README.adoc +2 -0
- data/lib/isodoc/un/base_convert.rb +0 -10
- data/lib/isodoc/un/html/htmlstyle.css +701 -404
- data/lib/isodoc/un/html/unece.css +342 -279
- data/lib/isodoc/un/html/wordstyle.css +590 -520
- data/lib/isodoc/un/html_convert.rb +5 -4
- data/lib/isodoc/un/i18n-en.yaml +1 -1
- data/lib/isodoc/un/presentation_xml_convert.rb +5 -12
- data/lib/isodoc/un/un.plenary-attachment.xsl +85 -22
- data/lib/isodoc/un/un.plenary.xsl +85 -22
- data/lib/isodoc/un/un.recommendation.xsl +85 -22
- data/lib/isodoc/un/word_convert.rb +6 -38
- data/lib/isodoc/un/xref.rb +4 -4
- data/lib/metanorma/un/cleanup.rb +9 -0
- data/lib/metanorma/un/converter.rb +14 -8
- data/lib/metanorma/un/validate.rb +10 -3
- data/lib/metanorma/un/version.rb +1 -1
- data/lib/metanorma/un.rb +3 -0
- data/metanorma-un.gemspec +3 -3
- metadata +12 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 514c4b857ae0c24e3eaa6a697a03f1fca3ad231551db9e2d0aafa55d83516849
|
|
4
|
+
data.tar.gz: 364265c4eed569b4f2b15e6ce4e1847f4fa0cdae1c46fe83db960d75fa622376
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b396bce5e0424c693e98fcfd27f04e32e1938eaa57bcb0ec04322ceaac5a2de33f45310965f4d381c0029b769812a6099d4958758b9c1406af6a7799fe88877
|
|
7
|
+
data.tar.gz: d7c9bdf06ac085fbb87446dba6ed898b1e7f5bc543c7c5ade9be1fe1cdb94a0e9dbe0d2ea9c627f324744864cdde859ec263156339ae757cd3ceb93412463cf6
|
data/Gemfile
CHANGED
|
@@ -7,3 +7,15 @@ git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
|
7
7
|
gemspec
|
|
8
8
|
|
|
9
9
|
eval_gemfile("Gemfile.devel") rescue nil
|
|
10
|
+
|
|
11
|
+
# Canonical line: the relaton 3.x prerelease monogem over the gem mains.
|
|
12
|
+
# isodoc main also carries the lazy sassc load that released 3.7.3 lacks.
|
|
13
|
+
gem "metanorma", github: "metanorma/metanorma", branch: "main"
|
|
14
|
+
gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
|
|
15
|
+
gem "metanorma-document", github: "metanorma/metanorma-document", branch: "main"
|
|
16
|
+
gem "metanorma-core", github: "metanorma/metanorma-core", branch: "main"
|
|
17
|
+
gem "isodoc", github: "metanorma/isodoc", branch: "main"
|
|
18
|
+
gem "relaton", "~> 3.0.0.pre.alpha"
|
|
19
|
+
gem "relaton-bib", "~> 2.2.0.pre.alpha.1"
|
|
20
|
+
gem "pubid", github: "pubid/pubid", branch: "main"
|
|
21
|
+
gem "sassc-embedded", "~> 1.80"
|
data/README.adoc
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
(Formerly known as metanorma-unece)
|
|
4
4
|
|
|
5
|
+
THIS GEM IS NO LONGER MAINTAINED AS OF 20241009
|
|
6
|
+
|
|
5
7
|
image:https://img.shields.io/gem/v/metanorma-un.svg["Gem Version", link="https://rubygems.org/gems/metanorma-un"]::
|
|
6
8
|
image:https://github.com/metanorma/metanorma-un/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-un/actions?workflow=rake"]
|
|
7
9
|
image:https://codeclimate.com/github/metanorma/metanorma-unece/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-unece"]
|
|
@@ -16,16 +16,6 @@ module IsoDoc
|
|
|
16
16
|
"//bibliography/references"
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
def admonition_parse(node, out)
|
|
20
|
-
name = node.at(ns("./name"))
|
|
21
|
-
out.div **admonition_attrs(node) do |t|
|
|
22
|
-
admonition_name_parse(node, t, name) if name
|
|
23
|
-
node.children.each do |n|
|
|
24
|
-
parse(n, t) unless n.name == "name"
|
|
25
|
-
end
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
|
|
29
19
|
def inline_header_title(out, _node, title)
|
|
30
20
|
out.span class: "zzMoveToFollowing inline-header" do |s|
|
|
31
21
|
title&.children&.each { |c2| parse(c2, s) }
|