asciidoctor-rsd 0.3.2 → 0.3.3

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.
@@ -1,273 +0,0 @@
1
- GIT
2
- remote: https://github.com/riboseinc/asciidoctor-iso
3
- revision: 817ec3dc9345b85e3464bb9e4385562dbcdd9e9f
4
- specs:
5
- asciidoctor-iso (0.9.5)
6
- asciidoctor (~> 1.5.7)
7
- iev (~> 0.1.0)
8
- isodoc (>= 0.8)
9
- relaton (~> 0.0.1)
10
- ruby-jing
11
-
12
- GIT
13
- remote: https://github.com/riboseinc/html2doc
14
- revision: ae15cfc0a4c8ebeb74193a8aa4a7884938a08434
15
- specs:
16
- html2doc (0.8.0)
17
- asciimath
18
- htmlentities (~> 4.3.4)
19
- image_size
20
- mime-types
21
- nokogiri
22
- ruby-xslt
23
- thread_safe
24
- uuidtools
25
-
26
- GIT
27
- remote: https://github.com/riboseinc/isodoc
28
- revision: adf9e4abfe0a9d0270b271bcadb075fc577b7a78
29
- specs:
30
- isodoc (0.8.1)
31
- asciimath
32
- html2doc (>= 0.7.1)
33
- htmlentities (~> 4.3.4)
34
- image_size
35
- liquid
36
- mime-types
37
- nokogiri
38
- roman-numerals
39
- ruby-xslt
40
- sass
41
- thread_safe
42
- uuidtools
43
-
44
- PATH
45
- remote: .
46
- specs:
47
- asciidoctor-rsd (0.3.2)
48
- asciidoctor (~> 1.5.7)
49
- asciidoctor-iso (>= 0.8.0)
50
- asciimath
51
- htmlentities (~> 4.3.4)
52
- image_size
53
- isodoc (>= 0.7.0)
54
- mime-types
55
- nokogiri
56
- ruby-jing
57
- ruby-xslt
58
- thread_safe
59
- uuidtools
60
-
61
- GEM
62
- remote: https://rubygems.org/
63
- specs:
64
- algoliasearch (1.23.2)
65
- httpclient (~> 2.8, >= 2.8.3)
66
- json (>= 1.5.1)
67
- asciidoctor (1.5.7.1)
68
- asciidoctor-csand (0.3.1)
69
- asciidoctor (~> 1.5.7)
70
- asciidoctor-iso (>= 0.9.0)
71
- asciimath
72
- htmlentities (~> 4.3.4)
73
- image_size
74
- isodoc (>= 0.8.0)
75
- mime-types
76
- nokogiri
77
- ruby-jing
78
- ruby-xslt
79
- thread_safe
80
- uuidtools
81
- asciidoctor-csd (0.4.2)
82
- asciidoctor-iso (>= 0.9.0)
83
- isodoc (>= 0.8.0)
84
- asciidoctor-gb (0.3.2)
85
- asciidoctor-iso (>= 0.9.0)
86
- gbbib
87
- isodoc (>= 0.8.0)
88
- twitter_cldr
89
- asciidoctor-m3d (0.3.2)
90
- asciidoctor (~> 1.5.7)
91
- asciidoctor-iso (>= 0.9.0)
92
- asciimath
93
- htmlentities (~> 4.3.4)
94
- image_size
95
- isodoc (>= 0.8.0)
96
- mime-types
97
- nokogiri
98
- ruby-jing
99
- ruby-xslt
100
- thread_safe
101
- uuidtools
102
- asciidoctor-rfc (0.9.0)
103
- asciidoctor (~> 1.5.7)
104
- htmlentities (~> 4.3.4)
105
- nokogiri
106
- ruby-jing
107
- thread_safe
108
- asciimath (1.0.4)
109
- ast (2.4.0)
110
- byebug (9.1.0)
111
- camertron-eprun (1.1.1)
112
- cldr-plurals-runtime-rb (1.0.1)
113
- cnccs (0.1.1)
114
- coderay (1.1.2)
115
- diff-lcs (1.3)
116
- docile (1.3.1)
117
- duplicate (1.1.1)
118
- equivalent-xml (0.6.0)
119
- nokogiri (>= 1.4.3)
120
- ffi (1.9.25)
121
- formatador (0.2.5)
122
- gbbib (0.1.4)
123
- cnccs
124
- iso-bib-item
125
- guard (2.14.2)
126
- formatador (>= 0.2.4)
127
- listen (>= 2.7, < 4.0)
128
- lumberjack (>= 1.0.12, < 2.0)
129
- nenv (~> 0.1)
130
- notiffany (~> 0.0)
131
- pry (>= 0.9.12)
132
- shellany (~> 0.0)
133
- thor (>= 0.18.1)
134
- guard-compat (1.2.1)
135
- guard-rspec (4.7.3)
136
- guard (~> 2.1)
137
- guard-compat (~> 1.1)
138
- rspec (>= 2.99.0, < 4.0)
139
- htmlentities (4.3.4)
140
- httpclient (2.8.3)
141
- iev (0.1.0)
142
- nokogiri
143
- image_size (2.0.0)
144
- iso-bib-item (0.1.10)
145
- duplicate (~> 1.1.1)
146
- isoics (~> 0.1.6)
147
- nokogiri
148
- isobib (0.1.9)
149
- algoliasearch
150
- iso-bib-item (~> 0.1.10)
151
- isoics (0.1.6)
152
- jaro_winkler (1.5.1)
153
- json (2.1.0)
154
- liquid (4.0.0)
155
- listen (3.1.5)
156
- rb-fsevent (~> 0.9, >= 0.9.4)
157
- rb-inotify (~> 0.9, >= 0.9.7)
158
- ruby_dep (~> 1.2)
159
- lumberjack (1.0.13)
160
- metanorma (0.2.5)
161
- asciidoctor-csand (>= 0.3.0)
162
- asciidoctor-csd (>= 0.4.0)
163
- asciidoctor-gb (>= 0.3.0)
164
- asciidoctor-iso (>= 0.9.1)
165
- asciidoctor-m3d (>= 0.3.1)
166
- asciidoctor-rfc (>= 0.9.0)
167
- asciidoctor-rsd (>= 0.3.0)
168
- isodoc (>= 0.8.0)
169
- method_source (0.9.0)
170
- mime-types (3.1)
171
- mime-types-data (~> 3.2015)
172
- mime-types-data (3.2016.0521)
173
- mini_portile2 (2.3.0)
174
- nenv (0.3.0)
175
- nokogiri (1.8.4)
176
- mini_portile2 (~> 2.3.0)
177
- notiffany (0.1.1)
178
- nenv (~> 0.1)
179
- shellany (~> 0.0)
180
- optout (0.0.2)
181
- parallel (1.12.1)
182
- parser (2.5.1.0)
183
- ast (~> 2.4.0)
184
- powerpack (0.1.2)
185
- pry (0.11.3)
186
- coderay (~> 1.1.0)
187
- method_source (~> 0.9.0)
188
- rainbow (3.0.0)
189
- rake (12.3.1)
190
- rb-fsevent (0.10.3)
191
- rb-inotify (0.9.10)
192
- ffi (>= 0.5.0, < 2)
193
- relaton (0.0.1)
194
- asciidoctor (~> 1.5.7)
195
- gbbib (~> 0.1.0)
196
- iev (~> 0.1.0)
197
- iso-bib-item (~> 0.1.6)
198
- isobib (~> 0.1.8)
199
- rfcbib (~> 0.1.0)
200
- rfcbib (0.1.1)
201
- iso-bib-item (~> 0.1.10)
202
- roman-numerals (0.3.0)
203
- rspec (3.7.0)
204
- rspec-core (~> 3.7.0)
205
- rspec-expectations (~> 3.7.0)
206
- rspec-mocks (~> 3.7.0)
207
- rspec-core (3.7.1)
208
- rspec-support (~> 3.7.0)
209
- rspec-expectations (3.7.0)
210
- diff-lcs (>= 1.2.0, < 2.0)
211
- rspec-support (~> 3.7.0)
212
- rspec-mocks (3.7.0)
213
- diff-lcs (>= 1.2.0, < 2.0)
214
- rspec-support (~> 3.7.0)
215
- rspec-support (3.7.1)
216
- rubocop (0.57.2)
217
- jaro_winkler (~> 1.5.1)
218
- parallel (~> 1.10)
219
- parser (>= 2.5)
220
- powerpack (~> 0.1)
221
- rainbow (>= 2.2.2, < 4.0)
222
- ruby-progressbar (~> 1.7)
223
- unicode-display_width (~> 1.0, >= 1.0.1)
224
- ruby-jing (0.0.1)
225
- optout (>= 0.0.2)
226
- ruby-progressbar (1.9.0)
227
- ruby-xslt (0.9.10)
228
- ruby_dep (1.5.0)
229
- sass (3.5.6)
230
- sass-listen (~> 4.0.0)
231
- sass-listen (4.0.0)
232
- rb-fsevent (~> 0.9, >= 0.9.4)
233
- rb-inotify (~> 0.9, >= 0.9.7)
234
- shellany (0.0.1)
235
- simplecov (0.16.1)
236
- docile (~> 1.1)
237
- json (>= 1.8, < 3)
238
- simplecov-html (~> 0.10.0)
239
- simplecov-html (0.10.2)
240
- thor (0.20.0)
241
- thread_safe (0.3.6)
242
- timecop (0.9.1)
243
- twitter_cldr (4.4.3)
244
- camertron-eprun
245
- cldr-plurals-runtime-rb (~> 1.0)
246
- tzinfo
247
- tzinfo (1.2.5)
248
- thread_safe (~> 0.1)
249
- unicode-display_width (1.4.0)
250
- uuidtools (2.1.5)
251
-
252
- PLATFORMS
253
- ruby
254
-
255
- DEPENDENCIES
256
- asciidoctor-iso!
257
- asciidoctor-rsd!
258
- bundler (~> 1.15)
259
- byebug (~> 9.1)
260
- equivalent-xml (~> 0.6)
261
- guard (~> 2.14)
262
- guard-rspec (~> 4.7)
263
- html2doc!
264
- isodoc!
265
- metanorma
266
- rake (~> 12.0)
267
- rspec (~> 3.6)
268
- rubocop (~> 0.50)
269
- simplecov (~> 0.15)
270
- timecop (~> 0.9)
271
-
272
- BUNDLED WITH
273
- 1.16.2
@@ -1,154 +0,0 @@
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">
3
- <!--
4
- Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
5
- we cannot have a new default namespace: we will end up with a grammar with two different
6
- namespaces, one for isostandard and one for csand additions. And we do not want that.
7
- -->
8
- <include href="isostandard.rng">
9
- <start>
10
- <ref name="m3d-standard"/>
11
- </start>
12
- <define name="language">
13
- <element name="language">
14
- <value>en</value>
15
- </element>
16
- </define>
17
- <define name="docidentifier">
18
- <element name="docidentifier">
19
- <text/>
20
- </element>
21
- </define>
22
- <define name="btitle">
23
- <element name="title">
24
- <ref name="FormattedString"/>
25
- </element>
26
- </define>
27
- <define name="figure">
28
- <element name="figure">
29
- <attribute name="id">
30
- <data type="ID"/>
31
- </attribute>
32
- <optional>
33
- <ref name="source"/>
34
- </optional>
35
- <optional>
36
- <ref name="tname"/>
37
- </optional>
38
- <choice>
39
- <oneOrMore>
40
- <ref name="figure"/>
41
- </oneOrMore>
42
- <group>
43
- <choice>
44
- <zeroOrMore>
45
- <ref name="TextElement"/>
46
- </zeroOrMore>
47
- <ref name="pre"/>
48
- </choice>
49
- <zeroOrMore>
50
- <ref name="note"/>
51
- </zeroOrMore>
52
- <optional>
53
- <ref name="dl"/>
54
- </optional>
55
- </group>
56
- </choice>
57
- </element>
58
- </define>
59
- <define name="status">
60
- <element name="status">
61
- <choice>
62
- <value>proposal</value>
63
- <value>working-draft</value>
64
- <value>committee-draft</value>
65
- <value>draft-standard</value>
66
- <value>final-draft</value>
67
- <value>published</value>
68
- <value>withdrawn</value>
69
- <ref name="LocalizedString"/>
70
- </choice>
71
- </element>
72
- </define>
73
- <!-- TextElement |= keyword -->
74
- <define name="TextElement">
75
- <choice>
76
- <text/>
77
- <ref name="em"/>
78
- <ref name="eref"/>
79
- <ref name="strong"/>
80
- <ref name="stem"/>
81
- <ref name="sub"/>
82
- <ref name="sup"/>
83
- <ref name="tt"/>
84
- <ref name="strike"/>
85
- <ref name="smallcap"/>
86
- <ref name="xref"/>
87
- <ref name="br"/>
88
- <ref name="hyperlink"/>
89
- <ref name="hr"/>
90
- <ref name="pagebreak"/>
91
- <ref name="bookmark"/>
92
- <ref name="keyword"/>
93
- </choice>
94
- </define>
95
- <define name="BibItemType" combine="choice">
96
- <choice>
97
- <value>guidance</value>
98
- <value>proposal</value>
99
- <value>standard</value>
100
- <value>report</value>
101
- <value>whitepaper</value>
102
- <value>charter</value>
103
- <value>policy</value>
104
- <value>glossary</value>
105
- <value>case-study</value>
106
- </choice>
107
- </define>
108
- <define name="editorialgroup">
109
- <element name="editorialgroup">
110
- <ref name="committee"/>
111
- </element>
112
- </define>
113
- </include>
114
- <define name="committee">
115
- <element name="committee">
116
- <attribute name="type">
117
- <choice>
118
- <value>technical</value>
119
- <value>provisional</value>
120
- </choice>
121
- </attribute>
122
- <text/>
123
- </element>
124
- </define>
125
- <define name="pre">
126
- <element name="pre">
127
- <text/>
128
- </element>
129
- </define>
130
- <define name="keyword">
131
- <element name="keyword">
132
- <text/>
133
- </element>
134
- </define>
135
- <define name="m3d-standard">
136
- <element name="m3d-standard">
137
- <ref name="bibdata"/>
138
- <optional>
139
- <ref name="version"/>
140
- </optional>
141
- <zeroOrMore>
142
- <ref name="termdocsource"/>
143
- </zeroOrMore>
144
- <ref name="preface"/>
145
- <oneOrMore>
146
- <ref name="sections"/>
147
- </oneOrMore>
148
- <zeroOrMore>
149
- <ref name="annex"/>
150
- </zeroOrMore>
151
- <ref name="bibliography"/>
152
- </element>
153
- </define>
154
- </grammar>
@@ -1,68 +0,0 @@
1
- module IsoDoc
2
- module Rsd
3
- # A {Converter} implementation that generates CSAND output, and a document
4
- # schema encapsulation of the document for validation
5
- class HtmlConvert < IsoDoc::HtmlConvert
6
- def annex_name(annex, name, div)
7
- div.h1 **{ class: "Annex" } do |t|
8
- t << "#{get_anchors[annex['id']][:label]} "
9
- t << "<b>#{name.text}</b>"
10
- end
11
- end
12
-
13
- def annex_name_lbl(clause, num)
14
- obl = l10n("(#{@inform_annex_lbl})")
15
- obl = l10n("(#{@norm_annex_lbl})") if clause["obligation"] == "normative"
16
- l10n("<b>#{@annex_lbl} #{num}</b> #{obl}")
17
- end
18
-
19
- def pre_parse(node, out)
20
- out.pre node.text # content.gsub(/</, "&lt;").gsub(/>/, "&gt;")
21
- end
22
-
23
- def term_defs_boilerplate(div, source, term, preface)
24
- if source.empty? && term.nil?
25
- div << @no_terms_boilerplate
26
- else
27
- div << term_defs_boilerplate_cont(source, term)
28
- end
29
- end
30
-
31
- def i18n_init(lang, script)
32
- super
33
- @annex_lbl = "Appendix"
34
- end
35
-
36
- def error_parse(node, out)
37
- # catch elements not defined in ISO
38
- case node.name
39
- when "pre"
40
- pre_parse(node, out)
41
- when "keyword"
42
- out.span node.text, **{ class: "keyword" }
43
- else
44
- super
45
- end
46
- end
47
-
48
- def fileloc(loc)
49
- File.join(File.dirname(__FILE__), loc)
50
- end
51
-
52
- def cleanup(docxml)
53
- super
54
- term_cleanup(docxml)
55
- end
56
-
57
- def term_cleanup(docxml)
58
- docxml.xpath("//p[@class = 'Terms']").each do |d|
59
- h2 = d.at("./preceding-sibling::*[@class = 'TermNum'][1]")
60
- h2.add_child("&nbsp;")
61
- h2.add_child(d.remove)
62
- end
63
- docxml
64
- end
65
- end
66
- end
67
- end
68
-