metanorma-ogc 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/ogc/cleanup.rb +9 -0
- data/lib/asciidoctor/ogc/converter.rb +4 -2
- data/lib/asciidoctor/ogc/isodoc.rng +42 -17
- data/lib/asciidoctor/ogc/validate.rb +12 -0
- data/lib/isodoc/ogc/base_convert.rb +2 -1
- data/lib/isodoc/ogc/html/htmlstyle.css +6 -2
- data/lib/isodoc/ogc/html/htmlstyle.scss +6 -1
- data/lib/isodoc/ogc/html/ogc.css +0 -1
- data/lib/isodoc/ogc/html/ogc.scss +0 -1
- data/lib/isodoc/ogc/html/ogc_wp.css +0 -1
- data/lib/isodoc/ogc/html/ogc_wp.scss +0 -1
- data/lib/isodoc/ogc/html_convert.rb +1 -0
- data/lib/isodoc/ogc/metadata.rb +6 -2
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +119 -31
- data/lib/isodoc/ogc/ogc.best-practice.xsl +119 -31
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +119 -31
- data/lib/isodoc/ogc/ogc.community-practice.xsl +119 -31
- data/lib/isodoc/ogc/ogc.community-standard.xsl +119 -31
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +119 -31
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +119 -31
- data/lib/isodoc/ogc/ogc.other.xsl +119 -31
- data/lib/isodoc/ogc/ogc.policy.xsl +119 -31
- data/lib/isodoc/ogc/ogc.reference-model.xsl +119 -31
- data/lib/isodoc/ogc/ogc.release-notes.xsl +119 -31
- data/lib/isodoc/ogc/ogc.standard.xsl +119 -31
- data/lib/isodoc/ogc/ogc.test-suite.xsl +119 -31
- data/lib/isodoc/ogc/ogc.user-guide.xsl +119 -31
- data/lib/isodoc/ogc/ogc.white-paper.xsl +29 -14
- data/lib/isodoc/ogc/presentation_xml_convert.rb +31 -2
- data/lib/isodoc/ogc/sections.rb +9 -2
- data/lib/isodoc/ogc/word_convert.rb +28 -4
- data/lib/isodoc/ogc/xref.rb +4 -2
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +7 -7
data/lib/isodoc/ogc/xref.rb
CHANGED
@@ -141,14 +141,16 @@ module IsoDoc
|
|
141
141
|
|
142
142
|
def preface_anchor_names(doc)
|
143
143
|
@prefacenum = 0
|
144
|
-
["//preface/abstract", "//preface/clause[@type = '
|
144
|
+
["//preface/abstract", "//preface/clause[@type = 'executivesummary']",
|
145
|
+
"//preface/clause[@type = 'keywords']",
|
145
146
|
"//foreword", "//introduction", "//preface/clause[@type = 'security']",
|
146
147
|
"//preface/clause[@type = 'submitting_orgs']",
|
147
148
|
"//submitters"].each do |path|
|
148
149
|
preface_names_numbered(doc.at(ns(path)))
|
149
150
|
end
|
150
151
|
doc.xpath(ns("//preface/clause[not(@type = 'keywords' or "\
|
151
|
-
"@type = 'submitting_orgs' or @type = 'security'
|
152
|
+
"@type = 'submitting_orgs' or @type = 'security' or "\
|
153
|
+
"@type = 'executivesummary')]"))
|
152
154
|
.each { |c| preface_names_numbered(c) }
|
153
155
|
preface_names_numbered(doc.at(ns("//acknowledgements")))
|
154
156
|
sequential_asset_names(
|
data/metanorma-ogc.gemspec
CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency "iso-639"
|
28
28
|
spec.add_dependency "metanorma-standoc", "~> 1.11.0"
|
29
29
|
|
30
|
-
spec.add_development_dependency "
|
30
|
+
spec.add_development_dependency "debug"
|
31
31
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
32
32
|
spec.add_development_dependency "guard", "~> 2.14"
|
33
33
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ogc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
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-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -39,19 +39,19 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.11.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: debug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: equivalent-xml
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|