metanorma-un 0.6.7 → 0.6.11
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 +2 -2
- data/Rakefile +2 -2
- data/lib/asciidoctor/un/converter.rb +27 -27
- data/lib/asciidoctor/un/isodoc.rng +52 -11
- data/lib/asciidoctor/un/reqt.rng +15 -4
- data/lib/asciidoctor/un/validate.rb +3 -4
- data/lib/isodoc/un/html/htmlstyle.css +6 -0
- data/lib/isodoc/un/html/htmlstyle.scss +7 -0
- data/lib/isodoc/un/i18n.rb +0 -1
- data/lib/isodoc/un/init.rb +1 -2
- data/lib/isodoc/un/un.plenary-attachment.xsl +284 -63
- data/lib/isodoc/un/un.plenary.xsl +284 -63
- data/lib/isodoc/un/un.recommendation.xsl +289 -67
- data/lib/isodoc/un.rb +0 -1
- data/lib/metanorma/un/input.rb +1 -3
- data/lib/metanorma/un/processor.rb +2 -1
- data/lib/metanorma/un/version.rb +1 -1
- data/lib/metanorma/un.rb +2 -4
- metadata +2 -2
data/lib/isodoc/un.rb
CHANGED
data/lib/metanorma/un/input.rb
CHANGED
@@ -7,9 +7,7 @@ module Metanorma
|
|
7
7
|
def extract_options(file)
|
8
8
|
head = file.sub(/\n\n.*$/m, "\n")
|
9
9
|
/\n(?<toc>:toc:)/ =~ head
|
10
|
-
new_options = {
|
11
|
-
toc: defined?(toc)
|
12
|
-
}.reject { |_, val| val.nil? }
|
10
|
+
new_options = { toc: defined?(toc) }.compact
|
13
11
|
super.merge(new_options)
|
14
12
|
end
|
15
13
|
end
|
@@ -22,10 +22,11 @@ module Metanorma
|
|
22
22
|
{
|
23
23
|
"Arial" => nil,
|
24
24
|
"Arial Black" => nil,
|
25
|
-
"Courier" => nil,
|
25
|
+
"Courier New" => nil,
|
26
26
|
"Times New Roman" => nil,
|
27
27
|
"STIX Two Math" => nil,
|
28
28
|
"Source Han Sans" => nil,
|
29
|
+
"Source Han Sans Normal" => nil,
|
29
30
|
}
|
30
31
|
end
|
31
32
|
|
data/lib/metanorma/un/version.rb
CHANGED
data/lib/metanorma/un.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.6.
|
4
|
+
version: 0.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|