metanorma-un 0.6.9 → 0.6.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Rakefile +2 -2
- data/lib/asciidoctor/un/basicdoc.rng +21 -4
- data/lib/asciidoctor/un/converter.rb +27 -27
- data/lib/asciidoctor/un/isodoc.rng +241 -61
- data/lib/asciidoctor/un/reqt.rng +23 -2
- data/lib/asciidoctor/un/un.rng +6 -16
- 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/html/wordstyle.css +12 -1
- data/lib/isodoc/un/html/wordstyle.scss +12 -1
- data/lib/isodoc/un/i18n.rb +0 -1
- data/lib/isodoc/un/init.rb +1 -2
- data/lib/isodoc/un/un.plenary-attachment.xsl +318 -39
- data/lib/isodoc/un/un.plenary.xsl +318 -39
- data/lib/isodoc/un/un.recommendation.xsl +323 -43
- data/lib/isodoc/un.rb +0 -1
- data/lib/metanorma/un/input.rb +1 -3
- 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
|
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.13
|
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-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|