metanorma-nist 0.2.13 → 0.2.14
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/lib/asciidoctor/nist.rb +0 -2
- data/lib/asciidoctor/nist/cleanup.rb +12 -32
- data/lib/asciidoctor/nist/converter.rb +13 -22
- data/lib/asciidoctor/nist/front.rb +1 -69
- data/lib/asciidoctor/nist/front_id.rb +74 -0
- data/lib/asciidoctor/nist/nist.rng +1 -1
- data/lib/isodoc/nist/html/header.html +73 -8
- data/lib/isodoc/nist/html/nist.scss +8 -8
- data/lib/isodoc/nist/html/nist_cswp.scss +8 -8
- data/lib/isodoc/nist/html/wordstyle.scss +22 -0
- data/lib/isodoc/nist/html/wordstyle_cswp.scss +20 -0
- data/lib/metanorma/nist/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70c9e42e24e708b9f976011dfa482e7479f69236bbab12085fca5000f67f5f46
|
|
4
|
+
data.tar.gz: 3b50a5e413ebee30ffcebc8c95ebd4cf2bba893686026dcdf9c0218063ba37ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c75d78cc1dc4c160b47de98a9591b013affc1759afef6def5d65d023db1d7e3aeaaed4dd173995ba7b1c7945813d3db74d8fd3aa2aed23b16cce83976e28b15b
|
|
7
|
+
data.tar.gz: 07bd75b3208d1fc23919eb0d5550dacd4833bbb34fb06b191dd74054b21923d120bbb75cb12c28f6c142ac4598f3bccdb2a2930444fa8d32d8892dfbdbc8a8fa
|
data/lib/asciidoctor/nist.rb
CHANGED
|
@@ -56,19 +56,7 @@ module Asciidoctor
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
=begin
|
|
60
|
-
def move_authority_before_preface(x, preface)
|
|
61
|
-
if x.at("//boilerplate")
|
|
62
|
-
boilerplate = x.at("//boilerplate")
|
|
63
|
-
preface.previous = boilerplate.remove
|
|
64
|
-
else
|
|
65
|
-
preface.previous = boilerplate(x)
|
|
66
|
-
end
|
|
67
|
-
end
|
|
68
|
-
=end
|
|
69
|
-
|
|
70
59
|
def move_sections_into_preface(x, preface)
|
|
71
|
-
#move_authority_before_preface(x, preface)
|
|
72
60
|
abstract = x.at("//abstract") and preface.add_child abstract.remove
|
|
73
61
|
foreword = x.at("//foreword") and preface.add_child foreword.remove
|
|
74
62
|
intro = x.at("//introduction") and preface.add_child intro.remove
|
|
@@ -144,26 +132,6 @@ module Asciidoctor
|
|
|
144
132
|
"//annex/terms | "\
|
|
145
133
|
"//annex[descendant::terms] ".freeze
|
|
146
134
|
|
|
147
|
-
def boilerplate_cleanup(xmldoc)
|
|
148
|
-
#require "byebug"; byebug
|
|
149
|
-
super
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
=begin
|
|
153
|
-
TERM_CLAUSE = "//sections/terms | "\
|
|
154
|
-
"//sections/clause[descendant::terms] | "\
|
|
155
|
-
"//annex/terms | "\
|
|
156
|
-
"//annex/clause[descendant::terms] ".freeze
|
|
157
|
-
|
|
158
|
-
def boilerplate_cleanup(xmldoc)
|
|
159
|
-
isodoc = boilerplate_isodoc(xmldoc)
|
|
160
|
-
f = xmldoc.at(self.class::TERM_CLAUSE) and
|
|
161
|
-
term_defs_boilerplate(f.at("../title"),
|
|
162
|
-
xmldoc.xpath(".//termdocsource"),
|
|
163
|
-
f.at(".//term"), f.at(".//p"), isodoc)
|
|
164
|
-
end
|
|
165
|
-
=end
|
|
166
|
-
|
|
167
135
|
def sort_biblio(bib)
|
|
168
136
|
@citation_order = {}
|
|
169
137
|
bib.document.xpath("//xref | //origin").each_with_index do |x, i|
|
|
@@ -192,6 +160,18 @@ super
|
|
|
192
160
|
bib&.at("./title")&.text || bib&.at("./formattedref")&.text
|
|
193
161
|
"#{key} :: #{title}"
|
|
194
162
|
end
|
|
163
|
+
|
|
164
|
+
def nistvariable_insert(n)
|
|
165
|
+
acc = []
|
|
166
|
+
n.text.split(/((?<!\{)\{{3}(?!\{)|(?<!\})\}{3}(?!\}))/).each_slice(4).
|
|
167
|
+
map do |a|
|
|
168
|
+
acc << Nokogiri::XML::Text.new(a[0], n.document)
|
|
169
|
+
next unless a.size == 4
|
|
170
|
+
acc << Nokogiri::XML::Node.new("nistvariable", n)
|
|
171
|
+
acc[-1].content = a[2]
|
|
172
|
+
end
|
|
173
|
+
acc
|
|
174
|
+
end
|
|
195
175
|
end
|
|
196
176
|
end
|
|
197
177
|
end
|
|
@@ -12,6 +12,8 @@ require "fileutils"
|
|
|
12
12
|
module Asciidoctor
|
|
13
13
|
module NIST
|
|
14
14
|
class Converter < Standoc::Converter
|
|
15
|
+
XML_ROOT_TAG = "nist-standard".freeze
|
|
16
|
+
XML_NAMESPACE = "https://www.metanorma.com/ns/nist".freeze
|
|
15
17
|
|
|
16
18
|
register_for "nist"
|
|
17
19
|
|
|
@@ -71,29 +73,9 @@ module Asciidoctor
|
|
|
71
73
|
end.join("\n")
|
|
72
74
|
end
|
|
73
75
|
|
|
74
|
-
def nistvariable_insert(n)
|
|
75
|
-
acc = []
|
|
76
|
-
n.text.split(/((?<!\{)\{{3}(?!\{)|(?<!\})\}{3}(?!\}))/).each_slice(4).
|
|
77
|
-
map do |a|
|
|
78
|
-
acc << Nokogiri::XML::Text.new(a[0], n.document)
|
|
79
|
-
next unless a.size == 4
|
|
80
|
-
acc << Nokogiri::XML::Node.new("nistvariable", n)
|
|
81
|
-
acc[-1].content = a[2]
|
|
82
|
-
end
|
|
83
|
-
acc
|
|
84
|
-
end
|
|
85
|
-
|
|
86
76
|
def makexml(node)
|
|
87
|
-
result = ["<?xml version='1.0' encoding='UTF-8'?>\n<nist-standard>"]
|
|
88
77
|
@draft = node.attributes.has_key?("draft")
|
|
89
|
-
|
|
90
|
-
result << noko { |ixml| middle node, ixml }
|
|
91
|
-
result << "</nist-standard>"
|
|
92
|
-
result = textcleanup(result)
|
|
93
|
-
ret1 = cleanup(Nokogiri::XML(result))
|
|
94
|
-
validate(ret1) unless @novalid
|
|
95
|
-
ret1.root.add_namespace(nil, EXAMPLE_NAMESPACE)
|
|
96
|
-
ret1
|
|
78
|
+
super
|
|
97
79
|
end
|
|
98
80
|
|
|
99
81
|
def doctype(node)
|
|
@@ -160,12 +142,21 @@ module Asciidoctor
|
|
|
160
142
|
return
|
|
161
143
|
end
|
|
162
144
|
|
|
145
|
+
def sectiontype_streamline(ret)
|
|
146
|
+
case ret
|
|
147
|
+
when "glossary", "terminology"
|
|
148
|
+
"terms and definitions"
|
|
149
|
+
else
|
|
150
|
+
super
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
163
154
|
def section(node)
|
|
164
155
|
a = section_attributes(node)
|
|
165
156
|
noko do |xml|
|
|
166
157
|
case sectiontype(node)
|
|
167
158
|
#when "normative references" then norm_ref_parse(a, xml, node)
|
|
168
|
-
when "
|
|
159
|
+
when "terms and definitions"
|
|
169
160
|
if node.attr("style") == "appendix" && node.level == 1
|
|
170
161
|
@term_def = true
|
|
171
162
|
terms_annex_parse(a, xml, node)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
require "asciidoctor"
|
|
2
2
|
require "asciidoctor/standoc/converter"
|
|
3
3
|
require "fileutils"
|
|
4
|
+
require_relative "./front_id.rb"
|
|
4
5
|
|
|
5
6
|
module Asciidoctor
|
|
6
7
|
module NIST
|
|
@@ -62,75 +63,6 @@ module Asciidoctor
|
|
|
62
63
|
end
|
|
63
64
|
end
|
|
64
65
|
|
|
65
|
-
def metadata_id(node, xml)
|
|
66
|
-
did = node.attr("docidentifier")
|
|
67
|
-
dn = node.attr("docnumber")
|
|
68
|
-
dn = Iso690Render.MMMddyyyy(node.attr("issued-date")) if @series == "nist-cswp" and !dn
|
|
69
|
-
if did
|
|
70
|
-
xml.docidentifier did, **attr_code(type: "NIST")
|
|
71
|
-
xml.docidentifier unabbreviate(did), **attr_code(type: "nist-long")
|
|
72
|
-
else
|
|
73
|
-
metadata_id_compose(node, xml, dn)
|
|
74
|
-
end
|
|
75
|
-
xml.docnumber node.attr("docnumber")
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
def unabbreviate(did)
|
|
79
|
-
SERIES_ABBR.each { |k, v| did = did.sub(/^#{v} /, "#{k} ") }
|
|
80
|
-
SERIES.each { |k, v| did = did.sub(/^#{k} /, "#{v} ") }
|
|
81
|
-
did
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
def id_args(node, dn0)
|
|
85
|
-
{
|
|
86
|
-
id: dn0,
|
|
87
|
-
series: node.attr("series"),
|
|
88
|
-
revision: node.attr("revision"),
|
|
89
|
-
vol: node.attr("volume"),
|
|
90
|
-
stage: node.attr("status") || node.attr("docstage"),
|
|
91
|
-
iter: node.attr("iteration"),
|
|
92
|
-
date: /^draft/.match(node.attr("status") || node.attr("docstage")) ?
|
|
93
|
-
(node.attr("circulated-date") || node.attr("revdate")) :
|
|
94
|
-
node.attr("updated-date")
|
|
95
|
-
}
|
|
96
|
-
end
|
|
97
|
-
|
|
98
|
-
def metadata_id_compose(node, xml, dn0)
|
|
99
|
-
return unless dn0
|
|
100
|
-
args = id_args(node, dn0)
|
|
101
|
-
xml.docidentifier add_id_parts(args, false), **attr_code(type: "NIST")
|
|
102
|
-
xml.docidentifier add_id_parts(args, true),
|
|
103
|
-
**attr_code(type: "nist-long")
|
|
104
|
-
xml.docidentifier add_id_parts_mr(args), **attr_code(type: "nist-mr")
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
def MMMddyyyy(isodate)
|
|
108
|
-
return nil if isodate.nil?
|
|
109
|
-
Date.parse(isodate).strftime("%B %d, %Y")
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
def add_id_parts(args, long)
|
|
113
|
-
vol_delim = " Volume "
|
|
114
|
-
ed_delim = " Revision "
|
|
115
|
-
args[:series] and series_name = long ?
|
|
116
|
-
SERIES.dig(args[:series].to_sym) :
|
|
117
|
-
SERIES_ABBR.dig(args[:series].to_sym)
|
|
118
|
-
dn = (series_name || "NIST #{args[:series]}") + " " + args[:id]
|
|
119
|
-
dn += "#{vol_delim}#{args[:vol]}" if args[:vol]
|
|
120
|
-
dn += "," if args[:vol] && args[:revision]
|
|
121
|
-
dn += "#{ed_delim}#{args[:revision]}" if args[:revision]
|
|
122
|
-
stage = IsoDoc::NIST::Metadata.new(nil, nil, {}).stage_abbr(args[:stage], args[:iter])
|
|
123
|
-
dn += " (#{stage})" if stage
|
|
124
|
-
dn += " (#{MMMddyyyy(args[:date])})" if args[:date]
|
|
125
|
-
dn
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
def add_id_parts_mr(args)
|
|
129
|
-
args[:series] and
|
|
130
|
-
name = SERIES_ABBR&.dig(args[:series].to_sym)&.sub(/^NIST /, "")
|
|
131
|
-
"NIST.#{name}.#{args[:id]}.#{args[:vol]}.#{args[:revision]}.#{args[:date]}"
|
|
132
|
-
end
|
|
133
|
-
|
|
134
66
|
def metadata_author(node, xml)
|
|
135
67
|
personal_author(node, xml)
|
|
136
68
|
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
module Asciidoctor
|
|
2
|
+
module NIST
|
|
3
|
+
class Converter < Standoc::Converter
|
|
4
|
+
def metadata_id(node, xml)
|
|
5
|
+
did = node.attr("docidentifier")
|
|
6
|
+
dn = node.attr("docnumber")
|
|
7
|
+
dn = Iso690Render.MMMddyyyy(node.attr("issued-date")) if @series == "nist-cswp" and !dn
|
|
8
|
+
if did
|
|
9
|
+
xml.docidentifier did, **attr_code(type: "NIST")
|
|
10
|
+
xml.docidentifier unabbreviate(did), **attr_code(type: "nist-long")
|
|
11
|
+
else
|
|
12
|
+
metadata_id_compose(node, xml, dn)
|
|
13
|
+
end
|
|
14
|
+
xml.docnumber node.attr("docnumber")
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def unabbreviate(did)
|
|
18
|
+
SERIES_ABBR.each { |k, v| did = did.sub(/^#{v} /, "#{k} ") }
|
|
19
|
+
SERIES.each { |k, v| did = did.sub(/^#{k} /, "#{v} ") }
|
|
20
|
+
did
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def id_args(node, dn0)
|
|
24
|
+
{
|
|
25
|
+
id: dn0,
|
|
26
|
+
series: node.attr("series"),
|
|
27
|
+
revision: node.attr("revision"),
|
|
28
|
+
vol: node.attr("volume"),
|
|
29
|
+
stage: node.attr("status") || node.attr("docstage"),
|
|
30
|
+
iter: node.attr("iteration"),
|
|
31
|
+
date: /^draft/.match(node.attr("status") || node.attr("docstage")) ?
|
|
32
|
+
(node.attr("circulated-date") || node.attr("revdate")) :
|
|
33
|
+
node.attr("updated-date")
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def metadata_id_compose(node, xml, dn0)
|
|
38
|
+
return unless dn0
|
|
39
|
+
args = id_args(node, dn0)
|
|
40
|
+
xml.docidentifier add_id_parts(args, false), **attr_code(type: "NIST")
|
|
41
|
+
xml.docidentifier add_id_parts(args, true),
|
|
42
|
+
**attr_code(type: "nist-long")
|
|
43
|
+
xml.docidentifier add_id_parts_mr(args), **attr_code(type: "nist-mr")
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
def MMMddyyyy(isodate)
|
|
47
|
+
return nil if isodate.nil?
|
|
48
|
+
Date.parse(isodate).strftime("%B %d, %Y")
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def add_id_parts(args, long)
|
|
52
|
+
vol_delim = " Volume "
|
|
53
|
+
ed_delim = " Revision "
|
|
54
|
+
args[:series] and series_name = long ?
|
|
55
|
+
SERIES.dig(args[:series].to_sym) :
|
|
56
|
+
SERIES_ABBR.dig(args[:series].to_sym)
|
|
57
|
+
dn = (series_name || "NIST #{args[:series]}") + " " + args[:id]
|
|
58
|
+
dn += "#{vol_delim}#{args[:vol]}" if args[:vol]
|
|
59
|
+
dn += "," if args[:vol] && args[:revision]
|
|
60
|
+
dn += "#{ed_delim}#{args[:revision]}" if args[:revision]
|
|
61
|
+
stage = IsoDoc::NIST::Metadata.new(nil, nil, {}).stage_abbr(args[:stage], args[:iter])
|
|
62
|
+
dn += " (#{stage})" if stage
|
|
63
|
+
dn += " (#{MMMddyyyy(args[:date])})" if args[:date]
|
|
64
|
+
dn
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
def add_id_parts_mr(args)
|
|
68
|
+
args[:series] and
|
|
69
|
+
name = SERIES_ABBR&.dig(args[:series].to_sym)&.sub(/^NIST /, "")
|
|
70
|
+
"NIST.#{name}.#{args[:id]}.#{args[:vol]}.#{args[:revision]}.#{args[:date]}"
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
2
|
+
<grammar ns="https://www.metanorma.com/ns/nist" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
3
|
<!--
|
|
4
4
|
Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
|
|
5
5
|
we cannot have a new default namespace: we will end up with a grammar with two different
|
|
@@ -64,41 +64,57 @@ normal'><span lang=EN-US><span style='mso-special-character:footnote-continuatio
|
|
|
64
64
|
</div>
|
|
65
65
|
|
|
66
66
|
<div style='mso-element:header' id=eh1>
|
|
67
|
+
</div>
|
|
67
68
|
|
|
68
|
-
|
|
69
|
+
<div style='mso-element:header' id=eh1l>
|
|
69
70
|
</div>
|
|
70
71
|
|
|
71
|
-
<div style='mso-element:header' id=h1>
|
|
72
72
|
|
|
73
|
+
<div style='mso-element:header' id=h1>
|
|
74
|
+
</div>
|
|
73
75
|
|
|
76
|
+
<div style='mso-element:header' id=h1l>
|
|
74
77
|
</div>
|
|
75
78
|
|
|
76
79
|
<div style='mso-element:footer' id=ef1>
|
|
80
|
+
</div>
|
|
77
81
|
|
|
82
|
+
<div style='mso-element:footer' id=ef1l>
|
|
78
83
|
</div>
|
|
79
84
|
|
|
80
85
|
<div style='mso-element:header' id=eh2>
|
|
81
|
-
|
|
82
86
|
<p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;font-size:9pt;
|
|
83
87
|
mso-line-height-rule:exactly'><span lang=EN-US>{{ draft_prefix }}{{ docidentifier }}<span style='mso-tab-count:
|
|
84
88
|
1'></span>{{ doctitle_short }}</span>
|
|
85
89
|
<br/><span lang=EN-US><span style='mso-tab-count:1'></span>{{ docsubtitle_short }}</span>
|
|
86
90
|
</p>
|
|
91
|
+
</div>
|
|
87
92
|
|
|
93
|
+
<div style='mso-element:header' id=eh2l>
|
|
94
|
+
<p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;font-size:9pt;
|
|
95
|
+
mso-line-height-rule:exactly'><span lang=EN-US>{{ draft_prefix }}{{ docidentifier }}<span style='mso-tab-count:
|
|
96
|
+
1'></span>{{ doctitle_short }}</span>
|
|
97
|
+
<br/><span lang=EN-US><span style='mso-tab-count:1'></span>{{ docsubtitle_short }}</span>
|
|
98
|
+
</p>
|
|
88
99
|
</div>
|
|
89
100
|
|
|
90
101
|
<div style='mso-element:header' id=h2>
|
|
91
|
-
|
|
92
102
|
<p class=MsoHeader align=left style='text-align:left;line-height:12.0pt;font-size:9pt;
|
|
93
103
|
mso-line-height-rule:exactly'><span lang=EN-US>{{ draft_prefix }}{{ docidentifier }}<span style='mso-tab-count:
|
|
94
104
|
1'></span>{{ doctitle_short }}</span>
|
|
95
105
|
<br/><span lang=EN-US><span style='mso-tab-count:1'></span>{{ docsubtitle_short }}</span>
|
|
96
106
|
</p>
|
|
107
|
+
</div>
|
|
97
108
|
|
|
109
|
+
<div style='mso-element:header' id=h2l>
|
|
110
|
+
<p class=MsoHeaderLandscape align=left style='text-align:left;line-height:12.0pt;font-size:9pt;
|
|
111
|
+
mso-line-height-rule:exactly'><span lang=EN-US>{{ draft_prefix }}{{ docidentifier }}<span style='mso-tab-count:
|
|
112
|
+
1'></span>{{ doctitle_short }}</span>
|
|
113
|
+
<br/><span lang=EN-US><span style='mso-tab-count:1'></span>{{ docsubtitle_short }}</span>
|
|
114
|
+
</p>
|
|
98
115
|
</div>
|
|
99
116
|
|
|
100
117
|
<div style='mso-element:footer' id=ef2>
|
|
101
|
-
|
|
102
118
|
<p class=MsoFooter style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
|
|
103
119
|
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
104
120
|
style='mso-element:field-begin'></span><span
|
|
@@ -110,11 +126,23 @@ lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
|
110
126
|
style='mso-element:field-end'></span></span><![endif]--><span lang=EN-US
|
|
111
127
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
|
|
112
128
|
1'> </span><o:p></o:p></span></p>
|
|
129
|
+
</div>
|
|
113
130
|
|
|
131
|
+
<div style='mso-element:footer' id=ef2l>
|
|
132
|
+
<p class=MsoFooterLandscape style='line-height:12.0pt;mso-line-height-rule:exactly'><!--[if supportFields]><span
|
|
133
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
134
|
+
style='mso-element:field-begin'></span><span
|
|
135
|
+
style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>
|
|
136
|
+
</span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
|
|
137
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
138
|
+
style='mso-no-proof:yes'>ii</span></span><!--[if supportFields]><span
|
|
139
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
140
|
+
style='mso-element:field-end'></span></span><![endif]--><span lang=EN-US
|
|
141
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:
|
|
142
|
+
1'> </span><o:p></o:p></span></p>
|
|
114
143
|
</div>
|
|
115
144
|
|
|
116
145
|
<div style='mso-element:footer' id=f2>
|
|
117
|
-
|
|
118
146
|
<p class=MsoFooter style='line-height:12.0pt'><span lang=EN-US
|
|
119
147
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
|
120
148
|
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
@@ -125,11 +153,22 @@ style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
|
|
|
125
153
|
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
126
154
|
style='mso-element:field-end'></span></span><![endif]--><span lang=EN-US
|
|
127
155
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
|
|
156
|
+
</div>
|
|
128
157
|
|
|
158
|
+
<div style='mso-element:footer' id=f2l>
|
|
159
|
+
<p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-US
|
|
160
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:1'> </span></span><!--[if supportFields]><span
|
|
161
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
162
|
+
style='mso-element:field-begin'></span> PAGE<span style='mso-spacerun:yes'>
|
|
163
|
+
</span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span><![endif]--><span
|
|
164
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
165
|
+
style='mso-no-proof:yes'>iii</span></span><!--[if supportFields]><span
|
|
166
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
167
|
+
style='mso-element:field-end'></span></span><![endif]--><span lang=EN-US
|
|
168
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
|
|
129
169
|
</div>
|
|
130
170
|
|
|
131
171
|
<div style='mso-element:footer' id=ef3>
|
|
132
|
-
|
|
133
172
|
<p class=MsoFooter style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
|
|
134
173
|
exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
|
|
135
174
|
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
@@ -142,11 +181,24 @@ style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
|
142
181
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
|
143
182
|
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
144
183
|
style='mso-tab-count:1'> </span><o:p></o:p></span></p>
|
|
184
|
+
</div>
|
|
145
185
|
|
|
186
|
+
<div style='mso-element:footer' id=ef3l>
|
|
187
|
+
<p class=MsoFooterLandscape style='margin-top:12.0pt;line-height:12.0pt;mso-line-height-rule:
|
|
188
|
+
exactly'><!--[if supportFields]><b style='mso-bidi-font-weight:normal'><span
|
|
189
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
190
|
+
style='mso-element:field-begin'></span><span
|
|
191
|
+
style='mso-spacerun:yes'> </span>PAGE<span style='mso-spacerun:yes'>
|
|
192
|
+
</span>\* MERGEFORMAT <span style='mso-element:field-separator'></span></span></b><![endif]--><b
|
|
193
|
+
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
194
|
+
mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>2</span></span></b><!--[if supportFields]><b
|
|
195
|
+
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
196
|
+
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
|
197
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span
|
|
198
|
+
style='mso-tab-count:1'> </span><o:p></o:p></span></p>
|
|
146
199
|
</div>
|
|
147
200
|
|
|
148
201
|
<div style='mso-element:footer' id=f3>
|
|
149
|
-
|
|
150
202
|
<p class=MsoFooter style='line-height:12.0pt'><span lang=EN-US
|
|
151
203
|
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:1'> </span></span><!--[if supportFields]><b
|
|
152
204
|
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
@@ -158,7 +210,20 @@ mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!-
|
|
|
158
210
|
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
159
211
|
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
|
160
212
|
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
|
|
213
|
+
</div>
|
|
161
214
|
|
|
215
|
+
<div style='mso-element:footer' id=f3l>
|
|
216
|
+
<p class=MsoFooterLandscape style='line-height:12.0pt'><span lang=EN-US
|
|
217
|
+
style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><span style='mso-tab-count:1'> </span></span><!--[if supportFields]><b
|
|
218
|
+
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
219
|
+
mso-bidi-font-size:11.0pt'><span style='mso-element:field-begin'></span>
|
|
220
|
+
PAGE<span style='mso-spacerun:yes'> </span>\* MERGEFORMAT <span
|
|
221
|
+
style='mso-element:field-separator'></span></span></b><![endif]--><b
|
|
222
|
+
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
223
|
+
mso-bidi-font-size:11.0pt'><span style='mso-no-proof:yes'>3</span></span></b><!--[if supportFields]><b
|
|
224
|
+
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:10.0pt;
|
|
225
|
+
mso-bidi-font-size:11.0pt'><span style='mso-element:field-end'></span></span></b><![endif]--><span
|
|
226
|
+
lang=EN-US style='font-size:10.0pt;mso-bidi-font-size:11.0pt'><o:p></o:p></span></p>
|
|
162
227
|
</div>
|
|
163
228
|
|
|
164
229
|
</body>
|
|
@@ -802,10 +802,10 @@ div.WordSection1
|
|
|
802
802
|
mso-line-numbers-count-by:1;
|
|
803
803
|
mso-line-numbers-restart:continuous;
|
|
804
804
|
{% endif %}
|
|
805
|
-
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
806
|
-
mso-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
807
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
808
|
-
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
805
|
+
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2l;
|
|
806
|
+
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2l;
|
|
807
|
+
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef2l;
|
|
808
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f2l;
|
|
809
809
|
mso-paper-source:0;}
|
|
810
810
|
@page WordSection2P {
|
|
811
811
|
size:8.5in 11.0in;
|
|
@@ -847,10 +847,10 @@ div.WordSection2
|
|
|
847
847
|
mso-line-numbers-count-by:1;
|
|
848
848
|
mso-line-numbers-restart:continuous;
|
|
849
849
|
{% endif %}
|
|
850
|
-
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
851
|
-
mso-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
852
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
853
|
-
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
850
|
+
mso-even-header:url("file:///C:/Doc/FILENAME_files/header.html") eh2l;
|
|
851
|
+
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h2l;
|
|
852
|
+
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef3l;
|
|
853
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3l;
|
|
854
854
|
mso-paper-source:0;}
|
|
855
855
|
@page WordSection3P {
|
|
856
856
|
size:8.5in 11.0in;
|
|
@@ -754,10 +754,10 @@ div.WordSection1
|
|
|
754
754
|
mso-line-numbers-count-by:1;
|
|
755
755
|
mso-line-numbers-restart:continuous;
|
|
756
756
|
{% endif %}
|
|
757
|
-
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
758
|
-
mso-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
759
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
760
|
-
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
757
|
+
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1l;
|
|
758
|
+
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1l;
|
|
759
|
+
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef1l;
|
|
760
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f2l;
|
|
761
761
|
mso-paper-source:0;}
|
|
762
762
|
@page WordSection2P {
|
|
763
763
|
size:8.5in 11.0in;
|
|
@@ -799,10 +799,10 @@ div.WordSection2
|
|
|
799
799
|
mso-line-numbers-count-by:1;
|
|
800
800
|
mso-line-numbers-restart:continuous;
|
|
801
801
|
{% endif %}
|
|
802
|
-
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
803
|
-
mso-header:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
804
|
-
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
805
|
-
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html")
|
|
802
|
+
mso-first-header:url("file:///C:/Doc/FILENAME_files/header.html") fh1l;
|
|
803
|
+
mso-header:url("file:///C:/Doc/FILENAME_files/header.html") h1l;
|
|
804
|
+
mso-even-footer:url("file:///C:/Doc/FILENAME_files/header.html") ef3l;
|
|
805
|
+
mso-footer:url("file:///C:/Doc/FILENAME_files/header.html") f3l;
|
|
806
806
|
mso-paper-source:0;}
|
|
807
807
|
@page WordSection3P {
|
|
808
808
|
size:8.5in 11.0in;
|
|
@@ -158,6 +158,17 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader
|
|
|
158
158
|
mso-fareast-font-family:"Times New Roman";
|
|
159
159
|
mso-ansi-language:EN-US;
|
|
160
160
|
mso-fareast-language:EN-US;}
|
|
161
|
+
p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape
|
|
162
|
+
{mso-style-unhide:no;
|
|
163
|
+
margin:0cm;
|
|
164
|
+
margin-bottom:.0001pt;
|
|
165
|
+
mso-pagination:widow-orphan;
|
|
166
|
+
tab-stops:right 9.0in;
|
|
167
|
+
font-size:12pt;
|
|
168
|
+
font-family:$headerfont;
|
|
169
|
+
mso-fareast-font-family:"Times New Roman";
|
|
170
|
+
mso-ansi-language:EN-US;
|
|
171
|
+
mso-fareast-language:EN-US;}
|
|
161
172
|
p.MsoFooter, li.MsoFooter, div.MsoFooter
|
|
162
173
|
{mso-style-unhide:no;
|
|
163
174
|
margin:0cm;
|
|
@@ -169,6 +180,17 @@ p.MsoFooter, li.MsoFooter, div.MsoFooter
|
|
|
169
180
|
mso-fareast-font-family:"Times New Roman";
|
|
170
181
|
mso-ansi-language:EN-US;
|
|
171
182
|
mso-fareast-language:EN-US;}
|
|
183
|
+
p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape
|
|
184
|
+
{mso-style-unhide:no;
|
|
185
|
+
margin:0cm;
|
|
186
|
+
margin-bottom:.0001pt;
|
|
187
|
+
mso-pagination:widow-orphan;
|
|
188
|
+
tab-stops:right 9.0in;
|
|
189
|
+
font-size:12pt;
|
|
190
|
+
font-family:$bodyfont;
|
|
191
|
+
mso-fareast-font-family:"Times New Roman";
|
|
192
|
+
mso-ansi-language:EN-US;
|
|
193
|
+
mso-fareast-language:EN-US;}
|
|
172
194
|
span.MsoCommentReference
|
|
173
195
|
{mso-style-noshow:yes;
|
|
174
196
|
mso-style-unhide:no;
|
|
@@ -131,16 +131,36 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader
|
|
|
131
131
|
margin-right:0cm;
|
|
132
132
|
margin-bottom:12.0pt;
|
|
133
133
|
margin-left:0cm;
|
|
134
|
+
tab-stops:right 482.0pt;
|
|
134
135
|
font-size:12.0pt;
|
|
135
136
|
font-family:$bodyfont;}
|
|
137
|
+
p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape
|
|
138
|
+
{mso-style-link:"Header Char";
|
|
139
|
+
margin-top:0cm;
|
|
140
|
+
margin-right:0cm;
|
|
141
|
+
margin-bottom:12.0pt;
|
|
142
|
+
margin-left:0cm;
|
|
143
|
+
tab-stops:right 9.0in;
|
|
144
|
+
font-size:12.0pt;
|
|
145
|
+
font-family:$bodyfont;}
|
|
136
146
|
p.MsoFooter, li.MsoFooter, div.MsoFooter
|
|
137
147
|
{mso-style-link:"Footer Char";
|
|
138
148
|
margin-top:0cm;
|
|
139
149
|
margin-right:0cm;
|
|
140
150
|
margin-bottom:12.0pt;
|
|
141
151
|
margin-left:0cm;
|
|
152
|
+
tab-stops:right 482.0pt;
|
|
142
153
|
font-size:12.0pt;
|
|
143
154
|
font-family:$bodyfont;}
|
|
155
|
+
p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape
|
|
156
|
+
{mso-style-link:"Footer Char";
|
|
157
|
+
margin-top:0cm;
|
|
158
|
+
margin-right:0cm;
|
|
159
|
+
margin-bottom:12.0pt;
|
|
160
|
+
margin-left:0cm;
|
|
161
|
+
tab-stops:right 9.0in;
|
|
162
|
+
font-size:12.0pt;
|
|
163
|
+
font-family:$bodyfont;}
|
|
144
164
|
span.MsoCommentReference
|
|
145
165
|
{mso-style-noshow:yes;
|
|
146
166
|
mso-style-unhide:no;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-nist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: htmlentities
|
|
@@ -263,6 +263,7 @@ files:
|
|
|
263
263
|
- lib/asciidoctor/nist/cleanup.rb
|
|
264
264
|
- lib/asciidoctor/nist/converter.rb
|
|
265
265
|
- lib/asciidoctor/nist/front.rb
|
|
266
|
+
- lib/asciidoctor/nist/front_id.rb
|
|
266
267
|
- lib/asciidoctor/nist/isodoc.rng
|
|
267
268
|
- lib/asciidoctor/nist/nist.rng
|
|
268
269
|
- lib/asciidoctor/nist/nist_intro.xml
|